(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{89743:function(ei,eo,ea){"use strict";var es=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==ea.g)return ea.g;throw Error("unable to locate global object")}();ei.exports=eo=es.fetch,es.fetch&&(eo.default=es.fetch.bind(es)),eo.Headers=es.Headers,eo.Request=es.Request,eo.Response=es.Response},79742:function(ei,eo){"use strict";eo.byteLength=byteLength,eo.toByteArray=toByteArray,eo.fromByteArray=fromByteArray;for(var ea=[],es=[],eu="undefined"!=typeof Uint8Array?Uint8Array:Array,ec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ed=0,ef=ec.length;ed<ef;++ed)ea[ed]=ec[ed],es[ec.charCodeAt(ed)]=ed;function getLens(ei){var eo=ei.length;if(eo%4>0)throw Error("Invalid string. Length must be a multiple of 4");var ea=ei.indexOf("=");-1===ea&&(ea=eo);var es=ea===eo?0:4-ea%4;return[ea,es]}function byteLength(ei){var eo=getLens(ei),ea=eo[0],es=eo[1];return(ea+es)*3/4-es}function _byteLength(ei,eo,ea){return(eo+ea)*3/4-ea}function toByteArray(ei){var eo,ea,ec=getLens(ei),ed=ec[0],ef=ec[1],eh=new eu(_byteLength(ei,ed,ef)),ep=0,em=ef>0?ed-4:ed;for(ea=0;ea<em;ea+=4)eo=es[ei.charCodeAt(ea)]<<18|es[ei.charCodeAt(ea+1)]<<12|es[ei.charCodeAt(ea+2)]<<6|es[ei.charCodeAt(ea+3)],eh[ep++]=eo>>16&255,eh[ep++]=eo>>8&255,eh[ep++]=255&eo;return 2===ef&&(eo=es[ei.charCodeAt(ea)]<<2|es[ei.charCodeAt(ea+1)]>>4,eh[ep++]=255&eo),1===ef&&(eo=es[ei.charCodeAt(ea)]<<10|es[ei.charCodeAt(ea+1)]<<4|es[ei.charCodeAt(ea+2)]>>2,eh[ep++]=eo>>8&255,eh[ep++]=255&eo),eh}function tripletToBase64(ei){return ea[ei>>18&63]+ea[ei>>12&63]+ea[ei>>6&63]+ea[63&ei]}function encodeChunk(ei,eo,ea){for(var es=[],eu=eo;eu<ea;eu+=3)es.push(tripletToBase64((ei[eu]<<16&16711680)+(ei[eu+1]<<8&65280)+(255&ei[eu+2])));return es.join("")}function fromByteArray(ei){for(var eo,es=ei.length,eu=es%3,ec=[],ed=16383,ef=0,eh=es-eu;ef<eh;ef+=ed)ec.push(encodeChunk(ei,ef,ef+ed>eh?eh:ef+ed));return 1===eu?ec.push(ea[(eo=ei[es-1])>>2]+ea[eo<<4&63]+"=="):2===eu&&ec.push(ea[(eo=(ei[es-2]<<8)+ei[es-1])>>10]+ea[eo>>4&63]+ea[eo<<2&63]+"="),ec.join("")}es["-".charCodeAt(0)]=62,es["_".charCodeAt(0)]=63},48764:function(ei,eo,ea){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */let es=ea(79742),eu=ea(80645),ec="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;eo.Buffer=Buffer,eo.SlowBuffer=SlowBuffer,eo.INSPECT_MAX_BYTES=50;let ed=2147483647;function typedArraySupport(){try{let ei=new Uint8Array(1),eo={foo:function(){return 42}};return Object.setPrototypeOf(eo,Uint8Array.prototype),Object.setPrototypeOf(ei,eo),42===ei.foo()}catch(ei){return!1}}function createBuffer(ei){if(ei>ed)throw RangeError('The value "'+ei+'" is invalid for option "size"');let eo=new Uint8Array(ei);return Object.setPrototypeOf(eo,Buffer.prototype),eo}function Buffer(ei,eo,ea){if("number"==typeof ei){if("string"==typeof eo)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(ei)}return from(ei,eo,ea)}function from(ei,eo,ea){if("string"==typeof ei)return fromString(ei,eo);if(ArrayBuffer.isView(ei))return fromArrayView(ei);if(null==ei)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ei);if(isInstance(ei,ArrayBuffer)||ei&&isInstance(ei.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(isInstance(ei,SharedArrayBuffer)||ei&&isInstance(ei.buffer,SharedArrayBuffer)))return fromArrayBuffer(ei,eo,ea);if("number"==typeof ei)throw TypeError('The "value" argument must not be of type number. Received type number');let es=ei.valueOf&&ei.valueOf();if(null!=es&&es!==ei)return Buffer.from(es,eo,ea);let eu=fromObject(ei);if(eu)return eu;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof ei[Symbol.toPrimitive])return Buffer.from(ei[Symbol.toPrimitive]("string"),eo,ea);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ei)}function assertSize(ei){if("number"!=typeof ei)throw TypeError('"size" argument must be of type number');if(ei<0)throw RangeError('The value "'+ei+'" is invalid for option "size"')}function alloc(ei,eo,ea){return(assertSize(ei),ei<=0)?createBuffer(ei):void 0!==eo?"string"==typeof ea?createBuffer(ei).fill(eo,ea):createBuffer(ei).fill(eo):createBuffer(ei)}function allocUnsafe(ei){return assertSize(ei),createBuffer(ei<0?0:0|checked(ei))}function fromString(ei,eo){if(("string"!=typeof eo||""===eo)&&(eo="utf8"),!Buffer.isEncoding(eo))throw TypeError("Unknown encoding: "+eo);let ea=0|byteLength(ei,eo),es=createBuffer(ea),eu=es.write(ei,eo);return eu!==ea&&(es=es.slice(0,eu)),es}function fromArrayLike(ei){let eo=ei.length<0?0:0|checked(ei.length),ea=createBuffer(eo);for(let es=0;es<eo;es+=1)ea[es]=255&ei[es];return ea}function fromArrayView(ei){if(isInstance(ei,Uint8Array)){let eo=new Uint8Array(ei);return fromArrayBuffer(eo.buffer,eo.byteOffset,eo.byteLength)}return fromArrayLike(ei)}function fromArrayBuffer(ei,eo,ea){let es;if(eo<0||ei.byteLength<eo)throw RangeError('"offset" is outside of buffer bounds');if(ei.byteLength<eo+(ea||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(es=void 0===eo&&void 0===ea?new Uint8Array(ei):void 0===ea?new Uint8Array(ei,eo):new Uint8Array(ei,eo,ea),Buffer.prototype),es}function fromObject(ei){if(Buffer.isBuffer(ei)){let eo=0|checked(ei.length),ea=createBuffer(eo);return 0===ea.length||ei.copy(ea,0,0,eo),ea}return void 0!==ei.length?"number"!=typeof ei.length||numberIsNaN(ei.length)?createBuffer(0):fromArrayLike(ei):"Buffer"===ei.type&&Array.isArray(ei.data)?fromArrayLike(ei.data):void 0}function checked(ei){if(ei>=ed)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ed.toString(16)+" bytes");return 0|ei}function SlowBuffer(ei){return+ei!=ei&&(ei=0),Buffer.alloc(+ei)}function byteLength(ei,eo){if(Buffer.isBuffer(ei))return ei.length;if(ArrayBuffer.isView(ei)||isInstance(ei,ArrayBuffer))return ei.byteLength;if("string"!=typeof ei)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ei);let ea=ei.length,es=arguments.length>2&&!0===arguments[2];if(!es&&0===ea)return 0;let eu=!1;for(;;)switch(eo){case"ascii":case"latin1":case"binary":return ea;case"utf8":case"utf-8":return utf8ToBytes(ei).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ea;case"hex":return ea>>>1;case"base64":return base64ToBytes(ei).length;default:if(eu)return es?-1:utf8ToBytes(ei).length;eo=(""+eo).toLowerCase(),eu=!0}}function slowToString(ei,eo,ea){let es=!1;if((void 0===eo||eo<0)&&(eo=0),eo>this.length||((void 0===ea||ea>this.length)&&(ea=this.length),ea<=0||(ea>>>=0)<=(eo>>>=0)))return"";for(ei||(ei="utf8");;)switch(ei){case"hex":return hexSlice(this,eo,ea);case"utf8":case"utf-8":return utf8Slice(this,eo,ea);case"ascii":return asciiSlice(this,eo,ea);case"latin1":case"binary":return latin1Slice(this,eo,ea);case"base64":return base64Slice(this,eo,ea);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,eo,ea);default:if(es)throw TypeError("Unknown encoding: "+ei);ei=(ei+"").toLowerCase(),es=!0}}function swap(ei,eo,ea){let es=ei[eo];ei[eo]=ei[ea],ei[ea]=es}function bidirectionalIndexOf(ei,eo,ea,es,eu){if(0===ei.length)return -1;if("string"==typeof ea?(es=ea,ea=0):ea>2147483647?ea=2147483647:ea<-2147483648&&(ea=-2147483648),numberIsNaN(ea=+ea)&&(ea=eu?0:ei.length-1),ea<0&&(ea=ei.length+ea),ea>=ei.length){if(eu)return -1;ea=ei.length-1}else if(ea<0){if(!eu)return -1;ea=0}if("string"==typeof eo&&(eo=Buffer.from(eo,es)),Buffer.isBuffer(eo))return 0===eo.length?-1:arrayIndexOf(ei,eo,ea,es,eu);if("number"==typeof eo)return(eo&=255,"function"==typeof Uint8Array.prototype.indexOf)?eu?Uint8Array.prototype.indexOf.call(ei,eo,ea):Uint8Array.prototype.lastIndexOf.call(ei,eo,ea):arrayIndexOf(ei,[eo],ea,es,eu);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(ei,eo,ea,es,eu){let ec,ed=1,ef=ei.length,eh=eo.length;if(void 0!==es&&("ucs2"===(es=String(es).toLowerCase())||"ucs-2"===es||"utf16le"===es||"utf-16le"===es)){if(ei.length<2||eo.length<2)return -1;ed=2,ef/=2,eh/=2,ea/=2}function read(ei,eo){return 1===ed?ei[eo]:ei.readUInt16BE(eo*ed)}if(eu){let es=-1;for(ec=ea;ec<ef;ec++)if(read(ei,ec)===read(eo,-1===es?0:ec-es)){if(-1===es&&(es=ec),ec-es+1===eh)return es*ed}else -1!==es&&(ec-=ec-es),es=-1}else for(ea+eh>ef&&(ea=ef-eh),ec=ea;ec>=0;ec--){let ea=!0;for(let es=0;es<eh;es++)if(read(ei,ec+es)!==read(eo,es)){ea=!1;break}if(ea)return ec}return -1}function hexWrite(ei,eo,ea,es){let eu;ea=Number(ea)||0;let ec=ei.length-ea;es?(es=Number(es))>ec&&(es=ec):es=ec;let ed=eo.length;for(es>ed/2&&(es=ed/2),eu=0;eu<es;++eu){let es=parseInt(eo.substr(2*eu,2),16);if(numberIsNaN(es))break;ei[ea+eu]=es}return eu}function utf8Write(ei,eo,ea,es){return blitBuffer(utf8ToBytes(eo,ei.length-ea),ei,ea,es)}function asciiWrite(ei,eo,ea,es){return blitBuffer(asciiToBytes(eo),ei,ea,es)}function base64Write(ei,eo,ea,es){return blitBuffer(base64ToBytes(eo),ei,ea,es)}function ucs2Write(ei,eo,ea,es){return blitBuffer(utf16leToBytes(eo,ei.length-ea),ei,ea,es)}function base64Slice(ei,eo,ea){return 0===eo&&ea===ei.length?es.fromByteArray(ei):es.fromByteArray(ei.slice(eo,ea))}function utf8Slice(ei,eo,ea){ea=Math.min(ei.length,ea);let es=[],eu=eo;for(;eu<ea;){let eo=ei[eu],ec=null,ed=eo>239?4:eo>223?3:eo>191?2:1;if(eu+ed<=ea){let ea,es,ef,eh;switch(ed){case 1:eo<128&&(ec=eo);break;case 2:(192&(ea=ei[eu+1]))==128&&(eh=(31&eo)<<6|63&ea)>127&&(ec=eh);break;case 3:ea=ei[eu+1],es=ei[eu+2],(192&ea)==128&&(192&es)==128&&(eh=(15&eo)<<12|(63&ea)<<6|63&es)>2047&&(eh<55296||eh>57343)&&(ec=eh);break;case 4:ea=ei[eu+1],es=ei[eu+2],ef=ei[eu+3],(192&ea)==128&&(192&es)==128&&(192&ef)==128&&(eh=(15&eo)<<18|(63&ea)<<12|(63&es)<<6|63&ef)>65535&&eh<1114112&&(ec=eh)}}null===ec?(ec=65533,ed=1):ec>65535&&(ec-=65536,es.push(ec>>>10&1023|55296),ec=56320|1023&ec),es.push(ec),eu+=ed}return decodeCodePointsArray(es)}eo.kMaxLength=ed,Buffer.TYPED_ARRAY_SUPPORT=typedArraySupport(),Buffer.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(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(ei,eo,ea){return from(ei,eo,ea)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(ei,eo,ea){return alloc(ei,eo,ea)},Buffer.allocUnsafe=function(ei){return allocUnsafe(ei)},Buffer.allocUnsafeSlow=function(ei){return allocUnsafe(ei)},Buffer.isBuffer=function(ei){return null!=ei&&!0===ei._isBuffer&&ei!==Buffer.prototype},Buffer.compare=function(ei,eo){if(isInstance(ei,Uint8Array)&&(ei=Buffer.from(ei,ei.offset,ei.byteLength)),isInstance(eo,Uint8Array)&&(eo=Buffer.from(eo,eo.offset,eo.byteLength)),!Buffer.isBuffer(ei)||!Buffer.isBuffer(eo))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ei===eo)return 0;let ea=ei.length,es=eo.length;for(let eu=0,ec=Math.min(ea,es);eu<ec;++eu)if(ei[eu]!==eo[eu]){ea=ei[eu],es=eo[eu];break}return ea<es?-1:es<ea?1:0},Buffer.isEncoding=function(ei){switch(String(ei).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}},Buffer.concat=function(ei,eo){let ea;if(!Array.isArray(ei))throw TypeError('"list" argument must be an Array of Buffers');if(0===ei.length)return Buffer.alloc(0);if(void 0===eo)for(ea=0,eo=0;ea<ei.length;++ea)eo+=ei[ea].length;let es=Buffer.allocUnsafe(eo),eu=0;for(ea=0;ea<ei.length;++ea){let eo=ei[ea];if(isInstance(eo,Uint8Array))eu+eo.length>es.length?(Buffer.isBuffer(eo)||(eo=Buffer.from(eo)),eo.copy(es,eu)):Uint8Array.prototype.set.call(es,eo,eu);else if(Buffer.isBuffer(eo))eo.copy(es,eu);else throw TypeError('"list" argument must be an Array of Buffers');eu+=eo.length}return es},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){let ei=this.length;if(ei%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let eo=0;eo<ei;eo+=2)swap(this,eo,eo+1);return this},Buffer.prototype.swap32=function(){let ei=this.length;if(ei%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let eo=0;eo<ei;eo+=4)swap(this,eo,eo+3),swap(this,eo+1,eo+2);return this},Buffer.prototype.swap64=function(){let ei=this.length;if(ei%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let eo=0;eo<ei;eo+=8)swap(this,eo,eo+7),swap(this,eo+1,eo+6),swap(this,eo+2,eo+5),swap(this,eo+3,eo+4);return this},Buffer.prototype.toString=function(){let ei=this.length;return 0===ei?"":0==arguments.length?utf8Slice(this,0,ei):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(ei){if(!Buffer.isBuffer(ei))throw TypeError("Argument must be a Buffer");return this===ei||0===Buffer.compare(this,ei)},Buffer.prototype.inspect=function(){let ei="",ea=eo.INSPECT_MAX_BYTES;return ei=this.toString("hex",0,ea).replace(/(.{2})/g,"$1 ").trim(),this.length>ea&&(ei+=" ... "),"<Buffer "+ei+">"},ec&&(Buffer.prototype[ec]=Buffer.prototype.inspect),Buffer.prototype.compare=function(ei,eo,ea,es,eu){if(isInstance(ei,Uint8Array)&&(ei=Buffer.from(ei,ei.offset,ei.byteLength)),!Buffer.isBuffer(ei))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ei);if(void 0===eo&&(eo=0),void 0===ea&&(ea=ei?ei.length:0),void 0===es&&(es=0),void 0===eu&&(eu=this.length),eo<0||ea>ei.length||es<0||eu>this.length)throw RangeError("out of range index");if(es>=eu&&eo>=ea)return 0;if(es>=eu)return -1;if(eo>=ea)return 1;if(eo>>>=0,ea>>>=0,es>>>=0,eu>>>=0,this===ei)return 0;let ec=eu-es,ed=ea-eo,ef=Math.min(ec,ed),eh=this.slice(es,eu),ep=ei.slice(eo,ea);for(let ei=0;ei<ef;++ei)if(eh[ei]!==ep[ei]){ec=eh[ei],ed=ep[ei];break}return ec<ed?-1:ed<ec?1:0},Buffer.prototype.includes=function(ei,eo,ea){return -1!==this.indexOf(ei,eo,ea)},Buffer.prototype.indexOf=function(ei,eo,ea){return bidirectionalIndexOf(this,ei,eo,ea,!0)},Buffer.prototype.lastIndexOf=function(ei,eo,ea){return bidirectionalIndexOf(this,ei,eo,ea,!1)},Buffer.prototype.write=function(ei,eo,ea,es){if(void 0===eo)es="utf8",ea=this.length,eo=0;else if(void 0===ea&&"string"==typeof eo)es=eo,ea=this.length,eo=0;else if(isFinite(eo))eo>>>=0,isFinite(ea)?(ea>>>=0,void 0===es&&(es="utf8")):(es=ea,ea=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let eu=this.length-eo;if((void 0===ea||ea>eu)&&(ea=eu),ei.length>0&&(ea<0||eo<0)||eo>this.length)throw RangeError("Attempt to write outside buffer bounds");es||(es="utf8");let ec=!1;for(;;)switch(es){case"hex":return hexWrite(this,ei,eo,ea);case"utf8":case"utf-8":return utf8Write(this,ei,eo,ea);case"ascii":case"latin1":case"binary":return asciiWrite(this,ei,eo,ea);case"base64":return base64Write(this,ei,eo,ea);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,ei,eo,ea);default:if(ec)throw TypeError("Unknown encoding: "+es);es=(""+es).toLowerCase(),ec=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let ef=4096;function decodeCodePointsArray(ei){let eo=ei.length;if(eo<=ef)return String.fromCharCode.apply(String,ei);let ea="",es=0;for(;es<eo;)ea+=String.fromCharCode.apply(String,ei.slice(es,es+=ef));return ea}function asciiSlice(ei,eo,ea){let es="";ea=Math.min(ei.length,ea);for(let eu=eo;eu<ea;++eu)es+=String.fromCharCode(127&ei[eu]);return es}function latin1Slice(ei,eo,ea){let es="";ea=Math.min(ei.length,ea);for(let eu=eo;eu<ea;++eu)es+=String.fromCharCode(ei[eu]);return es}function hexSlice(ei,eo,ea){let es=ei.length;(!eo||eo<0)&&(eo=0),(!ea||ea<0||ea>es)&&(ea=es);let eu="";for(let es=eo;es<ea;++es)eu+=em[ei[es]];return eu}function utf16leSlice(ei,eo,ea){let es=ei.slice(eo,ea),eu="";for(let ei=0;ei<es.length-1;ei+=2)eu+=String.fromCharCode(es[ei]+256*es[ei+1]);return eu}function checkOffset(ei,eo,ea){if(ei%1!=0||ei<0)throw RangeError("offset is not uint");if(ei+eo>ea)throw RangeError("Trying to access beyond buffer length")}function checkInt(ei,eo,ea,es,eu,ec){if(!Buffer.isBuffer(ei))throw TypeError('"buffer" argument must be a Buffer instance');if(eo>eu||eo<ec)throw RangeError('"value" argument is out of bounds');if(ea+es>ei.length)throw RangeError("Index out of range")}function wrtBigUInt64LE(ei,eo,ea,es,eu){checkIntBI(eo,es,eu,ei,ea,7);let ec=Number(eo&BigInt(4294967295));ei[ea++]=ec,ec>>=8,ei[ea++]=ec,ec>>=8,ei[ea++]=ec,ec>>=8,ei[ea++]=ec;let ed=Number(eo>>BigInt(32)&BigInt(4294967295));return ei[ea++]=ed,ed>>=8,ei[ea++]=ed,ed>>=8,ei[ea++]=ed,ed>>=8,ei[ea++]=ed,ea}function wrtBigUInt64BE(ei,eo,ea,es,eu){checkIntBI(eo,es,eu,ei,ea,7);let ec=Number(eo&BigInt(4294967295));ei[ea+7]=ec,ec>>=8,ei[ea+6]=ec,ec>>=8,ei[ea+5]=ec,ec>>=8,ei[ea+4]=ec;let ed=Number(eo>>BigInt(32)&BigInt(4294967295));return ei[ea+3]=ed,ed>>=8,ei[ea+2]=ed,ed>>=8,ei[ea+1]=ed,ed>>=8,ei[ea]=ed,ea+8}function checkIEEE754(ei,eo,ea,es,eu,ec){if(ea+es>ei.length||ea<0)throw RangeError("Index out of range")}function writeFloat(ei,eo,ea,es,ec){return eo=+eo,ea>>>=0,ec||checkIEEE754(ei,eo,ea,4,34028234663852886e22,-34028234663852886e22),eu.write(ei,eo,ea,es,23,4),ea+4}function writeDouble(ei,eo,ea,es,ec){return eo=+eo,ea>>>=0,ec||checkIEEE754(ei,eo,ea,8,17976931348623157e292,-17976931348623157e292),eu.write(ei,eo,ea,es,52,8),ea+8}Buffer.prototype.slice=function(ei,eo){let ea=this.length;ei=~~ei,eo=void 0===eo?ea:~~eo,ei<0?(ei+=ea)<0&&(ei=0):ei>ea&&(ei=ea),eo<0?(eo+=ea)<0&&(eo=0):eo>ea&&(eo=ea),eo<ei&&(eo=ei);let es=this.subarray(ei,eo);return Object.setPrototypeOf(es,Buffer.prototype),es},Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function(ei,eo,ea){ei>>>=0,eo>>>=0,ea||checkOffset(ei,eo,this.length);let es=this[ei],eu=1,ec=0;for(;++ec<eo&&(eu*=256);)es+=this[ei+ec]*eu;return es},Buffer.prototype.readUintBE=Buffer.prototype.readUIntBE=function(ei,eo,ea){ei>>>=0,eo>>>=0,ea||checkOffset(ei,eo,this.length);let es=this[ei+--eo],eu=1;for(;eo>0&&(eu*=256);)es+=this[ei+--eo]*eu;return es},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,1,this.length),this[ei]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,2,this.length),this[ei]|this[ei+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,2,this.length),this[ei]<<8|this[ei+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),(this[ei]|this[ei+1]<<8|this[ei+2]<<16)+16777216*this[ei+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),16777216*this[ei]+(this[ei+1]<<16|this[ei+2]<<8|this[ei+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod(function(ei){validateNumber(ei>>>=0,"offset");let eo=this[ei],ea=this[ei+7];(void 0===eo||void 0===ea)&&boundsError(ei,this.length-8);let es=eo+256*this[++ei]+65536*this[++ei]+16777216*this[++ei],eu=this[++ei]+256*this[++ei]+65536*this[++ei]+16777216*ea;return BigInt(es)+(BigInt(eu)<<BigInt(32))}),Buffer.prototype.readBigUInt64BE=defineBigIntMethod(function(ei){validateNumber(ei>>>=0,"offset");let eo=this[ei],ea=this[ei+7];(void 0===eo||void 0===ea)&&boundsError(ei,this.length-8);let es=16777216*eo+65536*this[++ei]+256*this[++ei]+this[++ei],eu=16777216*this[++ei]+65536*this[++ei]+256*this[++ei]+ea;return(BigInt(es)<<BigInt(32))+BigInt(eu)}),Buffer.prototype.readIntLE=function(ei,eo,ea){ei>>>=0,eo>>>=0,ea||checkOffset(ei,eo,this.length);let es=this[ei],eu=1,ec=0;for(;++ec<eo&&(eu*=256);)es+=this[ei+ec]*eu;return es>=(eu*=128)&&(es-=Math.pow(2,8*eo)),es},Buffer.prototype.readIntBE=function(ei,eo,ea){ei>>>=0,eo>>>=0,ea||checkOffset(ei,eo,this.length);let es=eo,eu=1,ec=this[ei+--es];for(;es>0&&(eu*=256);)ec+=this[ei+--es]*eu;return ec>=(eu*=128)&&(ec-=Math.pow(2,8*eo)),ec},Buffer.prototype.readInt8=function(ei,eo){return(ei>>>=0,eo||checkOffset(ei,1,this.length),128&this[ei])?-((255-this[ei]+1)*1):this[ei]},Buffer.prototype.readInt16LE=function(ei,eo){ei>>>=0,eo||checkOffset(ei,2,this.length);let ea=this[ei]|this[ei+1]<<8;return 32768&ea?4294901760|ea:ea},Buffer.prototype.readInt16BE=function(ei,eo){ei>>>=0,eo||checkOffset(ei,2,this.length);let ea=this[ei+1]|this[ei]<<8;return 32768&ea?4294901760|ea:ea},Buffer.prototype.readInt32LE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),this[ei]|this[ei+1]<<8|this[ei+2]<<16|this[ei+3]<<24},Buffer.prototype.readInt32BE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),this[ei]<<24|this[ei+1]<<16|this[ei+2]<<8|this[ei+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod(function(ei){validateNumber(ei>>>=0,"offset");let eo=this[ei],ea=this[ei+7];(void 0===eo||void 0===ea)&&boundsError(ei,this.length-8);let es=this[ei+4]+256*this[ei+5]+65536*this[ei+6]+(ea<<24);return(BigInt(es)<<BigInt(32))+BigInt(eo+256*this[++ei]+65536*this[++ei]+16777216*this[++ei])}),Buffer.prototype.readBigInt64BE=defineBigIntMethod(function(ei){validateNumber(ei>>>=0,"offset");let eo=this[ei],ea=this[ei+7];(void 0===eo||void 0===ea)&&boundsError(ei,this.length-8);let es=(eo<<24)+65536*this[++ei]+256*this[++ei]+this[++ei];return(BigInt(es)<<BigInt(32))+BigInt(16777216*this[++ei]+65536*this[++ei]+256*this[++ei]+ea)}),Buffer.prototype.readFloatLE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),eu.read(this,ei,!0,23,4)},Buffer.prototype.readFloatBE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,4,this.length),eu.read(this,ei,!1,23,4)},Buffer.prototype.readDoubleLE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,8,this.length),eu.read(this,ei,!0,52,8)},Buffer.prototype.readDoubleBE=function(ei,eo){return ei>>>=0,eo||checkOffset(ei,8,this.length),eu.read(this,ei,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function(ei,eo,ea,es){if(ei=+ei,eo>>>=0,ea>>>=0,!es){let es=Math.pow(2,8*ea)-1;checkInt(this,ei,eo,ea,es,0)}let eu=1,ec=0;for(this[eo]=255&ei;++ec<ea&&(eu*=256);)this[eo+ec]=ei/eu&255;return eo+ea},Buffer.prototype.writeUintBE=Buffer.prototype.writeUIntBE=function(ei,eo,ea,es){if(ei=+ei,eo>>>=0,ea>>>=0,!es){let es=Math.pow(2,8*ea)-1;checkInt(this,ei,eo,ea,es,0)}let eu=ea-1,ec=1;for(this[eo+eu]=255&ei;--eu>=0&&(ec*=256);)this[eo+eu]=ei/ec&255;return eo+ea},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,1,255,0),this[eo]=255&ei,eo+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,2,65535,0),this[eo]=255&ei,this[eo+1]=ei>>>8,eo+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,2,65535,0),this[eo]=ei>>>8,this[eo+1]=255&ei,eo+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,4,4294967295,0),this[eo+3]=ei>>>24,this[eo+2]=ei>>>16,this[eo+1]=ei>>>8,this[eo]=255&ei,eo+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,4,4294967295,0),this[eo]=ei>>>24,this[eo+1]=ei>>>16,this[eo+2]=ei>>>8,this[eo+3]=255&ei,eo+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod(function(ei,eo=0){return wrtBigUInt64LE(this,ei,eo,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod(function(ei,eo=0){return wrtBigUInt64BE(this,ei,eo,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeIntLE=function(ei,eo,ea,es){if(ei=+ei,eo>>>=0,!es){let es=Math.pow(2,8*ea-1);checkInt(this,ei,eo,ea,es-1,-es)}let eu=0,ec=1,ed=0;for(this[eo]=255&ei;++eu<ea&&(ec*=256);)ei<0&&0===ed&&0!==this[eo+eu-1]&&(ed=1),this[eo+eu]=(ei/ec>>0)-ed&255;return eo+ea},Buffer.prototype.writeIntBE=function(ei,eo,ea,es){if(ei=+ei,eo>>>=0,!es){let es=Math.pow(2,8*ea-1);checkInt(this,ei,eo,ea,es-1,-es)}let eu=ea-1,ec=1,ed=0;for(this[eo+eu]=255&ei;--eu>=0&&(ec*=256);)ei<0&&0===ed&&0!==this[eo+eu+1]&&(ed=1),this[eo+eu]=(ei/ec>>0)-ed&255;return eo+ea},Buffer.prototype.writeInt8=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,1,127,-128),ei<0&&(ei=255+ei+1),this[eo]=255&ei,eo+1},Buffer.prototype.writeInt16LE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,2,32767,-32768),this[eo]=255&ei,this[eo+1]=ei>>>8,eo+2},Buffer.prototype.writeInt16BE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,2,32767,-32768),this[eo]=ei>>>8,this[eo+1]=255&ei,eo+2},Buffer.prototype.writeInt32LE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,4,2147483647,-2147483648),this[eo]=255&ei,this[eo+1]=ei>>>8,this[eo+2]=ei>>>16,this[eo+3]=ei>>>24,eo+4},Buffer.prototype.writeInt32BE=function(ei,eo,ea){return ei=+ei,eo>>>=0,ea||checkInt(this,ei,eo,4,2147483647,-2147483648),ei<0&&(ei=4294967295+ei+1),this[eo]=ei>>>24,this[eo+1]=ei>>>16,this[eo+2]=ei>>>8,this[eo+3]=255&ei,eo+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod(function(ei,eo=0){return wrtBigUInt64LE(this,ei,eo,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeBigInt64BE=defineBigIntMethod(function(ei,eo=0){return wrtBigUInt64BE(this,ei,eo,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeFloatLE=function(ei,eo,ea){return writeFloat(this,ei,eo,!0,ea)},Buffer.prototype.writeFloatBE=function(ei,eo,ea){return writeFloat(this,ei,eo,!1,ea)},Buffer.prototype.writeDoubleLE=function(ei,eo,ea){return writeDouble(this,ei,eo,!0,ea)},Buffer.prototype.writeDoubleBE=function(ei,eo,ea){return writeDouble(this,ei,eo,!1,ea)},Buffer.prototype.copy=function(ei,eo,ea,es){if(!Buffer.isBuffer(ei))throw TypeError("argument should be a Buffer");if(ea||(ea=0),es||0===es||(es=this.length),eo>=ei.length&&(eo=ei.length),eo||(eo=0),es>0&&es<ea&&(es=ea),es===ea||0===ei.length||0===this.length)return 0;if(eo<0)throw RangeError("targetStart out of bounds");if(ea<0||ea>=this.length)throw RangeError("Index out of range");if(es<0)throw RangeError("sourceEnd out of bounds");es>this.length&&(es=this.length),ei.length-eo<es-ea&&(es=ei.length-eo+ea);let eu=es-ea;return this===ei&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(eo,ea,es):Uint8Array.prototype.set.call(ei,this.subarray(ea,es),eo),eu},Buffer.prototype.fill=function(ei,eo,ea,es){let eu;if("string"==typeof ei){if("string"==typeof eo?(es=eo,eo=0,ea=this.length):"string"==typeof ea&&(es=ea,ea=this.length),void 0!==es&&"string"!=typeof es)throw TypeError("encoding must be a string");if("string"==typeof es&&!Buffer.isEncoding(es))throw TypeError("Unknown encoding: "+es);if(1===ei.length){let eo=ei.charCodeAt(0);("utf8"===es&&eo<128||"latin1"===es)&&(ei=eo)}}else"number"==typeof ei?ei&=255:"boolean"==typeof ei&&(ei=Number(ei));if(eo<0||this.length<eo||this.length<ea)throw RangeError("Out of range index");if(ea<=eo)return this;if(eo>>>=0,ea=void 0===ea?this.length:ea>>>0,ei||(ei=0),"number"==typeof ei)for(eu=eo;eu<ea;++eu)this[eu]=ei;else{let ec=Buffer.isBuffer(ei)?ei:Buffer.from(ei,es),ed=ec.length;if(0===ed)throw TypeError('The value "'+ei+'" is invalid for argument "value"');for(eu=0;eu<ea-eo;++eu)this[eu+eo]=ec[eu%ed]}return this};let eh={};function E(ei,eo,ea){eh[ei]=class extends ea{constructor(){super(),Object.defineProperty(this,"message",{value:eo.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${ei}]`,this.stack,delete this.name}get code(){return ei}set code(ei){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ei,writable:!0})}toString(){return`${this.name} [${ei}]: ${this.message}`}}}function addNumericalSeparator(ei){let eo="",ea=ei.length,es="-"===ei[0]?1:0;for(;ea>=es+4;ea-=3)eo=`_${ei.slice(ea-3,ea)}${eo}`;return`${ei.slice(0,ea)}${eo}`}function checkBounds(ei,eo,ea){validateNumber(eo,"offset"),(void 0===ei[eo]||void 0===ei[eo+ea])&&boundsError(eo,ei.length-(ea+1))}function checkIntBI(ei,eo,ea,es,eu,ec){if(ei>ea||ei<eo){let es;let eu="bigint"==typeof eo?"n":"";throw es=ec>3?0===eo||eo===BigInt(0)?`>= 0${eu} and < 2${eu} ** ${(ec+1)*8}${eu}`:`>= -(2${eu} ** ${(ec+1)*8-1}${eu}) and < 2 ** ${(ec+1)*8-1}${eu}`:`>= ${eo}${eu} and <= ${ea}${eu}`,new eh.ERR_OUT_OF_RANGE("value",es,ei)}checkBounds(es,eu,ec)}function validateNumber(ei,eo){if("number"!=typeof ei)throw new eh.ERR_INVALID_ARG_TYPE(eo,"number",ei)}function boundsError(ei,eo,ea){if(Math.floor(ei)!==ei)throw validateNumber(ei,ea),new eh.ERR_OUT_OF_RANGE(ea||"offset","an integer",ei);if(eo<0)throw new eh.ERR_BUFFER_OUT_OF_BOUNDS;throw new eh.ERR_OUT_OF_RANGE(ea||"offset",`>= ${ea?1:0} and <= ${eo}`,ei)}E("ERR_BUFFER_OUT_OF_BOUNDS",function(ei){return ei?`${ei} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),E("ERR_INVALID_ARG_TYPE",function(ei,eo){return`The "${ei}" argument must be of type number. Received type ${typeof eo}`},TypeError),E("ERR_OUT_OF_RANGE",function(ei,eo,ea){let es=`The value of "${ei}" is out of range.`,eu=ea;return Number.isInteger(ea)&&Math.abs(ea)>4294967296?eu=addNumericalSeparator(String(ea)):"bigint"==typeof ea&&(eu=String(ea),(ea>BigInt(2)**BigInt(32)||ea<-(BigInt(2)**BigInt(32)))&&(eu=addNumericalSeparator(eu)),eu+="n"),es+=` It must be ${eo}. Received ${eu}`},RangeError);let ep=/[^+/0-9A-Za-z-_]/g;function base64clean(ei){if((ei=(ei=ei.split("=")[0]).trim().replace(ep,"")).length<2)return"";for(;ei.length%4!=0;)ei+="=";return ei}function utf8ToBytes(ei,eo){let ea;eo=eo||1/0;let es=ei.length,eu=null,ec=[];for(let ed=0;ed<es;++ed){if((ea=ei.charCodeAt(ed))>55295&&ea<57344){if(!eu){if(ea>56319||ed+1===es){(eo-=3)>-1&&ec.push(239,191,189);continue}eu=ea;continue}if(ea<56320){(eo-=3)>-1&&ec.push(239,191,189),eu=ea;continue}ea=(eu-55296<<10|ea-56320)+65536}else eu&&(eo-=3)>-1&&ec.push(239,191,189);if(eu=null,ea<128){if((eo-=1)<0)break;ec.push(ea)}else if(ea<2048){if((eo-=2)<0)break;ec.push(ea>>6|192,63&ea|128)}else if(ea<65536){if((eo-=3)<0)break;ec.push(ea>>12|224,ea>>6&63|128,63&ea|128)}else if(ea<1114112){if((eo-=4)<0)break;ec.push(ea>>18|240,ea>>12&63|128,ea>>6&63|128,63&ea|128)}else throw Error("Invalid code point")}return ec}function asciiToBytes(ei){let eo=[];for(let ea=0;ea<ei.length;++ea)eo.push(255&ei.charCodeAt(ea));return eo}function utf16leToBytes(ei,eo){let ea,es;let eu=[];for(let ec=0;ec<ei.length&&!((eo-=2)<0);++ec)es=(ea=ei.charCodeAt(ec))>>8,eu.push(ea%256),eu.push(es);return eu}function base64ToBytes(ei){return es.toByteArray(base64clean(ei))}function blitBuffer(ei,eo,ea,es){let eu;for(eu=0;eu<es&&!(eu+ea>=eo.length)&&!(eu>=ei.length);++eu)eo[eu+ea]=ei[eu];return eu}function isInstance(ei,eo){return ei instanceof eo||null!=ei&&null!=ei.constructor&&null!=ei.constructor.name&&ei.constructor.name===eo.name}function numberIsNaN(ei){return ei!=ei}let em=function(){let ei="0123456789abcdef",eo=Array(256);for(let ea=0;ea<16;++ea){let es=16*ea;for(let eu=0;eu<16;++eu)eo[es+eu]=ei[ea]+ei[eu]}return eo}();function defineBigIntMethod(ei){return"undefined"==typeof BigInt?BufferBigIntNotDefined:ei}function BufferBigIntNotDefined(){throw Error("BigInt not supported")}},21924:function(ei,eo,ea){"use strict";var es=ea(40210),eu=ea(55559),ec=eu(es("String.prototype.indexOf"));ei.exports=function(ei,eo){var ea=es(ei,!!eo);return"function"==typeof ea&&ec(ei,".prototype.")>-1?eu(ea):ea}},55559:function(ei,eo,ea){"use strict";var es=ea(58612),eu=ea(40210),ec=ea(67771),ed=ea(14453),ef=eu("%Function.prototype.apply%"),eh=eu("%Function.prototype.call%"),ep=eu("%Reflect.apply%",!0)||es.call(eh,ef),em=ea(24429),eg=eu("%Math.max%");ei.exports=function(ei){if("function"!=typeof ei)throw new ed("a function is required");var eo=ep(es,eh,arguments);return ec(eo,1+eg(0,ei.length-(arguments.length-1)),!0)};var applyBind=function(){return ep(es,ef,arguments)};em?em(ei.exports,"apply",{value:applyBind}):ei.exports.apply=applyBind},76489:function(ei,eo){"use strict";/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */eo.Q=parse,eo.q=serialize;var ea=Object.prototype.toString,es=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(ei,eo){if("string"!=typeof ei)throw TypeError("argument str must be a string");for(var ea={},es=(eo||{}).decode||decode,eu=0;eu<ei.length;){var ec=ei.indexOf("=",eu);if(-1===ec)break;var ed=ei.indexOf(";",eu);if(-1===ed)ed=ei.length;else if(ed<ec){eu=ei.lastIndexOf(";",ec-1)+1;continue}var ef=ei.slice(eu,ec).trim();if(void 0===ea[ef]){var eh=ei.slice(ec+1,ed).trim();34===eh.charCodeAt(0)&&(eh=eh.slice(1,-1)),ea[ef]=tryDecode(eh,es)}eu=ed+1}return ea}function serialize(ei,eo,ea){var eu=ea||{},ec=eu.encode||encode;if("function"!=typeof ec)throw TypeError("option encode is invalid");if(!es.test(ei))throw TypeError("argument name is invalid");var ed=ec(eo);if(ed&&!es.test(ed))throw TypeError("argument val is invalid");var ef=ei+"="+ed;if(null!=eu.maxAge){var eh=eu.maxAge-0;if(isNaN(eh)||!isFinite(eh))throw TypeError("option maxAge is invalid");ef+="; Max-Age="+Math.floor(eh)}if(eu.domain){if(!es.test(eu.domain))throw TypeError("option domain is invalid");ef+="; Domain="+eu.domain}if(eu.path){if(!es.test(eu.path))throw TypeError("option path is invalid");ef+="; Path="+eu.path}if(eu.expires){var ep=eu.expires;if(!isDate(ep)||isNaN(ep.valueOf()))throw TypeError("option expires is invalid");ef+="; Expires="+ep.toUTCString()}if(eu.httpOnly&&(ef+="; HttpOnly"),eu.secure&&(ef+="; Secure"),eu.partitioned&&(ef+="; Partitioned"),eu.priority)switch("string"==typeof eu.priority?eu.priority.toLowerCase():eu.priority){case"low":ef+="; Priority=Low";break;case"medium":ef+="; Priority=Medium";break;case"high":ef+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(eu.sameSite)switch("string"==typeof eu.sameSite?eu.sameSite.toLowerCase():eu.sameSite){case!0:case"strict":ef+="; SameSite=Strict";break;case"lax":ef+="; SameSite=Lax";break;case"none":ef+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return ef}function decode(ei){return -1!==ei.indexOf("%")?decodeURIComponent(ei):ei}function encode(ei){return encodeURIComponent(ei)}function isDate(ei){return"[object Date]"===ea.call(ei)||ei instanceof Date}function tryDecode(ei,eo){try{return eo(ei)}catch(eo){return ei}}},12296:function(ei,eo,ea){"use strict";var es=ea(24429),eu=ea(33464),ec=ea(14453),ed=ea(27296);ei.exports=function(ei,eo,ea){if(!ei||"object"!=typeof ei&&"function"!=typeof ei)throw new ec("`obj` must be an object or a function`");if("string"!=typeof eo&&"symbol"!=typeof eo)throw new ec("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new ec("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new ec("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new ec("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new ec("`loose`, if provided, must be a boolean");var ef=arguments.length>3?arguments[3]:null,eh=arguments.length>4?arguments[4]:null,ep=arguments.length>5?arguments[5]:null,em=arguments.length>6&&arguments[6],eg=!!ed&&ed(ei,eo);if(es)es(ei,eo,{configurable:null===ep&&eg?eg.configurable:!ep,enumerable:null===ef&&eg?eg.enumerable:!ef,value:ea,writable:null===eh&&eg?eg.writable:!eh});else if(!em&&(ef||eh||ep))throw new eu("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else ei[eo]=ea}},24429:function(ei,eo,ea){"use strict";var es=ea(40210)("%Object.defineProperty%",!0)||!1;if(es)try{es({},"a",{value:1})}catch(ei){es=!1}ei.exports=es},53981:function(ei){"use strict";ei.exports=EvalError},81648:function(ei){"use strict";ei.exports=Error},24726:function(ei){"use strict";ei.exports=RangeError},26712:function(ei){"use strict";ei.exports=ReferenceError},33464:function(ei){"use strict";ei.exports=SyntaxError},14453:function(ei){"use strict";ei.exports=TypeError},43915:function(ei){"use strict";ei.exports=URIError},17187:function(ei){"use strict";var eo,ea="object"==typeof Reflect?Reflect:null,es=ea&&"function"==typeof ea.apply?ea.apply:function(ei,eo,ea){return Function.prototype.apply.call(ei,eo,ea)};function ProcessEmitWarning(ei){console&&console.warn&&console.warn(ei)}eo=ea&&"function"==typeof ea.ownKeys?ea.ownKeys:Object.getOwnPropertySymbols?function(ei){return Object.getOwnPropertyNames(ei).concat(Object.getOwnPropertySymbols(ei))}:function(ei){return Object.getOwnPropertyNames(ei)};var eu=Number.isNaN||function(ei){return ei!=ei};function EventEmitter(){EventEmitter.init.call(this)}ei.exports=EventEmitter,ei.exports.once=once,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var ec=10;function checkListener(ei){if("function"!=typeof ei)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof ei)}function _getMaxListeners(ei){return void 0===ei._maxListeners?EventEmitter.defaultMaxListeners:ei._maxListeners}function _addListener(ei,eo,ea,es){if(checkListener(ea),void 0===(ec=ei._events)?(ec=ei._events=Object.create(null),ei._eventsCount=0):(void 0!==ec.newListener&&(ei.emit("newListener",eo,ea.listener?ea.listener:ea),ec=ei._events),ed=ec[eo]),void 0===ed)ed=ec[eo]=ea,++ei._eventsCount;else if("function"==typeof ed?ed=ec[eo]=es?[ea,ed]:[ed,ea]:es?ed.unshift(ea):ed.push(ea),(eu=_getMaxListeners(ei))>0&&ed.length>eu&&!ed.warned){ed.warned=!0;var eu,ec,ed,ef=Error("Possible EventEmitter memory leak detected. "+ed.length+" "+String(eo)+" listeners added. Use emitter.setMaxListeners() to increase limit");ef.name="MaxListenersExceededWarning",ef.emitter=ei,ef.type=eo,ef.count=ed.length,ProcessEmitWarning(ef)}return ei}function onceWrapper(){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 _onceWrap(ei,eo,ea){var es={fired:!1,wrapFn:void 0,target:ei,type:eo,listener:ea},eu=onceWrapper.bind(es);return eu.listener=ea,es.wrapFn=eu,eu}function _listeners(ei,eo,ea){var es=ei._events;if(void 0===es)return[];var eu=es[eo];return void 0===eu?[]:"function"==typeof eu?ea?[eu.listener||eu]:[eu]:ea?unwrapListeners(eu):arrayClone(eu,eu.length)}function listenerCount(ei){var eo=this._events;if(void 0!==eo){var ea=eo[ei];if("function"==typeof ea)return 1;if(void 0!==ea)return ea.length}return 0}function arrayClone(ei,eo){for(var ea=Array(eo),es=0;es<eo;++es)ea[es]=ei[es];return ea}function spliceOne(ei,eo){for(;eo+1<ei.length;eo++)ei[eo]=ei[eo+1];ei.pop()}function unwrapListeners(ei){for(var eo=Array(ei.length),ea=0;ea<eo.length;++ea)eo[ea]=ei[ea].listener||ei[ea];return eo}function once(ei,eo){return new Promise(function(ea,es){function errorListener(ea){ei.removeListener(eo,resolver),es(ea)}function resolver(){"function"==typeof ei.removeListener&&ei.removeListener("error",errorListener),ea([].slice.call(arguments))}eventTargetAgnosticAddListener(ei,eo,resolver,{once:!0}),"error"!==eo&&addErrorHandlerIfEventEmitter(ei,errorListener,{once:!0})})}function addErrorHandlerIfEventEmitter(ei,eo,ea){"function"==typeof ei.on&&eventTargetAgnosticAddListener(ei,"error",eo,ea)}function eventTargetAgnosticAddListener(ei,eo,ea,es){if("function"==typeof ei.on)es.once?ei.once(eo,ea):ei.on(eo,ea);else if("function"==typeof ei.addEventListener)ei.addEventListener(eo,function wrapListener(eu){es.once&&ei.removeEventListener(eo,wrapListener),ea(eu)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ei)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return ec},set:function(ei){if("number"!=typeof ei||ei<0||eu(ei))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ei+".");ec=ei}}),EventEmitter.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},EventEmitter.prototype.setMaxListeners=function(ei){if("number"!=typeof ei||ei<0||eu(ei))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ei+".");return this._maxListeners=ei,this},EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function(ei){for(var eo=[],ea=1;ea<arguments.length;ea++)eo.push(arguments[ea]);var eu="error"===ei,ec=this._events;if(void 0!==ec)eu=eu&&void 0===ec.error;else if(!eu)return!1;if(eu){if(eo.length>0&&(ed=eo[0]),ed instanceof Error)throw ed;var ed,ef=Error("Unhandled error."+(ed?" ("+ed.message+")":""));throw ef.context=ed,ef}var eh=ec[ei];if(void 0===eh)return!1;if("function"==typeof eh)es(eh,this,eo);else for(var ep=eh.length,em=arrayClone(eh,ep),ea=0;ea<ep;++ea)es(em[ea],this,eo);return!0},EventEmitter.prototype.addListener=function(ei,eo){return _addListener(this,ei,eo,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function(ei,eo){return _addListener(this,ei,eo,!0)},EventEmitter.prototype.once=function(ei,eo){return checkListener(eo),this.on(ei,_onceWrap(this,ei,eo)),this},EventEmitter.prototype.prependOnceListener=function(ei,eo){return checkListener(eo),this.prependListener(ei,_onceWrap(this,ei,eo)),this},EventEmitter.prototype.removeListener=function(ei,eo){var ea,es,eu,ec,ed;if(checkListener(eo),void 0===(es=this._events)||void 0===(ea=es[ei]))return this;if(ea===eo||ea.listener===eo)0==--this._eventsCount?this._events=Object.create(null):(delete es[ei],es.removeListener&&this.emit("removeListener",ei,ea.listener||eo));else if("function"!=typeof ea){for(eu=-1,ec=ea.length-1;ec>=0;ec--)if(ea[ec]===eo||ea[ec].listener===eo){ed=ea[ec].listener,eu=ec;break}if(eu<0)return this;0===eu?ea.shift():spliceOne(ea,eu),1===ea.length&&(es[ei]=ea[0]),void 0!==es.removeListener&&this.emit("removeListener",ei,ed||eo)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function(ei){var eo,ea,es;if(void 0===(ea=this._events))return this;if(void 0===ea.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ea[ei]&&(0==--this._eventsCount?this._events=Object.create(null):delete ea[ei]),this;if(0==arguments.length){var eu,ec=Object.keys(ea);for(es=0;es<ec.length;++es)"removeListener"!==(eu=ec[es])&&this.removeAllListeners(eu);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(eo=ea[ei]))this.removeListener(ei,eo);else if(void 0!==eo)for(es=eo.length-1;es>=0;es--)this.removeListener(ei,eo[es]);return this},EventEmitter.prototype.listeners=function(ei){return _listeners(this,ei,!0)},EventEmitter.prototype.rawListeners=function(ei){return _listeners(this,ei,!1)},EventEmitter.listenerCount=function(ei,eo){return"function"==typeof ei.listenerCount?ei.listenerCount(eo):listenerCount.call(ei,eo)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?eo(this._events):[]}},94029:function(ei,eo,ea){"use strict";var es=ea(95320),eu=Object.prototype.toString,ec=Object.prototype.hasOwnProperty,forEachArray=function(ei,eo,ea){for(var es=0,eu=ei.length;es<eu;es++)ec.call(ei,es)&&(null==ea?eo(ei[es],es,ei):eo.call(ea,ei[es],es,ei))},forEachString=function(ei,eo,ea){for(var es=0,eu=ei.length;es<eu;es++)null==ea?eo(ei.charAt(es),es,ei):eo.call(ea,ei.charAt(es),es,ei)},forEachObject=function(ei,eo,ea){for(var es in ei)ec.call(ei,es)&&(null==ea?eo(ei[es],es,ei):eo.call(ea,ei[es],es,ei))},forEach=function(ei,eo,ea){var ec;if(!es(eo))throw TypeError("iterator must be a function");arguments.length>=3&&(ec=ea),"[object Array]"===eu.call(ei)?forEachArray(ei,eo,ec):"string"==typeof ei?forEachString(ei,eo,ec):forEachObject(ei,eo,ec)};ei.exports=forEach},17648:function(ei){"use strict";var eo="Function.prototype.bind called on incompatible ",ea=Object.prototype.toString,es=Math.max,eu="[object Function]",concatty=function(ei,eo){for(var ea=[],es=0;es<ei.length;es+=1)ea[es]=ei[es];for(var eu=0;eu<eo.length;eu+=1)ea[eu+ei.length]=eo[eu];return ea},slicy=function(ei,eo){for(var ea=[],es=eo||0,eu=0;es<ei.length;es+=1,eu+=1)ea[eu]=ei[es];return ea},joiny=function(ei,eo){for(var ea="",es=0;es<ei.length;es+=1)ea+=ei[es],es+1<ei.length&&(ea+=eo);return ea};ei.exports=function(ei){var ec,ed=this;if("function"!=typeof ed||ea.apply(ed)!==eu)throw TypeError(eo+ed);for(var ef=slicy(arguments,1),binder=function(){if(this instanceof ec){var eo=ed.apply(this,concatty(ef,arguments));return Object(eo)===eo?eo:this}return ed.apply(ei,concatty(ef,arguments))},eh=es(0,ed.length-ef.length),ep=[],em=0;em<eh;em++)ep[em]="$"+em;if(ec=Function("binder","return function ("+joiny(ep,",")+"){ return binder.apply(this,arguments); }")(binder),ed.prototype){var Empty=function(){};Empty.prototype=ed.prototype,ec.prototype=new Empty,Empty.prototype=null}return ec}},58612:function(ei,eo,ea){"use strict";var es=ea(17648);ei.exports=Function.prototype.bind||es},40210:function(ei,eo,ea){"use strict";var es,eu=ea(81648),ec=ea(53981),ed=ea(24726),ef=ea(26712),eh=ea(33464),ep=ea(14453),em=ea(43915),eg=Function,getEvalledConstructor=function(ei){try{return eg('"use strict"; return ('+ei+").constructor;")()}catch(ei){}},eb=Object.getOwnPropertyDescriptor;if(eb)try{eb({},"")}catch(ei){eb=null}var throwTypeError=function(){throw new ep},ey=eb?function(){try{return arguments.callee,throwTypeError}catch(ei){try{return eb(arguments,"callee").get}catch(ei){return throwTypeError}}}():throwTypeError,ew=ea(41405)(),ex=ea(17954)(),eP=Object.getPrototypeOf||(ex?function(ei){return ei.__proto__}:null),eS={},eE="undefined"!=typeof Uint8Array&&eP?eP(Uint8Array):es,ek={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?es:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?es:ArrayBuffer,"%ArrayIteratorPrototype%":ew&&eP?eP([][Symbol.iterator]()):es,"%AsyncFromSyncIteratorPrototype%":es,"%AsyncFunction%":eS,"%AsyncGenerator%":eS,"%AsyncGeneratorFunction%":eS,"%AsyncIteratorPrototype%":eS,"%Atomics%":"undefined"==typeof Atomics?es:Atomics,"%BigInt%":"undefined"==typeof BigInt?es:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?es:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?es:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?es:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":eu,"%eval%":eval,"%EvalError%":ec,"%Float32Array%":"undefined"==typeof Float32Array?es:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?es:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?es:FinalizationRegistry,"%Function%":eg,"%GeneratorFunction%":eS,"%Int8Array%":"undefined"==typeof Int8Array?es:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?es:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?es:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ew&&eP?eP(eP([][Symbol.iterator]())):es,"%JSON%":"object"==typeof JSON?JSON:es,"%Map%":"undefined"==typeof Map?es:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ew&&eP?eP(new Map()[Symbol.iterator]()):es,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?es:Promise,"%Proxy%":"undefined"==typeof Proxy?es:Proxy,"%RangeError%":ed,"%ReferenceError%":ef,"%Reflect%":"undefined"==typeof Reflect?es:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?es:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ew&&eP?eP(new Set()[Symbol.iterator]()):es,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?es:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ew&&eP?eP(""[Symbol.iterator]()):es,"%Symbol%":ew?Symbol:es,"%SyntaxError%":eh,"%ThrowTypeError%":ey,"%TypedArray%":eE,"%TypeError%":ep,"%Uint8Array%":"undefined"==typeof Uint8Array?es:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?es:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?es:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?es:Uint32Array,"%URIError%":em,"%WeakMap%":"undefined"==typeof WeakMap?es:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?es:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?es:WeakSet};if(eP)try{null.error}catch(ei){var eT=eP(eP(ei));ek["%Error.prototype%"]=eT}var doEval=function doEval(ei){var eo;if("%AsyncFunction%"===ei)eo=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===ei)eo=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===ei)eo=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===ei){var ea=doEval("%AsyncGeneratorFunction%");ea&&(eo=ea.prototype)}else if("%AsyncIteratorPrototype%"===ei){var es=doEval("%AsyncGenerator%");es&&eP&&(eo=eP(es.prototype))}return ek[ei]=eo,eo},eC={__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_=ea(58612),eA=ea(48824),eO=e_.call(Function.call,Array.prototype.concat),eM=e_.call(Function.apply,Array.prototype.splice),eR=e_.call(Function.call,String.prototype.replace),ej=e_.call(Function.call,String.prototype.slice),eN=e_.call(Function.call,RegExp.prototype.exec),eL=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eD=/\\(\\)?/g,stringToPath=function(ei){var eo=ej(ei,0,1),ea=ej(ei,-1);if("%"===eo&&"%"!==ea)throw new eh("invalid intrinsic syntax, expected closing `%`");if("%"===ea&&"%"!==eo)throw new eh("invalid intrinsic syntax, expected opening `%`");var es=[];return eR(ei,eL,function(ei,eo,ea,eu){es[es.length]=ea?eR(eu,eD,"$1"):eo||ei}),es},getBaseIntrinsic=function(ei,eo){var ea,es=ei;if(eA(eC,es)&&(es="%"+(ea=eC[es])[0]+"%"),eA(ek,es)){var eu=ek[es];if(eu===eS&&(eu=doEval(es)),void 0===eu&&!eo)throw new ep("intrinsic "+ei+" exists, but is not available. Please file an issue!");return{alias:ea,name:es,value:eu}}throw new eh("intrinsic "+ei+" does not exist!")};ei.exports=function(ei,eo){if("string"!=typeof ei||0===ei.length)throw new ep("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof eo)throw new ep('"allowMissing" argument must be a boolean');if(null===eN(/^%?[^%]*%?$/,ei))throw new eh("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ea=stringToPath(ei),es=ea.length>0?ea[0]:"",eu=getBaseIntrinsic("%"+es+"%",eo),ec=eu.name,ed=eu.value,ef=!1,em=eu.alias;em&&(es=em[0],eM(ea,eO([0,1],em)));for(var eg=1,ey=!0;eg<ea.length;eg+=1){var ew=ea[eg],ex=ej(ew,0,1),eP=ej(ew,-1);if(('"'===ex||"'"===ex||"`"===ex||'"'===eP||"'"===eP||"`"===eP)&&ex!==eP)throw new eh("property names with quotes must have matching quotes");if("constructor"!==ew&&ey||(ef=!0),es+="."+ew,eA(ek,ec="%"+es+"%"))ed=ek[ec];else if(null!=ed){if(!(ew in ed)){if(!eo)throw new ep("base intrinsic for "+ei+" exists, but the property is not available.");return}if(eb&&eg+1>=ea.length){var eS=eb(ed,ew);ed=(ey=!!eS)&&"get"in eS&&!("originalValue"in eS.get)?eS.get:ed[ew]}else ey=eA(ed,ew),ed=ed[ew];ey&&!ef&&(ek[ec]=ed)}}return ed}},17954:function(ei){"use strict";var eo={foo:{}},ea=Object;ei.exports=function(){return({__proto__:eo}).foo===eo.foo&&!(({__proto__:null})instanceof ea)}},27296:function(ei,eo,ea){"use strict";var es=ea(10505)("%Object.getOwnPropertyDescriptor%",!0);if(es)try{es([],"length")}catch(ei){es=null}ei.exports=es},89898:function(ei){"use strict";var eo="Function.prototype.bind called on incompatible ",ea=Array.prototype.slice,es=Object.prototype.toString,eu="[object Function]";ei.exports=function(ei){var ec,ed=this;if("function"!=typeof ed||es.call(ed)!==eu)throw TypeError(eo+ed);for(var ef=ea.call(arguments,1),binder=function(){if(!(this instanceof ec))return ed.apply(ei,ef.concat(ea.call(arguments)));var eo=ed.apply(this,ef.concat(ea.call(arguments)));return Object(eo)===eo?eo:this},eh=Math.max(0,ed.length-ef.length),ep=[],em=0;em<eh;em++)ep.push("$"+em);if(ec=Function("binder","return function ("+ep.join(",")+"){ return binder.apply(this,arguments); }")(binder),ed.prototype){var Empty=function(){};Empty.prototype=ed.prototype,ec.prototype=new Empty,Empty.prototype=null}return ec}},92106:function(ei,eo,ea){"use strict";var es=ea(89898);ei.exports=Function.prototype.bind||es},10505:function(ei,eo,ea){"use strict";var es,eu=SyntaxError,ec=Function,ed=TypeError,getEvalledConstructor=function(ei){try{return ec('"use strict"; return ('+ei+").constructor;")()}catch(ei){}},ef=Object.getOwnPropertyDescriptor;if(ef)try{ef({},"")}catch(ei){ef=null}var throwTypeError=function(){throw new ed},eh=ef?function(){try{return arguments.callee,throwTypeError}catch(ei){try{return ef(arguments,"callee").get}catch(ei){return throwTypeError}}}():throwTypeError,ep=ea(41405)(),em=ea(39417)(),eg=Object.getPrototypeOf||(em?function(ei){return ei.__proto__}:null),eb={},ey="undefined"!=typeof Uint8Array&&eg?eg(Uint8Array):es,ew={"%AggregateError%":"undefined"==typeof AggregateError?es:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?es:ArrayBuffer,"%ArrayIteratorPrototype%":ep&&eg?eg([][Symbol.iterator]()):es,"%AsyncFromSyncIteratorPrototype%":es,"%AsyncFunction%":eb,"%AsyncGenerator%":eb,"%AsyncGeneratorFunction%":eb,"%AsyncIteratorPrototype%":eb,"%Atomics%":"undefined"==typeof Atomics?es:Atomics,"%BigInt%":"undefined"==typeof BigInt?es:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?es:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?es:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?es:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?es:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?es:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?es:FinalizationRegistry,"%Function%":ec,"%GeneratorFunction%":eb,"%Int8Array%":"undefined"==typeof Int8Array?es:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?es:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?es:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ep&&eg?eg(eg([][Symbol.iterator]())):es,"%JSON%":"object"==typeof JSON?JSON:es,"%Map%":"undefined"==typeof Map?es:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ep&&eg?eg(new Map()[Symbol.iterator]()):es,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?es:Promise,"%Proxy%":"undefined"==typeof Proxy?es:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?es:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?es:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ep&&eg?eg(new Set()[Symbol.iterator]()):es,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?es:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ep&&eg?eg(""[Symbol.iterator]()):es,"%Symbol%":ep?Symbol:es,"%SyntaxError%":eu,"%ThrowTypeError%":eh,"%TypedArray%":ey,"%TypeError%":ed,"%Uint8Array%":"undefined"==typeof Uint8Array?es:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?es:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?es:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?es:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?es:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?es:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?es:WeakSet};if(eg)try{null.error}catch(ei){var ex=eg(eg(ei));ew["%Error.prototype%"]=ex}var doEval=function doEval(ei){var eo;if("%AsyncFunction%"===ei)eo=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===ei)eo=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===ei)eo=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===ei){var ea=doEval("%AsyncGeneratorFunction%");ea&&(eo=ea.prototype)}else if("%AsyncIteratorPrototype%"===ei){var es=doEval("%AsyncGenerator%");es&&eg&&(eo=eg(es.prototype))}return ew[ei]=eo,eo},eP={"%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"]},eS=ea(92106),eE=ea(17642),ek=eS.call(Function.call,Array.prototype.concat),eT=eS.call(Function.apply,Array.prototype.splice),eC=eS.call(Function.call,String.prototype.replace),e_=eS.call(Function.call,String.prototype.slice),eA=eS.call(Function.call,RegExp.prototype.exec),eO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eM=/\\(\\)?/g,stringToPath=function(ei){var eo=e_(ei,0,1),ea=e_(ei,-1);if("%"===eo&&"%"!==ea)throw new eu("invalid intrinsic syntax, expected closing `%`");if("%"===ea&&"%"!==eo)throw new eu("invalid intrinsic syntax, expected opening `%`");var es=[];return eC(ei,eO,function(ei,eo,ea,eu){es[es.length]=ea?eC(eu,eM,"$1"):eo||ei}),es},getBaseIntrinsic=function(ei,eo){var ea,es=ei;if(eE(eP,es)&&(es="%"+(ea=eP[es])[0]+"%"),eE(ew,es)){var ec=ew[es];if(ec===eb&&(ec=doEval(es)),void 0===ec&&!eo)throw new ed("intrinsic "+ei+" exists, but is not available. Please file an issue!");return{alias:ea,name:es,value:ec}}throw new eu("intrinsic "+ei+" does not exist!")};ei.exports=function(ei,eo){if("string"!=typeof ei||0===ei.length)throw new ed("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof eo)throw new ed('"allowMissing" argument must be a boolean');if(null===eA(/^%?[^%]*%?$/,ei))throw new eu("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ea=stringToPath(ei),es=ea.length>0?ea[0]:"",ec=getBaseIntrinsic("%"+es+"%",eo),eh=ec.name,ep=ec.value,em=!1,eg=ec.alias;eg&&(es=eg[0],eT(ea,ek([0,1],eg)));for(var eb=1,ey=!0;eb<ea.length;eb+=1){var ex=ea[eb],eP=e_(ex,0,1),eS=e_(ex,-1);if(('"'===eP||"'"===eP||"`"===eP||'"'===eS||"'"===eS||"`"===eS)&&eP!==eS)throw new eu("property names with quotes must have matching quotes");if("constructor"!==ex&&ey||(em=!0),es+="."+ex,eE(ew,eh="%"+es+"%"))ep=ew[eh];else if(null!=ep){if(!(ex in ep)){if(!eo)throw new ed("base intrinsic for "+ei+" exists, but the property is not available.");return}if(ef&&eb+1>=ea.length){var eC=ef(ep,ex);ep=(ey=!!eC)&&"get"in eC&&!("originalValue"in eC.get)?eC.get:ep[ex]}else ey=eE(ep,ex),ep=ep[ex];ey&&!em&&(ew[eh]=ep)}}return ep}},39417:function(ei){"use strict";var eo={foo:{}},ea=Object;ei.exports=function(){return({__proto__:eo}).foo===eo.foo&&!(({__proto__:null})instanceof ea)}},31044:function(ei,eo,ea){"use strict";var es=ea(24429),hasPropertyDescriptors=function(){return!!es};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!es)return null;try{return 1!==es([],"length",{value:1}).length}catch(ei){return!0}},ei.exports=hasPropertyDescriptors},41405:function(ei,eo,ea){"use strict";var es="undefined"!=typeof Symbol&&Symbol,eu=ea(55419);ei.exports=function(){return"function"==typeof es&&"function"==typeof Symbol&&"symbol"==typeof es("foo")&&"symbol"==typeof Symbol("bar")&&eu()}},55419:function(ei){"use strict";ei.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var ei={},eo=Symbol("test"),ea=Object(eo);if("string"==typeof eo||"[object Symbol]"!==Object.prototype.toString.call(eo)||"[object Symbol]"!==Object.prototype.toString.call(ea))return!1;var es=42;for(eo in ei[eo]=es,ei)return!1;if("function"==typeof Object.keys&&0!==Object.keys(ei).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(ei).length)return!1;var eu=Object.getOwnPropertySymbols(ei);if(1!==eu.length||eu[0]!==eo||!Object.prototype.propertyIsEnumerable.call(ei,eo))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var ec=Object.getOwnPropertyDescriptor(ei,eo);if(ec.value!==es||!0!==ec.enumerable)return!1}return!0}},96410:function(ei,eo,ea){"use strict";var es=ea(55419);ei.exports=function(){return es()&&!!Symbol.toStringTag}},215:function(ei){"use strict";var eo="Function.prototype.bind called on incompatible ",ea=Array.prototype.slice,es=Object.prototype.toString,eu="[object Function]";ei.exports=function(ei){var ec,ed=this;if("function"!=typeof ed||es.call(ed)!==eu)throw TypeError(eo+ed);for(var ef=ea.call(arguments,1),binder=function(){if(!(this instanceof ec))return ed.apply(ei,ef.concat(ea.call(arguments)));var eo=ed.apply(this,ef.concat(ea.call(arguments)));return Object(eo)===eo?eo:this},eh=Math.max(0,ed.length-ef.length),ep=[],em=0;em<eh;em++)ep.push("$"+em);if(ec=Function("binder","return function ("+ep.join(",")+"){ return binder.apply(this,arguments); }")(binder),ed.prototype){var Empty=function(){};Empty.prototype=ed.prototype,ec.prototype=new Empty,Empty.prototype=null}return ec}},41364:function(ei,eo,ea){"use strict";var es=ea(215);ei.exports=Function.prototype.bind||es},17642:function(ei,eo,ea){"use strict";var es=ea(41364);ei.exports=es.call(Function.call,Object.prototype.hasOwnProperty)},48824:function(ei,eo,ea){"use strict";var es=Function.prototype.call,eu=Object.prototype.hasOwnProperty,ec=ea(58612);ei.exports=ec.call(es,eu)},80645:function(ei,eo){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */eo.read=function(ei,eo,ea,es,eu){var ec,ed,ef=8*eu-es-1,eh=(1<<ef)-1,ep=eh>>1,em=-7,eg=ea?eu-1:0,eb=ea?-1:1,ey=ei[eo+eg];for(eg+=eb,ec=ey&(1<<-em)-1,ey>>=-em,em+=ef;em>0;ec=256*ec+ei[eo+eg],eg+=eb,em-=8);for(ed=ec&(1<<-em)-1,ec>>=-em,em+=es;em>0;ed=256*ed+ei[eo+eg],eg+=eb,em-=8);if(0===ec)ec=1-ep;else{if(ec===eh)return ed?NaN:(ey?-1:1)*(1/0);ed+=Math.pow(2,es),ec-=ep}return(ey?-1:1)*ed*Math.pow(2,ec-es)},eo.write=function(ei,eo,ea,es,eu,ec){var ed,ef,eh,ep=8*ec-eu-1,em=(1<<ep)-1,eg=em>>1,eb=23===eu?5960464477539062e-23:0,ey=es?0:ec-1,ew=es?1:-1,ex=eo<0||0===eo&&1/eo<0?1:0;for(isNaN(eo=Math.abs(eo))||eo===1/0?(ef=isNaN(eo)?1:0,ed=em):(ed=Math.floor(Math.log(eo)/Math.LN2),eo*(eh=Math.pow(2,-ed))<1&&(ed--,eh*=2),ed+eg>=1?eo+=eb/eh:eo+=eb*Math.pow(2,1-eg),eo*eh>=2&&(ed++,eh/=2),ed+eg>=em?(ef=0,ed=em):ed+eg>=1?(ef=(eo*eh-1)*Math.pow(2,eu),ed+=eg):(ef=eo*Math.pow(2,eg-1)*Math.pow(2,eu),ed=0));eu>=8;ei[ea+ey]=255&ef,ey+=ew,ef/=256,eu-=8);for(ed=ed<<eu|ef,ep+=eu;ep>0;ei[ea+ey]=255&ed,ey+=ew,ed/=256,ep-=8);ei[ea+ey-ew]|=128*ex}},35717:function(ei){"function"==typeof Object.create?ei.exports=function(ei,eo){eo&&(ei.super_=eo,ei.prototype=Object.create(eo.prototype,{constructor:{value:ei,enumerable:!1,writable:!0,configurable:!0}}))}:ei.exports=function(ei,eo){if(eo){ei.super_=eo;var TempCtor=function(){};TempCtor.prototype=eo.prototype,ei.prototype=new TempCtor,ei.prototype.constructor=ei}}},82584:function(ei,eo,ea){"use strict";var es=ea(96410)(),eu=ea(78574)("Object.prototype.toString"),isStandardArguments=function(ei){return(!es||!ei||"object"!=typeof ei||!(Symbol.toStringTag in ei))&&"[object Arguments]"===eu(ei)},isLegacyArguments=function(ei){return!!isStandardArguments(ei)||null!==ei&&"object"==typeof ei&&"number"==typeof ei.length&&ei.length>=0&&"[object Array]"!==eu(ei)&&"[object Function]"===eu(ei.callee)},ec=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,ei.exports=ec?isStandardArguments:isLegacyArguments},78574:function(ei,eo,ea){"use strict";var es=ea(68283),eu=ea(53810),ec=eu(es("String.prototype.indexOf"));ei.exports=function(ei,eo){var ea=es(ei,!!eo);return"function"==typeof ea&&ec(ei,".prototype.")>-1?eu(ea):ea}},53810:function(ei,eo,ea){"use strict";var es=ea(6584),eu=ea(68283),ec=eu("%Function.prototype.apply%"),ed=eu("%Function.prototype.call%"),ef=eu("%Reflect.apply%",!0)||es.call(ed,ec),eh=eu("%Object.getOwnPropertyDescriptor%",!0),ep=eu("%Object.defineProperty%",!0),em=eu("%Math.max%");if(ep)try{ep({},"a",{value:1})}catch(ei){ep=null}ei.exports=function(ei){var eo=ef(es,ed,arguments);return eh&&ep&&eh(eo,"length").configurable&&ep(eo,"length",{value:1+em(0,ei.length-(arguments.length-1))}),eo};var applyBind=function(){return ef(es,ec,arguments)};ep?ep(ei.exports,"apply",{value:applyBind}):ei.exports.apply=applyBind},23762:function(ei){"use strict";var eo="Function.prototype.bind called on incompatible ",ea=Array.prototype.slice,es=Object.prototype.toString,eu="[object Function]";ei.exports=function(ei){var ec,ed=this;if("function"!=typeof ed||es.call(ed)!==eu)throw TypeError(eo+ed);for(var ef=ea.call(arguments,1),binder=function(){if(!(this instanceof ec))return ed.apply(ei,ef.concat(ea.call(arguments)));var eo=ed.apply(this,ef.concat(ea.call(arguments)));return Object(eo)===eo?eo:this},eh=Math.max(0,ed.length-ef.length),ep=[],em=0;em<eh;em++)ep.push("$"+em);if(ec=Function("binder","return function ("+ep.join(",")+"){ return binder.apply(this,arguments); }")(binder),ed.prototype){var Empty=function(){};Empty.prototype=ed.prototype,ec.prototype=new Empty,Empty.prototype=null}return ec}},6584:function(ei,eo,ea){"use strict";var es=ea(23762);ei.exports=Function.prototype.bind||es},68283:function(ei,eo,ea){"use strict";var es,eu=SyntaxError,ec=Function,ed=TypeError,getEvalledConstructor=function(ei){try{return ec('"use strict"; return ('+ei+").constructor;")()}catch(ei){}},ef=Object.getOwnPropertyDescriptor;if(ef)try{ef({},"")}catch(ei){ef=null}var throwTypeError=function(){throw new ed},eh=ef?function(){try{return arguments.callee,throwTypeError}catch(ei){try{return ef(arguments,"callee").get}catch(ei){return throwTypeError}}}():throwTypeError,ep=ea(41405)(),em=ea(8500)(),eg=Object.getPrototypeOf||(em?function(ei){return ei.__proto__}:null),eb={},ey="undefined"!=typeof Uint8Array&&eg?eg(Uint8Array):es,ew={"%AggregateError%":"undefined"==typeof AggregateError?es:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?es:ArrayBuffer,"%ArrayIteratorPrototype%":ep&&eg?eg([][Symbol.iterator]()):es,"%AsyncFromSyncIteratorPrototype%":es,"%AsyncFunction%":eb,"%AsyncGenerator%":eb,"%AsyncGeneratorFunction%":eb,"%AsyncIteratorPrototype%":eb,"%Atomics%":"undefined"==typeof Atomics?es:Atomics,"%BigInt%":"undefined"==typeof BigInt?es:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?es:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?es:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?es:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?es:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?es:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?es:FinalizationRegistry,"%Function%":ec,"%GeneratorFunction%":eb,"%Int8Array%":"undefined"==typeof Int8Array?es:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?es:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?es:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ep&&eg?eg(eg([][Symbol.iterator]())):es,"%JSON%":"object"==typeof JSON?JSON:es,"%Map%":"undefined"==typeof Map?es:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ep&&eg?eg(new Map()[Symbol.iterator]()):es,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?es:Promise,"%Proxy%":"undefined"==typeof Proxy?es:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?es:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?es:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ep&&eg?eg(new Set()[Symbol.iterator]()):es,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?es:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ep&&eg?eg(""[Symbol.iterator]()):es,"%Symbol%":ep?Symbol:es,"%SyntaxError%":eu,"%ThrowTypeError%":eh,"%TypedArray%":ey,"%TypeError%":ed,"%Uint8Array%":"undefined"==typeof Uint8Array?es:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?es:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?es:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?es:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?es:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?es:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?es:WeakSet};if(eg)try{null.error}catch(ei){var ex=eg(eg(ei));ew["%Error.prototype%"]=ex}var doEval=function doEval(ei){var eo;if("%AsyncFunction%"===ei)eo=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===ei)eo=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===ei)eo=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===ei){var ea=doEval("%AsyncGeneratorFunction%");ea&&(eo=ea.prototype)}else if("%AsyncIteratorPrototype%"===ei){var es=doEval("%AsyncGenerator%");es&&eg&&(eo=eg(es.prototype))}return ew[ei]=eo,eo},eP={"%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"]},eS=ea(6584),eE=ea(17642),ek=eS.call(Function.call,Array.prototype.concat),eT=eS.call(Function.apply,Array.prototype.splice),eC=eS.call(Function.call,String.prototype.replace),e_=eS.call(Function.call,String.prototype.slice),eA=eS.call(Function.call,RegExp.prototype.exec),eO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eM=/\\(\\)?/g,stringToPath=function(ei){var eo=e_(ei,0,1),ea=e_(ei,-1);if("%"===eo&&"%"!==ea)throw new eu("invalid intrinsic syntax, expected closing `%`");if("%"===ea&&"%"!==eo)throw new eu("invalid intrinsic syntax, expected opening `%`");var es=[];return eC(ei,eO,function(ei,eo,ea,eu){es[es.length]=ea?eC(eu,eM,"$1"):eo||ei}),es},getBaseIntrinsic=function(ei,eo){var ea,es=ei;if(eE(eP,es)&&(es="%"+(ea=eP[es])[0]+"%"),eE(ew,es)){var ec=ew[es];if(ec===eb&&(ec=doEval(es)),void 0===ec&&!eo)throw new ed("intrinsic "+ei+" exists, but is not available. Please file an issue!");return{alias:ea,name:es,value:ec}}throw new eu("intrinsic "+ei+" does not exist!")};ei.exports=function(ei,eo){if("string"!=typeof ei||0===ei.length)throw new ed("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof eo)throw new ed('"allowMissing" argument must be a boolean');if(null===eA(/^%?[^%]*%?$/,ei))throw new eu("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ea=stringToPath(ei),es=ea.length>0?ea[0]:"",ec=getBaseIntrinsic("%"+es+"%",eo),eh=ec.name,ep=ec.value,em=!1,eg=ec.alias;eg&&(es=eg[0],eT(ea,ek([0,1],eg)));for(var eb=1,ey=!0;eb<ea.length;eb+=1){var ex=ea[eb],eP=e_(ex,0,1),eS=e_(ex,-1);if(('"'===eP||"'"===eP||"`"===eP||'"'===eS||"'"===eS||"`"===eS)&&eP!==eS)throw new eu("property names with quotes must have matching quotes");if("constructor"!==ex&&ey||(em=!0),es+="."+ex,eE(ew,eh="%"+es+"%"))ep=ew[eh];else if(null!=ep){if(!(ex in ep)){if(!eo)throw new ed("base intrinsic for "+ei+" exists, but the property is not available.");return}if(ef&&eb+1>=ea.length){var eC=ef(ep,ex);ep=(ey=!!eC)&&"get"in eC&&!("originalValue"in eC.get)?eC.get:ep[ex]}else ey=eE(ep,ex),ep=ep[ex];ey&&!em&&(ew[eh]=ep)}}return ep}},8500:function(ei){"use strict";var eo={foo:{}},ea=Object;ei.exports=function(){return({__proto__:eo}).foo===eo.foo&&!(({__proto__:null})instanceof ea)}},95320:function(ei){"use strict";var eo,ea,es=Function.prototype.toString,eu="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof eu&&"function"==typeof Object.defineProperty)try{eo=Object.defineProperty({},"length",{get:function(){throw ea}}),ea={},eu(function(){throw 42},null,eo)}catch(ei){ei!==ea&&(eu=null)}else eu=null;var ec=/^\s*class\b/,isES6ClassFn=function(ei){try{var eo=es.call(ei);return ec.test(eo)}catch(ei){return!1}},tryFunctionObject=function(ei){try{if(isES6ClassFn(ei))return!1;return es.call(ei),!0}catch(ei){return!1}},ed=Object.prototype.toString,ef="[object Object]",eh="[object Function]",ep="[object GeneratorFunction]",em="[object HTMLAllCollection]",eg="[object HTML document.all class]",eb="[object HTMLCollection]",ey="function"==typeof Symbol&&!!Symbol.toStringTag,ew=!(0 in[,]),isDDA=function(){return!1};if("object"==typeof document){var ex=document.all;ed.call(ex)===ed.call(document.all)&&(isDDA=function(ei){if((ew||!ei)&&(void 0===ei||"object"==typeof ei))try{var eo=ed.call(ei);return(eo===em||eo===eg||eo===eb||eo===ef)&&null==ei("")}catch(ei){}return!1})}ei.exports=eu?function(ei){if(isDDA(ei))return!0;if(!ei||"function"!=typeof ei&&"object"!=typeof ei)return!1;try{eu(ei,null,eo)}catch(ei){if(ei!==ea)return!1}return!isES6ClassFn(ei)&&tryFunctionObject(ei)}:function(ei){if(isDDA(ei))return!0;if(!ei||"function"!=typeof ei&&"object"!=typeof ei)return!1;if(ey)return tryFunctionObject(ei);if(isES6ClassFn(ei))return!1;var eo=ed.call(ei);return!!(eo===eh||eo===ep||/^\[object HTML/.test(eo))&&tryFunctionObject(ei)}},48662:function(ei,eo,ea){"use strict";var es,eu=Object.prototype.toString,ec=Function.prototype.toString,ed=/^\s*(?:function)?\*/,ef=ea(96410)(),eh=Object.getPrototypeOf,getGeneratorFunc=function(){if(!ef)return!1;try{return Function("return function*() {}")()}catch(ei){}};ei.exports=function(ei){if("function"!=typeof ei)return!1;if(ed.test(ec.call(ei)))return!0;if(!ef)return"[object GeneratorFunction]"===eu.call(ei);if(!eh)return!1;if(void 0===es){var eo=getGeneratorFunc();es=!!eo&&eh(eo)}return eh(ei)===es}},85692:function(ei,eo,ea){"use strict";var es=ea(86430);ei.exports=function(ei){return!!es(ei)}},91296:function(ei,eo,ea){var es="Expected a function",eu=0/0,ec="[object Symbol]",ed=/^\s+|\s+$/g,ef=/^[-+]0x[0-9a-f]+$/i,eh=/^0b[01]+$/i,ep=/^0o[0-7]+$/i,em=parseInt,eg="object"==typeof ea.g&&ea.g&&ea.g.Object===Object&&ea.g,eb="object"==typeof self&&self&&self.Object===Object&&self,ey=eg||eb||Function("return this")(),ew=Object.prototype.toString,ex=Math.max,eP=Math.min,now=function(){return ey.Date.now()};function debounce(ei,eo,ea){var eu,ec,ed,ef,eh,ep,em=0,eg=!1,eb=!1,ey=!0;if("function"!=typeof ei)throw TypeError(es);function invokeFunc(eo){var ea=eu,es=ec;return eu=ec=void 0,em=eo,ef=ei.apply(es,ea)}function leadingEdge(ei){return em=ei,eh=setTimeout(timerExpired,eo),eg?invokeFunc(ei):ef}function remainingWait(ei){var ea=ei-ep,es=ei-em,eu=eo-ea;return eb?eP(eu,ed-es):eu}function shouldInvoke(ei){var ea=ei-ep,es=ei-em;return void 0===ep||ea>=eo||ea<0||eb&&es>=ed}function timerExpired(){var ei=now();if(shouldInvoke(ei))return trailingEdge(ei);eh=setTimeout(timerExpired,remainingWait(ei))}function trailingEdge(ei){return(eh=void 0,ey&&eu)?invokeFunc(ei):(eu=ec=void 0,ef)}function cancel(){void 0!==eh&&clearTimeout(eh),em=0,eu=ep=ec=eh=void 0}function flush(){return void 0===eh?ef:trailingEdge(now())}function debounced(){var ei=now(),ea=shouldInvoke(ei);if(eu=arguments,ec=this,ep=ei,ea){if(void 0===eh)return leadingEdge(ep);if(eb)return eh=setTimeout(timerExpired,eo),invokeFunc(ep)}return void 0===eh&&(eh=setTimeout(timerExpired,eo)),ef}return eo=toNumber(eo)||0,isObject(ea)&&(eg=!!ea.leading,ed=(eb="maxWait"in ea)?ex(toNumber(ea.maxWait)||0,eo):ed,ey="trailing"in ea?!!ea.trailing:ey),debounced.cancel=cancel,debounced.flush=flush,debounced}function isObject(ei){var eo=typeof ei;return!!ei&&("object"==eo||"function"==eo)}function isObjectLike(ei){return!!ei&&"object"==typeof ei}function isSymbol(ei){return"symbol"==typeof ei||isObjectLike(ei)&&ew.call(ei)==ec}function toNumber(ei){if("number"==typeof ei)return ei;if(isSymbol(ei))return eu;if(isObject(ei)){var eo="function"==typeof ei.valueOf?ei.valueOf():ei;ei=isObject(eo)?eo+"":eo}if("string"!=typeof ei)return 0===ei?ei:+ei;ei=ei.replace(ed,"");var ea=eh.test(ei);return ea||ep.test(ei)?em(ei.slice(2),ea?2:8):ef.test(ei)?eu:+ei}ei.exports=debounce},23665:function(ei,eo,ea){"use strict";var es,eu=ea(74865),ec=ea(67294),ed=ea(39332),ef=ea(11163),__assign=function(){return(__assign=Object.assign||function(ei){for(var eo,ea=1,es=arguments.length;ea<es;ea++)for(var eu in eo=arguments[ea])Object.prototype.hasOwnProperty.call(eo,eu)&&(ei[eu]=eo[eu]);return ei}).apply(this,arguments)};function isSameURL(ei,eo){return ei.protocol+"//"+ei.host+ei.pathname+ei.search==eo.protocol+"//"+eo.host+eo.pathname+eo.search}function isSameURLWithoutSearch(ei,eo){return ei.protocol+"//"+ei.host+ei.pathname==eo.protocol+"//"+eo.host+eo.pathname}function parsePath(ei){var eo=ei.indexOf("#"),ea=ei.indexOf("?"),es=ea>-1&&(eo<0||ea<eo);return es||eo>-1?{pathname:ei.substring(0,es?ea:eo),query:es?ei.substring(ea,eo>-1?eo:void 0):"",hash:eo>-1?ei.slice(eo):""}:{pathname:ei,query:"",hash:""}}function addPathPrefix(ei,eo){if(!ei.startsWith("/")||!eo)return ei;var ea=parsePath(ei),es=ea.pathname,eu=ea.query,ec=ea.hash;return"".concat(eo).concat(es).concat(eu).concat(ec)}function getAnchorProperty(ei,eo){if("string"==typeof eo&&"data-disable-nprogress"===eo){var ea=eo.substring(5);return ei.dataset[ea]}var es=ei[eo];if(es instanceof SVGAnimatedString){var eu=es.baseVal;return"href"===eo?addPathPrefix(eu,location.origin):eu}return es}"function"==typeof SuppressedError&&SuppressedError;var eh=ec.memo(function(ei){var eo,ea=ei.color,es=void 0===ea?"#0A2FFF":ea,ef=ei.height,eh=void 0===ef?"2px":ef,ep=ei.options,em=ei.shallowRouting,eg=void 0!==em&&em,eb=ei.disableSameURL,ey=void 0===eb||eb,ew=ei.startPosition,ex=void 0===ew?0:ew,eP=ei.delay,eS=void 0===eP?0:eP,eE=ei.stopDelay,ek=void 0===eE?0:eE,eT=ei.style,eC=ei.nonce,e_=ei.targetPreprocessor,eA=ei.disableAnchorClick,eO=void 0!==eA&&eA,eM=ec.createElement("style",{nonce:eC},eT||"\n          #nprogress {\n            pointer-events: none;\n          }\n\n          #nprogress .bar {\n            background: ".concat(es,";\n\n            position: fixed;\n            z-index: 1031;\n            top: 0;\n            left: 0;\n\n            width: 100%;\n            height: ").concat(eh,";\n          }\n\n          /* Fancy blur effect */\n          #nprogress .peg {\n            display: block;\n            position: absolute;\n            right: 0px;\n            width: 100px;\n            height: 100%;\n            box-shadow: 0 0 10px ").concat(es,", 0 0 5px ").concat(es,";\n            opacity: 1.0;\n\n            -webkit-transform: rotate(3deg) translate(0px, -4px);\n                -ms-transform: rotate(3deg) translate(0px, -4px);\n                    transform: rotate(3deg) translate(0px, -4px);\n          }\n\n          /* Remove these to get rid of the spinner */\n          #nprogress .spinner {\n            display: block;\n            position: fixed;\n            z-index: 1031;\n            top: 15px;\n            right: 15px;\n          }\n\n          #nprogress .spinner-icon {\n            width: 18px;\n            height: 18px;\n            box-sizing: border-box;\n\n            border: solid 2px transparent;\n            border-top-color: ").concat(es,";\n            border-left-color: ").concat(es,";\n            border-radius: 50%;\n\n            -webkit-animation: nprogress-spinner 400ms linear infinite;\n                    animation: nprogress-spinner 400ms linear infinite;\n          }\n\n          .nprogress-custom-parent {\n            overflow: hidden;\n            position: relative;\n          }\n\n          .nprogress-custom-parent #nprogress .spinner,\n          .nprogress-custom-parent #nprogress .bar {\n            position: absolute;\n          }\n\n          @-webkit-keyframes nprogress-spinner {\n            0%   { -webkit-transform: rotate(0deg); }\n            100% { -webkit-transform: rotate(360deg); }\n          }\n          @keyframes nprogress-spinner {\n            0%   { transform: rotate(0deg); }\n            100% { transform: rotate(360deg); }\n          }\n        "));eu.configure(ep||{});var eR=ed.usePathname(),ej=ed.useSearchParams();ec.useEffect(function(){eo&&clearTimeout(eo),eo=setTimeout(function(){eu.done()},ek)},[eR,ej]);var eN=ec.useRef([]);return ec.useEffect(function(){if(!eO){var ei,startProgress=function(){ei=setTimeout(function(){ex>0&&eu.set(ex),eu.start()},eS)},stopProgress=function(){ei&&clearTimeout(ei),ei=setTimeout(function(){eu.done()},ek)},handleAnchorClick=function(ei){if(!ei.defaultPrevented){var eo=ei.currentTarget,ea=ei.target;if((null==ea?void 0:ea.getAttribute("data-prevent-nprogress"))!=="true"&&(null==eo?void 0:eo.getAttribute("data-prevent-nprogress"))!=="true"&&"_blank"!==getAnchorProperty(eo,"target")&&!ei.metaKey&&!ei.ctrlKey&&!ei.shiftKey&&!ei.altKey){var es=getAnchorProperty(eo,"href"),eu=e_?e_(new URL(es)):new URL(es),ec=new URL(location.href);(!(eg&&isSameURLWithoutSearch(eu,ec))||!ey)&&(isSameURL(eu,ec)&&ey||startProgress())}}},handleMutation=function(){var ei=Array.from(document.querySelectorAll("a")).filter(function(ei){var eo=getAnchorProperty(ei,"href"),ea="true"===ei.getAttribute("data-disable-nprogress"),es=eo&&!eo.startsWith("tel:")&&!eo.startsWith("mailto:")&&!eo.startsWith("blob:")&&!eo.startsWith("javascript:");return!ea&&es&&"_blank"!==getAnchorProperty(ei,"target")});ei.forEach(function(ei){ei.addEventListener("click",handleAnchorClick,!0)}),eN.current=ei},eo=new MutationObserver(handleMutation);eo.observe(document,{childList:!0,subtree:!0});var ea=window.history.pushState;return window.history.pushState=new Proxy(window.history.pushState,{apply:function(ei,eo,ea){return stopProgress(),ei.apply(eo,ea)}}),function(){eo.disconnect(),eN.current.forEach(function(ei){ei.removeEventListener("click",handleAnchorClick)}),eN.current=[],window.history.pushState=ea}}},[]),eM},function(ei,eo){return(null==eo?void 0:eo.memo)!==!1&&(null==eo||!eo.shouldCompareComplexProps||(null==ei?void 0:ei.color)===(null==eo?void 0:eo.color)&&(null==ei?void 0:ei.height)===(null==eo?void 0:eo.height)&&(null==ei?void 0:ei.shallowRouting)===(null==eo?void 0:eo.shallowRouting)&&(null==ei?void 0:ei.startPosition)===(null==eo?void 0:eo.startPosition)&&(null==ei?void 0:ei.delay)===(null==eo?void 0:eo.delay)&&(null==ei?void 0:ei.disableSameURL)===(null==eo?void 0:eo.disableSameURL)&&(null==ei?void 0:ei.stopDelay)===(null==eo?void 0:eo.stopDelay)&&(null==ei?void 0:ei.nonce)===(null==eo?void 0:eo.nonce)&&JSON.stringify(null==ei?void 0:ei.options)===JSON.stringify(null==eo?void 0:eo.options)&&(null==ei?void 0:ei.style)===(null==eo?void 0:eo.style)&&ei.disableAnchorClick===eo.disableAnchorClick)});function withSuspense(ei){return function(eo){return ec.createElement(ec.Suspense,null,ec.createElement(ei,__assign({},eo)))}}var ep=ec.memo(function(ei){var eo=ei.color,ea=void 0===eo?"#0A2FFF":eo,es=ei.height,ed=void 0===es?"2px":es,eh=ei.options,ep=ei.shallowRouting,em=void 0!==ep&&ep,eg=ei.disableSameURL,eb=void 0===eg||eg,ey=ei.startPosition,ew=void 0===ey?0:ey,ex=ei.delay,eP=void 0===ex?0:ex,eS=ei.stopDelay,eE=void 0===eS?0:eS,ek=ei.style,eT=ei.nonce,eC=ec.createElement("style",{nonce:eT},ek||"\n          #nprogress {\n            pointer-events: none;\n          }\n          \n          #nprogress .bar {\n            background: ".concat(ea,";\n          \n            position: fixed;\n            z-index: 1031;\n            top: 0;\n            left: 0;\n          \n            width: 100%;\n            height: ").concat(ed,";\n          }\n          \n          /* Fancy blur effect */\n          #nprogress .peg {\n            display: block;\n            position: absolute;\n            right: 0px;\n            width: 100px;\n            height: 100%;\n            box-shadow: 0 0 10px ").concat(ea,", 0 0 5px ").concat(ea,";\n            opacity: 1.0;\n          \n            -webkit-transform: rotate(3deg) translate(0px, -4px);\n                -ms-transform: rotate(3deg) translate(0px, -4px);\n                    transform: rotate(3deg) translate(0px, -4px);\n          }\n          \n          /* Remove these to get rid of the spinner */\n          #nprogress .spinner {\n            display: block;\n            position: fixed;\n            z-index: 1031;\n            top: 15px;\n            right: 15px;\n          }\n          \n          #nprogress .spinner-icon {\n            width: 18px;\n            height: 18px;\n            box-sizing: border-box;\n          \n            border: solid 2px transparent;\n            border-top-color: ").concat(ea,";\n            border-left-color: ").concat(ea,";\n            border-radius: 50%;\n          \n            -webkit-animation: nprogress-spinner 400ms linear infinite;\n                    animation: nprogress-spinner 400ms linear infinite;\n          }\n          \n          .nprogress-custom-parent {\n            overflow: hidden;\n            position: relative;\n          }\n          \n          .nprogress-custom-parent #nprogress .spinner,\n          .nprogress-custom-parent #nprogress .bar {\n            position: absolute;\n          }\n          \n          @-webkit-keyframes nprogress-spinner {\n            0%   { -webkit-transform: rotate(0deg); }\n            100% { -webkit-transform: rotate(360deg); }\n          }\n          @keyframes nprogress-spinner {\n            0%   { transform: rotate(0deg); }\n            100% { transform: rotate(360deg); }\n          }\n        "));return eu.configure(eh||{}),ec.useEffect(function(){var ei,startProgress=function(){ei=setTimeout(function(){ew>0&&eu.set(ew),eu.start()},eP)},stopProgress=function(){ei&&clearTimeout(ei),ei=setTimeout(function(){eu.done(!0)},eE)},handleRouteStart=function(ei){var eo=new URL(ei,location.href),ea=new URL(ef.route,location.href);em&&(isSameURL(eo,ea)||!eb)||startProgress()},handleRouteDone=function(){return stopProgress()};return ef.events.on("routeChangeStart",handleRouteStart),ef.events.on("routeChangeComplete",handleRouteDone),ef.events.on("routeChangeError",handleRouteDone),function(){ef.events.off("routeChangeStart",handleRouteStart),ef.events.off("routeChangeComplete",handleRouteDone),ef.events.off("routeChangeError",handleRouteDone)}},[]),eC},function(ei,eo){return(null==eo?void 0:eo.memo)!==!1&&(null==eo||!eo.shouldCompareComplexProps||(null==ei?void 0:ei.color)===(null==eo?void 0:eo.color)&&(null==ei?void 0:ei.height)===(null==eo?void 0:eo.height)&&(null==ei?void 0:ei.shallowRouting)===(null==eo?void 0:eo.shallowRouting)&&(null==ei?void 0:ei.startPosition)===(null==eo?void 0:eo.startPosition)&&(null==ei?void 0:ei.delay)===(null==eo?void 0:eo.delay)&&(null==ei?void 0:ei.disableSameURL)===(null==eo?void 0:eo.disableSameURL)&&(null==ei?void 0:ei.stopDelay)===(null==eo?void 0:eo.stopDelay)&&(null==ei?void 0:ei.nonce)===(null==eo?void 0:eo.nonce)&&JSON.stringify(null==ei?void 0:ei.options)===JSON.stringify(null==eo?void 0:eo.options)&&(null==ei?void 0:ei.style)===(null==eo?void 0:eo.style))});es=withSuspense(eh),eo._F=ep},6840:function(ei,eo,ea){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return ea(7882)}])},12422:function(ei,eo){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"createAsyncLocalStorage",{enumerable:!0,get:function(){return createAsyncLocalStorage}});let ea=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");let FakeAsyncLocalStorage=class FakeAsyncLocalStorage{disable(){throw ea}getStore(){}run(){throw ea}exit(){throw ea}enterWith(){throw ea}};let es=globalThis.AsyncLocalStorage;function createAsyncLocalStorage(){return es?new es:new FakeAsyncLocalStorage}("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},88427:function(ei,eo,ea){"use strict";function clientHookInServerComponentError(ei){}Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"clientHookInServerComponentError",{enumerable:!0,get:function(){return clientHookInServerComponentError}}),ea(10260),ea(67294),("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},30636:function(ei,eo,ea){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),function(ei,eo){for(var ea in eo)Object.defineProperty(ei,ea,{enumerable:!0,get:eo[ea]})}(eo,{ReadonlyURLSearchParams:function(){return ReadonlyURLSearchParams},useSearchParams:function(){return useSearchParams},usePathname:function(){return usePathname},ServerInsertedHTMLContext:function(){return eh.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return eh.useServerInsertedHTML},useRouter:function(){return useRouter},useParams:function(){return useParams},useSelectedLayoutSegments:function(){return useSelectedLayoutSegments},useSelectedLayoutSegment:function(){return useSelectedLayoutSegment},redirect:function(){return ep.redirect},permanentRedirect:function(){return ep.permanentRedirect},RedirectType:function(){return ep.RedirectType},notFound:function(){return em.notFound}});let es=ea(67294),eu=ea(89031),ec=ea(11593),ed=ea(88427),ef=ea(6160),eh=ea(30252),ep=ea(37866),em=ea(49363),eg=Symbol("internal for urlsearchparams readonly");function readonlyURLSearchParamsError(){return Error("ReadonlyURLSearchParams cannot be modified")}let ReadonlyURLSearchParams=class ReadonlyURLSearchParams{[Symbol.iterator](){return this[eg][Symbol.iterator]()}append(){throw readonlyURLSearchParamsError()}delete(){throw readonlyURLSearchParamsError()}set(){throw readonlyURLSearchParamsError()}sort(){throw readonlyURLSearchParamsError()}constructor(ei){this[eg]=ei,this.entries=ei.entries.bind(ei),this.forEach=ei.forEach.bind(ei),this.get=ei.get.bind(ei),this.getAll=ei.getAll.bind(ei),this.has=ei.has.bind(ei),this.keys=ei.keys.bind(ei),this.values=ei.values.bind(ei),this.toString=ei.toString.bind(ei),this.size=ei.size}};function useSearchParams(){(0,ed.clientHookInServerComponentError)("useSearchParams");let ei=(0,es.useContext)(ec.SearchParamsContext),eo=(0,es.useMemo)(()=>ei?new ReadonlyURLSearchParams(ei):null,[ei]);return eo}function usePathname(){return(0,ed.clientHookInServerComponentError)("usePathname"),(0,es.useContext)(ec.PathnameContext)}function useRouter(){(0,ed.clientHookInServerComponentError)("useRouter");let ei=(0,es.useContext)(eu.AppRouterContext);if(null===ei)throw Error("invariant expected app router to be mounted");return ei}function getSelectedParams(ei,eo){void 0===eo&&(eo={});let ea=ei[1];for(let ei of Object.values(ea)){let ea=ei[0],es=Array.isArray(ea),eu=es?ea[1]:ea;if(!eu||eu.startsWith("__PAGE__"))continue;let ec=es&&("c"===ea[2]||"oc"===ea[2]);ec?eo[ea[0]]=ea[1].split("/"):es&&(eo[ea[0]]=ea[1]),eo=getSelectedParams(ei,eo)}return eo}function useParams(){(0,ed.clientHookInServerComponentError)("useParams");let ei=(0,es.useContext)(eu.GlobalLayoutRouterContext),eo=(0,es.useContext)(ec.PathParamsContext);return(0,es.useMemo)(()=>(null==ei?void 0:ei.tree)?getSelectedParams(ei.tree):eo,[null==ei?void 0:ei.tree,eo])}function getSelectedLayoutSegmentPath(ei,eo,ea,es){let eu;if(void 0===ea&&(ea=!0),void 0===es&&(es=[]),ea)eu=ei[1][eo];else{var ec;let eo=ei[1];eu=null!=(ec=eo.children)?ec:Object.values(eo)[0]}if(!eu)return es;let ed=eu[0],eh=(0,ef.getSegmentValue)(ed);return!eh||eh.startsWith("__PAGE__")?es:(es.push(eh),getSelectedLayoutSegmentPath(eu,eo,!1,es))}function useSelectedLayoutSegments(ei){void 0===ei&&(ei="children"),(0,ed.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:eo}=(0,es.useContext)(eu.LayoutRouterContext);return getSelectedLayoutSegmentPath(eo,ei)}function useSelectedLayoutSegment(ei){void 0===ei&&(ei="children"),(0,ed.clientHookInServerComponentError)("useSelectedLayoutSegment");let eo=useSelectedLayoutSegments(ei);return 0===eo.length?null:eo[0]}("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},49363:function(ei,eo){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),function(ei,eo){for(var ea in eo)Object.defineProperty(ei,ea,{enumerable:!0,get:eo[ea]})}(eo,{notFound:function(){return notFound},isNotFoundError:function(){return isNotFoundError}});let ea="NEXT_NOT_FOUND";function notFound(){let ei=Error(ea);throw ei.digest=ea,ei}function isNotFoundError(ei){return(null==ei?void 0:ei.digest)===ea}("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},37866:function(ei,eo,ea){"use strict";var es;Object.defineProperty(eo,"__esModule",{value:!0}),function(ei,eo){for(var ea in eo)Object.defineProperty(ei,ea,{enumerable:!0,get:eo[ea]})}(eo,{RedirectType:function(){return es},getRedirectError:function(){return getRedirectError},redirect:function(){return redirect},permanentRedirect:function(){return permanentRedirect},isRedirectError:function(){return isRedirectError},getURLFromRedirectError:function(){return getURLFromRedirectError},getRedirectTypeFromError:function(){return getRedirectTypeFromError}});let eu=ea(23743),ec="NEXT_REDIRECT";function getRedirectError(ei,eo,ea){void 0===ea&&(ea=!1);let es=Error(ec);es.digest=ec+";"+eo+";"+ei+";"+ea;let ed=eu.requestAsyncStorage.getStore();return ed&&(es.mutableCookies=ed.mutableCookies),es}function redirect(ei,eo){throw void 0===eo&&(eo="replace"),getRedirectError(ei,eo,!1)}function permanentRedirect(ei,eo){throw void 0===eo&&(eo="replace"),getRedirectError(ei,eo,!0)}function isRedirectError(ei){if("string"!=typeof(null==ei?void 0:ei.digest))return!1;let[eo,ea,es,eu]=ei.digest.split(";",4);return eo===ec&&("replace"===ea||"push"===ea)&&"string"==typeof es&&("true"===eu||"false"===eu)}function getURLFromRedirectError(ei){return isRedirectError(ei)?ei.digest.split(";",3)[2]:null}function getRedirectTypeFromError(ei){if(!isRedirectError(ei))throw Error("Not a redirect error");return ei.digest.split(";",3)[1]}!function(ei){ei.push="push",ei.replace="replace"}(es||(es={})),("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},23743:function(ei,eo,ea){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"requestAsyncStorage",{enumerable:!0,get:function(){return eu}});let es=ea(12422),eu=(0,es.createAsyncLocalStorage)();("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},6160:function(ei,eo){"use strict";function getSegmentValue(ei){return Array.isArray(ei)?ei[1]:ei}Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"getSegmentValue",{enumerable:!0,get:function(){return getSegmentValue}}),("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},97498:function(ei,eo){"use strict";var ea;Object.defineProperty(eo,"__esModule",{value:!0}),function(ei,eo){for(var ea in eo)Object.defineProperty(ei,ea,{enumerable:!0,get:eo[ea]})}(eo,{PrefetchKind:function(){return ea},ACTION_REFRESH:function(){return es},ACTION_NAVIGATE:function(){return eu},ACTION_RESTORE:function(){return ec},ACTION_SERVER_PATCH:function(){return ed},ACTION_PREFETCH:function(){return ef},ACTION_FAST_REFRESH:function(){return eh},ACTION_SERVER_ACTION:function(){return ep}});let es="refresh",eu="navigate",ec="restore",ed="server-patch",ef="prefetch",eh="fast-refresh",ep="server-action";!function(ei){ei.AUTO="auto",ei.FULL="full",ei.TEMPORARY="temporary"}(ea||(ea={})),("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},10030:function(ei,eo,ea){"use strict";function getDomainLocale(ei,eo,ea,es){return!1}Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}),ea(22866),("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},65170:function(ei,eo,ea){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"default",{enumerable:!0,get:function(){return eE}});let es=ea(10260),eu=es._(ea(67294)),ec=ea(74450),ed=ea(92227),ef=ea(64364),eh=ea(10109),ep=ea(73607),em=ea(11823),eg=ea(89031),eb=ea(40920),ey=ea(10030),ew=ea(77192),ex=ea(97498),eP=new Set;function prefetch(ei,eo,ea,es,eu,ec){if(!ec&&!(0,ed.isLocalURL)(eo))return;if(!es.bypassPrefetchedCheck){let eu=void 0!==es.locale?es.locale:"locale"in ei?ei.locale:void 0,ec=eo+"%"+ea+"%"+eu;if(eP.has(ec))return;eP.add(ec)}let ef=ec?ei.prefetch(eo,eu):ei.prefetch(eo,ea,es);Promise.resolve(ef).catch(ei=>{})}function isModifiedEvent(ei){let eo=ei.currentTarget,ea=eo.getAttribute("target");return ea&&"_self"!==ea||ei.metaKey||ei.ctrlKey||ei.shiftKey||ei.altKey||ei.nativeEvent&&2===ei.nativeEvent.which}function linkClicked(ei,eo,ea,es,ec,ef,eh,ep,em,eg){let{nodeName:eb}=ei.currentTarget,ey="A"===eb.toUpperCase();if(ey&&(isModifiedEvent(ei)||!em&&!(0,ed.isLocalURL)(ea)))return;ei.preventDefault();let navigate=()=>{let ei=null==eh||eh;"beforePopState"in eo?eo[ec?"replace":"push"](ea,es,{shallow:ef,locale:ep,scroll:ei}):eo[ec?"replace":"push"](es||ea,{forceOptimisticNavigation:!eg,scroll:ei})};em?eu.default.startTransition(navigate):navigate()}function formatStringOrUrl(ei){return"string"==typeof ei?ei:(0,ef.formatUrl)(ei)}let eS=eu.default.forwardRef(function(ei,eo){let ea,es;let{href:ed,as:ef,children:eP,prefetch:eS=null,passHref:eE,replace:ek,shallow:eT,scroll:eC,locale:e_,onClick:eA,onMouseEnter:eO,onTouchStart:eM,legacyBehavior:eR=!1,...ej}=ei;ea=eP,eR&&("string"==typeof ea||"number"==typeof ea)&&(ea=eu.default.createElement("a",null,ea));let eN=eu.default.useContext(em.RouterContext),eL=eu.default.useContext(eg.AppRouterContext),eD=null!=eN?eN:eL,eI=!eN,ez=!1!==eS,eB=null===eS?ex.PrefetchKind.AUTO:ex.PrefetchKind.FULL,{href:eF,as:eH}=eu.default.useMemo(()=>{if(!eN){let ei=formatStringOrUrl(ed);return{href:ei,as:ef?formatStringOrUrl(ef):ei}}let[ei,eo]=(0,ec.resolveHref)(eN,ed,!0);return{href:ei,as:ef?(0,ec.resolveHref)(eN,ef):eo||ei}},[eN,ed,ef]),eU=eu.default.useRef(eF),eV=eu.default.useRef(eH);eR&&(es=eu.default.Children.only(ea));let eX=eR?es&&"object"==typeof es&&es.ref:eo,[eq,e$,eW]=(0,eb.useIntersection)({rootMargin:"200px"}),eK=eu.default.useCallback(ei=>{(eV.current!==eH||eU.current!==eF)&&(eW(),eV.current=eH,eU.current=eF),eq(ei),eX&&("function"==typeof eX?eX(ei):"object"==typeof eX&&(eX.current=ei))},[eH,eX,eF,eW,eq]);eu.default.useEffect(()=>{eD&&e$&&ez&&prefetch(eD,eF,eH,{locale:e_},{kind:eB},eI)},[eH,eF,e$,e_,ez,null==eN?void 0:eN.locale,eD,eI,eB]);let eG={ref:eK,onClick(ei){eR||"function"!=typeof eA||eA(ei),eR&&es.props&&"function"==typeof es.props.onClick&&es.props.onClick(ei),eD&&!ei.defaultPrevented&&linkClicked(ei,eD,eF,eH,ek,eT,eC,e_,eI,ez)},onMouseEnter(ei){eR||"function"!=typeof eO||eO(ei),eR&&es.props&&"function"==typeof es.props.onMouseEnter&&es.props.onMouseEnter(ei),eD&&(ez||!eI)&&prefetch(eD,eF,eH,{locale:e_,priority:!0,bypassPrefetchedCheck:!0},{kind:eB},eI)},onTouchStart(ei){eR||"function"!=typeof eM||eM(ei),eR&&es.props&&"function"==typeof es.props.onTouchStart&&es.props.onTouchStart(ei),eD&&(ez||!eI)&&prefetch(eD,eF,eH,{locale:e_,priority:!0,bypassPrefetchedCheck:!0},{kind:eB},eI)}};if((0,eh.isAbsoluteUrl)(eH))eG.href=eH;else if(!eR||eE||"a"===es.type&&!("href"in es.props)){let ei=void 0!==e_?e_:null==eN?void 0:eN.locale,eo=(null==eN?void 0:eN.isLocaleDomain)&&(0,ey.getDomainLocale)(eH,ei,null==eN?void 0:eN.locales,null==eN?void 0:eN.domainLocales);eG.href=eo||(0,ew.addBasePath)((0,ep.addLocale)(eH,ei,null==eN?void 0:eN.defaultLocale))}return eR?eu.default.cloneElement(es,eG):eu.default.createElement("a",{...ej,...eG},ea)}),eE=eS;("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},40920:function(ei,eo,ea){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),Object.defineProperty(eo,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let es=ea(67294),eu=ea(63436),ec="function"==typeof IntersectionObserver,ed=new Map,ef=[];function createObserver(ei){let eo;let ea={root:ei.root||null,margin:ei.rootMargin||""},es=ef.find(ei=>ei.root===ea.root&&ei.margin===ea.margin);if(es&&(eo=ed.get(es)))return eo;let eu=new Map,ec=new IntersectionObserver(ei=>{ei.forEach(ei=>{let eo=eu.get(ei.target),ea=ei.isIntersecting||ei.intersectionRatio>0;eo&&ea&&eo(ea)})},ei);return eo={id:ea,observer:ec,elements:eu},ef.push(ea),ed.set(ea,eo),eo}function observe(ei,eo,ea){let{id:es,observer:eu,elements:ec}=createObserver(ea);return ec.set(ei,eo),eu.observe(ei),function(){if(ec.delete(ei),eu.unobserve(ei),0===ec.size){eu.disconnect(),ed.delete(es);let ei=ef.findIndex(ei=>ei.root===es.root&&ei.margin===es.margin);ei>-1&&ef.splice(ei,1)}}}function useIntersection(ei){let{rootRef:eo,rootMargin:ea,disabled:ed}=ei,ef=ed||!ec,[eh,ep]=(0,es.useState)(!1),em=(0,es.useRef)(null),eg=(0,es.useCallback)(ei=>{em.current=ei},[]);(0,es.useEffect)(()=>{if(ec){if(ef||eh)return;let ei=em.current;if(ei&&ei.tagName){let es=observe(ei,ei=>ei&&ep(ei),{root:null==eo?void 0:eo.current,rootMargin:ea});return es}}else if(!eh){let ei=(0,eu.requestIdleCallback)(()=>ep(!0));return()=>(0,eu.cancelIdleCallback)(ei)}},[ef,ea,eo,eh,em.current]);let eb=(0,es.useCallback)(()=>{ep(!1)},[]);return[eg,eh,eb]}("function"==typeof eo.default||"object"==typeof eo.default&&null!==eo.default)&&void 0===eo.default.__esModule&&(Object.defineProperty(eo.default,"__esModule",{value:!0}),Object.assign(eo.default,eo),ei.exports=eo.default)},30252:function(ei,eo,ea){"use strict";Object.defineProperty(eo,"__esModule",{value:!0}),function(ei,eo){for(var ea in eo)Object.defineProperty(ei,ea,{enumerable:!0,get:eo[ea]})}(eo,{ServerInsertedHTMLContext:function(){return ec},useServerInsertedHTML:function(){return useServerInsertedHTML}});let es=ea(77697),eu=es._(ea(67294)),ec=eu.default.createContext(null);function useServerInsertedHTML(ei){let eo=(0,eu.useContext)(ec);eo&&eo(ei)}},13081:function(ei,eo,ea){"use strict";let es;ea.d(eo,{Z:function(){return np}});var eu,ec,ed,ef={};ea.r(ef),ea.d(ef,{ActivityBlock:function(){return ActivityBlock},ActivityHeader:function(){return ActivityHeader},BaseComponent:function(){return eH},Block:function(){return Block},CameraSource:function(){return CameraSource},CloudImageEditor:function(){return CloudImageEditor},CloudImageEditorActivity:function(){return CloudImageEditorActivity},CloudImageEditorBlock:function(){return CloudImageEditorBlock},Config:function(){return tD},ConfirmationDialog:function(){return ConfirmationDialog},Copyright:function(){return Copyright},CropFrame:function(){return CropFrame},Data:function(){return eE},DropArea:function(){return DropArea},EditorCropButtonControl:function(){return EditorCropButtonControl},EditorFilterControl:function(){return EditorFilterControl},EditorImageCropper:function(){return EditorImageCropper},EditorImageFader:function(){return EditorImageFader},EditorOperationControl:function(){return EditorOperationControl},EditorScroller:function(){return EditorScroller},EditorSlider:function(){return EditorSlider},EditorToolbar:function(){return EditorToolbar},ExternalSource:function(){return ExternalSource},FileItem:function(){return FileItem},FilePreview:function(){return FilePreview},FileUploaderInline:function(){return FileUploaderInline},FileUploaderMinimal:function(){return FileUploaderMinimal},FileUploaderRegular:function(){return FileUploaderRegular},FormInput:function(){return FormInput},Icon:function(){return Icon},Img:function(){return Img},LineLoaderUi:function(){return LineLoaderUi},LrBtnUi:function(){return LrBtnUi},Modal:function(){return Modal},PACKAGE_NAME:function(){return tZ},PACKAGE_VERSION:function(){return tJ},PresenceToggle:function(){return PresenceToggle},ProgressBar:function(){return ProgressBar},ProgressBarCommon:function(){return ProgressBarCommon},Select:function(){return Select},SimpleBtn:function(){return SimpleBtn},SliderUi:function(){return SliderUi},SourceBtn:function(){return SourceBtn},SourceList:function(){return SourceList},StartFrom:function(){return StartFrom},Tabs:function(){return Tabs},UID:function(){return e_},UploadCtxProvider:function(){return rn},UploadList:function(){return UploadList},UploaderBlock:function(){return UploaderBlock},UrlSource:function(){return UrlSource},Video:function(){return Video},connectBlocksFrom:function(){return connectBlocksFrom},defineLocale:function(){return defineLocale},registerBlocks:function(){return registerBlocks},toKebabCase:function(){return toKebabCase}});var eh=ea(85893),ep=ea(67294),em=ea(80247);let FileAddIcon=ei=>(0,eh.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eh.jsx)("path",{d:"M4 12.0005L4 14.5446C4 17.7896 4 19.4122 4.88607 20.5111C5.06508 20.7331 5.26731 20.9354 5.48933 21.1144C6.58831 22.0005 8.21082 22.0005 11.4558 22.0005C12.1614 22.0005 12.5141 22.0005 12.8372 21.8865C12.9044 21.8627 12.9702 21.8355 13.0345 21.8047C13.3436 21.6569 13.593 21.4075 14.0919 20.9086L18.8284 16.172C19.4065 15.594 19.6955 15.3049 19.8478 14.9374C20 14.5699 20 14.1611 20 13.3436V10.0005C20 6.22922 20 4.34361 18.8284 3.17203C17.7693 2.11287 16.1265 2.01125 13.0345 2.0015M13 21.5005V21.0005C13 18.172 13 16.7578 13.8787 15.8791C14.7574 15.0005 16.1716 15.0005 19 15.0005H19.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eh.jsx)("path",{d:"M12 5.99954H4M8 1.99954V9.99954",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});var eg=ea(25977);!function(ei){ei.UPLOAD_DOCUMENTS="d"}(eu||(eu={}));var eb=ea(23254),ey=ea(39262),ew=ea(87740),ex=ea(86597);let useUploaderCtxProvider=function(){let{ref:ei}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},eo=(0,ep.useRef)(null),ea=(0,ep.useMemo)(()=>ei||eo,[ei,eo]),resetUploaderState=()=>{var ei;null===(ei=ea.current)||void 0===ei||ei.uploadCollection.clearAll()},addFile=ei=>{var eo;null===(eo=ea.current)||void 0===eo||eo.addFileFromObject(ei,{silent:!1})};return{ctxProviderRef:ea,resetUploaderState,addFile}};var eP=useUploaderCtxProvider,eS=Object.defineProperty,__defNormalProp=(ei,eo,ea)=>eo in ei?eS(ei,eo,{enumerable:!0,configurable:!0,writable:!0,value:ea}):ei[eo]=ea,__publicField=(ei,eo,ea)=>(__defNormalProp(ei,"symbol"!=typeof eo?eo+"":eo,ea),ea);function cloneObj(ei){let clone=ei=>{var eo;for(let ea in ei)(null==(eo=ei[ea])?void 0:eo.constructor)===Object&&(ei[ea]=clone(ei[ea]));return{...ei}};return clone(ei)}var eE=class{constructor(ei){ei.constructor===Object?this.store=cloneObj(ei):(this._storeIsProxy=!0,this.store=ei),this.callbackMap=Object.create(null)}static warn(ei,eo){console.warn(`Symbiote Data: cannot ${ei}. Prop name: `+eo)}read(ei){return this._storeIsProxy||this.store.hasOwnProperty(ei)?this.store[ei]:(eE.warn("read",ei),null)}has(ei){return this._storeIsProxy?void 0!==this.store[ei]:this.store.hasOwnProperty(ei)}add(ei,eo,ea=!1){!ea&&Object.keys(this.store).includes(ei)||(this.store[ei]=eo,this.notify(ei))}pub(ei,eo){if(!this._storeIsProxy&&!this.store.hasOwnProperty(ei)){eE.warn("publish",ei);return}this.store[ei]=eo,this.notify(ei)}multiPub(ei){for(let eo in ei)this.pub(eo,ei[eo])}notify(ei){this.callbackMap[ei]&&this.callbackMap[ei].forEach(eo=>{eo(this.store[ei])})}sub(ei,eo,ea=!0){return this._storeIsProxy||this.store.hasOwnProperty(ei)?(this.callbackMap[ei]||(this.callbackMap[ei]=new Set),this.callbackMap[ei].add(eo),ea&&eo(this.store[ei]),{remove:()=>{this.callbackMap[ei].delete(eo),this.callbackMap[ei].size||delete this.callbackMap[ei]},callback:eo}):(eE.warn("subscribe",ei),null)}static registerCtx(ei,eo=Symbol()){let ea=eE.globalStore.get(eo);return ea?console.warn('State: context UID "'+eo+'" already in use'):(ea=new eE(ei),eE.globalStore.set(eo,ea)),ea}static deleteCtx(ei){eE.globalStore.delete(ei)}static getCtx(ei,eo=!0){return eE.globalStore.get(ei)||(eo&&console.warn('State: wrong context UID - "'+ei+'"'),null)}};eE.globalStore=new Map;var ek=Object.freeze({BIND_ATTR:"set",ATTR_BIND_PRFX:"@",EXT_DATA_CTX_PRFX:"*",NAMED_DATA_CTX_SPLTR:"/",CTX_NAME_ATTR:"ctx-name",CTX_OWNER_ATTR:"ctx-owner",CSS_CTX_PROP:"--ctx-name",EL_REF_ATTR:"ref",AUTO_TAG_PRFX:"sym",REPEAT_ATTR:"repeat",REPEAT_ITEM_TAG_ATTR:"repeat-item-tag",SET_LATER_KEY:"__toSetLater__",USE_TPL:"use-template",ROOT_STYLE_ATTR_NAME:"sym-component"}),eT="1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm",eC=eT.length-1,e_=class{static generate(ei="XXXXXXXXX-XXX"){let eo="";for(let ea=0;ea<ei.length;ea++)eo+="-"===ei[ea]?ei[ea]:eT.charAt(Math.random()*eC);return eo}};function setNestedProp(ei,eo,ea){let es,eu=!0,ec=eo.split(".");return ec.forEach((eo,ea)=>{ea<ec.length-1?ei=ei[eo]:es=eo}),ei?ei[es]=ea:eu=!1,eu}function kebabToCamel(ei){return ei.split("-").map((ei,eo)=>ei&&eo?ei[0].toUpperCase()+ei.slice(1):ei).join("").split("_").map((ei,eo)=>ei&&eo?ei.toUpperCase():ei).join("")}var eA="__default__",eO="{{",eM="}}",eR="skip-text";function getTextNodesWithTokens(ei){let eo;let ea=[],es=document.createTreeWalker(ei,NodeFilter.SHOW_TEXT,{acceptNode:ei=>{var eo;return!(null==(eo=ei.parentElement)?void 0:eo.hasAttribute(eR))&&ei.textContent.includes(eO)&&ei.textContent.includes(eM)&&1}});for(;eo=es.nextNode();)ea.push(eo);return ea}var ej=[function(ei,eo){[...ei.querySelectorAll(`[${ek.REPEAT_ATTR}]`)].forEach(ei=>{let ea,es=ei.getAttribute(ek.REPEAT_ITEM_TAG_ATTR);if(es&&(ea=window.customElements.get(es)),!ea){ea=class extends eo.BaseComponent{constructor(){super(),es||(this.style.display="contents")}};let eu=ei.innerHTML;ea.template=eu,ea.reg(es)}for(;ei.firstChild;)ei.firstChild.remove();let eu=ei.getAttribute(ek.REPEAT_ATTR);eo.sub(eu,eo=>{let es;if(!eo){for(;ei.firstChild;)ei.firstChild.remove();return}let eu=[...ei.children],fillItems=eo=>{for(let ec of(eo.forEach((ei,eo)=>{if(eu[eo]){if(eu[eo].set$)setTimeout(()=>{eu[eo].set$(ei)});else for(let ea in ei)eu[eo][ea]=ei[ea]}else{es||(es=new DocumentFragment);let eo=new ea;Object.assign(eo.init$,ei),es.appendChild(eo)}}),es&&ei.appendChild(es),eu.slice(eo.length,eu.length)))ec.remove()};if(eo.constructor===Array)fillItems(eo);else if(eo.constructor===Object){let ei=[];for(let ea in eo){let es=eo[ea];Object.defineProperty(es,"_KEY_",{value:ea,enumerable:!0}),ei.push(es)}fillItems(ei)}else console.warn("Symbiote repeat data type error:"),console.log(eo)}),ei.removeAttribute(ek.REPEAT_ATTR),ei.removeAttribute(ek.REPEAT_ITEM_TAG_ATTR)})},function(ei,eo){if(eo.shadowRoot)return;let ea=[...ei.querySelectorAll("slot")];if(!ea.length)return;let es={};ea.forEach(ei=>{es[ei.getAttribute("name")||eA]={slot:ei,fr:document.createDocumentFragment()}}),eo.initChildren.forEach(ei=>{var eo;let ea=eA;ei instanceof Element&&ei.hasAttribute("slot")&&(ea=ei.getAttribute("slot"),ei.removeAttribute("slot")),null==(eo=es[ea])||eo.fr.appendChild(ei)}),Object.values(es).forEach(ei=>{if(ei.fr.childNodes.length)ei.slot.parentNode.replaceChild(ei.fr,ei.slot);else if(ei.slot.childNodes.length){let eo=document.createDocumentFragment();eo.append(...ei.slot.childNodes),ei.slot.parentNode.replaceChild(eo,ei.slot)}else ei.slot.remove()})},function(ei,eo){[...ei.querySelectorAll(`[${ek.EL_REF_ATTR}]`)].forEach(ei=>{let ea=ei.getAttribute(ek.EL_REF_ATTR);eo.ref[ea]=ei,ei.removeAttribute(ek.EL_REF_ATTR)})},function(ei,eo){[...ei.querySelectorAll(`[${ek.BIND_ATTR}]`)].forEach(ei=>{let ea=ei.getAttribute(ek.BIND_ATTR).split(";");[...ei.attributes].forEach(eo=>{if(eo.name.startsWith("-")&&eo.value){let es=kebabToCamel(eo.name.replace("-",""));ea.push(es+":"+eo.value),ei.removeAttribute(eo.name)}}),ea.forEach(ea=>{let es;if(!ea)return;let eu=ea.split(":").map(ei=>ei.trim()),ec=eu[0];for(let ea of(0===ec.indexOf(ek.ATTR_BIND_PRFX)&&(es=!0,ec=ec.replace(ek.ATTR_BIND_PRFX,"")),eu[1].split(",").map(ei=>ei.trim()))){let eu;ea.startsWith("!!")?(eu="double",ea=ea.replace("!!","")):ea.startsWith("!")&&(eu="single",ea=ea.replace("!","")),eo.sub(ea,eo=>{"double"===eu?eo=!!eo:"single"===eu&&(eo=!eo),es?(null==eo?void 0:eo.constructor)===Boolean?eo?ei.setAttribute(ec,""):ei.removeAttribute(ec):ei.setAttribute(ec,eo):setNestedProp(ei,ec,eo)||(ei[ek.SET_LATER_KEY]||(ei[ek.SET_LATER_KEY]=Object.create(null)),ei[ek.SET_LATER_KEY][ec]=eo)})}}),ei.removeAttribute(ek.BIND_ATTR)})},function(ei,eo){getTextNodesWithTokens(ei).forEach(ei=>{let ea,es=[];for(;ei.textContent.includes(eM);)ei.textContent.startsWith(eO)?(ea=ei.textContent.indexOf(eM)+eM.length,ei.splitText(ea),es.push(ei)):(ea=ei.textContent.indexOf(eO),ei.splitText(ea)),ei=ei.nextSibling;es.forEach(ei=>{let ea=ei.textContent.replace(eO,"").replace(eM,"");ei.textContent="",eo.sub(ea,eo=>{ei.textContent=eo})})})}],eN="'",eL='"',eD=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(ei){return(ei[0]===eL||ei[0]===eN)&&(ei[ei.length-1]===eL||ei[ei.length-1]===eN)}function trimQuotes(ei){return(ei[0]===eL||ei[0]===eN)&&(ei=ei.slice(1)),(ei[ei.length-1]===eL||ei[ei.length-1]===eN)&&(ei=ei.slice(0,-1)),ei}function escapeQuotes(ei){let eo="",ea="";for(var es=0;es<ei.length;es++){let eu=ei[es+1];"\\"===ei[es]&&'"'===eu?(eo+='\\"',es++):'"'===ei[es]&&"\\"!==ea?eo+='\\"':eo+=ei[es],ea=ei[es]}return eo}function parseCssPropertyValue(ei){let eo=ei;hasLeadingTrailingQuotes(ei)&&(eo=eL+(eo=escapeQuotes(eo=(eo=(eo=trimQuotes(eo)).replace(eD,(ei,eo)=>String.fromCodePoint(parseInt(eo.trim(),16)))).replaceAll("\\\n","\\n")))+eL);try{return JSON.parse(eo)}catch(ea){throw Error(`Failed to parse CSS property value: ${eo}. Original input: ${ei}`)}}var eI=0,ez=null,eB=null,eF=class extends HTMLElement{constructor(){super(),__publicField(this,"updateCssData",()=>{var ei;this.dropCssDataCache(),null==(ei=this.__boundCssProps)||ei.forEach(ei=>{let eo=this.getCssData(this.__extractCssName(ei),!0);null!==eo&&this.$[ei]!==eo&&(this.$[ei]=eo)})}),this.init$=Object.create(null),this.cssInit$=Object.create(null),this.tplProcessors=new Set,this.ref=Object.create(null),this.allSubs=new Set,this.pauseRender=!1,this.renderShadow=!1,this.readyToDestroy=!0,this.processInnerHtml=!1,this.allowCustomTemplate=!1,this.ctxOwner=!1}get BaseComponent(){return eF}initCallback(){}__initCallback(){var ei;this.__initialized||(this.__initialized=!0,null==(ei=this.initCallback)||ei.call(this))}render(ei,eo=this.renderShadow){let ea;if((eo||this.constructor.__shadowStylesUrl)&&!this.shadowRoot&&this.attachShadow({mode:"open"}),this.allowCustomTemplate){let eo=this.getAttribute(ek.USE_TPL);if(eo){let ea=this.getRootNode(),es=(null==ea?void 0:ea.querySelector(eo))||document.querySelector(eo);es?ei=es.content.cloneNode(!0):console.warn(`Symbiote template "${eo}" is not found...`)}}if(this.processInnerHtml)for(let ei of this.tplProcessors)ei(this,this);if(ei||this.constructor.template){if(this.constructor.template&&!this.constructor.__tpl&&(this.constructor.__tpl=document.createElement("template"),this.constructor.__tpl.innerHTML=this.constructor.template),(null==ei?void 0:ei.constructor)===DocumentFragment)ea=ei;else if((null==ei?void 0:ei.constructor)===String){let eo=document.createElement("template");eo.innerHTML=ei,ea=eo.content.cloneNode(!0)}else this.constructor.__tpl&&(ea=this.constructor.__tpl.content.cloneNode(!0));for(let ei of this.tplProcessors)ei(ea,this)}let addFr=()=>{ea&&(eo&&this.shadowRoot.appendChild(ea)||this.appendChild(ea)),this.__initCallback()};if(this.constructor.__shadowStylesUrl){eo=!0;let ei=document.createElement("link");ei.rel="stylesheet",ei.href=this.constructor.__shadowStylesUrl,ei.onload=addFr,this.shadowRoot.prepend(ei)}else addFr()}addTemplateProcessor(ei){this.tplProcessors.add(ei)}get autoCtxName(){return this.__autoCtxName||(this.__autoCtxName=e_.generate(),this.style.setProperty(ek.CSS_CTX_PROP,`'${this.__autoCtxName}'`)),this.__autoCtxName}get cssCtxName(){return this.getCssData(ek.CSS_CTX_PROP,!0)}get ctxName(){var ei;let eo=(null==(ei=this.getAttribute(ek.CTX_NAME_ATTR))?void 0:ei.trim())||this.cssCtxName||this.__cachedCtxName||this.autoCtxName;return this.__cachedCtxName=eo,eo}get localCtx(){return this.__localCtx||(this.__localCtx=eE.registerCtx({},this)),this.__localCtx}get nodeCtx(){return eE.getCtx(this.ctxName,!1)||eE.registerCtx({},this.ctxName)}static __parseProp(ei,eo){let ea,es;if(ei.startsWith(ek.EXT_DATA_CTX_PRFX))ea=eo.nodeCtx,es=ei.replace(ek.EXT_DATA_CTX_PRFX,"");else if(ei.includes(ek.NAMED_DATA_CTX_SPLTR)){let eo=ei.split(ek.NAMED_DATA_CTX_SPLTR);ea=eE.getCtx(eo[0]),es=eo[1]}else ea=eo.localCtx,es=ei;return{ctx:ea,name:es}}sub(ei,eo,ea=!0){let subCb=ei=>{this.isConnected&&eo(ei)},es=eF.__parseProp(ei,this);es.ctx.has(es.name)?this.allSubs.add(es.ctx.sub(es.name,subCb,ea)):window.setTimeout(()=>{this.allSubs.add(es.ctx.sub(es.name,subCb,ea))})}notify(ei){let eo=eF.__parseProp(ei,this);eo.ctx.notify(eo.name)}has(ei){let eo=eF.__parseProp(ei,this);return eo.ctx.has(eo.name)}add(ei,eo,ea=!1){let es=eF.__parseProp(ei,this);es.ctx.add(es.name,eo,ea)}add$(ei,eo=!1){for(let ea in ei)this.add(ea,ei[ea],eo)}get $(){if(!this.__stateProxy){let ei=Object.create(null);this.__stateProxy=new Proxy(ei,{set:(ei,eo,ea)=>{let es=eF.__parseProp(eo,this);return es.ctx.pub(es.name,ea),!0},get:(ei,eo)=>{let ea=eF.__parseProp(eo,this);return ea.ctx.read(ea.name)}})}return this.__stateProxy}set$(ei,eo=!1){for(let ea in ei){let es=ei[ea],eu=[String,Number,Boolean];eo||!eu.includes(null==es?void 0:es.constructor)?this.$[ea]=es:this.$[ea]!==es&&(this.$[ea]=es)}}get __ctxOwner(){return this.ctxOwner||this.hasAttribute(ek.CTX_OWNER_ATTR)&&"false"!==this.getAttribute(ek.CTX_OWNER_ATTR)}__initDataCtx(){let ei=this.constructor.__attrDesc;if(ei)for(let eo of Object.values(ei))Object.keys(this.init$).includes(eo)||(this.init$[eo]="");for(let ei in this.init$)if(ei.startsWith(ek.EXT_DATA_CTX_PRFX))this.nodeCtx.add(ei.replace(ek.EXT_DATA_CTX_PRFX,""),this.init$[ei],this.__ctxOwner);else if(ei.includes(ek.NAMED_DATA_CTX_SPLTR)){let eo=ei.split(ek.NAMED_DATA_CTX_SPLTR),ea=eo[0].trim(),es=eo[1].trim();if(ea&&es){let eo=eE.getCtx(ea,!1);eo||(eo=eE.registerCtx({},ea)),eo.add(es,this.init$[ei])}}else this.localCtx.add(ei,this.init$[ei]);for(let ei in this.cssInit$)this.bindCssData(ei,this.cssInit$[ei]);this.__dataCtxInitialized=!0}connectedCallback(){var ei;if(this.isConnected){if(this.__disconnectTimeout&&window.clearTimeout(this.__disconnectTimeout),!this.connectedOnce){let eo=null==(ei=this.getAttribute(ek.CTX_NAME_ATTR))?void 0:ei.trim();if(eo&&this.style.setProperty(ek.CSS_CTX_PROP,`'${eo}'`),this.__initDataCtx(),this[ek.SET_LATER_KEY]){for(let ei in this[ek.SET_LATER_KEY])setNestedProp(this,ei,this[ek.SET_LATER_KEY][ei]);delete this[ek.SET_LATER_KEY]}for(let ei of(this.initChildren=[...this.childNodes],ej))this.addTemplateProcessor(ei);if(this.pauseRender)this.__initCallback();else if(this.constructor.__rootStylesLink){let ei=this.getRootNode();if(!ei)return;if(null==ei?void 0:ei.querySelector(`link[${ek.ROOT_STYLE_ATTR_NAME}="${this.constructor.is}"]`)){this.render();return}let eo=this.constructor.__rootStylesLink.cloneNode(!0);eo.setAttribute(ek.ROOT_STYLE_ATTR_NAME,this.constructor.is),eo.onload=()=>{this.render()},ei.nodeType===Node.DOCUMENT_NODE?ei.head.appendChild(eo):ei.prepend(eo)}else this.render()}this.connectedOnce=!0}}destroyCallback(){}disconnectedCallback(){this.connectedOnce&&(this.dropCssDataCache(),this.readyToDestroy&&(this.__disconnectTimeout&&window.clearTimeout(this.__disconnectTimeout),this.__disconnectTimeout=window.setTimeout(()=>{for(let ei of(this.destroyCallback(),this.allSubs))ei.remove(),this.allSubs.delete(ei);for(let ei of this.tplProcessors)this.tplProcessors.delete(ei);null==eB||eB.delete(this.updateCssData),(null==eB?void 0:eB.size)||(null==ez||ez.disconnect(),ez=null,eB=null)},100)))}static reg(ei,eo=!1){ei||(eI++,ei=`${ek.AUTO_TAG_PRFX}-${eI}`),this.__tag=ei;let ea=window.customElements.get(ei);if(ea){eo||ea===this||console.warn(`Element with tag name "${ei}" already registered.
You're trying to override it with another class "${this.name}".
This is most likely a mistake.
New element will not be registered.`);return}window.customElements.define(ei,eo?class extends this{}:this)}static get is(){return this.__tag||this.reg(),this.__tag}static bindAttributes(ei){this.observedAttributes=Object.keys(ei),this.__attrDesc=ei}attributeChangedCallback(ei,eo,ea){var es;if(eo===ea)return;let eu=null==(es=this.constructor.__attrDesc)?void 0:es[ei];eu?this.__dataCtxInitialized?this.$[eu]=ea:this.init$[eu]=ea:this[ei]=ea}getCssData(ei,eo=!1){if(this.__cssDataCache||(this.__cssDataCache=Object.create(null)),!Object.keys(this.__cssDataCache).includes(ei)){this.__computedStyle||(this.__computedStyle=window.getComputedStyle(this));let ea=this.__computedStyle.getPropertyValue(ei).trim();try{this.__cssDataCache[ei]=parseCssPropertyValue(ea)}catch(ea){eo||console.warn(`CSS Data error: ${ei}`),this.__cssDataCache[ei]=null}}return this.__cssDataCache[ei]}__extractCssName(ei){return ei.split("--").map((ei,eo)=>0===eo?"":ei).join("--")}__initStyleAttrObserver(){eB||(eB=new Set),eB.add(this.updateCssData),ez||(ez=new MutationObserver(ei=>{"attributes"===ei[0].type&&eB.forEach(ei=>{ei()})})).observe(document,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]})}bindCssData(ei,eo=""){this.__boundCssProps||(this.__boundCssProps=new Set),this.__boundCssProps.add(ei);let ea=this.getCssData(this.__extractCssName(ei),!0);null===ea&&(ea=eo),this.add(ei,ea),this.__initStyleAttrObserver()}dropCssDataCache(){this.__cssDataCache=null,this.__computedStyle=null}defineAccessor(ei,eo,ea){let es="__"+ei;this[es]=this[ei],Object.defineProperty(this,ei,{set:ei=>{this[es]=ei,ea?window.setTimeout(()=>{null==eo||eo(ei)}):null==eo||eo(ei)},get:()=>this[es]}),this[ei]=this[es]}static set shadowStyles(ei){let eo=new Blob([ei],{type:"text/css"});this.__shadowStylesUrl=URL.createObjectURL(eo)}static set rootStyles(ei){if(!this.__rootStylesLink){let eo=new Blob([ei],{type:"text/css"}),ea=URL.createObjectURL(eo),es=document.createElement("link");es.href=ea,es.rel="stylesheet",this.__rootStylesLink=es}}},eH=eF;__publicField(eH,"template");var eU=class{static _print(ei){console.warn(ei)}static setDefaultTitle(ei){this.defaultTitle=ei}static setRoutingMap(ei){for(let eo in Object.assign(this.appMap,ei),this.appMap)this.defaultRoute||!0!==this.appMap[eo].default?this.errorRoute||!0!==this.appMap[eo].error||(this.errorRoute=eo):this.defaultRoute=eo}static set routingEventName(ei){this.__routingEventName=ei}static get routingEventName(){return this.__routingEventName||"sym-on-route"}static readAddressBar(){let ei={route:null,options:{}};return window.location.search.split(this.separator).forEach(eo=>{if(eo.includes("?"))ei.route=eo.replace("?","");else if(eo.includes("=")){let ea=eo.split("=");ei.options[ea[0]]=decodeURI(ea[1])}else ei.options[eo]=!0}),ei}static notify(){let ei=this.readAddressBar(),eo=this.appMap[ei.route];if(eo&&eo.title&&(document.title=eo.title),null===ei.route&&this.defaultRoute){this.applyRoute(this.defaultRoute);return}if(!eo&&this.errorRoute){this.applyRoute(this.errorRoute);return}if(!eo&&this.defaultRoute){this.applyRoute(this.defaultRoute);return}if(!eo){this._print(`Route "${ei.route}" not found...`);return}let ea=new CustomEvent(eU.routingEventName,{detail:{route:ei.route,options:Object.assign(eo||{},ei.options)}});window.dispatchEvent(ea)}static reflect(ei,eo={}){let ea=this.appMap[ei];if(!ea){this._print("Wrong route: "+ei);return}let es="?"+ei;for(let ei in eo)!0===eo[ei]?es+=this.separator+ei:es+=this.separator+ei+`=${eo[ei]}`;let eu=ea.title||this.defaultTitle||"";window.history.pushState(null,eu,es),document.title=eu}static applyRoute(ei,eo={}){this.reflect(ei,eo),this.notify()}static setSeparator(ei){this._separator=ei}static get separator(){return this._separator||"&"}static createRouterData(ei,eo){this.setRoutingMap(eo);let ea=eE.registerCtx({route:null,options:null,title:null},ei);return window.addEventListener(this.routingEventName,ei=>{var eo;ea.multiPub({route:ei.detail.route,options:ei.detail.options,title:(null==(eo=ei.detail.options)?void 0:eo.title)||this.defaultTitle||""})}),eU.notify(),this.initPopstateListener(),ea}static initPopstateListener(){this.__onPopstate||(this.__onPopstate=()=>{this.notify()},window.addEventListener("popstate",this.__onPopstate))}static removePopstateListener(){window.removeEventListener("popstate",this.__onPopstate),this.__onPopstate=null}};function applyStyles(ei,eo){for(let ea in eo)ea.includes("-")?ei.style.setProperty(ea,eo[ea]):ei.style[ea]=eo[ea]}function applyAttributes(ei,eo){for(let ea in eo)eo[ea].constructor===Boolean?eo[ea]?ei.setAttribute(ea,""):ei.removeAttribute(ea):ei.setAttribute(ea,eo[ea])}function create(ei={tag:"div"}){let eo=document.createElement(ei.tag);if(ei.attributes&&applyAttributes(eo,ei.attributes),ei.styles&&applyStyles(eo,ei.styles),ei.properties)for(let ea in ei.properties)eo[ea]=ei.properties[ea];return ei.processors&&ei.processors.forEach(ei=>{ei(eo)}),ei.children&&ei.children.forEach(ei=>{let ea=create(ei);eo.appendChild(ea)}),eo}eU.appMap=Object.create(null);var eV="idb-store-ready",eX="symbiote-db",eq="symbiote-idb-update_",e$=class{_notifyWhenReady(ei=null){window.dispatchEvent(new CustomEvent(eV,{detail:{dbName:this.name,storeName:this.storeName,event:ei}}))}get _updEventName(){return eq+this.name}_getUpdateEvent(ei){return new CustomEvent(this._updEventName,{detail:{key:this.name,newValue:ei}})}_notifySubscribers(ei){window.localStorage.removeItem(this.name),window.localStorage.setItem(this.name,ei),window.dispatchEvent(this._getUpdateEvent(ei))}constructor(ei,eo){this.name=ei,this.storeName=eo,this.version=1,this.request=window.indexedDB.open(this.name,this.version),this.request.onupgradeneeded=ei=>{this.db=ei.target.result,this.objStore=this.db.createObjectStore(eo,{keyPath:"_key"}),this.objStore.transaction.oncomplete=ei=>{this._notifyWhenReady(ei)}},this.request.onsuccess=ei=>{this.db=ei.target.result,this._notifyWhenReady(ei)},this.request.onerror=ei=>{console.error(ei)},this._subscriptionsMap={},this._updateHandler=ei=>{ei.key===this.name&&this._subscriptionsMap[ei.newValue]&&this._subscriptionsMap[ei.newValue].forEach(async eo=>{eo(await this.read(ei.newValue))})},this._localUpdateHandler=ei=>{this._updateHandler(ei.detail)},window.addEventListener("storage",this._updateHandler),window.addEventListener(this._updEventName,this._localUpdateHandler)}read(ei){let eo=this.db.transaction(this.storeName,"readwrite").objectStore(this.storeName).get(ei);return new Promise((ea,es)=>{eo.onsuccess=eo=>{var es;(null==(es=eo.target.result)?void 0:es._value)?ea(eo.target.result._value):(ea(null),console.warn(`IDB: cannot read "${ei}"`))},eo.onerror=ei=>{es(ei)}})}write(ei,eo,ea=!1){let es={_key:ei,_value:eo},eu=this.db.transaction(this.storeName,"readwrite").objectStore(this.storeName).put(es);return new Promise((eo,es)=>{eu.onsuccess=es=>{ea||this._notifySubscribers(ei),eo(es.target.result)},eu.onerror=ei=>{es(ei)}})}delete(ei,eo=!1){let ea=this.db.transaction(this.storeName,"readwrite").objectStore(this.storeName).delete(ei);return new Promise((es,eu)=>{ea.onsuccess=ea=>{eo||this._notifySubscribers(ei),es(ea)},ea.onerror=ei=>{eu(ei)}})}getAll(){let ei=this.db.transaction(this.storeName,"readwrite").objectStore(this.storeName).getAll();return new Promise((eo,ea)=>{ei.onsuccess=ei=>{eo(ei.target.result.map(ei=>ei._value))},ei.onerror=ei=>{ea(ei)}})}subscribe(ei,eo){this._subscriptionsMap[ei]||(this._subscriptionsMap[ei]=new Set);let ea=this._subscriptionsMap[ei];return ea.add(eo),{remove:()=>{ea.delete(eo),ea.size||delete this._subscriptionsMap[ei]}}}stop(){window.removeEventListener("storage",this._updateHandler),this._subscriptionsMap=null,eW.clear(this.name)}},eW=class{static get readyEventName(){return eV}static open(ei=eX,eo="store"){let ea=ei+"/"+eo;return this._reg[ea]||(this._reg[ea]=new e$(ei,eo)),this._reg[ea]}static clear(ei){for(let eo in window.indexedDB.deleteDatabase(ei),this._reg)eo.split("/")[0]===ei&&delete this._reg[eo]}};__publicField(eW,"_reg",Object.create(null));let eK=20,eG=Object.freeze({FILE_ADDED:"file-added",FILE_REMOVED:"file-removed",FILE_UPLOAD_START:"file-upload-start",FILE_UPLOAD_PROGRESS:"file-upload-progress",FILE_UPLOAD_SUCCESS:"file-upload-success",FILE_UPLOAD_FAILED:"file-upload-failed",FILE_URL_CHANGED:"file-url-changed",MODAL_OPEN:"modal-open",MODAL_CLOSE:"modal-close",DONE_CLICK:"done-click",UPLOAD_CLICK:"upload-click",ACTIVITY_CHANGE:"activity-change",COMMON_UPLOAD_START:"common-upload-start",COMMON_UPLOAD_PROGRESS:"common-upload-progress",COMMON_UPLOAD_SUCCESS:"common-upload-success",COMMON_UPLOAD_FAILED:"common-upload-failed",CHANGE:"change",GROUP_CREATED:"group-created"});let EventEmitter=class EventEmitter{_timeoutStore=new Map;_targets=new Set;_debugPrint=null;constructor(ei){this._debugPrint=ei}bindTarget(ei){this._targets.add(ei)}unbindTarget(ei){this._targets.delete(ei)}_dispatch(ei,eo){for(let ea of this._targets)ea.dispatchEvent(new CustomEvent(ei,{detail:eo}));this._debugPrint?.(()=>{let ea=eo&&"object"==typeof eo?{...eo}:eo;return[`event "${ei}"`,ea]})}emit(ei,eo,{debounce:ea}={}){if("number"!=typeof ea&&!ea){this._dispatch(ei,"function"==typeof eo?eo():eo);return}this._timeoutStore.has(ei)&&window.clearTimeout(this._timeoutStore.get(ei));let es="number"==typeof ea?ea:eK,eu=window.setTimeout(()=>{this._dispatch(ei,"function"==typeof eo?eo():eo),this._timeoutStore.delete(ei)},es);this._timeoutStore.set(ei,eu)}};function debounce(ei,eo){let ea;let debounced=(...es)=>{clearTimeout(ea),ea=setTimeout(()=>ei(...es),eo)};return debounced.cancel=()=>{clearTimeout(ea)},debounced}let eZ="--uploadcare-blocks-window-height";let WindowHeightTracker=class WindowHeightTracker{static clientsRegistry=new Set;static flush=debounce(()=>{document.documentElement.style.setProperty(eZ,`${window.innerHeight}px`)},100);static registerClient(ei){0===this.clientsRegistry.size&&this.attachTracker(),this.clientsRegistry.add(ei)}static unregisterClient(ei){this.clientsRegistry.delete(ei),0===this.clientsRegistry.size&&this.detachTracker()}static attachTracker(){window.addEventListener("resize",this.flush,{passive:!0,capture:!0}),this.flush()}static detachTracker(){window.removeEventListener("resize",this.flush,{capture:!0}),document.documentElement.style.removeProperty(eZ)}};let getLocaleDirection=ei=>{let eo=new Intl.Locale(ei),ea="ltr";return"function"==typeof eo.getTextInfo&&eo.getTextInfo().direction?ea=eo.getTextInfo().direction:"textInfo"in eo&&eo.textInfo?.direction&&(ea=eo.textInfo.direction),ea},getPluralForm=(ei,eo)=>{let ea=new Intl.PluralRules(ei).select(eo);return ea},DEFAULT_TRANSFORMER=ei=>ei,eJ="{{",eY="}}",eQ="plural:";function applyTemplateData(ei,eo,ea={}){let{openToken:es=eJ,closeToken:eu=eY,transform:ec=DEFAULT_TRANSFORMER}=ea;for(let ea in eo){let ed=eo[ea]?.toString();ei=ei.replaceAll(es+ea+eu,"string"==typeof ed?ec(ed):ed)}return ei}function getPluralObjects(ei){let eo=[],ea=ei.indexOf(eJ);for(;-1!==ea;){let es=ei.indexOf(eY,ea),eu=ei.substring(ea+2,es);if(eu.startsWith(eQ)){let ec=ei.substring(ea+2,es).replace(eQ,""),ed=ec.substring(0,ec.indexOf("(")),ef=ec.substring(ec.indexOf("(")+1,ec.indexOf(")"));eo.push({variable:eu,pluralKey:ed,countVariable:ef})}ea=ei.indexOf(eJ,es)}return eo}let waitForAttribute=({element:ei,attribute:eo,onSuccess:ea,onTimeout:es,timeout:eu=300})=>{let ec=ei.getAttribute(eo);if(null!==ec){ea(ec);return}let ed=new MutationObserver(ei=>{let eo=ei[ei.length-1];handleMutation(eo)});ed.observe(ei,{attributes:!0,attributeFilter:[eo]});let ef=setTimeout(()=>{ed.disconnect(),es()},eu),handleMutation=es=>{let eu=ei.getAttribute(eo);"attributes"===es.type&&es.attributeName===eo&&null!==eu&&(clearTimeout(ef),ed.disconnect(),ea(eu))}};function isObject(ei){return"[object Object]"===Object.prototype.toString.call(ei)}let e0=/\W|_/g;function camelizeString(ei){return ei.split(e0).map((ei,eo)=>ei.charAt(0)[eo>0?"toUpperCase":"toLowerCase"]()+ei.slice(1)).join("")}function camelizeArrayItems(ei,{ignoreKeys:eo}={ignoreKeys:[]}){return Array.isArray(ei)?ei.map(ei=>camelizeKeys(ei,{ignoreKeys:eo})):ei}function camelizeKeys(ei,{ignoreKeys:eo}={ignoreKeys:[]}){if(Array.isArray(ei))return camelizeArrayItems(ei,{ignoreKeys:eo});if(!isObject(ei))return ei;let ea={};for(let es of Object.keys(ei)){let eu=ei[es];if(eo.includes(es)){ea[es]=eu;continue}isObject(eu)?eu=camelizeKeys(eu,{ignoreKeys:eo}):Array.isArray(eu)&&(eu=camelizeArrayItems(eu,{ignoreKeys:eo})),ea[camelizeString(es)]=eu}return ea}let delay=ei=>new Promise(eo=>setTimeout(eo,ei));function getUserAgent$1({libraryName:ei,libraryVersion:eo,userAgent:ea,publicKey:es="",integration:eu=""}){let ec="JavaScript";if("string"==typeof ea)return ea;if("function"==typeof ea)return ea({publicKey:es,libraryName:ei,libraryVersion:eo,languageName:ec,integration:eu});let ed=[ei,eo,es].filter(Boolean).join("/"),ef=[ec,eu].filter(Boolean).join("; ");return`${ed} (${ef})`}let e1={factor:2,time:100};function retrier(ei,eo=e1){let ea=0;function runAttempt(ei){let es=Math.round(eo.time*eo.factor**ea),retry=eo=>delay(eo??es).then(()=>(ea+=1,runAttempt(ei)));return ei({attempt:ea,retry})}return runAttempt(ei)}let UploadcareError=class UploadcareError extends Error{};let NetworkError=class NetworkError extends UploadcareError{originalProgressEvent;constructor(ei){super(),this.name="NetworkError",this.message="Network error",Object.setPrototypeOf(this,NetworkError.prototype),this.originalProgressEvent=ei}};let onCancel=(ei,eo)=>{ei&&(ei.aborted?Promise.resolve().then(eo):ei.addEventListener("abort",()=>eo(),{once:!0}))};let CancelError=class CancelError extends UploadcareError{isCancel=!0;constructor(ei="Request canceled"){super(ei),this.name="CancelError",Object.setPrototypeOf(this,CancelError.prototype)}};let e3=500,poll=({check:ei,interval:eo=e3,timeout:ea,signal:es})=>new Promise((eu,ec)=>{let ed,ef;onCancel(es,()=>{ed&&clearTimeout(ed),ec(new CancelError("Poll cancelled"))}),ea&&(ef=setTimeout(()=>{ed&&clearTimeout(ed),ec(new CancelError("Timed out"))},ea));let tick=()=>{try{Promise.resolve(ei(es)).then(ei=>{ei?(ef&&clearTimeout(ef),eu(ei)):ed=setTimeout(tick,eo)}).catch(ei=>{ef&&clearTimeout(ef),ec(ei)})}catch(ei){ef&&clearTimeout(ef),ec(ei)}};ed=setTimeout(tick,0)}),e8={baseCDN:"https://ucarecdn.com",baseURL:"https://upload.uploadcare.com",retryThrottledRequestMaxTimes:1,retryNetworkErrorMaxTimes:3,multipartMinFileSize:26214400,multipartChunkSize:5242880,maxConcurrentRequests:4,pusherKey:"79ae88bd931ea68464d9"},e6="application/octet-stream",e5="original",request=({method:ei,url:eo,data:ea,headers:es={},signal:eu,onProgress:ec})=>new Promise((ed,ef)=>{let eh=new XMLHttpRequest,ep=ei?.toUpperCase()||"GET",em=!1;eh.open(ep,eo,!0),es&&Object.entries(es).forEach(ei=>{let[eo,ea]=ei;void 0===ea||Array.isArray(ea)||eh.setRequestHeader(eo,ea)}),eh.responseType="text",onCancel(eu,()=>{em=!0,eh.abort(),ef(new CancelError)}),eh.onload=()=>{if(200!=eh.status)ef(Error(`Error ${eh.status}: ${eh.statusText}`));else{let ei={method:ep,url:eo,data:ea,headers:es||void 0,signal:eu,onProgress:ec},ef=eh.getAllResponseHeaders().trim().split(/[\r\n]+/),em={};ef.forEach(function(ei){let eo=ei.split(": "),ea=eo.shift(),es=eo.join(": ");ea&&void 0!==ea&&(em[ea]=es)});let eg=eh.response,eb=eh.status;ed({request:ei,data:eg,headers:em,status:eb})}},eh.onerror=ei=>{em||ef(new NetworkError(ei))},ec&&"function"==typeof ec&&(eh.upload.onprogress=ei=>{ei.lengthComputable?ec({isComputable:!0,value:ei.loaded/ei.total}):ec({isComputable:!1})}),ea?eh.send(ea):eh.send()});function identity(ei,...eo){return ei}let getFileOptions=({name:ei})=>ei?[ei]:[],e4=identity;var getFormData=()=>new FormData;let isBuffer=ei=>!1,isBlob=ei=>"undefined"!=typeof Blob&&ei instanceof Blob,isFile=ei=>"undefined"!=typeof File&&ei instanceof File,isReactNativeAsset=ei=>!!ei&&"object"==typeof ei&&!Array.isArray(ei)&&"uri"in ei&&"string"==typeof ei.uri,isFileData=ei=>isBlob(ei)||isFile(ei)||isBuffer()||isReactNativeAsset(ei),isSimpleValue=ei=>"string"==typeof ei||"number"==typeof ei||void 0===ei,isObjectValue=ei=>!!ei&&"object"==typeof ei&&!Array.isArray(ei),isFileValue=ei=>!!ei&&"object"==typeof ei&&"data"in ei&&isFileData(ei.data);function collectParams(ei,eo,ea){if(Array.isArray(ea))for(let es of ea)collectParams(ei,`${eo}[]`,es);else if(isFileValue(ea)){let{name:es,contentType:eu}=ea,ec=e4(ea.data,es,eu??e6),ed=getFileOptions({name:es,contentType:eu});ei.push([eo,ec,...ed])}else if(isObjectValue(ea))for(let[es,eu]of Object.entries(ea))void 0!==eu&&ei.push([`${eo}[${es}]`,String(eu)]);else isSimpleValue(ea)&&ea&&ei.push([eo,ea.toString()])}function getFormDataParams(ei){let eo=[];for(let[ea,es]of Object.entries(ei))collectParams(eo,ea,es);return eo}function buildFormData(ei){let eo=getFormData(),ea=getFormDataParams(ei);for(let ei of ea){let[ea,es,...eu]=ei;eo.append(ea,es,...eu)}return eo}let UploadError=class UploadError extends UploadcareError{code;request;response;headers;constructor(ei,eo,ea,es,eu){super(),this.name="UploadError",this.message=ei,this.code=eo,this.request=ea,this.response=es,this.headers=eu,Object.setPrototypeOf(this,UploadError.prototype)}};let buildSearchParams=ei=>{let eo=new URLSearchParams;for(let[ea,es]of Object.entries(ei))es&&"object"==typeof es&&!Array.isArray(es)?Object.entries(es).filter(ei=>ei[1]??!1).forEach(ei=>eo.set(`${ea}[${ei[0]}]`,String(ei[1]))):Array.isArray(es)?es.forEach(ei=>{eo.append(`${ea}[]`,ei)}):"string"==typeof es&&es?eo.set(ea,es):"number"==typeof es&&eo.set(ea,es.toString());return eo.toString()},getUrl=(ei,eo,ea)=>{let es=new URL(ei);return es.pathname=(es.pathname+eo).replace("//","/"),ea&&(es.search=buildSearchParams(ea)),es.toString()};var e7="6.14.1";let e9="UploadcareUploadClient",tr=e7;function getUserAgent(ei){return getUserAgent$1({libraryName:e9,libraryVersion:tr,...ei})}let tn="RequestThrottledError",ti=15e3,ta=1e3;function getTimeoutFromThrottledRequest(ei){let{headers:eo}=ei||{};if(!eo||"string"!=typeof eo["retry-after"])return ti;let ea=parseInt(eo["retry-after"],10);return Number.isFinite(ea)?1e3*ea:ti}function retryIfFailed(ei,eo){let{retryThrottledRequestMaxTimes:ea,retryNetworkErrorMaxTimes:es}=eo;return retrier(({attempt:eo,retry:eu})=>ei().catch(ei=>{if("response"in ei&&ei?.code===tn&&eo<ea)return eu(getTimeoutFromThrottledRequest(ei));if(ei instanceof NetworkError&&eo<es)return eu((eo+1)*ta);throw ei}))}let getContentType=ei=>{let eo="";return(isBlob(ei)||isFile(ei)||isReactNativeAsset(ei))&&(eo=ei.type),eo||e6},getFileName=ei=>{let eo="";return isFile(ei)&&ei.name?eo=ei.name:isBlob(ei)||isBuffer()?eo="":isReactNativeAsset(ei)&&ei.name&&(eo=ei.name),eo||e5};function getStoreValue(ei){return void 0===ei||"auto"===ei?"auto":ei?"1":"0"}function base(ei,{publicKey:eo,fileName:ea,contentType:es,baseURL:eu=e8.baseURL,secureSignature:ec,secureExpire:ed,store:ef,signal:eh,onProgress:ep,source:em="local",integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:ew=e8.retryNetworkErrorMaxTimes,metadata:ex}){return retryIfFailed(()=>request({method:"POST",url:getUrl(eu,"/base/",{jsonerrors:1}),headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:eg,userAgent:eb})},data:buildFormData({file:{data:ei,name:ea||getFileName(ei),contentType:es||getContentType(ei)},UPLOADCARE_PUB_KEY:eo,UPLOADCARE_STORE:getStoreValue(ef),signature:ec,expire:ed,source:em,metadata:ex}),signal:eh,onProgress:ep}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryNetworkErrorMaxTimes:ew,retryThrottledRequestMaxTimes:ey})}function fromUrl(ei,{publicKey:eo,baseURL:ea=e8.baseURL,store:es,fileName:eu,checkForUrlDuplicates:ec,saveUrlForRecurrentUploads:ed,secureSignature:ef,secureExpire:eh,source:ep="url",signal:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:ew=e8.retryNetworkErrorMaxTimes,metadata:ex}){return retryIfFailed(()=>request({method:"POST",headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:eg,userAgent:eb})},url:getUrl(ea,"/from_url/",{jsonerrors:1,pub_key:eo,source_url:ei,store:getStoreValue(es),filename:eu,check_URL_duplicates:ec?1:void 0,save_URL_duplicates:ed?1:void 0,signature:ef,expire:eh,source:ep,metadata:ex}),signal:em}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryNetworkErrorMaxTimes:ew,retryThrottledRequestMaxTimes:ey})}!function(ei){ei.Token="token",ei.FileInfo="file_info"}(ec||(ec={})),function(ei){ei.Unknown="unknown",ei.Waiting="waiting",ei.Progress="progress",ei.Error="error",ei.Success="success"}(ed||(ed={}));let isErrorResponse=ei=>"status"in ei&&ei.status===ed.Error;function fromUrlStatus(ei,{publicKey:eo,baseURL:ea=e8.baseURL,signal:es,integration:eu,userAgent:ec,retryThrottledRequestMaxTimes:ed=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:ef=e8.retryNetworkErrorMaxTimes}={}){return retryIfFailed(()=>request({method:"GET",headers:eo?{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:eu,userAgent:ec})}:void 0,url:getUrl(ea,"/from_url/status/",{jsonerrors:1,token:ei}),signal:es}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es)||isErrorResponse(es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryNetworkErrorMaxTimes:ef,retryThrottledRequestMaxTimes:ed})}function group(ei,{publicKey:eo,baseURL:ea=e8.baseURL,jsonpCallback:es,secureSignature:eu,secureExpire:ec,signal:ed,source:ef,integration:eh,userAgent:ep,retryThrottledRequestMaxTimes:em=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:eg=e8.retryNetworkErrorMaxTimes}){return retryIfFailed(()=>request({method:"POST",headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:eh,userAgent:ep})},url:getUrl(ea,"/group/",{jsonerrors:1}),data:buildFormData({files:ei,callback:es,pub_key:eo,signature:eu,expire:ec,source:ef}),signal:ed}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryNetworkErrorMaxTimes:eg,retryThrottledRequestMaxTimes:em})}function info(ei,{publicKey:eo,baseURL:ea=e8.baseURL,signal:es,source:eu,integration:ec,userAgent:ed,retryThrottledRequestMaxTimes:ef=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:eh=e8.retryNetworkErrorMaxTimes}){return retryIfFailed(()=>request({method:"GET",headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:ec,userAgent:ed})},url:getUrl(ea,"/info/",{jsonerrors:1,pub_key:eo,file_id:ei,source:eu}),signal:es}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryThrottledRequestMaxTimes:ef,retryNetworkErrorMaxTimes:eh})}function multipartStart(ei,{publicKey:eo,contentType:ea,fileName:es,multipartChunkSize:eu=e8.multipartChunkSize,baseURL:ec="",secureSignature:ed,secureExpire:ef,store:eh,signal:ep,source:em="local",integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:ew=e8.retryNetworkErrorMaxTimes,metadata:ex}){return retryIfFailed(()=>request({method:"POST",url:getUrl(ec,"/multipart/start/",{jsonerrors:1}),headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:eg,userAgent:eb})},data:buildFormData({filename:es||e5,size:ei,content_type:ea||e6,part_size:eu,UPLOADCARE_STORE:getStoreValue(eh),UPLOADCARE_PUB_KEY:eo,signature:ed,expire:ef,source:em,metadata:ex}),signal:ep}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es.parts=Object.keys(es.parts).map(ei=>es.parts[Number(ei)]),es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew})}function multipartUpload(ei,eo,{contentType:ea,signal:es,onProgress:eu,retryThrottledRequestMaxTimes:ec=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:ed=e8.retryNetworkErrorMaxTimes}){return retryIfFailed(()=>request({method:"PUT",url:eo,data:ei,onProgress:eu,signal:es,headers:{"Content-Type":ea||e6}}).then(ei=>(eu&&eu({isComputable:!0,value:1}),ei)).then(({status:ei})=>({code:ei})),{retryThrottledRequestMaxTimes:ec,retryNetworkErrorMaxTimes:ed})}function multipartComplete(ei,{publicKey:eo,baseURL:ea=e8.baseURL,source:es="local",signal:eu,integration:ec,userAgent:ed,retryThrottledRequestMaxTimes:ef=e8.retryThrottledRequestMaxTimes,retryNetworkErrorMaxTimes:eh=e8.retryNetworkErrorMaxTimes}){return retryIfFailed(()=>request({method:"POST",url:getUrl(ea,"/multipart/complete/",{jsonerrors:1}),headers:{"X-UC-User-Agent":getUserAgent({publicKey:eo,integration:ec,userAgent:ed})},data:buildFormData({uuid:ei,UPLOADCARE_PUB_KEY:eo,source:es}),signal:eu}).then(({data:ei,headers:eo,request:ea})=>{let es=camelizeKeys(JSON.parse(ei));if(!("error"in es))return es;throw new UploadError(es.error.content,es.error.errorCode,ea,es,eo)}),{retryThrottledRequestMaxTimes:ef,retryNetworkErrorMaxTimes:eh})}function isReadyPoll(ei,{publicKey:eo,baseURL:ea,source:es,integration:eu,userAgent:ec,retryThrottledRequestMaxTimes:ed,retryNetworkErrorMaxTimes:ef,signal:eh,onProgress:ep}){return poll({check:eh=>info(ei,{publicKey:eo,baseURL:ea,signal:eh,source:es,integration:eu,userAgent:ec,retryThrottledRequestMaxTimes:ed,retryNetworkErrorMaxTimes:ef}).then(ei=>ei.isReady?ei:(ep&&ep({isComputable:!0,value:1}),!1)),signal:eh})}function isGroupFileInfo(ei){return"defaultEffects"in ei}let UploadcareFile=class UploadcareFile{uuid;name=null;size=null;isStored=null;isImage=null;mimeType=null;cdnUrl=null;s3Url=null;originalFilename=null;imageInfo=null;videoInfo=null;contentInfo=null;metadata=null;s3Bucket=null;defaultEffects=null;constructor(ei,{baseCDN:eo=e8.baseCDN,fileName:ea}={}){let{uuid:es,s3Bucket:eu}=ei,ec=getUrl(eo,`${es}/`),ed=eu?getUrl(`https://${eu}.s3.amazonaws.com/`,`${es}/${ei.filename}`):null;this.uuid=es,this.name=ea||ei.filename,this.size=ei.size,this.isStored=ei.isStored,this.isImage=ei.isImage,this.mimeType=ei.mimeType,this.cdnUrl=ec,this.originalFilename=ei.originalFilename,this.imageInfo=ei.imageInfo,this.videoInfo=ei.videoInfo,this.contentInfo=ei.contentInfo,this.metadata=ei.metadata||null,this.s3Bucket=eu||null,this.s3Url=ed,isGroupFileInfo(ei)&&(this.defaultEffects=ei.defaultEffects)}};let uploadDirect=(ei,{publicKey:eo,fileName:ea,baseURL:es,secureSignature:eu,secureExpire:ec,store:ed,contentType:ef,signal:eh,onProgress:ep,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,baseCDN:ex,metadata:eP})=>base(ei,{publicKey:eo,fileName:ea,contentType:ef,baseURL:es,secureSignature:eu,secureExpire:ec,store:ed,signal:eh,onProgress:ep,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,metadata:eP}).then(({file:ei})=>isReadyPoll(ei,{publicKey:eo,baseURL:es,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,onProgress:ep,signal:eh})).then(ei=>new UploadcareFile(ei,{baseCDN:ex})),uploadFromUploaded=(ei,{publicKey:eo,fileName:ea,baseURL:es,signal:eu,onProgress:ec,source:ed,integration:ef,userAgent:eh,retryThrottledRequestMaxTimes:ep,retryNetworkErrorMaxTimes:em,baseCDN:eg})=>info(ei,{publicKey:eo,baseURL:es,signal:eu,source:ed,integration:ef,userAgent:eh,retryThrottledRequestMaxTimes:ep,retryNetworkErrorMaxTimes:em}).then(ei=>new UploadcareFile(ei,{baseCDN:eg,fileName:ea})).then(ei=>(ec&&ec({isComputable:!0,value:1}),ei)),race=(ei,{signal:eo}={})=>{let ea=null,es=null,eu=ei.map(()=>new AbortController),createStopRaceCallback=ei=>()=>{es=ei,eu.forEach((eo,ea)=>ea!==ei&&eo.abort())};return onCancel(eo,()=>{eu.forEach(ei=>ei.abort())}),Promise.all(ei.map((ei,eo)=>{let es=createStopRaceCallback(eo);return Promise.resolve().then(()=>ei({stopRace:es,signal:eu[eo].signal})).then(ei=>(es(),ei)).catch(ei=>(ea=ei,null))})).then(ei=>{if(null!==es)return ei[es];throw ea})};var ts=window.WebSocket;let Events=class Events{events=Object.create({});emit(ei,eo){this.events[ei]?.forEach(ei=>ei(eo))}on(ei,eo){this.events[ei]=this.events[ei]||[],this.events[ei].push(eo)}off(ei,eo){eo?this.events[ei]=this.events[ei].filter(ei=>ei!==eo):this.events[ei]=[]}};let response=(ei,eo)=>"success"===ei?{status:ed.Success,...eo}:"progress"===ei?{status:ed.Progress,...eo}:{status:ed.Error,...eo};let Pusher=class Pusher{key;disconnectTime;ws=void 0;queue=[];isConnected=!1;subscribers=0;emmitter=new Events;disconnectTimeoutId=null;constructor(ei,eo=3e4){this.key=ei,this.disconnectTime=eo}connect(){if(this.disconnectTimeoutId&&clearTimeout(this.disconnectTimeoutId),!this.isConnected&&!this.ws){let ei=`wss://ws.pusherapp.com/app/${this.key}?protocol=5&client=js&version=1.12.2`;this.ws=new ts(ei),this.ws.addEventListener("error",ei=>{this.emmitter.emit("error",Error(ei.message))}),this.emmitter.on("connected",()=>{this.isConnected=!0,this.queue.forEach(ei=>this.send(ei.event,ei.data)),this.queue=[]}),this.ws.addEventListener("message",ei=>{let eo=JSON.parse(ei.data.toString());switch(eo.event){case"pusher:connection_established":this.emmitter.emit("connected",void 0);break;case"pusher:ping":this.send("pusher:pong",{});break;case"progress":case"success":case"fail":this.emmitter.emit(eo.channel,response(eo.event,JSON.parse(eo.data)))}})}}disconnect(){let actualDisconect=()=>{this.ws?.close(),this.ws=void 0,this.isConnected=!1};this.disconnectTime?this.disconnectTimeoutId=setTimeout(()=>{actualDisconect()},this.disconnectTime):actualDisconect()}send(ei,eo){let ea=JSON.stringify({event:ei,data:eo});this.ws?.send(ea)}subscribe(ei,eo){this.subscribers+=1,this.connect();let ea=`task-status-${ei}`,es={event:"pusher:subscribe",data:{channel:ea}};this.emmitter.on(ea,eo),this.isConnected?this.send(es.event,es.data):this.queue.push(es)}unsubscribe(ei){this.subscribers-=1;let eo=`task-status-${ei}`,ea={event:"pusher:unsubscribe",data:{channel:eo}};this.emmitter.off(eo),this.isConnected?this.send(ea.event,ea.data):this.queue=this.queue.filter(ei=>ei.data.channel!==eo),0===this.subscribers&&this.disconnect()}onError(ei){return this.emmitter.on("error",ei),()=>this.emmitter.off("error",ei)}};let tl=null,getPusher=ei=>{if(!tl){let eo="undefined"==typeof window?0:3e4;tl=new Pusher(ei,eo)}return tl},preconnect=ei=>{getPusher(ei).connect()};function pollStrategy({token:ei,publicKey:eo,baseURL:ea,integration:es,userAgent:eu,retryThrottledRequestMaxTimes:ec,retryNetworkErrorMaxTimes:ef,onProgress:eh,signal:ep}){return poll({check:ep=>fromUrlStatus(ei,{publicKey:eo,baseURL:ea,integration:es,userAgent:eu,retryThrottledRequestMaxTimes:ec,retryNetworkErrorMaxTimes:ef,signal:ep}).then(eo=>{switch(eo.status){case ed.Error:return new UploadError(eo.error,eo.errorCode);case ed.Waiting:return!1;case ed.Unknown:return new UploadError(`Token "${ei}" was not found.`);case ed.Progress:return eh&&("unknown"===eo.total?eh({isComputable:!1}):eh({isComputable:!0,value:eo.done/eo.total})),!1;case ed.Success:return eh&&eh({isComputable:!0,value:eo.done/eo.total}),eo;default:throw Error("Unknown status")}}),signal:ep})}let pushStrategy=({token:ei,pusherKey:eo,signal:ea,onProgress:es})=>new Promise((eu,ec)=>{let ef=getPusher(eo),eh=ef.onError(ec),destroy=()=>{eh(),ef.unsubscribe(ei)};onCancel(ea,()=>{destroy(),ec(new CancelError("pusher cancelled"))}),ef.subscribe(ei,ei=>{switch(ei.status){case ed.Progress:es&&("unknown"===ei.total?es({isComputable:!1}):es({isComputable:!0,value:ei.done/ei.total}));break;case ed.Success:destroy(),es&&es({isComputable:!0,value:ei.done/ei.total}),eu(ei);break;case ed.Error:destroy(),ec(new UploadError(ei.msg,ei.error_code))}})}),uploadFromUrl=(ei,{publicKey:eo,fileName:ea,baseURL:es,baseCDN:eu,checkForUrlDuplicates:ed,saveUrlForRecurrentUploads:ef,secureSignature:eh,secureExpire:ep,store:em,signal:eg,onProgress:eb,source:ey,integration:ew,userAgent:ex,retryThrottledRequestMaxTimes:eP,pusherKey:eS=e8.pusherKey,metadata:eE})=>Promise.resolve(preconnect(eS)).then(()=>fromUrl(ei,{publicKey:eo,fileName:ea,baseURL:es,checkForUrlDuplicates:ed,saveUrlForRecurrentUploads:ef,secureSignature:eh,secureExpire:ep,store:em,signal:eg,source:ey,integration:ew,userAgent:ex,retryThrottledRequestMaxTimes:eP,metadata:eE})).catch(ei=>{let eo=getPusher(eS);return eo?.disconnect(),Promise.reject(ei)}).then(ei=>ei.type===ec.FileInfo?ei:race([({signal:ea})=>pollStrategy({token:ei.token,publicKey:eo,baseURL:es,integration:ew,userAgent:ex,retryThrottledRequestMaxTimes:eP,onProgress:eb,signal:ea}),({signal:eo})=>pushStrategy({token:ei.token,pusherKey:eS,signal:eo,onProgress:eb})],{signal:eg})).then(ei=>{if(ei instanceof UploadError)throw ei;return ei}).then(ei=>isReadyPoll(ei.uuid,{publicKey:eo,baseURL:es,integration:ew,userAgent:ex,retryThrottledRequestMaxTimes:eP,onProgress:eb,signal:eg})).then(ei=>new UploadcareFile(ei,{baseCDN:eu})),tu=new WeakMap,getBlobFromReactNativeAsset=async ei=>{if(tu.has(ei))return tu.get(ei);let eo=await fetch(ei.uri).then(ei=>ei.blob());return tu.set(ei,eo),eo},getFileSize=async ei=>{if(isFile(ei)||isBlob(ei))return ei.size;if(isReactNativeAsset(ei)){let eo=await getBlobFromReactNativeAsset(ei);return eo.size}throw Error("Unknown file type. Cannot determine file size.")},isMultipart=(ei,eo=e8.multipartMinFileSize)=>ei>=eo,isUuid=ei=>{let eo="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}",ea=new RegExp(eo);return!isFileData(ei)&&ea.test(ei)},isUrl=ei=>{let eo="^(?:\\w+:)?\\/\\/([^\\s\\.]+\\.\\S{2}|localhost[\\:?\\d]*)\\S*$",ea=new RegExp(eo);return!isFileData(ei)&&ea.test(ei)},runWithConcurrency=(ei,eo)=>new Promise((ea,es)=>{let eu=[],ec=!1,ed=eo.length,ef=[...eo],run=()=>{let ei=eo.length-ef.length,eh=ef.shift();eh&&eh().then(eo=>{ec||(eu[ei]=eo,(ed-=1)?run():ea(eu))}).catch(ei=>{ec=!0,es(ei)})};for(let eo=0;eo<ei;eo++)run()}),sliceChunk=(ei,eo,ea,es)=>{let eu=es*eo,ec=Math.min(eu+es,ea);return ei.slice(eu,ec)},prepareChunks=async(ei,eo,ea)=>es=>sliceChunk(ei,es,eo,ea),uploadPart=(ei,eo,{publicKey:ea,contentType:es,onProgress:eu,signal:ec,integration:ed,retryThrottledRequestMaxTimes:ef,retryNetworkErrorMaxTimes:eh})=>multipartUpload(ei,eo,{publicKey:ea,contentType:es,onProgress:eu,signal:ec,integration:ed,retryThrottledRequestMaxTimes:ef,retryNetworkErrorMaxTimes:eh}),uploadMultipart=async(ei,{publicKey:eo,fileName:ea,fileSize:es,baseURL:eu,secureSignature:ec,secureExpire:ed,store:ef,signal:eh,onProgress:ep,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,contentType:ex,multipartChunkSize:eP=e8.multipartChunkSize,maxConcurrentRequests:eS=e8.maxConcurrentRequests,baseCDN:eE,metadata:ek})=>{let eT;let eC=es??await getFileSize(ei),createProgressHandler=(ei,eo)=>{if(!ep)return;eT||(eT=Array(ei).fill(0));let sum=ei=>ei.reduce((ei,eo)=>ei+eo,0);return ea=>{ea.isComputable&&(eT[eo]=ea.value,ep({isComputable:!0,value:sum(eT)/ei}))}};return multipartStart(eC,{publicKey:eo,contentType:ex||=getContentType(ei),fileName:ea||getFileName(ei),baseURL:eu,secureSignature:ec,secureExpire:ed,store:ef,signal:eh,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,metadata:ek}).then(async({uuid:ea,parts:es})=>{let eu=await prepareChunks(ei,eC,eP);return Promise.all([ea,runWithConcurrency(eS,es.map((ei,ea)=>()=>uploadPart(eu(ea),ei,{publicKey:eo,contentType:ex,onProgress:createProgressHandler(es.length,ea),signal:eh,integration:eg,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew})))])}).then(([ei])=>multipartComplete(ei,{publicKey:eo,baseURL:eu,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew})).then(ei=>ei.isReady?ei:isReadyPoll(ei.uuid,{publicKey:eo,baseURL:eu,source:em,integration:eg,userAgent:eb,retryThrottledRequestMaxTimes:ey,retryNetworkErrorMaxTimes:ew,onProgress:ep,signal:eh})).then(ei=>new UploadcareFile(ei,{baseCDN:eE}))};async function uploadFile(ei,{publicKey:eo,fileName:ea,baseURL:es=e8.baseURL,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,contentType:ew,multipartMinFileSize:ex,multipartChunkSize:eP,maxConcurrentRequests:eS,baseCDN:eE=e8.baseCDN,checkForUrlDuplicates:ek,saveUrlForRecurrentUploads:eT,pusherKey:eC,metadata:e_}){if(isFileData(ei)){let ek=await getFileSize(ei);return isMultipart(ek,ex)?uploadMultipart(ei,{publicKey:eo,contentType:ew,multipartChunkSize:eP,fileSize:ek,fileName:ea,baseURL:es,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,maxConcurrentRequests:eS,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,baseCDN:eE,metadata:e_}):uploadDirect(ei,{publicKey:eo,fileName:ea,contentType:ew,baseURL:es,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,baseCDN:eE,metadata:e_})}if(isUrl(ei))return uploadFromUrl(ei,{publicKey:eo,fileName:ea,baseURL:es,baseCDN:eE,checkForUrlDuplicates:ek,saveUrlForRecurrentUploads:eT,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,pusherKey:eC,metadata:e_});if(isUuid(ei))return uploadFromUploaded(ei,{publicKey:eo,fileName:ea,baseURL:es,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,baseCDN:eE});throw TypeError(`File uploading from "${ei}" is not supported`)}let UploadcareGroup=class UploadcareGroup{uuid;filesCount;totalSize;isStored;isImage;cdnUrl;files;createdAt;storedAt=null;constructor(ei,{baseCDN:eo=e8.baseCDN}={}){this.uuid=ei.id,this.filesCount=ei.filesCount;let ea=ei.files.filter(Boolean);this.totalSize=Object.values(ea).reduce((ei,eo)=>ei+eo.size,0),this.isStored=!!ei.datetimeStored,this.isImage=!!Object.values(ea).filter(ei=>ei.isImage).length,this.cdnUrl=ei.cdnUrl,this.files=ea.map(ei=>new UploadcareFile(ei,{baseCDN:eo})),this.createdAt=ei.datetimeCreated,this.storedAt=ei.datetimeStored}};let isFileDataArray=ei=>{for(let eo of ei)if(!isFileData(eo))return!1;return!0},isUuidArray=ei=>{for(let eo of ei)if(!isUuid(eo))return!1;return!0},isUrlArray=ei=>{for(let eo of ei)if(!isUrl(eo))return!1;return!0};function uploadFileGroup(ei,{publicKey:eo,fileName:ea,baseURL:es=e8.baseURL,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:eh,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,contentType:ew,multipartChunkSize:ex=e8.multipartChunkSize,baseCDN:eP=e8.baseCDN,checkForUrlDuplicates:eS,saveUrlForRecurrentUploads:eE,jsonpCallback:ek}){let eT;if(!isFileDataArray(ei)&&!isUrlArray(ei)&&!isUuidArray(ei))throw TypeError(`Group uploading from "${ei}" is not supported`);let eC=!0,e_=ei.length,createProgressHandler=(ei,eo)=>{if(!eh)return;eT||(eT=Array(ei).fill(0));let normalize=eo=>eo.reduce((ei,eo)=>ei+eo)/ei;return ei=>{if(!ei.isComputable||!eC){eC=!1,eh({isComputable:!1});return}eT[eo]=ei.value,eh({isComputable:!0,value:normalize(eT)})}};return Promise.all(ei.map((ei,eh)=>isFileData(ei)||isUrl(ei)?uploadFile(ei,{publicKey:eo,fileName:ea,baseURL:es,secureSignature:eu,secureExpire:ec,store:ed,signal:ef,onProgress:createProgressHandler(e_,eh),source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey,contentType:ew,multipartChunkSize:ex,baseCDN:eP,checkForUrlDuplicates:eS,saveUrlForRecurrentUploads:eE}).then(ei=>ei.uuid):ei)).then(ei=>group(ei,{publicKey:eo,baseURL:es,jsonpCallback:ek,secureSignature:eu,secureExpire:ec,signal:ef,source:ep,integration:em,userAgent:eg,retryThrottledRequestMaxTimes:eb,retryNetworkErrorMaxTimes:ey}).then(ei=>new UploadcareGroup(ei,{baseCDN:eP})).then(ei=>(eh&&eh({isComputable:!0,value:1}),ei)))}let Queue=class Queue{_concurrency=1;_pending=[];_running=0;_resolvers=new Map;_rejectors=new Map;constructor(ei){this._concurrency=ei}_run(){let ei=this._concurrency-this._running;for(let eo=0;eo<ei;eo++){let ei=this._pending.shift();if(!ei)return;let eo=this._resolvers.get(ei),ea=this._rejectors.get(ei);if(!eo||!ea)throw Error("Unexpected behavior: resolver or rejector is undefined");this._running+=1,ei().finally(()=>{this._resolvers.delete(ei),this._rejectors.delete(ei),this._running-=1,this._run()}).then(ei=>eo(ei)).catch(ei=>ea(ei))}}add(ei){return new Promise((eo,ea)=>{this._resolvers.set(ei,eo),this._rejectors.set(ei,ea),this._pending.push(ei),this._run()})}get pending(){return this._pending.length}get running(){return this._running}set concurrency(ei){this._concurrency=ei,this._run()}get concurrency(){return this._concurrency}};let blockCtx=()=>({}),activityBlockCtx=ei=>({...blockCtx(),"*currentActivity":"","*currentActivityParams":{},"*history":[],"*historyBack":null,"*closeModal":()=>{ei.set$({"*modalActive":!1,"*currentActivity":""})}}),uploaderBlockCtx=ei=>({...activityBlockCtx(ei),"*commonProgress":0,"*uploadList":[],"*focusedEntry":null,"*uploadMetadata":null,"*uploadQueue":new Queue(1),"*uploadCollection":null,"*collectionErrors":[],"*collectionState":null,"*groupInfo":null,"*uploadTrigger":new Set});var tc={"locale-id":"en","social-source-lang":"en","upload-file":"Upload file","upload-files":"Upload files","choose-file":"Choose file","choose-files":"Choose files","drop-files-here":"Drop files here","select-file-source":"Select file source",selected:"Selected",upload:"Upload","add-more":"Add more",cancel:"Cancel","start-from-cancel":"Cancel",clear:"Clear","camera-shot":"Shot","upload-url":"Import","upload-url-placeholder":"Paste link here","edit-image":"Edit image","edit-detail":"Details",back:"Back",done:"Done",ok:"Ok","remove-from-list":"Remove",no:"No",yes:"Yes","confirm-your-action":"Confirm your action","are-you-sure":"Are you sure?","selected-count":"Selected:","upload-error":"Upload error","validation-error":"Validation error","no-files":"No files selected",browse:"Browse","not-uploaded-yet":"Not uploaded yet...",file__one:"file",file__other:"files",error__one:"error",error__other:"errors","header-uploading":"Uploading {{count}} {{plural:file(count)}}","header-failed":"{{count}} {{plural:error(count)}}","header-succeed":"{{count}} {{plural:file(count)}} uploaded","header-total":"{{count}} {{plural:file(count)}} selected","src-type-local":"From device","src-type-from-url":"From link","src-type-camera":"Camera","src-type-draw":"Draw","src-type-facebook":"Facebook","src-type-dropbox":"Dropbox","src-type-gdrive":"Google Drive","src-type-gphotos":"Google Photos","src-type-instagram":"Instagram","src-type-flickr":"Flickr","src-type-vk":"VK","src-type-evernote":"Evernote","src-type-box":"Box","src-type-onedrive":"Onedrive","src-type-huddle":"Huddle","src-type-other":"Other","caption-from-url":"Import from link","caption-camera":"Camera","caption-draw":"Draw","caption-edit-file":"Edit file","file-no-name":"No name...","toggle-fullscreen":"Toggle fullscreen","toggle-guides":"Toggle guides",rotate:"Rotate","flip-vertical":"Flip vertical","flip-horizontal":"Flip horizontal",apply:"Apply",brightness:"Brightness",contrast:"Contrast",saturation:"Saturation",exposure:"Exposure",gamma:"Gamma",vibrance:"Vibrance",warmth:"Warmth",enhance:"Enhance",original:"Original",resize:"Resize image",crop:"Crop","select-color":"Select color",text:"Text",draw:"Draw","cancel-edit":"Cancel edit","tab-view":"Preview","tab-details":"Details","file-name":"Name","file-size":"Size","cdn-url":"CDN URL","file-size-unknown":"Unknown","camera-permissions-denied":"Camera access denied","camera-permissions-prompt":"Please allow access to the camera","camera-permissions-request":"Request access","files-count-limit-error-title":"Files count limit overflow","files-count-limit-error-too-few":"You’ve chosen {{total}} {{plural:file(total)}}. At least {{min}} {{plural:file(min)}} required.","files-count-limit-error-too-many":"You’ve chosen too many files. {{max}} {{plural:file(max)}} is maximum.","files-max-size-limit-error":"File is too big. Max file size is {{maxFileSize}}.","has-validation-errors":"File validation error ocurred. Please, check your files before upload.","images-only-accepted":"Only image files are accepted.","file-type-not-allowed":"Uploading of these file types is not allowed.","some-files-were-not-uploaded":"Some files were not uploaded."};let td=new Map,tf=new Map,defineLocaleSync=(ei,eo)=>{td.has(ei)&&console.log(`Locale ${ei} is already defined. Overwriting...`),td.set(ei,{...tc,...eo})},defineLocaleAsync=(ei,eo)=>{tf.set(ei,eo)},defineLocale=(ei,eo)=>{"function"==typeof eo?defineLocaleAsync(ei,eo):defineLocaleSync(ei,eo)},resolveLocaleDefinition=async ei=>{if(!td.has(ei)){if(!tf.has(ei))throw Error(`Locale ${ei} is not defined`);let eo=tf.get(ei),ea=await eo();defineLocaleSync(ei,ea)}return td.get(ei)};defineLocale("en",tc);let localeStateKey=ei=>`*l10n/${ei}`,th="en";let LocaleManager=class LocaleManager{_blockInstance=null;_localeName="";_callbacks=new Set;_boundBlocks=new Map;constructor(ei){for(let[eo,ea]of(this._blockInstance=ei,Object.entries(tc)))this._blockInstance.add(localeStateKey(eo),ea,!1);setTimeout(()=>{ei.subConfigValue("localeName",async ei=>{if(!this._blockInstance||!ei)return;this._localeName=ei;let eo=await resolveLocaleDefinition(ei);if(ei!==th&&this._localeName!==ei)return;let ea=this._blockInstance.cfg.localeDefinitionOverride?.[ei];for(let[ei,es]of Object.entries(eo)){let eo=ea?.[ei];for(let ea of(this._blockInstance.add(localeStateKey(ei),eo??es,!0),this._callbacks))ea()}}),ei.subConfigValue("localeDefinitionOverride",ei=>{if(!ei)return;let eo=ei[this._localeName];if(eo)for(let[ei,ea]of Object.entries(eo))for(let eo of(this._blockInstance?.add(localeStateKey(ei),ea,!0),this._callbacks))eo()})})}onLocaleChange(ei){let eo=debounce(ei,0);return this._callbacks.add(eo),()=>{this._callbacks.delete(eo)}}bindL10n(ei,eo,ea){ei.$[eo]=ea(),this._boundBlocks.has(ei)||this._boundBlocks.set(ei,new Map),this._boundBlocks.get(ei)?.get(eo)?.();let es=this.onLocaleChange(()=>{ei.$[eo]=ea()});this._boundBlocks.get(ei)?.set(eo,es)}destroyL10nBindings(ei){let eo=this._boundBlocks.get(ei);if(eo){for(let ei of eo.values())ei();this._boundBlocks.delete(ei)}}destroy(){this._callbacks.clear()}};function l10nProcessor(ei,eo){[...ei.querySelectorAll("[l10n]")].forEach(ei=>{let ea=ei.getAttribute("l10n");if(!ea)return;let es="textContent",eu=!1;if(ea.includes(":")){let ei=ea.split(":");es=ei[0],ea=ei[1],es.startsWith("@")&&(es=es.slice(1),eu=!0)}let ec=ea;eo.has(ec)&&eo.sub(ec,ea=>{if(!ea)return;eo.l10nProcessorSubs.has(ec)||eo.l10nProcessorSubs.set(ec,new Set);let eu=eo.l10nProcessorSubs.get(ec);eu?.forEach(ei=>{ei.remove(),eu.delete(ei),eo.allSubs.delete(ei)});let ed=localeStateKey(ea).replace("*","");eo.nodeCtx.has(ed)||eo.nodeCtx.add(ed,ea);let ef=eo.nodeCtx.sub(ed,()=>{ei[es]=eo.l10n(ea)});eu?.add(ef),eo.allSubs.add(ef),ei.removeAttribute("l10n")});let ed=localeStateKey(ea);eo.has(ed)||eo.add(ed,""),eo.sub(ed,()=>{eu?ei.setAttribute(es,eo.l10n(ea)):ei[es]=eo.l10n(ea)}),ei.removeAttribute("l10n")})}let sharedConfigKey=ei=>`*cfg/${ei}`,normalizeCdnOperation=ei=>{if("string"!=typeof ei||!ei)return"";let eo=ei.trim();return eo.startsWith("-/")?eo=eo.slice(2):eo.startsWith("/")&&(eo=eo.slice(1)),eo.endsWith("/")&&(eo=eo.slice(0,eo.length-1)),eo},joinCdnOperations=(...ei)=>ei.filter(ei=>"string"==typeof ei&&ei).map(ei=>normalizeCdnOperation(ei)).join("/-/"),createCdnUrlModifiers=(...ei)=>{let eo=joinCdnOperations(...ei);return eo?`-/${eo}/`:""};function extractFilename(ei){let eo=new URL(ei),ea=eo.pathname+eo.search+eo.hash,es=ea.lastIndexOf("http"),eu=ea.lastIndexOf("/"),ec="";return es>=0?ec=ea.slice(es):eu>=0&&(ec=ea.slice(eu+1)),ec}function extractUuid(ei){let{pathname:eo}=new URL(ei),ea=eo.indexOf("/"),es=eo.indexOf("/",ea+1);return eo.substring(ea+1,es)}function extractOperations(ei){let eo=trimFilename(ei),ea=new URL(eo),es=ea.pathname.indexOf("/-/");return -1===es?[]:ea.pathname.substring(es).split("/-/").filter(Boolean).map(ei=>normalizeCdnOperation(ei))}function trimFilename(ei){let eo=new URL(ei),ea=extractFilename(ei),es=isFileUrl(ea)?splitFileUrl(ea).pathname:ea;return eo.pathname=eo.pathname.replace(es,""),eo.search="",eo.hash="",eo.toString()}function isFileUrl(ei){return ei.startsWith("http")}function splitFileUrl(ei){let eo=new URL(ei);return{pathname:eo.origin+eo.pathname||"",search:eo.search||"",hash:eo.hash||""}}let createCdnUrl=(ei,eo,ea)=>{let es=new URL(trimFilename(ei));if(ea=ea||extractFilename(ei),es.pathname.startsWith("//")&&(es.pathname=es.pathname.replace("//","/")),isFileUrl(ea)){let ei=splitFileUrl(ea);es.pathname=es.pathname+(eo||"")+(ei.pathname||""),es.search=ei.search,es.hash=ei.hash}else es.pathname=es.pathname+(eo||"")+(ea||"");return es.toString()},createOriginalUrl=(ei,eo)=>{let ea=new URL(ei);return ea.pathname=eo+"/",ea.toString()},stringToArray=(ei,eo=",")=>ei.trim().split(eo).map(ei=>ei.trim()).filter(ei=>ei.length>0),tp=Object.freeze({brightness:0,exposure:0,gamma:100,contrast:0,saturation:0,vibrance:0,warmth:0,enhance:0,filter:0,rotate:0,mirror:!1,flip:!1,crop:void 0}),tm=["enhance","brightness","exposure","gamma","contrast","saturation","vibrance","warmth","filter","mirror","flip","rotate","crop"];function transformationToStr(ei,eo){if("number"==typeof eo){let ea=eo;return tp[ei]!==ea?`${ei}/${ea}`:""}if("boolean"==typeof eo){let ea=eo;return tp[ei]!==ea?`${ei}`:""}if("filter"===ei&&eo){let{name:ea,amount:es}=eo;return tp.filter===es?"":`${ei}/${ea}/${es}`}if("crop"===ei&&eo){let{dimensions:ea,coords:es}=eo;return`${ei}/${ea.join("x")}/${es.join(",")}`}return""}function transformationsToOperations(ei){return joinCdnOperations(...tm.filter(eo=>void 0!==ei[eo]&&null!==ei[eo]).map(eo=>{let ea=ei[eo];return transformationToStr(eo,ea)}).filter(ei=>!!ei))}let tg=joinCdnOperations("format/auto","progressive/yes"),asNumber=([ei])=>void 0!==ei?Number(ei):void 0,asBoolean=()=>!0,asFilter=([ei,eo])=>({name:ei,amount:void 0!==eo?Number(eo):100}),asCrop=([ei,eo])=>{if(!/\d+x\d+/.test(ei)||!/\d+,\d+/.test(eo))throw Error("Crop by aspect ratio, percentage or alignment shortcuts is not supported.");return{dimensions:stringToArray(ei,"x").map(Number),coords:stringToArray(eo).map(Number)}},tb=Object.freeze({enhance:asNumber,brightness:asNumber,exposure:asNumber,gamma:asNumber,contrast:asNumber,saturation:asNumber,vibrance:asNumber,warmth:asNumber,filter:asFilter,mirror:asBoolean,flip:asBoolean,rotate:asNumber,crop:asCrop});function operationsToTransformations(ei){let eo={};for(let ea of ei){let[ei,...es]=ea.split("/");if(!tm.includes(ei))continue;let eu=ei,ec=tb[eu];try{let ei=ec(es);eo[eu]=ei}catch(ei){console.warn([`Failed to parse URL operation "${ea}". It will be ignored.`,ei instanceof Error?`Error message: "${ei.message}"`:ei,"If you need this functionality, please feel free to open an issue at https://github.com/uploadcare/blocks/issues/new"].join("\n"))}}return eo}let ty=Object.freeze({CROP:"crop",TUNING:"tuning",FILTERS:"filters"}),tw=[ty.CROP,ty.TUNING,ty.FILTERS],tx=["brightness","exposure","gamma","contrast","saturation","vibrance","warmth","enhance"],tP=["adaris","briaril","calarel","carris","cynarel","cyren","elmet","elonni","enzana","erydark","fenralan","ferand","galen","gavin","gethriel","iorill","iothari","iselva","jadis","lavra","misiara","namala","nerion","nethari","pamaya","sarnar","sedis","sewen","sorahel","sorlen","tarian","thellassan","varriel","varven","vevera","virkas","yedis","yllara","zatvel","zevcen"],tS=["rotate","mirror","flip"],tE=Object.freeze({brightness:{zero:tp.brightness,range:[-100,100],keypointsNumber:2},exposure:{zero:tp.exposure,range:[-500,500],keypointsNumber:2},gamma:{zero:tp.gamma,range:[0,1e3],keypointsNumber:2},contrast:{zero:tp.contrast,range:[-100,500],keypointsNumber:2},saturation:{zero:tp.saturation,range:[-100,500],keypointsNumber:1},vibrance:{zero:tp.vibrance,range:[-100,500],keypointsNumber:1},warmth:{zero:tp.warmth,range:[-100,100],keypointsNumber:1},enhance:{zero:tp.enhance,range:[0,100],keypointsNumber:1},filter:{zero:tp.filter,range:[0,100],keypointsNumber:1}}),deserealizeCsv=ei=>ei?ei.split(",").map(ei=>ei.trim()):[],serializeCsv=ei=>ei?ei.join(","):"",tk="https://ucarecdn.com",tT="https://upload.uploadcare.com",tC="https://social.uploadcare.com",t_={pubkey:"",multiple:!0,multipleMin:0,multipleMax:Number.MAX_SAFE_INTEGER,confirmUpload:!1,imgOnly:!1,accept:"",externalSourcesPreferredTypes:"",store:"auto",cameraMirror:!1,cameraCapture:"",sourceList:"local, url, camera, dropbox, gdrive",cloudImageEditorTabs:serializeCsv(tw),maxLocalFileSizeBytes:0,thumbSize:76,showEmptyList:!1,useLocalImageEditor:!1,useCloudImageEditor:!0,removeCopyright:!1,cropPreset:"",imageShrink:"",modalScrollLock:!0,modalBackdropStrokes:!1,sourceListWrap:!0,remoteTabSessionKey:"",cdnCname:tk,baseUrl:tT,socialBaseUrl:tC,secureSignature:"",secureExpire:"",secureDeliveryProxy:"",retryThrottledRequestMaxTimes:1,multipartMinFileSize:26214400,multipartChunkSize:5242880,maxConcurrentRequests:10,multipartMaxConcurrentRequests:4,multipartMaxAttempts:3,checkForUrlDuplicates:!1,saveUrlForRecurrentUploads:!1,groupOutput:!1,userAgentIntegration:"",debug:!1,metadata:null,localeName:"en",localeDefinitionOverride:null},tA="lr-";let Block=class Block extends eH{static StateConsumerScope=null;static className="";requireCtxName=!1;allowCustomTemplate=!0;activityType=null;init$=blockCtx();l10n(ei,eo={}){if(!ei)return"";let ea=this.$[localeStateKey(ei)]||ei;for(let ei of getPluralObjects(ea))eo[ei.variable]=this.pluralize(ei.pluralKey,Number(eo[ei.countVariable]));return applyTemplateData(ea,eo)}pluralize(ei,eo){let ea=this.l10n("locale-id")||"en",es=getPluralForm(ea,eo);return this.l10n(`${ei}__${es}`)}bindL10n(ei,eo){this.localeManager?.bindL10n(this,ei,eo)}constructor(){super(),this.l10nProcessorSubs=new Map,this.addTemplateProcessor(l10nProcessor)}emit(ei,eo,ea){let es=this.has("*eventEmitter")&&this.$["*eventEmitter"];es&&es.emit(ei,eo,ea)}hasBlockInCtx(ei){for(let eo of this.$["*blocksRegistry"])if(ei(eo))return!0;return!1}setOrAddState(ei,eo){this.add$({[ei]:eo},!0)}setActivity(ei){if(this.hasBlockInCtx(eo=>eo.activityType===ei)){this.$["*currentActivity"]=ei;return}console.warn(`Activity type "${ei}" not found in the context`)}connectedCallback(){let ei=this.constructor.className;ei&&this.classList.toggle(`${tA}${ei}`,!0),this.hasAttribute("retpl")&&(this.constructor.template=null,this.processInnerHtml=!0),this.requireCtxName?waitForAttribute({element:this,attribute:"ctx-name",onSuccess:()=>{super.connectedCallback()},onTimeout:()=>{console.error("Attribute `ctx-name` is required and it is not set.")}}):super.connectedCallback(),WindowHeightTracker.registerClient(this)}disconnectedCallback(){super.disconnectedCallback(),WindowHeightTracker.unregisterClient(this)}initCallback(){this.has("*blocksRegistry")||this.add("*blocksRegistry",new Set),this.$["*blocksRegistry"].add(this),this.has("*eventEmitter")||this.add("*eventEmitter",new EventEmitter(this.debugPrint.bind(this))),this.has("*localeManager")||this.add("*localeManager",new LocaleManager(this)),this.sub(localeStateKey("locale-id"),ei=>{this.style.direction=getLocaleDirection(ei)})}get localeManager(){return this.has("*localeManager")?this.$["*localeManager"]:null}destroyCallback(){let ei=this.$["*blocksRegistry"];ei.delete(this),this.localeManager?.destroyL10nBindings(this),this.l10nProcessorSubs=new Map,eE.deleteCtx(this),0===ei.size&&setTimeout(()=>{this.destroyCtxCallback()},0)}destroyCtxCallback(){eE.deleteCtx(this.ctxName),this.localeManager?.destroy()}fileSizeFmt(ei,eo=2){let ea=["B","KB","MB","GB","TB"];if(0===ei)return`0 ${ea[0]}`;let es=eo<0?0:eo,eu=Math.floor(Math.log(ei)/Math.log(1024));return parseFloat((ei/1024**eu).toFixed(es))+" "+ea[eu]}proxyUrl(ei){let eo=this.cfg.secureDeliveryProxy;return eo?applyTemplateData(eo,{previewUrl:ei},{transform:ei=>window.encodeURIComponent(ei)}):ei}get cfg(){if(!this.__cfgProxy){let ei=Object.create(null);this.__cfgProxy=new Proxy(ei,{set:(ei,eo,ea)=>{if("string"!=typeof eo)return!1;let es=sharedConfigKey(eo);return this.has(es)||this.add(es,t_[eo]),this.$[es]=ea,!0},get:(ei,eo)=>{let ea=sharedConfigKey(eo);return this.has(ea)||this.add(ea,t_[eo]),this.$[sharedConfigKey(eo)]}})}return this.__cfgProxy}subConfigValue(ei,eo){let ea=sharedConfigKey(ei);this.has(ea)||this.add(ea,t_[ei]),this.sub(ea,eo)}debugPrint(...ei){if(!this.cfg.debug)return;let eo=ei;if("function"==typeof ei?.[0]){let ea=ei[0];eo=ea()}console.log(`[${this.ctxName}]`,...eo)}static reg(ei){if(!ei){super.reg();return}super.reg(ei.startsWith(tA)?ei:tA+ei)}};let toKebabCase=ei=>ei.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.map(ei=>ei.toLowerCase()).join("-"),asString=ei=>String(ei),normalizeConfigValue_asNumber=ei=>{let eo=Number(ei);if(Number.isNaN(eo))throw Error(`Invalid number: "${ei}"`);return eo},normalizeConfigValue_asBoolean=ei=>{if(null==ei)return!1;if("boolean"==typeof ei)return ei;if("true"===ei||""===ei)return!0;if("false"===ei)return!1;throw Error(`Invalid boolean: "${ei}"`)},asStore=ei=>"auto"===ei?ei:normalizeConfigValue_asBoolean(ei),asCameraCapture=ei=>{let eo=asString(ei);if("user"!==eo&&"environment"!==eo&&""!==eo)throw Error(`Invalid "cameraCapture" value: "${eo}"`);return eo},asMetadata=ei=>{if("object"==typeof ei&&!Array.isArray(ei)||"function"==typeof ei)return ei;throw Error("Invalid metadata value. Must be an object or function.")},asLocaleDefinitionOverride=ei=>{if("object"==typeof ei)return ei;throw Error("Invalid localeDefinitionOverride value. Must be an object.")},tO={pubkey:asString,multiple:normalizeConfigValue_asBoolean,multipleMin:normalizeConfigValue_asNumber,multipleMax:normalizeConfigValue_asNumber,confirmUpload:normalizeConfigValue_asBoolean,imgOnly:normalizeConfigValue_asBoolean,accept:asString,externalSourcesPreferredTypes:asString,store:asStore,cameraMirror:normalizeConfigValue_asBoolean,cameraCapture:asCameraCapture,sourceList:asString,maxLocalFileSizeBytes:normalizeConfigValue_asNumber,thumbSize:normalizeConfigValue_asNumber,showEmptyList:normalizeConfigValue_asBoolean,useLocalImageEditor:normalizeConfigValue_asBoolean,useCloudImageEditor:normalizeConfigValue_asBoolean,cloudImageEditorTabs:asString,removeCopyright:normalizeConfigValue_asBoolean,cropPreset:asString,imageShrink:asString,modalScrollLock:normalizeConfigValue_asBoolean,modalBackdropStrokes:normalizeConfigValue_asBoolean,sourceListWrap:normalizeConfigValue_asBoolean,remoteTabSessionKey:asString,cdnCname:asString,baseUrl:asString,socialBaseUrl:asString,secureSignature:asString,secureExpire:asString,secureDeliveryProxy:asString,retryThrottledRequestMaxTimes:normalizeConfigValue_asNumber,multipartMinFileSize:normalizeConfigValue_asNumber,multipartChunkSize:normalizeConfigValue_asNumber,maxConcurrentRequests:normalizeConfigValue_asNumber,multipartMaxConcurrentRequests:normalizeConfigValue_asNumber,multipartMaxAttempts:normalizeConfigValue_asNumber,checkForUrlDuplicates:normalizeConfigValue_asBoolean,saveUrlForRecurrentUploads:normalizeConfigValue_asBoolean,groupOutput:normalizeConfigValue_asBoolean,userAgentIntegration:asString,debug:normalizeConfigValue_asBoolean,localeName:asString,metadata:asMetadata,localeDefinitionOverride:asLocaleDefinitionOverride},normalizeConfigValue=(ei,eo)=>{if(null!=eo)try{return tO[ei](eo)}catch(eo){return console.error(`Invalid value for config key "${ei}".`,eo),t_[ei]}},tM=[...new Set(["debug",...Object.keys(t_)])],tR=["metadata","localeDefinitionOverride"],isComplexKey=ei=>tR.includes(ei),tj=tM.filter(ei=>!isComplexKey(ei)),tN={...Object.fromEntries(tj.map(ei=>[toKebabCase(ei),ei])),...Object.fromEntries(tj.map(ei=>[ei.toLowerCase(),ei]))},tL={...Object.fromEntries(tj.map(ei=>[toKebabCase(ei),sharedConfigKey(ei)])),...Object.fromEntries(tj.map(ei=>[ei.toLowerCase(),sharedConfigKey(ei)]))},getLocalPropName=ei=>"__"+ei;let ConfigClass=class ConfigClass extends Block{requireCtxName=!0;constructor(){super(),this.init$={...this.init$,...Object.fromEntries(Object.entries(t_).map(([ei,eo])=>[sharedConfigKey(ei),eo]))}}_flushValueToAttribute(ei,eo){if(tj.includes(ei)){let ea=[...new Set([toKebabCase(ei),ei.toLowerCase()])];for(let ei of ea)null==eo?this.removeAttribute(ei):this.getAttribute(ei)!==eo.toString()&&this.setAttribute(ei,eo.toString())}}_flushValueToState(ei,eo){this.$[sharedConfigKey(ei)]!==eo&&(null==eo?this.$[sharedConfigKey(ei)]=t_[ei]:this.$[sharedConfigKey(ei)]=eo)}_setValue(ei,eo){let ea=this,es=normalizeConfigValue(ei,eo),eu=getLocalPropName(ei);ea[eu]!==es&&(this._assertSameValueDifferentReference(ei,ea[eu],es),ea[eu]=es,this._flushValueToAttribute(ei,es),this._flushValueToState(ei,es),this.debugPrint(`[lr-config] "${ei}"`,es))}_getValue(ei){let eo=this,ea=getLocalPropName(ei);return eo[ea]}_assertSameValueDifferentReference(ei,eo,ea){this.cfg.debug&&JSON.stringify(ea)===JSON.stringify(eo)&&(console.warn(`[lr-config] Option "${ei}" value is the same as the previous one but the reference is different`),console.warn("[lr-config] You should avoid changing the reference of the object to prevent unnecessary calculations"),console.warn(`[lr-config] "${ei}" previous value:`,eo),console.warn(`[lr-config] "${ei}" new value:`,ea))}initCallback(){super.initCallback();let ei=this;for(let ei of tj)this.sub(sharedConfigKey(ei),eo=>{this._setValue(ei,eo)},!1);for(let eo of tM){let ea=ei[eo]??this.$[sharedConfigKey(eo)];ea!==t_[eo]&&this._setValue(eo,ea),Object.defineProperty(this,eo,{set:ei=>{this._setValue(eo,ei)},get:()=>this._getValue(eo)})}}attributeChangedCallback(ei,eo,ea){if(eo===ea)return;let es=this,eu=tN[ei];es[eu]=ea}};for(let ei of(ConfigClass.bindAttributes(tL),tM))ConfigClass.prototype[ei]=void 0;let tD=ConfigClass,tI="active",tz="___ACTIVITY_IS_ACTIVE___";let ActivityBlock=class ActivityBlock extends Block{historyTracked=!1;init$=activityBlockCtx(this);_debouncedHistoryFlush=debounce(this._historyFlush.bind(this),10);_deactivate(){let ei=ActivityBlock._activityCallbacks.get(this);this[tz]=!1,this.removeAttribute(tI),ei?.deactivateCallback?.()}_activate(){let ei=ActivityBlock._activityCallbacks.get(this);this.$["*historyBack"]=this.historyBack.bind(this),this[tz]=!0,this.setAttribute(tI,""),ei?.activateCallback?.(),this._debouncedHistoryFlush(),this.emit(eG.ACTIVITY_CHANGE,{activity:this.activityType})}initCallback(){super.initCallback(),this.hasAttribute("current-activity")&&this.sub("*currentActivity",ei=>{this.setAttribute("current-activity",ei)}),this.activityType&&(this.hasAttribute("activity")||this.setAttribute("activity",this.activityType),this.sub("*currentActivity",ei=>{this.activityType!==ei&&this[tz]?this._deactivate():this.activityType!==ei||this[tz]||this._activate(),ei||(this.$["*history"]=[])}),this.has("*modalActive")&&this.sub("*modalActive",ei=>{ei||this.activityType!==this.$["*currentActivity"]||(this.$["*currentActivity"]=null)}))}_historyFlush(){let ei=this.$["*history"];ei&&(ei.length>10&&(ei=ei.slice(ei.length-11,ei.length-1)),this.historyTracked&&ei[ei.length-1]!==this.activityType&&ei.push(this.activityType),this.$["*history"]=ei)}_isActivityRegistered(){return this.activityType&&ActivityBlock._activityCallbacks.has(this)}static _activityCallbacks=new Map;get isActivityActive(){return this[tz]}get couldOpenActivity(){return!0}registerActivity(ei,eo={}){let{onActivate:ea,onDeactivate:es}=eo;ActivityBlock._activityCallbacks.set(this,{activateCallback:ea,deactivateCallback:es})}unregisterActivity(){this.isActivityActive&&this._deactivate(),ActivityBlock._activityCallbacks.delete(this)}destroyCallback(){super.destroyCallback(),this._isActivityRegistered()&&this.unregisterActivity();let ei=this.$["*currentActivity"],eo=this.$["*blocksRegistry"],ea=!![...eo].find(eo=>eo instanceof ActivityBlock&&eo.activityType===ei);ea||(this.$["*currentActivity"]=null)}get activityKey(){return this.ctxName+this.activityType}get activityParams(){return this.$["*currentActivityParams"]}get initActivity(){return this.getCssData("--cfg-init-activity")}get doneActivity(){return this.getCssData("--cfg-done-activity")}historyBack(){let ei=this.$["*history"];if(ei){let eo=ei.pop();for(;eo===this.activityType;)eo=ei.pop();let ea=!!eo;if(eo){let ei=this.$["*blocksRegistry"],es=[...ei].find(ei=>ei.activityType===eo);ea=es?.couldOpenActivity??!1}eo=ea?eo:void 0,this.$["*currentActivity"]=eo,this.$["*history"]=ei,eo||this.setOrAddState("*modalActive",!1)}}};ActivityBlock.activities=Object.freeze({START_FROM:"start-from",CAMERA:"camera",DRAW:"draw",UPLOAD_LIST:"upload-list",URL:"url",CONFIRMATION:"confirmation",CLOUD_IMG_EDIT:"cloud-image-edit",EXTERNAL:"external",DETAILS:"details"});let tB=20,tF=24,tH=34,tU=3,tV=tU/2,tX=1,tq=100/3,t$=1,tW=24,tK=6;function setSvgNodeAttrs(ei,eo){for(let ea in eo)ei.setAttributeNS(null,ea,eo[ea].toString())}function createSvgNode(ei,eo={}){let ea=document.createElementNS("http://www.w3.org/2000/svg",ei);return setSvgNodeAttrs(ea,eo),ea}function cornerPath(ei,eo,ea){let{x:es,y:eu,width:ec,height:ed}=ei,ef=eo.includes("w")?0:1,eh=eo.includes("n")?0:1,ep=[-1,1][ef],em=[-1,1][eh],eg=[es+ef*ec+tV*ep,eu+eh*ed+tV*em-tF*ea*em],eb=[es+ef*ec+tV*ep,eu+eh*ed+tV*em],ey=[es+ef*ec-tF*ea*ep+tV*ep,eu+eh*ed+tV*em];return{d:`M ${eg[0]} ${eg[1]} L ${eb[0]} ${eb[1]} L ${ey[0]} ${ey[1]}`,center:eb}}function sidePath(ei,eo,ea){let es,eu,{x:ec,y:ed,width:ef,height:eh}=ei,ep=["n","s"].includes(eo)?.5:({w:0,e:1})[eo],em=["w","e"].includes(eo)?.5:({n:0,s:1})[eo],eg=[-1,1][ep],eb=[-1,1][em];return["n","s"].includes(eo)?(es=[ec+ep*ef-tH*ea/2,ed+em*eh+tV*eb],eu=[ec+ep*ef+tH*ea/2,ed+em*eh+tV*eb]):(es=[ec+ep*ef+tV*eg,ed+em*eh-tH*ea/2],eu=[ec+ep*ef+tV*eg,ed+em*eh+tH*ea/2]),{d:`M ${es[0]} ${es[1]} L ${eu[0]} ${eu[1]}`,center:[eu[0]-(eu[0]-es[0])/2,eu[1]-(eu[1]-es[1])/2]}}function thumbCursor(ei){return""===ei?"move":["e","w"].includes(ei)?"ew-resize":["n","s"].includes(ei)?"ns-resize":["nw","se"].includes(ei)?"nwse-resize":"nesw-resize"}function moveRect({rect:ei,delta:[eo,ea],imageBox:es}){return constraintRect({...ei,x:ei.x+eo,y:ei.y+ea},es)}function constraintRect(ei,eo){let{x:ea}=ei,{y:es}=ei;return ei.x<eo.x?ea=eo.x:ei.x+ei.width>eo.x+eo.width&&(ea=eo.x+eo.width-ei.width),ei.y<eo.y?es=eo.y:ei.y+ei.height>eo.y+eo.height&&(es=eo.y+eo.height-ei.height),{...ei,x:ea,y:es}}function resizeNorth({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[,eu]=eo,{y:ec,width:ed,height:ef}=ei;ec+=eu,ef-=eu,ea&&(ed=ef*ea);let eh=ei.x+ei.width/2-ed/2;return ec<=es.y&&(ec=es.y,ef=ei.y+ei.height-ec,ea&&(ed=ef*ea,eh=ei.x+ei.width/2-ed/2)),eh<=es.x&&(eh=es.x,ec=ei.y+ei.height-ef),eh+ed>=es.x+es.width&&(eh=Math.max(es.x,es.x+es.width-ed),ed=es.x+es.width-eh,ea&&(ef=ed/ea),ec=ei.y+ei.height-ef),ef<t$&&(ef=t$,ea&&(ed=ef*ea,eh=ei.x+ei.width/2-ed/2),ec=ei.y+ei.height-ef),ed<t$&&(ed=t$,ea&&(ef=ed/ea,eh=ei.x+ei.width/2-ed/2),ec=ei.y+ei.height-ef),{x:eh,y:ec,width:ed,height:ef}}function resizeWest({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu]=eo,{x:ec,width:ed,height:ef}=ei;ec+=eu,ed-=eu,ea&&(ef=ed/ea);let eh=ei.y+ei.height/2-ef/2;return ec<=es.x&&(ec=es.x,ed=ei.x+ei.width-ec,ea&&(ef=ed/ea,eh=ei.y+ei.height/2-ef/2)),eh<=es.y&&(eh=es.y,ec=ei.x+ei.width-ed),eh+ef>=es.y+es.height&&(eh=Math.max(es.y,es.y+es.height-ef),ef=es.y+es.height-eh,ea&&(ed=ef*ea),ec=ei.x+ei.width-ed),ef<t$&&(ef=t$,ea&&(ed=ef*ea),eh=ei.y+ei.height/2-ef/2,ec=ei.x+ei.width-ed),ed<t$&&(ed=t$,ea&&(ef=ed/ea),eh=ei.y+ei.height/2-ef/2,ec=ei.x+ei.width-ed),{x:ec,y:eh,width:ed,height:ef}}function resizeSouth({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[,eu]=eo,{y:ec,width:ed,height:ef}=ei;ef+=eu,ea&&(ed=ef*ea);let eh=ei.x+ei.width/2-ed/2;return ec+ef>=es.y+es.height&&(ef=es.y+es.height-ec,ea&&(ed=ef*ea),eh=ei.x+ei.width/2-ed/2),eh<=es.x&&(eh=es.x,ec=ei.y),eh+ed>=es.x+es.width&&(eh=Math.max(es.x,es.x+es.width-ed),ed=es.x+es.width-eh,ea&&(ef=ed/ea),ec=ei.y),ef<t$&&(ef=t$,ea&&(ed=ef*ea),eh=ei.x+ei.width/2-ed/2),ed<t$&&(ed=t$,ea&&(ef=ed/ea),eh=ei.x+ei.width/2-ed/2),{x:eh,y:ec,width:ed,height:ef}}function resizeEast({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu]=eo,{x:ec,width:ed,height:ef}=ei;ed+=eu,ea&&(ef=ed/ea);let eh=ei.y+ei.height/2-ef/2;return ec+ed>=es.x+es.width&&(ed=es.x+es.width-ec,ea&&(ef=ed/ea),eh=ei.y+ei.height/2-ef/2),eh<=es.y&&(eh=es.y,ec=ei.x),eh+ef>=es.y+es.height&&(eh=Math.max(es.y,es.y+es.height-ef),ef=es.y+es.height-eh,ea&&(ed=ef*ea),ec=ei.x),ef<t$&&(ef=t$,ea&&(ed=ef*ea),eh=ei.y+ei.height/2-ef/2),ed<t$&&(ed=t$,ea&&(ef=ed/ea),eh=ei.y+ei.height/2-ef/2),{x:ec,y:eh,width:ed,height:ef}}function resizeNorthWest({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu,ec]=eo,{x:ed,y:ef,width:eh,height:ep}=ei;return ed+eu<es.x&&(eu=es.x-ed),ef+ec<es.y&&(ec=es.y-ef),ed+=eu,eh-=eu,ef+=ec,ep-=ec,ea&&Math.abs(eh/ep)>ea?(ec=eh/ea-ep,ep+=ec,(ef-=ec)<=es.y&&(ep-=es.y-ef,eh=ep*ea,ed=ei.x+ei.width-eh,ef=es.y)):ea&&(eu=ep*ea-eh,eh+=eu,(ed-=eu)<=es.x&&(eh-=es.x-ed,ep=eh/ea,ed=es.x,ef=ei.y+ei.height-ep)),ep<t$&&(ep=t$,ea&&(eh=ep*ea),ed=ei.x+ei.width-eh,ef=ei.y+ei.height-ep),eh<t$&&(eh=t$,ea&&(ep=eh/ea),ed=ei.x+ei.width-eh,ef=ei.y+ei.height-ep),{x:ed,y:ef,width:eh,height:ep}}function resizeNorthEast({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu,ec]=eo,{x:ed,y:ef,width:eh,height:ep}=ei;return ed+eh+eu>es.x+es.width&&(eu=es.x+es.width-ed-eh),ef+ec<es.y&&(ec=es.y-ef),eh+=eu,ef+=ec,ep-=ec,ea&&Math.abs(eh/ep)>ea?(ec=eh/ea-ep,ep+=ec,(ef-=ec)<=es.y&&(ep-=es.y-ef,eh=ep*ea,ed=ei.x,ef=es.y)):ea&&(eu=ep*ea-eh,ed+(eh+=eu)>=es.x+es.width&&(ep=(eh=es.x+es.width-ed)/ea,ed=es.x+es.width-eh,ef=ei.y+ei.height-ep)),ep<t$&&(ep=t$,ea&&(eh=ep*ea),ef=ei.y+ei.height-ep),eh<t$&&(eh=t$,ea&&(ep=eh/ea),ef=ei.y+ei.height-ep),{x:ed,y:ef,width:eh,height:ep}}function resizeSouthWest({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu,ec]=eo,{x:ed,y:ef,width:eh,height:ep}=ei;return ed+eu<es.x&&(eu=es.x-ed),ef+ep+ec>es.y+es.height&&(ec=es.y+es.height-ef-ep),ed+=eu,eh-=eu,ep+=ec,ea&&Math.abs(eh/ep)>ea?(ec=eh/ea-ep,ef+(ep+=ec)>=es.y+es.height&&(eh=(ep=es.y+es.height-ef)*ea,ed=ei.x+ei.width-eh,ef=es.y+es.height-ep)):ea&&(eu=ep*ea-eh,eh+=eu,(ed-=eu)<=es.x&&(eh-=es.x-ed,ep=eh/ea,ed=es.x,ef=ei.y)),ep<t$&&(ep=t$,ea&&(eh=ep*ea),ed=ei.x+ei.width-eh),eh<t$&&(eh=t$,ea&&(ep=eh/ea),ed=ei.x+ei.width-eh),{x:ed,y:ef,width:eh,height:ep}}function resizeSouthEast({rect:ei,delta:eo,aspectRatio:ea,imageBox:es}){let[eu,ec]=eo,{x:ed,y:ef,width:eh,height:ep}=ei;return ed+eh+eu>es.x+es.width&&(eu=es.x+es.width-ed-eh),ef+ep+ec>es.y+es.height&&(ec=es.y+es.height-ef-ep),eh+=eu,ep+=ec,ea&&Math.abs(eh/ep)>ea?(ec=eh/ea-ep,ef+(ep+=ec)>=es.y+es.height&&(eh=(ep=es.y+es.height-ef)*ea,ed=ei.x,ef=es.y+es.height-ep)):ea&&(eu=ep*ea-eh,ed+(eh+=eu)>=es.x+es.width&&(ep=(eh=es.x+es.width-ed)/ea,ed=es.x+es.width-eh,ef=ei.y)),ep<t$&&(ep=t$,ea&&(eh=ep*ea)),eh<t$&&(eh=t$,ea&&(ep=eh/ea)),{x:ed,y:ef,width:eh,height:ep}}function resizeRect({direction:ei,...eo}){switch(ei){case"n":return resizeNorth(eo);case"w":return resizeWest(eo);case"s":return resizeSouth(eo);case"e":return resizeEast(eo);case"nw":return resizeNorthWest(eo);case"ne":return resizeNorthEast(eo);case"sw":return resizeSouthWest(eo);case"se":return resizeSouthEast(eo);default:return eo.rect}}function rectContainsPoint(ei,[eo,ea]){return ei.x<=eo&&eo<=ei.x+ei.width&&ei.y<=ea&&ea<=ei.y+ei.height}function isRectInsideRect(ei,eo){return ei.x>=eo.x&&ei.y>=eo.y&&ei.x+ei.width<=eo.x+eo.width&&ei.y+ei.height<=eo.y+eo.height}function isRectMatchesAspectRatio(ei,eo){let ea=.1;return Math.abs(ei.width/ei.height-eo)<ea}function rotateSize({width:ei,height:eo},ea){let es=ea/90%2!=0;return{width:es?eo:ei,height:es?ei:eo}}function calculateMaxCenteredCropFrame(ei,eo,ea){let es,eu;let ec=ei/eo;ec>ea?(es=Math.round(eo*ea),eu=eo):(es=ei,eu=Math.round(ei/ea));let ed=Math.round((ei-es)/2),ef=Math.round((eo-eu)/2);return ed+es>ei&&(es=ei-ed),ef+eu>eo&&(eu=eo-ef),{x:ed,y:ef,width:es,height:eu}}function roundRect(ei){return{x:Math.round(ei.x),y:Math.round(ei.y),width:Math.round(ei.width),height:Math.round(ei.height)}}function clamp(ei,eo,ea){return Math.min(Math.max(ei,eo),ea)}let parseCropPreset=ei=>{if(!ei)return[];let[eo,ea]=ei.split(":").map(Number);if(!Number.isFinite(eo)||!Number.isFinite(ea)){console.error(`Invalid crop preset: ${ei}`);return}let es={type:"aspect-ratio",width:eo,height:ea};return[es]},tG=Object.freeze({LOCAL:"local",DROP_AREA:"drop-area",URL_TAB:"url-tab",CAMERA:"camera",EXTERNAL:"external",API:"js-api"}),tZ="blocks",tJ="0.39.1";function customUserAgent(ei){return getUserAgent$1({...ei,libraryName:tZ,libraryVersion:tJ})}let buildOutputError=({type:ei,message:eo,...ea})=>({type:ei,message:eo,...ea}),tY=buildOutputError,tQ=buildOutputError,t0=["image/*","image/heif","image/heif-sequence","image/heic","image/heic-sequence","image/avif","image/avif-sequence",".heif",".heifs",".heic",".heics",".avif",".avifs"],mergeFileTypes=ei=>ei?ei.filter(ei=>"string"==typeof ei).map(ei=>stringToArray(ei)).flat():[],matchMimeType=(ei,eo)=>eo.some(eo=>eo.endsWith("*")?(eo=eo.replace("*",""),ei.startsWith(eo)):ei===eo),matchExtension=(ei,eo)=>eo.some(eo=>!!eo.startsWith(".")&&ei.toLowerCase().endsWith(eo.toLowerCase())),fileIsImage=ei=>{let eo=ei?.type;return!!eo&&matchMimeType(eo,t0)},t1=1e3,t8=Object.freeze({AUTO:"auto",BYTE:"byte",KB:"kb",MB:"mb",GB:"gb",TB:"tb",PB:"pb"}),round=ei=>Math.ceil(100*ei)/100,prettyBytes=(ei,eo=t8.AUTO)=>{let ea=eo===t8.AUTO;if(eo===t8.BYTE||ea&&ei<t1**1){let eo=getPluralForm("en-US",ei),ea={one:"byte",other:"bytes"}[eo];return`${ei} ${ea}`}return eo===t8.KB||ea&&ei<t1**2?`${round(ei/t1**1)} KB`:eo===t8.MB||ea&&ei<t1**3?`${round(ei/t1**2)} MB`:eo===t8.GB||ea&&ei<t1**4?`${round(ei/t1**3)} GB`:eo===t8.TB||ea&&ei<t1**5?`${round(ei/t1**4)} TB`:`${round(ei/t1**5)} PB`},t6=new Set;function warnOnce(ei){t6.has(ei)||(t6.add(ei),console.warn(ei))}let t5="[Typed State] Wrong property name: ",t4="[Typed State] Wrong property type: ";let TypedData=class TypedData{constructor(ei,eo){this.__typedSchema=ei,this.__ctxId=eo||e_.generate(),this.__schema=Object.keys(ei).reduce((eo,ea)=>(eo[ea]=ei[ea].value,eo),{}),this.__data=eE.registerCtx(this.__schema,this.__ctxId)}get uid(){return this.__ctxId}setValue(ei,eo){if(!this.__typedSchema.hasOwnProperty(ei)){console.warn(t5+ei);return}let ea=this.__typedSchema[ei];if(eo?.constructor===ea.type||eo instanceof ea.type||ea.nullable&&null===eo){this.__data.pub(ei,eo);return}console.warn(t4+ei)}setMultipleValues(ei){for(let eo in ei)this.setValue(eo,ei[eo])}getValue(ei){if(!this.__typedSchema.hasOwnProperty(ei)){console.warn(t5+ei);return}return this.__data.read(ei)}subscribe(ei,eo){return this.__data.sub(ei,eo)}remove(){eE.deleteCtx(this.__ctxId)}};let TypedCollection=class TypedCollection{constructor(ei){this.__typedSchema=ei.typedSchema,this.__ctxId=ei.ctxName||e_.generate(),this.__data=eE.registerCtx({},this.__ctxId),this.__watchList=ei.watchList||[],this.__subsMap=Object.create(null),this.__propertyObservers=new Set,this.__collectionObservers=new Set,this.__items=new Set,this.__removed=new Set,this.__added=new Set;let eo=Object.create(null);this.__notifyObservers=(ei,ea)=>{this.__observeTimeout&&window.clearTimeout(this.__observeTimeout),eo[ei]||(eo[ei]=new Set),eo[ei].add(ea),this.__observeTimeout=window.setTimeout(()=>{0!==Object.keys(eo).length&&(this.__propertyObservers.forEach(ei=>{ei({...eo})}),eo=Object.create(null))})}}notify(){this.__notifyTimeout&&window.clearTimeout(this.__notifyTimeout),this.__notifyTimeout=window.setTimeout(()=>{let ei=new Set(this.__added),eo=new Set(this.__removed);for(let ea of(this.__added.clear(),this.__removed.clear(),this.__collectionObservers))ea?.([...this.__items],ei,eo)})}observeCollection(ei){return this.__collectionObservers.add(ei),this.__items.size>0&&this.notify(),()=>{this.unobserveCollection(ei)}}unobserveCollection(ei){this.__collectionObservers?.delete(ei)}add(ei){let eo=new TypedData(this.__typedSchema);for(let ea in ei)eo.setValue(ea,ei[ea]);return this.__items.add(eo.uid),this.notify(),this.__data.add(eo.uid,eo),this.__added.add(eo),this.__watchList.forEach(ei=>{this.__subsMap[eo.uid]||(this.__subsMap[eo.uid]=[]),this.__subsMap[eo.uid].push(eo.subscribe(ei,()=>{this.__notifyObservers(ei,eo.uid)}))}),eo.uid}read(ei){return this.__data.read(ei)}readProp(ei,eo){return this.read(ei).getValue(eo)}publishProp(ei,eo,ea){this.read(ei).setValue(eo,ea)}remove(ei){this.__removed.add(this.__data.read(ei)),this.__items.delete(ei),this.notify(),this.__data.pub(ei,null),delete this.__subsMap[ei]}clearAll(){this.__items.forEach(ei=>{this.remove(ei)})}observeProperties(ei){return this.__propertyObservers.add(ei),()=>{this.unobserveProperties(ei)}}unobserveProperties(ei){this.__propertyObservers?.delete(ei)}findItems(ei){let eo=[];return this.__items.forEach(ea=>{ei(this.read(ea))&&eo.push(ea)}),eo}items(){return[...this.__items]}get size(){return this.__items.size}destroy(){for(let ei in eE.deleteCtx(this.__ctxId),this.__propertyObservers=null,this.__collectionObservers=null,this.__subsMap)this.__subsMap[ei].forEach(ei=>{ei.remove()}),delete this.__subsMap[ei]}};let memoize=ei=>{let eo=new Map;return(...ea)=>{let es=JSON.stringify(ea);if(eo.has(es))return eo.get(es);let eu=ei(...ea);return eo.set(es,eu),eu}};function createAsyncAssertWrapper(ei){let eo=!1;setTimeout(()=>{eo=!0},0);let withAssert=ea=>(...es)=>(eo&&warnOnce(ei),ea(...es));return withAssert}function buildOutputCollectionState(ei){let eo={progress:()=>ei.$["*commonProgress"],errors:()=>ei.$["*collectionErrors"],group:()=>ei.$["*groupInfo"],totalCount:()=>ei.uploadCollection.size,failedCount:()=>ea.failedEntries.length,successCount:()=>ea.successEntries.length,uploadingCount:()=>ea.uploadingEntries.length,status:()=>{let ei=ea.isFailed?"failed":ea.isUploading?"uploading":ea.isSuccess?"success":"idle";return ei},isSuccess:()=>0===ea.errors.length&&ea.successEntries.length===ea.allEntries.length,isUploading:()=>ea.allEntries.some(ei=>"uploading"===ei.status),isFailed:()=>ea.errors.length>0||ea.failedEntries.length>0,allEntries:()=>ei.getOutputData(),successEntries:()=>ea.allEntries.filter(ei=>"success"===ei.status),failedEntries:()=>ea.allEntries.filter(ei=>"failed"===ei.status),uploadingEntries:()=>ea.allEntries.filter(ei=>"uploading"===ei.status),idleEntries:()=>ea.allEntries.filter(ei=>"idle"===ei.status)},ea={},es=createAsyncAssertWrapper("You're trying to access the OutputCollectionState asynchronously. In this case, the data you retrieve will be newer than it was when the OutputCollectionState was created or when the event was dispatched. If you want to retain the state at a specific moment in time, you should use the spread operator like this: `{...outputCollectionState}` or `{...e.detail}`");for(let[ei,eu]of Object.entries(eo)){let eo=ei,ec=eu,ed=memoize(es(ec));Object.defineProperty(ea,eo,{get:ed,enumerable:!0})}return ea}let t7=Object.freeze({file:{type:File,value:null},externalUrl:{type:String,value:null},fileName:{type:String,value:null,nullable:!0},fileSize:{type:Number,value:null,nullable:!0},lastModified:{type:Number,value:Date.now()},uploadProgress:{type:Number,value:0},uuid:{type:String,value:null},isImage:{type:Boolean,value:!1},mimeType:{type:String,value:null,nullable:!0},ctxName:{type:String,value:null},cdnUrl:{type:String,value:null},cdnUrlModifiers:{type:String,value:null},fileInfo:{type:UploadcareFile,value:null},isUploading:{type:Boolean,value:!1},abortController:{type:AbortController,value:null,nullable:!0},thumbUrl:{type:String,value:null,nullable:!0},silent:{type:Boolean,value:!1},source:{type:String,value:!1,nullable:!0},fullPath:{type:String,value:null,nullable:!0},metadata:{type:Object,value:null,nullable:!0},errors:{type:Array,value:[]},uploadError:{type:Error,value:null,nullable:!0},isRemoved:{type:Boolean,value:!1}}),t9=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,rr=RegExp(`^/?(${t9.source})(?:/(-/(?:[^/]+/)+)?([^/]*))?$`,"i"),parseCdnUrl=({url:ei,cdnBase:eo})=>{let ea=new URL(eo),es=new URL(ei);if(ea.host!==es.host)return null;let[,eu,ec,ed]=rr.exec(es.pathname);return{uuid:eu,cdnUrlModifiers:ec||"",filename:ed||null}};let UploaderBlock=class UploaderBlock extends ActivityBlock{couldBeCtxOwner=!1;isCtxOwner=!1;init$=uploaderBlockCtx(this);__initialUploadMetadata=null;_fileValidators=[this._validateIsImage.bind(this),this._validateFileType.bind(this),this._validateMaxSizeLimit.bind(this),this._validateUploadError.bind(this)];_collectionValidators=[ei=>{let eo=ei.size,ea=this.cfg.multiple?this.cfg.multipleMin:0,es=this.cfg.multiple?this.cfg.multipleMax:1;if(ea&&eo<ea){let ei=this.l10n("files-count-limit-error-too-few",{min:ea,max:es,total:eo});return tQ({type:"TOO_FEW_FILES",message:ei,total:eo,min:ea,max:es})}if(es&&eo>es){let ei=this.l10n("files-count-limit-error-too-many",{min:ea,max:es,total:eo});return tQ({type:"TOO_MANY_FILES",message:ei,total:eo,min:ea,max:es})}},ei=>{if(ei.items().some(eo=>ei.readProp(eo,"errors").length>0))return tQ({type:"SOME_FILES_HAS_ERRORS",message:this.l10n("some-files-were-not-uploaded")})}];setUploadMetadata(ei){warnOnce("setUploadMetadata is deprecated. Use `metadata` instance property on `lr-config` block instead. See migration guide: https://uploadcare.com/docs/file-uploader/migration-to-0.25.0/"),this.connectedOnce?this.$["*uploadMetadata"]=ei:this.__initialUploadMetadata=ei}get hasCtxOwner(){return this.hasBlockInCtx(ei=>ei instanceof UploaderBlock&&ei.isCtxOwner&&ei.isConnected&&ei!==this)}initCallback(){if(super.initCallback(),!this.$["*uploadCollection"]){let ei=new TypedCollection({typedSchema:t7,watchList:["uploadProgress","uploadError","fileInfo","errors","cdnUrl","isUploading"]});this.$["*uploadCollection"]=ei}!this.hasCtxOwner&&this.couldBeCtxOwner&&this.initCtxOwner()}destroyCtxCallback(){this._unobserveCollectionProperties?.(),this._unobserveCollection?.(),this.uploadCollection.destroy(),this.$["*uploadCollection"]=null,super.destroyCtxCallback()}initCtxOwner(){this.isCtxOwner=!0,this._unobserveCollection=this.uploadCollection.observeCollection(this._handleCollectionUpdate),this._unobserveCollectionProperties=this.uploadCollection.observeProperties(this._handleCollectionPropertiesUpdate);let runAllValidators=()=>{this._runFileValidators(),this._runCollectionValidators()};this.subConfigValue("maxLocalFileSizeBytes",runAllValidators),this.subConfigValue("multipleMin",runAllValidators),this.subConfigValue("multipleMax",runAllValidators),this.subConfigValue("multiple",runAllValidators),this.subConfigValue("imgOnly",runAllValidators),this.subConfigValue("accept",runAllValidators),this.subConfigValue("maxConcurrentRequests",ei=>{this.$["*uploadQueue"].concurrency=Number(ei)||1}),this.__initialUploadMetadata&&(this.$["*uploadMetadata"]=this.__initialUploadMetadata)}addFileFromUrl(ei,{silent:eo,fileName:ea,source:es}={}){let eu=this.uploadCollection.add({externalUrl:ei,fileName:ea??null,silent:eo??!1,source:es??tG.API});return this.getOutputItem(eu)}addFileFromUuid(ei,{silent:eo,fileName:ea,source:es}={}){let eu=this.uploadCollection.add({uuid:ei,fileName:ea??null,silent:eo??!1,source:es??tG.API});return this.getOutputItem(eu)}addFileFromCdnUrl(ei,{silent:eo,fileName:ea,source:es}={}){let eu=parseCdnUrl({url:ei,cdnBase:this.cfg.cdnCname});if(!eu)throw Error("Invalid CDN URL");let ec=this.uploadCollection.add({uuid:eu.uuid,cdnUrl:ei,cdnUrlModifiers:eu.cdnUrlModifiers,fileName:ea??eu.filename??null,silent:eo??!1,source:es??tG.API});return this.getOutputItem(ec)}addFileFromObject(ei,{silent:eo,fileName:ea,source:es,fullPath:eu}={}){let ec=this.uploadCollection.add({file:ei,isImage:fileIsImage(ei),mimeType:ei.type,fileName:ea??ei.name,fileSize:ei.size,silent:eo??!1,source:es??tG.API,fullPath:eu??null});return this.getOutputItem(ec)}addFiles(ei){return console.warn("`addFiles` method is deprecated. Please use `addFileFromObject`, `addFileFromUrl` or `addFileFromUuid` instead."),ei.map(ei=>{let eo=this.uploadCollection.add({file:ei,isImage:fileIsImage(ei),mimeType:ei.type,fileName:ei.name,fileSize:ei.size});return this.getOutputItem(eo)})}removeFileByInternalId(ei){if(!this.uploadCollection.read(ei))throw Error(`File with internalId ${ei} not found`);this.uploadCollection.remove(ei)}removeAllFiles(){this.uploadCollection.clearAll()}uploadAll=()=>{let ei=this.uploadCollection.items().filter(ei=>{let eo=this.uploadCollection.read(ei);return!eo.getValue("isRemoved")&&!eo.getValue("isUploading")&&!eo.getValue("fileInfo")});0!==ei.length&&(this.$["*uploadTrigger"]=new Set(ei),this.emit(eG.COMMON_UPLOAD_START,this.getOutputCollectionState()))};openSystemDialog(ei={}){let eo=serializeCsv(mergeFileTypes([this.cfg.accept??"",...this.cfg.imgOnly?t0:[]]));this.cfg.accept&&this.cfg.imgOnly&&console.warn("There could be a mistake.\nBoth `accept` and `imgOnly` parameters are set.\nThe value of `accept` will be concatenated with the internal image mime types list."),this.fileInput=document.createElement("input"),this.fileInput.type="file",this.fileInput.multiple=this.cfg.multiple,ei.captureCamera?(this.fileInput.capture=this.cfg.cameraCapture,this.fileInput.accept="image/*"):this.fileInput.accept=eo,this.fileInput.dispatchEvent(new MouseEvent("click")),this.fileInput.onchange=()=>{[...this.fileInput.files].forEach(eo=>this.addFileFromObject(eo,{source:ei.captureCamera?tG.CAMERA:tG.LOCAL})),this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST,this.setOrAddState("*modalActive",!0),this.fileInput.value="",this.fileInput=null}}get sourceList(){let ei=[];return this.cfg.sourceList&&(ei=stringToArray(this.cfg.sourceList)),ei}initFlow(ei=!1){if(this.uploadCollection.size>0&&!ei)this.set$({"*currentActivity":ActivityBlock.activities.UPLOAD_LIST}),this.setOrAddState("*modalActive",!0);else if(this.sourceList?.length===1){let ei=this.sourceList[0];if("local"===ei){this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST,this?.openSystemDialog();return}let eo=this.$["*blocksRegistry"],isSourceBtn=eo=>"type"in eo&&eo.type===ei,ea=[...eo].find(isSourceBtn);ea?.activate(),this.$["*currentActivity"]&&this.setOrAddState("*modalActive",!0)}else this.set$({"*currentActivity":ActivityBlock.activities.START_FROM}),this.setOrAddState("*modalActive",!0)}doneFlow(){this.set$({"*currentActivity":this.doneActivity,"*history":this.doneActivity?[this.doneActivity]:[]}),this.$["*currentActivity"]||this.setOrAddState("*modalActive",!1)}get uploadCollection(){return this.$["*uploadCollection"]}_validateFileType(ei){let eo=this.cfg.imgOnly,ea=this.cfg.accept,es=mergeFileTypes([...eo?t0:[],ea]);if(!es.length)return;let eu=ei.mimeType,ec=ei.name;if(!eu||!ec)return;let ed=matchMimeType(eu,es),ef=matchExtension(ec,es);if(!ed&&!ef)return tY({type:"FORBIDDEN_FILE_TYPE",message:this.l10n("file-type-not-allowed"),entry:ei})}_validateMaxSizeLimit(ei){let eo=this.cfg.maxLocalFileSizeBytes,ea=ei.size;if(eo&&ea&&ea>eo)return tY({type:"FILE_SIZE_EXCEEDED",message:this.l10n("files-max-size-limit-error",{maxFileSize:prettyBytes(eo)}),entry:ei})}_validateUploadError(ei,eo){let ea=eo?.getValue("uploadError");if(ea){if(ea instanceof UploadError)return tY({type:"UPLOAD_ERROR",message:ea.message,entry:ei,error:ea});if(ea instanceof NetworkError)return tY({type:"NETWORK_ERROR",message:ea.message,entry:ei,error:ea});{let eo=ea instanceof Error?ea:Error("Unknown error",{cause:ea});return tY({type:"UNKNOWN_ERROR",message:eo.message,entry:ei,error:eo})}}}_validateIsImage(ei){let eo=this.cfg.imgOnly,ea=ei.isImage;if(eo&&!ea&&(ei.fileInfo||!ei.externalUrl)&&(ei.fileInfo||ei.mimeType))return tY({type:"NOT_AN_IMAGE",message:this.l10n("images-only-accepted"),entry:ei})}_runFileValidatorsForEntry(ei){let eo=this.getOutputItem(ei.uid),ea=[];for(let es of this._fileValidators){let eu=es(eo,ei);eu&&ea.push(eu)}ei.setValue("errors",ea)}_runFileValidators(ei){let eo=ei??this.uploadCollection.items();for(let ei of eo){let eo=this.uploadCollection.read(ei);eo&&this._runFileValidatorsForEntry(eo)}}_runCollectionValidators(){let ei=this.uploadCollection,eo=[];for(let ea of this._collectionValidators){let es=ea(ei);es&&(Array.isArray(es)?eo.push(...es):eo.push(es))}this.$["*collectionErrors"]=eo,eo.length>0&&this.emit(eG.COMMON_UPLOAD_FAILED,()=>this.getOutputCollectionState(),{debounce:!0})}async _createGroup(ei){let eo=this.getUploadClientOptions(),ea=ei.allEntries.map(ei=>ei.uuid+(ei.cdnUrlModifiers?`/${ei.cdnUrlModifiers}`:"")),es=new AbortController,eu=await uploadFileGroup(ea,{...eo,signal:es.signal});if(this.$["*collectionState"]!==ei){es.abort();return}this.$["*groupInfo"]=eu;let ec=this.getOutputCollectionState();this.emit(eG.GROUP_CREATED,ec),this.emit(eG.CHANGE,()=>this.getOutputCollectionState(),{debounce:!0}),this.$["*collectionState"]=ec}_flushOutputItems=debounce(async()=>{let ei=this.getOutputData();if(ei.length!==this.uploadCollection.size)return;let eo=this.getOutputCollectionState();this.$["*collectionState"]=eo,this.emit(eG.CHANGE,()=>this.getOutputCollectionState(),{debounce:!0}),this.cfg.groupOutput&&eo.totalCount>0&&"success"===eo.status&&this._createGroup(eo)},300);_handleCollectionUpdate=(ei,eo,ea)=>{for(let ei of((eo.size||ea.size)&&(this.$["*groupInfo"]=null),this._runFileValidators(),this._runCollectionValidators(),eo))ei.getValue("silent")||this.emit(eG.FILE_ADDED,this.getOutputItem(ei.uid));for(let ei of ea)this.$["*uploadTrigger"].delete(ei.uid),ei.getValue("abortController")?.abort(),ei.setMultipleValues({isRemoved:!0,abortController:null,isUploading:!1,uploadProgress:0}),URL.revokeObjectURL(ei?.getValue("thumbUrl")),this.emit(eG.FILE_REMOVED,this.getOutputItem(ei.uid));this.$["*uploadList"]=ei.map(ei=>({uid:ei})),this._flushCommonUploadProgress(),this._flushOutputItems()};_handleCollectionPropertiesUpdate=ei=>{this._flushOutputItems();let eo=this.uploadCollection,ea=[...new Set(Object.entries(ei).filter(([ei])=>["uploadError","fileInfo"].includes(ei)).map(([,ei])=>[...ei]).flat())];if(ea.length>0&&setTimeout(()=>{this._runFileValidators(ea)}),ei.uploadProgress){for(let eo of ei.uploadProgress){let{isUploading:ei,silent:ea}=eE.getCtx(eo).store;ei&&!ea&&this.emit(eG.FILE_UPLOAD_PROGRESS,this.getOutputItem(eo))}this._flushCommonUploadProgress()}if(ei.isUploading)for(let eo of ei.isUploading){let{isUploading:ei,silent:ea}=eE.getCtx(eo).store;ei&&!ea&&this.emit(eG.FILE_UPLOAD_START,this.getOutputItem(eo))}if(ei.fileInfo){for(let eo of ei.fileInfo){let{fileInfo:ei,silent:ea}=eE.getCtx(eo).store;ei&&!ea&&this.emit(eG.FILE_UPLOAD_SUCCESS,this.getOutputItem(eo))}this.cfg.cropPreset&&this.setInitialCrop();let ea=eo.findItems(ei=>!!ei.getValue("fileInfo"));0===eo.findItems(ei=>ei.getValue("errors").length>0).length&&eo.size===ea.length&&this.emit(eG.COMMON_UPLOAD_SUCCESS,this.getOutputCollectionState())}if(ei.errors)for(let eo of ei.errors){let{errors:ei}=eE.getCtx(eo).store;ei.length>0&&(this.emit(eG.FILE_UPLOAD_FAILED,this.getOutputItem(eo)),this.emit(eG.COMMON_UPLOAD_FAILED,()=>this.getOutputCollectionState(),{debounce:!0}))}if(ei.cdnUrl){let eo=[...ei.cdnUrl].filter(ei=>!!this.uploadCollection.read(ei)?.getValue("cdnUrl"));eo.forEach(ei=>{this.emit(eG.FILE_URL_CHANGED,this.getOutputItem(ei))}),this.$["*groupInfo"]=null}};_flushCommonUploadProgress=()=>{let ei=0,eo=this.$["*uploadTrigger"],ea=[...eo].filter(ei=>!!this.uploadCollection.read(ei));ea.forEach(eo=>{let ea=this.uploadCollection.readProp(eo,"uploadProgress");ei+=ea});let es=ea.length?Math.round(ei/ea.length):0;this.$["*commonProgress"]!==es&&(this.$["*commonProgress"]=es,this.emit(eG.COMMON_UPLOAD_PROGRESS,this.getOutputCollectionState()))};setInitialCrop(){let ei=parseCropPreset(this.cfg.cropPreset);if(ei){let[eo]=ei,ea=this.uploadCollection.findItems(ei=>ei.getValue("fileInfo")&&ei.getValue("isImage")&&!ei.getValue("cdnUrlModifiers")?.includes("/crop/")).map(ei=>this.uploadCollection.read(ei));for(let ei of ea){let ea=ei.getValue("fileInfo"),{width:es,height:eu}=ea.imageInfo,ec=eo.width/eo.height,ed=calculateMaxCenteredCropFrame(es,eu,ec),ef=createCdnUrlModifiers(`crop/${ed.width}x${ed.height}/${ed.x},${ed.y}`,"preview");ei.setMultipleValues({cdnUrlModifiers:ef,cdnUrl:createCdnUrl(ei.getValue("cdnUrl"),ef)}),1===this.uploadCollection.size&&this.cfg.useCloudImageEditor&&this.hasBlockInCtx(ei=>ei.activityType===ActivityBlock.activities.CLOUD_IMG_EDIT)&&(this.$["*focusedEntry"]=ei,this.$["*currentActivity"]=ActivityBlock.activities.CLOUD_IMG_EDIT)}}}async getMetadataFor(ei){let eo=this.cfg.metadata??this.$["*uploadMetadata"];if("function"==typeof eo){let ea=this.getOutputItem(ei),es=await eo(ea);return es}return eo}getUploadClientOptions(){return{store:this.cfg.store,publicKey:this.cfg.pubkey,baseCDN:this.cfg.cdnCname,baseURL:this.cfg.baseUrl,userAgent:customUserAgent,integration:this.cfg.userAgentIntegration,secureSignature:this.cfg.secureSignature,secureExpire:this.cfg.secureExpire,retryThrottledRequestMaxTimes:this.cfg.retryThrottledRequestMaxTimes,multipartMinFileSize:this.cfg.multipartMinFileSize,multipartChunkSize:this.cfg.multipartChunkSize,maxConcurrentRequests:this.cfg.multipartMaxConcurrentRequests,multipartMaxAttempts:this.cfg.multipartMaxAttempts,checkForUrlDuplicates:!!this.cfg.checkForUrlDuplicates,saveUrlForRecurrentUploads:!!this.cfg.saveUrlForRecurrentUploads}}getOutputItem(ei){let eo=eE.getCtx(ei).store,ea=eo.fileInfo,es=eo.isRemoved?"removed":eo.errors.length>0?"failed":eo.fileInfo?"success":eo.isUploading?"uploading":"idle",eu={uuid:ea?.uuid??eo.uuid??null,internalId:ei,name:ea?.originalFilename??eo.fileName,size:ea?.size??eo.fileSize,isImage:ea?.isImage??eo.isImage,mimeType:ea?.mimeType??eo.mimeType,file:eo.file,externalUrl:eo.externalUrl,cdnUrlModifiers:eo.cdnUrlModifiers,cdnUrl:eo.cdnUrl??ea?.cdnUrl??null,fullPath:eo.fullPath,uploadProgress:eo.uploadProgress,fileInfo:ea??null,metadata:eo.metadata??ea?.metadata??null,isSuccess:"success"===es,isUploading:"uploading"===es,isFailed:"failed"===es,isRemoved:"removed"===es,errors:eo.errors,status:es};return eu}getOutputData(ei){let eo=ei?this.uploadCollection.findItems(ei):this.uploadCollection.items(),ea=eo.map(ei=>this.getOutputItem(ei));return ea}getOutputCollectionState(){return buildOutputCollectionState(this)}};UploaderBlock.extSrcList=Object.freeze({FACEBOOK:"facebook",DROPBOX:"dropbox",GDRIVE:"gdrive",GPHOTOS:"gphotos",INSTAGRAM:"instagram",FLICKR:"flickr",VK:"vk",EVERNOTE:"evernote",BOX:"box",ONEDRIVE:"onedrive",HUDDLE:"huddle"}),UploaderBlock.sourceTypes=Object.freeze({LOCAL:"local",URL:"url",CAMERA:"camera",DRAW:"draw",...UploaderBlock.extSrcList});let UploadCtxProviderClass=class UploadCtxProviderClass extends UploaderBlock{requireCtxName=!0;initCallback(){super.initCallback(),this.$["*eventEmitter"].bindTarget(this)}destroyCallback(){super.destroyCallback(),this.$["*eventEmitter"].unbindTarget(this)}};UploadCtxProviderClass.EventType=eG;let rn=UploadCtxProviderClass;function registerBlocks(ei){for(let eo in ei){let ea=[...eo].reduce((ei,eo)=>(eo.toUpperCase()===eo&&(eo="-"+eo.toLowerCase()),ei+eo),"");ea.startsWith("-")&&(ea=ea.replace("-","")),ea.startsWith("lr-")||(ea="lr-"+ea),ei[eo].reg&&ei[eo].reg(ea)}}let Icon=class Icon extends Block{init$={...this.init$,name:"",path:"",size:"24",viewBox:""};initCallback(){super.initCallback(),this.sub("name",ei=>{if(!ei)return;let eo=this.getCssData(`--icon-${ei}`);eo&&(this.$.path=eo)}),this.sub("path",ei=>{ei&&(ei.trimStart().startsWith("<")?(this.setAttribute("raw",""),this.ref.svg.innerHTML=ei):(this.removeAttribute("raw"),this.ref.svg.innerHTML=`<path fill-rule="evenodd" d="${ei}"></path>`))}),this.sub("size",ei=>{this.$.viewBox=`0 0 ${ei} ${ei}`})}};Icon.template=`
  <svg ref="svg" xmlns="http://www.w3.org/2000/svg" set="@viewBox: viewBox; @height: size; @width: size"></svg>
`,Icon.bindAttributes({name:"name",size:"size"});let uniqueArray=ei=>[...new Set(ei)],parseObjectToString=ei=>Object.entries(ei).filter(([ei,eo])=>void 0!==eo&&""!==eo).map(([ei,eo])=>"cdn-operations"===ei||"analytics"===ei?eo:`${ei}/${eo}`),ri="https://ucarecdn.com",ro=Object.freeze({"dev-mode":{},pubkey:{},uuid:{},src:{},lazy:{default:1},intersection:{},breakpoints:{},"cdn-cname":{default:ri},"proxy-cname":{},"secure-delivery-proxy":{},"hi-res-support":{default:1},"ultra-res-support":{},format:{},"cdn-operations":{},progressive:{},quality:{},"is-background-for":{},"is-preview-blur":{default:1}}),ra="--lr-img-",rs="unresolved",rl=2,ru=3,rc=!window.location.host.trim()||window.location.host.includes(":")||window.location.hostname.includes("localhost"),rd=3e3,rf=5e3,rh=Object.freeze({PREVIEW:"PREVIEW",MAIN:"MAIN"}),rp=Object.create(null);for(let ei in ro)rp[ra+ei]=ro[ei]?.default||"";let ImgConfig=class ImgConfig extends eH{cssInit$=rp;$$(ei){return this.$[ra+ei]}set$$(ei){for(let eo in ei)this.$[ra+eo]=ei[eo]}sub$$(ei,eo){this.sub(ra+ei,ei=>{null!==ei&&""!==ei&&eo(ei)})}analyticsParams(){return`-/@clib/${tZ}/${tJ}/lr-img/`}initAttributes(ei){[...this.attributes].forEach(eo=>{ro[eo.name]||ei.setAttribute(eo.name,eo.value)})}initIntersection(ei,eo){let ea={root:null,rootMargin:"0px"};this._isnObserver=new IntersectionObserver(ea=>{ea.forEach(ea=>{ea.isIntersecting&&(eo(),this._isnObserver.unobserve(ei))})},ea),this._isnObserver.observe(ei),this._observed||(this._observed=new Set),this._observed.add(ei)}destroyCallback(){super.destroyCallback(),this._isnObserver&&(this._observed.forEach(ei=>{this._isnObserver.unobserve(ei)}),this._isnObserver=null),eE.deleteCtx(this)}static get observedAttributes(){return Object.keys(ro)}attributeChangedCallback(ei,eo,ea){window.setTimeout(()=>{this.$[ra+ei]=ea})}};let ImgBase=class ImgBase extends ImgConfig{_img=new Image;_imgPreview=new Image;_fmtAbs(ei){return ei.includes("//")||rc||(ei=new URL(ei,document.baseURI).href),ei}_validateSize(ei){if(ei?.trim()!==""){let eo=ei.match(/\d+/)[0],ea=ei.match(/[a-zA-Z]+/)[0],es=parseInt(eo,10);if(Number(es)>rf&&this.hasFormatJPG)return rf+ea;if(Number(es)>rd&&!this.hasFormatJPG)return rd+ea}return ei}_getCdnModifiers(ei,eo){let ea={format:this.$$("format"),quality:this.$$("quality"),resize:this._validateSize(ei),blur:eo,"cdn-operations":this.$$("cdn-operations"),analytics:this.analyticsParams()};return createCdnUrlModifiers(...parseObjectToString(ea))}_getUrlBase(ei="",eo=""){if(this.$$("src").startsWith("data:")||this.$$("src").startsWith("blob:"))return this.$$("src");if(rc&&this.$$("src")&&!this.$$("src").includes("//"))return this._proxyUrl(this.$$("src"));let ea=this._getCdnModifiers(ei,eo);return this.$$("src").startsWith(this.$$("cdn-cname"))?createCdnUrl(this.$$("src"),ea):this.$$("cdn-cname")&&this.$$("uuid")||this.$$("uuid")?this._proxyUrl(createCdnUrl(createOriginalUrl(this.$$("cdn-cname"),this.$$("uuid")),ea)):this.$$("proxy-cname")?this._proxyUrl(createCdnUrl(this.$$("proxy-cname"),ea,this._fmtAbs(this.$$("src")))):this.$$("pubkey")?this._proxyUrl(createCdnUrl(`https://${this.$$("pubkey")}.ucr.io/`,ea,this._fmtAbs(this.$$("src")))):void 0}_proxyUrl(ei){return this.$$("secure-delivery-proxy")?applyTemplateData(this.$$("secure-delivery-proxy"),{previewUrl:ei},{transform:ei=>window.encodeURIComponent(ei)}):ei}_getElSize(ei,eo=1,ea=!0){let es=ei.getBoundingClientRect(),eu=eo*Math.round(es.width),ec=ea?"":eo*Math.round(es.height);return eu||ec?`${eu||""}x${ec||""}`:null}_setupEventProxy(ei){let proxifyEvent=ei=>{ei.stopPropagation();let eo=new Event(ei.type,ei);this.dispatchEvent(eo)};for(let eo of["load","error"])ei.addEventListener(eo,proxifyEvent)}get img(){return this.hasPreviewImage||(this._setupConfigForImage({elNode:this._img}),this.appendChild(this._img)),this._img}get currentImg(){return this.hasPreviewImage?{type:rh.PREVIEW,img:this._imgPreview}:{type:rh.MAIN,img:this.img}}get hasPreviewImage(){return this.$$("is-preview-blur")}get bgSelector(){return this.$$("is-background-for")}get breakpoints(){if(!this.$$("breakpoints"))return null;{let ei=stringToArray(this.$$("breakpoints"));return uniqueArray(ei.map(ei=>parseInt(ei,10)))}}get hasFormatJPG(){return"jpeg"===this.$$("format").toLowerCase()}renderBg(ei){let eo=new Set;eo.add(`url("${this._getUrlBase(this._getElSize(ei))}") 1x`),this.$$("hi-res-support")&&eo.add(`url("${this._getUrlBase(this._getElSize(ei,rl))}") ${rl}x`),this.$$("ultra-res-support")&&eo.add(`url("${this._getUrlBase(this._getElSize(ei,ru))}") ${ru}x`);let ea=`image-set(${[...eo].join(", ")})`;ei.style.setProperty("background-image",ea),ei.style.setProperty("background-image","-webkit-"+ea)}getSrcset(){let ei=new Set;return this.breakpoints?this.breakpoints.forEach(eo=>{ei.add(this._getUrlBase(eo+"x")+` ${this._validateSize(eo+"w")}`),this.$$("hi-res-support")&&ei.add(this._getUrlBase(eo*rl+"x")+` ${this._validateSize(eo*rl+"w")}`),this.$$("ultra-res-support")&&ei.add(this._getUrlBase(eo*ru+"x")+` ${this._validateSize(eo*ru+"w")}`)}):(ei.add(this._getUrlBase(this._getElSize(this.currentImg.img))+" 1x"),this.$$("hi-res-support")&&ei.add(this._getUrlBase(this._getElSize(this.currentImg.img,2))+" 2x"),this.$$("ultra-res-support")&&ei.add(this._getUrlBase(this._getElSize(this.currentImg.img,3))+" 3x")),[...ei].join()}getSrc(){return this._getUrlBase()}get srcUrlPreview(){return this._getUrlBase("100x","100")}renderBackground(){[...document.querySelectorAll(this.bgSelector)].forEach(ei=>{this.$$("intersection")?this.initIntersection(ei,()=>{this.renderBg(ei)}):this.renderBg(ei)})}_appendURL({elNode:ei,src:eo,srcset:ea}){eo&&(ei.src=eo),ea&&(ei.srcset=ea)}_setupConfigForImage({elNode:ei}){this._setupEventProxy(ei),this.initAttributes(ei)}loaderImage({src:ei,srcset:eo,elNode:ea}){return new Promise((es,eu)=>{this._setupConfigForImage({elNode:ea}),ea.setAttribute(rs,""),ea.addEventListener("load",()=>{ea.removeAttribute(rs),es(ea)}),ea.addEventListener("error",()=>{eu(!1)}),this._appendURL({elNode:ea,src:ei,srcset:eo})})}async renderImage(){if(this.$$("intersection")){this.hasPreviewImage&&(this._setupConfigForImage({elNode:this._imgPreview}),this.appendChild(this._imgPreview)),this.initIntersection(this.currentImg.img,async()=>{this.hasPreviewImage&&(this._imgPreview.src=this.srcUrlPreview);try{await this.loaderImage({src:this.getSrc(),srcset:this.getSrcset(),elNode:this._img}),this.hasPreviewImage&&await this._imgPreview.remove(),this.appendChild(this._img)}catch(ei){this.hasPreviewImage&&await this._imgPreview?.remove(),this.appendChild(this._img)}});return}try{this.hasPreviewImage&&(await this.loaderImage({src:this.srcUrlPreview,elNode:this._imgPreview}),this.appendChild(this._imgPreview)),await this.loaderImage({src:this.getSrc(),srcset:this.getSrcset(),elNode:this._img}),this.hasPreviewImage&&await this._imgPreview?.remove(),this.appendChild(this._img)}catch(ei){this.hasPreviewImage&&await this._imgPreview?.remove(),this.appendChild(this._img)}}init(){this.bgSelector?this.renderBackground():this.renderImage()}};let Img=class Img extends ImgBase{initCallback(){super.initCallback(),this.sub$$("src",()=>{this.init()}),this.sub$$("uuid",()=>{this.init()}),this.sub$$("lazy",ei=>{this.$$("is-background-for")||this.$$("is-preview-blur")||(this.img.loading=ei?"lazy":"eager")})}};let SimpleBtn=class SimpleBtn extends UploaderBlock{couldBeCtxOwner=!0;constructor(){super(),this.init$={...this.init$,withDropZone:!0,onClick:()=>{this.initFlow()},"button-text":""}}initCallback(){super.initCallback(),this.defineAccessor("dropzone",ei=>{void 0!==ei&&(this.$.withDropZone=normalizeConfigValue_asBoolean(ei))}),this.subConfigValue("multiple",ei=>{this.$["button-text"]=ei?"upload-files":"upload-file"})}};SimpleBtn.template=`
  <lr-drop-area set="@disabled: !withDropZone">
    <button type="button" set="onclick: onClick">
      <lr-icon name="upload"></lr-icon>
      <span l10n="button-text"></span>
      <slot></slot>
      <div class="visual-drop-area" l10n="drop-files-here"></div>
    </button>
  </lr-drop-area>
`,SimpleBtn.bindAttributes({dropzone:null});let StartFrom=class StartFrom extends ActivityBlock{historyTracked=!0;activityType="start-from";initCallback(){super.initCallback(),this.registerActivity(this.activityType)}};function checkIsDirectory(ei){return new Promise(eo=>{"function"!=typeof window.FileReader&&eo(!1);try{let ea=new FileReader;ea.onerror=()=>{eo(!0)};let onLoad=ei=>{"loadend"!==ei.type&&ea.abort(),eo(!1)};ea.onloadend=onLoad,ea.onprogress=onLoad,ea.readAsDataURL(ei)}catch(ei){eo(!1)}})}function readEntryContentAsync(ei,eo){return new Promise(ea=>{let es=0,eu=[],readEntry=ei=>{ei||(console.warn("Unexpectedly received empty content entry",{scope:"drag-and-drop"}),ea(null)),ei.isFile?(es++,ei.file(ec=>{es--;let ed=new File([ec],ec.name,{type:ec.type||eo});eu.push({type:"file",file:ed,fullPath:ei.fullPath}),0===es&&ea(eu)})):ei.isDirectory&&readReaderContent(ei.createReader())},readReaderContent=ei=>{es++,ei.readEntries(ei=>{for(let eo of(es--,ei))readEntry(eo);0===es&&ea(eu)})};readEntry(ei)})}function getDropItems(ei){let eo=[],ea=[];for(let es=0;es<ei.items.length;es++){let eu=ei.items[es];if(eu){if("file"===eu.kind){let ei=eu.type;if("function"==typeof eu.webkitGetAsEntry||"function"==typeof eu.getAsEntry){let es="function"==typeof eu.webkitGetAsEntry?eu.webkitGetAsEntry():eu.getAsEntry();ea.push(readEntryContentAsync(es,ei).then(ei=>{ei&&eo.push(...ei)}));continue}let es=eu.getAsFile();es&&ea.push(checkIsDirectory(es).then(ei=>{ei||eo.push({type:"file",file:es})}))}else"string"===eu.kind&&eu.type.match("^text/uri-list")&&ea.push(new Promise(ei=>{eu.getAsString(ea=>{eo.push({type:"url",url:ea}),ei(void 0)})}))}}return Promise.all(ea).then(()=>eo)}StartFrom.template=' <div class="content"><slot></slot></div> ';let rm={ACTIVE:0,INACTIVE:1,NEAR:2,OVER:3},rg=["focus"],rb=100,rv=new Map;function distance(ei,eo){let ea=Math.max(Math.min(ei[0],eo.x+eo.width),eo.x),es=Math.max(Math.min(ei[1],eo.y+eo.height),eo.y);return Math.sqrt((ei[0]-ea)*(ei[0]-ea)+(ei[1]-es)*(ei[1]-es))}function addDropzone(ei){let eo=0,ea=document.body,es=new Set,handleSwitch=ei=>es.add(ei),eu=rm.INACTIVE,setState=eo=>{ei.shouldIgnore()&&eo!==rm.INACTIVE||(eu!==eo&&es.forEach(ei=>ei(eo)),eu=eo)},isDragging=()=>eo>0;handleSwitch(eo=>ei.onChange(eo));let onResetEvent=()=>{eo=0,setState(rm.INACTIVE)},onDragEnter=()=>{eo+=1,eu===rm.INACTIVE&&setState(rm.ACTIVE)},onDragLeave=()=>{eo-=1,isDragging()||setState(rm.INACTIVE)},onDrop=ei=>{ei.preventDefault(),eo=0,setState(rm.INACTIVE)},onDragOver=ea=>{if(ei.shouldIgnore())return;isDragging()||(eo+=1);let es=Math.floor(distance([ea.x,ea.y],ei.element.getBoundingClientRect())),eu=es<rb,ec=ea.composedPath().includes(ei.element);rv.set(ei.element,es);let ed=Math.min(...rv.values())===es;ec&&ed?(ea.preventDefault(),setState(rm.OVER)):eu&&ed?setState(rm.NEAR):setState(rm.ACTIVE)},onElementDrop=async eo=>{if(ei.shouldIgnore())return;eo.preventDefault();let ea=await getDropItems(eo.dataTransfer);ei.onItems(ea),setState(rm.INACTIVE)};return ea.addEventListener("drop",onDrop),ea.addEventListener("dragleave",onDragLeave),ea.addEventListener("dragenter",onDragEnter),ea.addEventListener("dragover",onDragOver),ei.element.addEventListener("drop",onElementDrop),rg.forEach(ei=>{window.addEventListener(ei,onResetEvent)}),()=>{rv.delete(ei.element),ea.removeEventListener("drop",onDrop),ea.removeEventListener("dragleave",onDragLeave),ea.removeEventListener("dragenter",onDragEnter),ea.removeEventListener("dragover",onDragOver),ei.element.removeEventListener("drop",onElementDrop),rg.forEach(ei=>{window.removeEventListener(ei,onResetEvent)})}}let ry="lr-drop-area",rw=`${ry}/registry`;let DropArea=class DropArea extends UploaderBlock{constructor(){super(),this.init$={...this.init$,state:rm.INACTIVE,withIcon:!1,isClickable:!1,isFullscreen:!1,isEnabled:!0,isVisible:!0,text:"",[rw]:null}}isActive(){if(!this.$.isEnabled)return!1;let ei=this.getBoundingClientRect(),eo=ei.width>0&&ei.height>0,ea=ei.top>=0&&ei.left>=0&&ei.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&ei.right<=(window.innerWidth||document.documentElement.clientWidth),es=window.getComputedStyle(this),eu="hidden"!==es.visibility&&"none"!==es.display;return eo&&eu&&ea}initCallback(){super.initCallback(),this.bindL10n("text",()=>this.l10n("drop-files-here")),this.$[rw]||(this.$[rw]=new Set),this.$[rw].add(this),this.defineAccessor("disabled",ei=>{this.set$({isEnabled:!normalizeConfigValue_asBoolean(ei)})}),this.defineAccessor("clickable",ei=>{this.set$({isClickable:normalizeConfigValue_asBoolean(ei)})}),this.defineAccessor("with-icon",ei=>{this.set$({withIcon:normalizeConfigValue_asBoolean(ei)})}),this.defineAccessor("fullscreen",ei=>{this.set$({isFullscreen:normalizeConfigValue_asBoolean(ei)})}),this.defineAccessor("text",ei=>{"string"==typeof ei?this.bindL10n("text",()=>this.l10n(ei)||ei):this.bindL10n("text",()=>this.l10n("drop-files-here"))}),this._destroyDropzone=addDropzone({element:this,shouldIgnore:()=>this._shouldIgnore(),onChange:ei=>{this.$.state=ei},onItems:ei=>{ei.length&&(ei.forEach(ei=>{"url"===ei.type?this.addFileFromUrl(ei.url,{source:tG.DROP_AREA}):"file"===ei.type&&this.addFileFromObject(ei.file,{source:tG.DROP_AREA,fullPath:ei.fullPath})}),this.uploadCollection.size&&(this.set$({"*currentActivity":ActivityBlock.activities.UPLOAD_LIST}),this.setOrAddState("*modalActive",!0)))}});let ei=this.ref["content-wrapper"];ei&&(this._destroyContentWrapperDropzone=addDropzone({element:ei,onChange:eo=>{let ea=Object.entries(rm).find(([,ei])=>ei===eo)?.[0].toLowerCase();ea&&ei.setAttribute("drag-state",ea)},onItems:()=>{},shouldIgnore:()=>this._shouldIgnore()})),this.sub("state",ei=>{let eo=Object.entries(rm).find(([,eo])=>eo===ei)?.[0].toLowerCase();eo&&this.setAttribute("drag-state",eo)}),this.subConfigValue("sourceList",ei=>{let eo=stringToArray(ei);this.$.isEnabled=eo.includes(UploaderBlock.sourceTypes.LOCAL),this.$.isVisible=this.$.isEnabled||!this.querySelector("[data-default-slot]")}),this.sub("isVisible",ei=>{this.toggleAttribute("hidden",!ei)}),this.sub("isClickable",ei=>{this.toggleAttribute("clickable",ei)}),this.$.isClickable&&(this._onAreaClicked=()=>{this.openSystemDialog()},this.addEventListener("click",this._onAreaClicked))}_shouldIgnore(){if(!this.$.isEnabled||!this._couldHandleFiles())return!0;if(!this.$.isFullscreen)return!1;let ei=[...this.$[rw]].filter(ei=>ei!==this),eo=ei.filter(ei=>ei.isActive());return eo.length>0}_couldHandleFiles(){let ei=this.cfg.multiple,eo=this.cfg.multipleMax,ea=this.uploadCollection.size;return(!ei||!eo||!(ea>=eo))&&(!!ei||!(ea>0))}destroyCallback(){super.destroyCallback();let ei=this.$[rw];ei&&(ei.delete(this),0===ei.size&&eE.deleteCtx(ry)),this._destroyDropzone?.(),this._destroyContentWrapperDropzone?.(),this._onAreaClicked&&this.removeEventListener("click",this._onAreaClicked)}};DropArea.template=`
  <slot>
    <div data-default-slot hidden></div>
    <div ref="content-wrapper" class="content-wrapper" set="@hidden: !isVisible">
      <div class="icon-container" set="@hidden: !withIcon">
        <lr-icon name="default"></lr-icon>
        <lr-icon name="arrow-down"></lr-icon>
      </div>
      <span class="text">{{text}}</span>
    </div>
  </slot>
`,DropArea.bindAttributes({"with-icon":null,clickable:null,text:null,fullscreen:null,disabled:null});let rx="src-type-";let SourceBtn=class SourceBtn extends UploaderBlock{couldBeCtxOwner=!0;type=void 0;_registeredTypes={};constructor(){super(),this.init$={...this.init$,iconName:"default","src-type":""}}initTypes(){for(let ei of(this.registerType({type:UploaderBlock.sourceTypes.LOCAL,activate:()=>(this.openSystemDialog(),!1)}),this.registerType({type:UploaderBlock.sourceTypes.URL,activity:ActivityBlock.activities.URL,textKey:"from-url"}),this.registerType({type:UploaderBlock.sourceTypes.CAMERA,activity:ActivityBlock.activities.CAMERA,activate:()=>{let ei="capture"in document.createElement("input");return ei&&this.openSystemDialog({captureCamera:!0}),!ei}}),this.registerType({type:"draw",activity:ActivityBlock.activities.DRAW,icon:"edit-draw"}),Object.values(UploaderBlock.extSrcList)))this.registerType({type:ei,activity:ActivityBlock.activities.EXTERNAL,activityParams:{externalSourceType:ei}})}initCallback(){super.initCallback(),this.initTypes(),this.setAttribute("role","button"),this.defineAccessor("type",ei=>{ei&&this.applyType(ei)})}registerType(ei){this._registeredTypes[ei.type]=ei}getType(ei){return this._registeredTypes[ei]}activate(){if(!this.type)return;let ei=this._registeredTypes[this.type],{activity:eo,activate:ea,activityParams:es={}}=ei,eu=ea?ea():!!eo;eu&&this.set$({"*currentActivityParams":es,"*currentActivity":eo})}applyType(ei){let eo=this._registeredTypes[ei];if(!eo){console.warn("Unsupported source type: "+ei);return}let{textKey:ea=ei,icon:es=ei}=eo;this.$["src-type"]=`${rx}${ea}`,this.$.iconName=es,this.onclick=()=>{this.activate()}}};SourceBtn.template=`
  <lr-icon set="@name: iconName"></lr-icon>
  <div class="txt" l10n="src-type"></div>
`,SourceBtn.bindAttributes({type:null});let SourceList=class SourceList extends Block{initCallback(){super.initCallback(),this.subConfigValue("sourceList",ei=>{let eo=stringToArray(ei),ea="";eo.forEach(ei=>{ea+=`<lr-source-btn type="${ei}"></lr-source-btn>`}),this.cfg.sourceListWrap?this.innerHTML=ea:this.outerHTML=ea})}};let readJpegChunks=()=>{let ei=[],promiseReadJpegChunks=eo=>new Promise((ea,es)=>{let eu=2,readToView=(ei,eo)=>{let ea=new FileReader;ea.addEventListener("load",()=>{eo(new DataView(ea.result))}),ea.addEventListener("error",ei=>{es(`Reader error: ${ei}`)}),ea.readAsArrayBuffer(ei)},readNext=()=>readToView(eo.slice(eu,eu+128),ei=>{let eo,ea,es;for(eo=ea=0,es=ei.byteLength;es>=0?ea<es:ea>es;eo=es>=0?++ea:--ea)if(255===ei.getUint8(eo)){eu+=eo;break}readNextChunk()}),readNextChunk=()=>{let ec=eu;return readToView(eo.slice(eu,eu+=4),ed=>{if(4!==ed.byteLength||255!==ed.getUint8(0)){es("Corrupted");return}let ef=ed.getUint8(1);if(218===ef){ea(!0);return}let eh=ed.getUint16(2)-2;return readToView(eo.slice(eu,eu+=eh),eo=>{if(eo.byteLength!==eh){es("Corrupted");return}ei.push({startPos:ec,length:eh,marker:ef,view:eo}),readNext()})})};FileReader&&DataView||es("Not Support"),readToView(eo.slice(0,2),ei=>{65496!==ei.getUint16(0)&&es("Not jpeg"),readNext()})});return{stack:ei,promiseReadJpegChunks}},getIccProfile=async ei=>{let eo=[],{promiseReadJpegChunks:ea,stack:es}=readJpegChunks();return await ea(ei),es.forEach(({marker:ei,view:ea})=>{226===ei&&1229144927===ea.getUint32(0)&&1347571526===ea.getUint32(4)&&1229735168===ea.getUint32(8)&&eo.push(ea)}),eo},replaceJpegChunk=async(ei,eo,ea)=>{{let es=[],eu=[],{promiseReadJpegChunks:ec,stack:ed}=readJpegChunks();await ec(ei),ed.forEach(ei=>{if(ei.marker===eo)return es.push(ei.startPos),eu.push(ei.length)});let ef=[ei.slice(0,2)];for(let ei of ea){let ea=new DataView(new ArrayBuffer(4));ea.setUint16(0,65280+eo),ea.setUint16(2,ei.byteLength+2),ef.push(ea.buffer),ef.push(ei)}let eh=2;for(let eo=0;eo<es.length;eo++)es[eo]>eh&&ef.push(ei.slice(eh,es[eo])),eh=es[eo]+eu[eo]+4;return ef.push(ei.slice(eh,ei.size)),new Blob(ef,{type:ei.type})}},rP=226,replaceIccProfile=(ei,eo)=>replaceJpegChunk(ei,rP,eo.map(ei=>ei.buffer)),stripIccProfile=async ei=>{try{return await replaceIccProfile(ei,[])}catch(ei){throw Error(`Failed to strip ICC profile: ${ei}`)}},canvasToBlob=(ei,eo,ea)=>new Promise((es,eu)=>{let callback=ei=>{if(!ei){eu("Failed to convert canvas to blob");return}es(ei)};ei.toBlob(callback,eo,ea),ei.width=ei.height=1}),createCanvas=()=>{let ei=document.createElement("canvas"),eo=ei.getContext("2d");return{canvas:ei,ctx:eo}},hasTransparency=ei=>{let eo=50,{ctx:ea,canvas:es}=createCanvas();es.width=es.height=eo,ea.drawImage(ei,0,0,eo,eo);let eu=ea.getImageData(0,0,eo,eo).data;es.width=es.height=1;for(let ei=3;ei<eu.length;ei+=4)if(eu[ei]<254)return!0;return!1},getExif=async ei=>{let eo=null,{promiseReadJpegChunks:ea,stack:es}=readJpegChunks();return await ea(ei),es.forEach(({marker:ei,view:ea})=>{if(!eo&&225===ei&&ea.byteLength>=14&&1165519206===ea.getUint32(0)&&0===ea.getUint16(4)){eo=ea;return}}),eo},rS="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=",isBrowserApplyExifOrientation=()=>new Promise(ei=>{if(void 0!==es)ei(es);else{let eo=new Image;eo.addEventListener("load",()=>{es=eo.naturalWidth<eo.naturalHeight,eo.src="//:0",ei(es)}),eo.src=rS}}),findExifOrientation=(ei,eo)=>{let ea,es,eu,ec;if(!ei||ei.byteLength<14||1165519206!==ei.getUint32(0)||0!==ei.getUint16(4))return;if(18761===ei.getUint16(6))es=!0;else{if(19789!==ei.getUint16(6))return;es=!1}if(42!==ei.getUint16(8,es))return;eu=8+ei.getUint32(10,es);let ed=ei.getUint16(eu-2,es);for(ea=0,ec=ed;ec>=0?ea<ec:ea>ec;ec>=0?++ea:--ea){if(ei.byteLength<eu+10)return;274===ei.getUint16(eu,es)&&eo(eu+8,es),eu+=12}},setExifOrientation=(ei,eo)=>{findExifOrientation(ei,(ea,es)=>ei.setUint16(ea,eo,es))},replaceExif=async(ei,eo,ea)=>(ea&&setExifOrientation(eo,1),replaceJpegChunk(ei,225,[eo.buffer])),processImage=(ei,eo)=>new Promise((ea,es)=>{eo&&(ei.src=eo),ei.complete?ea(ei):(ei.addEventListener("load",()=>{ea(ei)}),ei.addEventListener("error",()=>{es(Error("Failed to load image. Probably not an image."))}))}),imageLoader=ei=>processImage(new Image,ei),rE=[1,3],rk=[192,193,194,195,197,198,199,201,202,203,205,206,207],rT={squareSide:[Math.floor(Math.sqrt(5e6)),4096,8192,11180,10836,11402,14188,16384],dimension:[4096,8192,16384,32767,65535]},shouldSkipShrink=async ei=>{let eo=!1,{promiseReadJpegChunks:ea,stack:es}=readJpegChunks();return await ea(ei).then(()=>(es.forEach(({marker:ei,view:ea})=>{if(!eo&&rk.indexOf(ei)>=0){let ei=ea.getUint8(5);0>rE.indexOf(ei)&&(eo=!0)}}),eo)).catch(()=>eo)},index_browser_memoize=(ei,eo)=>{let ea={};return(...es)=>{let eu=eo(es,ea);return eu in ea?ea[eu]:ea[eu]=ei(...es)}},memoKeySerializer=(ei,eo)=>{let[ea]=ei,es=Object.keys(eo).map(ei=>parseInt(ei,10)).sort((ei,eo)=>ei-eo);for(let ei=0;ei<es.length;ei++){let eu=es[ei],ec=!!eo[eu];if(eu>ea&&ec||eu<ea&&!ec)return eu}return ea},rC={R:55,G:110,B:165,A:255},r_=`rgba(${rC.R}, ${rC.G}, ${rC.B}, ${rC.A/255})`,canvasTest=(ei,eo)=>{try{let ea=[ei-1,eo-1,1,1],{canvas:es,ctx:eu}=createCanvas();es.width=1,es.height=1;let{canvas:ec,ctx:ed}=createCanvas();ec.width=ei,ec.height=eo,ed&&(ed.fillStyle=r_,ed.fillRect(...ea),eu.drawImage(ec,ei-1,eo-1,1,1,0,0,1,1));let ef=eu&&eu.getImageData(0,0,1,1).data,eh=!1;return ef&&(eh=ef[0]===rC.R&&ef[1]===rC.G&&ef[2]===rC.B&&ef[3]===rC.A),ec.width=ec.height=1,eh}catch(ea){return console.error(`Failed to test for max canvas size of ${ei}x${eo}.`),!1}};function wrapAsync(ei){return(...eo)=>new Promise(ea=>{setTimeout(()=>{let es=ei(...eo);ea(es)},0)})}let rA=wrapAsync(index_browser_memoize(canvasTest,memoKeySerializer)),rO=wrapAsync(index_browser_memoize(canvasTest,memoKeySerializer)),testCanvasSize=async(ei,eo)=>{let ea=rT.squareSide.find(ea=>ea*ea>=ei*eo),es=rT.dimension.find(ea=>ea>=ei&&ea>=eo);if(!ea||!es)throw Error("Not supported");let[eu,ec]=await Promise.all([rA(ea,ea),rO(es,1)]);if(eu&&ec)return!0;throw Error("Not supported")},canvasResize=async(ei,eo,ea)=>{try{let{ctx:es,canvas:eu}=createCanvas();return eu.width=eo,eu.height=ea,es.imageSmoothingQuality="high",es.drawImage(ei,0,0,eo,ea),ei instanceof HTMLImageElement&&(ei.src="//:0"),ei instanceof HTMLCanvasElement&&(ei.width=ei.height=1),eu}catch(ei){throw Error("Canvas resize error",{cause:ei})}},index_browser_native=({img:ei,targetW:eo,targetH:ea})=>canvasResize(ei,eo,ea),calcShrinkSteps=function({sourceW:ei,targetW:eo,targetH:ea,step:es}){let eu=[],ec=eo,ed=ea;do eu.push([ec,ed]),ec=Math.round(ec/es),ed=Math.round(ed/es);while(ec<ei*es);return eu.reverse()},fallback=({img:ei,sourceW:eo,targetW:ea,targetH:es,step:eu})=>{let ec=calcShrinkSteps({sourceW:eo,targetW:ea,targetH:es,step:eu});return ec.reduce((ei,[eo,ea])=>ei.then(ei=>testCanvasSize(eo,ea).then(()=>canvasResize(ei,eo,ea)).catch(()=>ei)),Promise.resolve(ei))},isIOS=()=>!!/iPad|iPhone|iPod/.test(navigator.platform)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),rM=navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),rR=.71,shrinkImage=(ei,eo)=>{if(ei.width*rR*ei.height*rR<eo.size)throw Error("Not required");let ea=ei.width,es=ei.height,eu=ea/es,ec=Math.floor(Math.sqrt(eo.size*eu)),ed=Math.floor(eo.size/Math.sqrt(eo.size*eu));return testCanvasSize(ec,ed).then(()=>{let{ctx:eo}=createCanvas(),es="imageSmoothingQuality"in eo,eu=es&&!isIOS()&&!rM;return eu?index_browser_native({img:ei,targetW:ec,targetH:ed}):fallback({img:ei,sourceW:ea,targetW:ec,targetH:ed,step:rR})}).catch(()=>Promise.reject("Not supported"))},shrinkFile=async(ei,eo)=>{try{let ea=await shouldSkipShrink(ei);if(ea)throw Error("Should skipped");let es=await Promise.allSettled([getExif(ei),isBrowserApplyExifOrientation(),getIccProfile(ei)]),eu=es.some(ei=>"rejected"===ei.status),ec=!eu,[ed,ef,eh]=es,ep=await stripIccProfile(ei).catch(()=>ei),em=await imageLoader(URL.createObjectURL(ep));URL.revokeObjectURL(em.src);let eg=await shrinkImage(em,eo),eb="image/jpeg",ey=eo?.quality||.8;!ec&&hasTransparency(eg)&&(eb="image/png",ey=void 0);let ew=await canvasToBlob(eg,eb,ey);if(ec&&"fulfilled"===ed.status&&ed.value){let ei=ed.value,eo="fulfilled"===ef.status&&ef.value;ew=await replaceExif(ew,ei,eo)}return ec&&"fulfilled"===eh.status&&eh.value.length>0&&(ew=await replaceIccProfile(ew,eh.value)),ew}catch(eo){let ei;throw eo instanceof Error&&(ei=eo.message),"string"==typeof eo&&(ei=eo),Error(`Failed to shrink image. ${ei?`Message: "${ei}".`:""}`,{cause:eo})}};function createSvgBlobUrl(ei){let eo=new Blob([ei],{type:"image/svg+xml"});return URL.createObjectURL(eo)}function checkerboardCssBg(ei="#fff",eo="rgba(0, 0, 0, .1)"){return createSvgBlobUrl(`<svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
    <rect x="0" y="0" width="20" height="20" fill="${ei}" />
    <rect x="0" y="0" width="10" height="10" fill="${eo}" />
    <rect x="10" y="10" width="10" height="10" fill="${eo}" />
  </svg>`)}function fileCssBg(ei="hsl(209, 21%, 65%)",eo=32,ea=32){return createSvgBlobUrl(`
  <svg width="${eo}" height="${ea}" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path fill-rule="evenodd" fill="${ei}" d="M9.68848 8.70068C9.68848 8.42454 9.91233 8.20068 10.1885 8.20068H15.0885C15.2211 8.20068 15.3483 8.25336 15.442 8.34713L20.342 13.2471C20.4358 13.3409 20.4885 13.4681 20.4885 13.6007V21.3007C20.4885 21.5768 20.2646 21.8007 19.9885 21.8007H10.1885C9.91233 21.8007 9.68848 21.5768 9.68848 21.3007V8.70068ZM10.6885 9.20068V20.8007H19.4885V14.1007L15.0885 14.1007C14.8123 14.1007 14.5885 13.8768 14.5885 13.6007L14.5885 9.20068H10.6885ZM15.5885 9.90779L18.7814 13.1007L15.5885 13.1007L15.5885 9.90779Z"/>
  </svg>
  `)}function generateThumb(ei,eo=40){if("image/svg+xml"===ei.type)return URL.createObjectURL(ei);let ea=document.createElement("canvas"),es=ea.getContext("2d"),eu=new Image,ec=new Promise((ei,ec)=>{eu.onload=()=>{let ed=eu.height/eu.width;ed>1?(ea.width=eo,ea.height=eo*ed):(ea.height=eo,ea.width=eo/ed),es.fillStyle="rgb(240, 240, 240)",es.fillRect(0,0,ea.width,ea.height),es.drawImage(eu,0,0,ea.width,ea.height),ea.toBlob(eo=>{if(!eo){ec();return}ei(URL.createObjectURL(eo))})},eu.onerror=ei=>{ec(ei)}});return eu.src=URL.createObjectURL(ei),ec}let rj=16384,rN=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,parseShrink=ei=>{let eo=rN.exec(ei?.toLocaleLowerCase())||[];if(!eo.length)return!1;let ea=eo[1]*eo[2],es=rj*rj;return ea>es?(console.warn(`Shrinked size can not be larger than ${Math.floor(es/1e3/1e3)}MP. You have set ${eo[1]}x${eo[2]} (${Math.ceil(ea/1e3/100)/10}MP).`),!1):{quality:eo[3]?eo[3]/100:void 0,size:ea}},rL=Object.freeze({FINISHED:Symbol(0),FAILED:Symbol(1),UPLOADING:Symbol(2),IDLE:Symbol(3)});let FileItem=class FileItem extends UploaderBlock{couldBeCtxOwner=!0;pauseRender=!0;_entrySubs=new Set;_entry=null;_isIntersecting=!1;_debouncedGenerateThumb=debounce(this._generateThumbnail.bind(this),100);_debouncedCalculateState=debounce(this._calculateState.bind(this),100);_renderedOnce=!1;constructor(){super(),this.init$={...this.init$,uid:"",itemName:"",errorText:"",thumbUrl:"",progressValue:0,progressVisible:!1,badgeIcon:"",isFinished:!1,isFailed:!1,isUploading:!1,isFocused:!1,isEditable:!1,state:rL.IDLE,onEdit:()=>{this.set$({"*focusedEntry":this._entry}),this.hasBlockInCtx(ei=>ei.activityType===ActivityBlock.activities.DETAILS)?this.$["*currentActivity"]=ActivityBlock.activities.DETAILS:this.$["*currentActivity"]=ActivityBlock.activities.CLOUD_IMG_EDIT},onRemove:()=>{this.uploadCollection.remove(this.$.uid)},onUpload:()=>{this.upload()}}}_reset(){for(let ei of this._entrySubs)ei.remove();this._debouncedGenerateThumb.cancel(),this._debouncedCalculateState.cancel(),this._entrySubs=new Set,this._entry=null}_observerCallback(ei){let[eo]=ei;this._isIntersecting=eo.isIntersecting,eo.isIntersecting&&!this._renderedOnce&&(this.render(),this._renderedOnce=!0),0===eo.intersectionRatio?this._debouncedGenerateThumb.cancel():this._debouncedGenerateThumb()}_calculateState(){if(!this._entry)return;let ei=this._entry,eo=rL.IDLE;ei.getValue("errors").length>0?eo=rL.FAILED:ei.getValue("isUploading")?eo=rL.UPLOADING:ei.getValue("fileInfo")&&(eo=rL.FINISHED),this.$.state=eo}async _generateThumbnail(){if(!this._entry)return;let ei=this._entry;if(ei.getValue("fileInfo")&&ei.getValue("isImage")){let eo=this.cfg.thumbSize,ea=this.proxyUrl(createCdnUrl(createOriginalUrl(this.cfg.cdnCname,this._entry.getValue("uuid")),createCdnUrlModifiers(ei.getValue("cdnUrlModifiers"),`scale_crop/${eo}x${eo}/center`))),es=ei.getValue("thumbUrl");es!==ea&&(ei.setValue("thumbUrl",ea),es?.startsWith("blob:")&&URL.revokeObjectURL(es));return}if(!ei.getValue("thumbUrl")){if(ei.getValue("file")?.type.includes("image"))try{let eo=await generateThumb(ei.getValue("file"),this.cfg.thumbSize);ei.setValue("thumbUrl",eo)}catch(ea){let eo=window.getComputedStyle(this).getPropertyValue("--clr-generic-file-icon");ei.setValue("thumbUrl",fileCssBg(eo))}else{let eo=window.getComputedStyle(this).getPropertyValue("--clr-generic-file-icon");ei.setValue("thumbUrl",fileCssBg(eo))}}}_subEntry(ei,eo){let ea=this._entry.subscribe(ei,ei=>{this.isConnected&&eo(ei)});this._entrySubs.add(ea)}_handleEntryId(ei){this._reset();let eo=this.uploadCollection?.read(ei);this._entry=eo,eo&&(this._subEntry("uploadProgress",ei=>{this.$.progressValue=ei}),this._subEntry("fileName",ei=>{this.$.itemName=ei||eo.getValue("externalUrl")||this.l10n("file-no-name"),this._debouncedCalculateState()}),this._subEntry("externalUrl",ei=>{this.$.itemName=eo.getValue("fileName")||ei||this.l10n("file-no-name")}),this._subEntry("fileInfo",ei=>{this._debouncedCalculateState(),ei&&this._isIntersecting&&this._debouncedGenerateThumb()}),this._subEntry("cdnUrlModifiers",()=>{this._isIntersecting&&this._debouncedGenerateThumb()}),this._subEntry("thumbUrl",ei=>{this.$.thumbUrl=ei?`url(${ei})`:""}),this._subEntry("errors",()=>this._debouncedCalculateState()),this._subEntry("isUploading",()=>this._debouncedCalculateState()),this._subEntry("fileSize",()=>this._debouncedCalculateState()),this._subEntry("mimeType",()=>this._debouncedCalculateState()),this._subEntry("isImage",()=>this._debouncedCalculateState()),this._isIntersecting&&this._debouncedGenerateThumb())}initCallback(){super.initCallback(),this.sub("uid",ei=>{this._handleEntryId(ei)}),this.sub("state",ei=>{this._handleState(ei)}),this.subConfigValue("useCloudImageEditor",()=>this._debouncedCalculateState()),this.onclick=()=>{FileItem.activeInstances.forEach(ei=>{ei===this?ei.setAttribute("focused",""):ei.removeAttribute("focused")})},this.sub("*uploadTrigger",ei=>{ei.has(this._entry.uid)&&setTimeout(()=>this.isConnected&&this.upload())}),FileItem.activeInstances.add(this)}_handleState(ei){ei===rL.FAILED?this.$.badgeIcon="badge-error":ei===rL.FINISHED&&(this.$.badgeIcon="badge-success"),ei===rL.UPLOADING?this.$.isFocused=!1:this.$.progressValue=0,this.set$({isFailed:ei===rL.FAILED,isUploading:ei===rL.UPLOADING,isFinished:ei===rL.FINISHED,progressVisible:ei===rL.UPLOADING,isEditable:this.cfg.useCloudImageEditor&&this._entry?.getValue("isImage")&&this._entry?.getValue("cdnUrl"),errorText:this._entry.getValue("errors")?.[0]?.message})}destroyCallback(){super.destroyCallback(),FileItem.activeInstances.delete(this),this._reset()}connectedCallback(){super.connectedCallback(),this._observer=new window.IntersectionObserver(this._observerCallback.bind(this),{root:this.parentElement,rootMargin:"50% 0px 50% 0px",threshold:[0,1]}),this._observer.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this._debouncedGenerateThumb.cancel(),this._observer?.disconnect()}_settingsOfShrink(){return parseShrink(this.cfg.imageShrink)}_processShrink(ei){return shrinkFile(ei,this._settingsOfShrink())}async upload(){let ei=this._entry;if(!this.uploadCollection.read(ei.uid)||ei.getValue("fileInfo")||ei.getValue("isUploading")||ei.getValue("errors").length>0)return;let eo=this.cfg.multiple?this.cfg.multipleMax:1;if(!eo||!(this.uploadCollection.size>eo)){this._debouncedCalculateState(),ei.setValue("isUploading",!0),ei.setValue("errors",[]);try{let eo=new AbortController;ei.setValue("abortController",eo);let uploadTask=async()=>{let ea=ei.getValue("file");ea&&this.cfg.imageShrink&&(ea=await this._processShrink(ea).catch(()=>ea));let es=ea||ei.getValue("externalUrl")||ei.getValue("uuid"),eu=this.getUploadClientOptions(),ec={...eu,fileName:ei.getValue("fileName"),source:ei.getValue("source"),onProgress:eo=>{if(eo.isComputable){let ea=100*eo.value;ei.setValue("uploadProgress",ea)}},signal:eo.signal,metadata:await this.getMetadataFor(ei.uid)};return this.debugPrint("upload options",es,ec),uploadFile(es,ec)},ea=await this.$["*uploadQueue"].add(uploadTask);ei.setMultipleValues({fileInfo:ea,isUploading:!1,fileName:ea.originalFilename,fileSize:ea.size,isImage:ea.isImage,mimeType:ea.contentInfo?.mime?.mime??ea.mimeType,uuid:ea.uuid,cdnUrl:ei.getValue("cdnUrl")??ea.cdnUrl,cdnUrlModifiers:ei.getValue("cdnUrlModifiers")??"",uploadProgress:100}),ei===this._entry&&this._debouncedCalculateState()}catch(eo){eo instanceof CancelError&&eo.isCancel?ei.setMultipleValues({isUploading:!1,uploadProgress:0}):ei.setMultipleValues({isUploading:!1,uploadProgress:0,uploadError:eo}),ei===this._entry&&this._debouncedCalculateState()}}}};FileItem.template=`
  <div class="inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
    <div class="thumb" set="style.backgroundImage: thumbUrl">
      <div class="badge">
        <lr-icon set="@name: badgeIcon"></lr-icon>
      </div>
    </div>
    <div class="file-name-wrapper">
      <span class="file-name" set="@title: itemName">{{itemName}}</span>
      <span class="file-error" set="@hidden: !errorText">{{errorText}}</span>
    </div>
    <div class="file-actions">
      <button type="button" class="edit-btn mini-btn" set="onclick: onEdit; @hidden: !isEditable">
        <lr-icon name="edit-file"></lr-icon>
      </button>
      <button type="button" class="remove-btn mini-btn" set="onclick: onRemove;">
        <lr-icon name="remove-file"></lr-icon>
      </button>
      <button type="button" class="upload-btn mini-btn" set="onclick: onUpload;">
        <lr-icon name="upload"></lr-icon>
      </button>
    </div>
    <lr-progress-bar class="progress-bar" set="value: progressValue; visible: progressVisible;"> </lr-progress-bar>
  </div>
`,FileItem.activeInstances=new Set;let Modal=class Modal extends Block{static StateConsumerScope="modal";constructor(){super(),this.init$={...this.init$,"*modalActive":!1,isOpen:!1,closeClicked:this._handleDialogClose}}_handleBackdropClick=()=>{this._closeDialog()};_closeDialog=()=>{this.setOrAddState("*modalActive",!1)};_handleDialogClose=()=>{this._closeDialog()};_handleDialogMouseDown=ei=>{this._mouseDownTarget=ei.target};_handleDialogMouseUp=ei=>{ei.target===this.ref.dialog&&ei.target===this._mouseDownTarget&&this._closeDialog()};show(){this.ref.dialog.showModal?this.ref.dialog.showModal():this.ref.dialog.setAttribute("open","")}hide(){this.ref.dialog.close?this.ref.dialog.close():this.ref.dialog.removeAttribute("open")}initCallback(){if(super.initCallback(),"function"==typeof HTMLDialogElement)this.ref.dialog.addEventListener("close",this._handleDialogClose),this.ref.dialog.addEventListener("mousedown",this._handleDialogMouseDown),this.ref.dialog.addEventListener("mouseup",this._handleDialogMouseUp);else{this.setAttribute("dialog-fallback","");let ei=document.createElement("div");ei.className="backdrop",this.appendChild(ei),ei.addEventListener("click",this._handleBackdropClick)}this.sub("*modalActive",ei=>{this.$.isOpen!==ei&&(this.$.isOpen=ei),ei&&this.cfg.modalScrollLock?document.body.style.overflow="hidden":document.body.style.overflow=""}),this.subConfigValue("modalBackdropStrokes",ei=>{ei?this.setAttribute("strokes",""):this.removeAttribute("strokes")}),this.sub("isOpen",ei=>{ei?this.show():this.hide()})}destroyCallback(){super.destroyCallback(),document.body.style.overflow="",this._mouseDownTarget=void 0,this.ref.dialog.removeEventListener("close",this._handleDialogClose),this.ref.dialog.removeEventListener("mousedown",this._handleDialogMouseDown),this.ref.dialog.removeEventListener("mouseup",this._handleDialogMouseUp)}};Modal.template=`
  <dialog ref="dialog">
    <slot></slot>
  </dialog>
`;let throttle=(ei,eo)=>{let ea,es,eu;let throttled=(...ec)=>{ea?(clearTimeout(es),es=setTimeout(()=>{Date.now()-eu>=eo&&(ei(...ec),eu=Date.now())},Math.max(eo-(Date.now()-eu),0))):(ei(...ec),eu=Date.now(),ea=!0)};return Object.defineProperty(throttled,"cancel",{configurable:!1,writable:!1,enumerable:!1,value:()=>{clearTimeout(es)}}),throttled};let UploadList=class UploadList extends UploaderBlock{couldBeCtxOwner=!0;historyTracked=!0;activityType=ActivityBlock.activities.UPLOAD_LIST;constructor(){super(),this.init$={...this.init$,doneBtnVisible:!1,doneBtnEnabled:!1,uploadBtnVisible:!1,addMoreBtnVisible:!1,addMoreBtnEnabled:!1,headerText:"",commonErrorMessage:"",hasFiles:!1,onAdd:()=>{this.initFlow(!0)},onUpload:()=>{this.emit(eG.UPLOAD_CLICK),this.uploadAll(),this._throttledHandleCollectionUpdate()},onDone:()=>{this.emit(eG.DONE_CLICK,this.getOutputCollectionState()),this.doneFlow()},onCancel:()=>{this.uploadCollection.clearAll()}}}_throttledHandleCollectionUpdate=throttle(()=>{this.isConnected&&(this._updateUploadsState(),this.couldOpenActivity||this.$["*currentActivity"]!==this.activityType||this.historyBack())},300);_updateUploadsState(){let ei=this.getOutputCollectionState(),eo={total:ei.totalCount,succeed:ei.successCount,uploading:ei.uploadingCount,failed:ei.failedCount},ea=!ei.errors.some(ei=>"TOO_MANY_FILES"===ei.type||"TOO_FEW_FILES"===ei.type),es=ei.errors.some(ei=>"TOO_MANY_FILES"===ei.type),eu=ei.totalCount===(this.cfg.multiple?this.cfg.multipleMax:1),ec=0===eo.failed,ed=!1,ef=!1,eh=!1,ep=eo.total-eo.succeed-eo.uploading-eo.failed;ep>0&&ea?ed=!0:(ef=!0,eh=eo.total===eo.succeed&&ea&&ec),this.set$({doneBtnVisible:ef,doneBtnEnabled:eh,uploadBtnVisible:ed,addMoreBtnEnabled:0===eo.total||!es&&!eu,addMoreBtnVisible:!eu||this.cfg.multiple}),this.bindL10n("headerText",()=>this._getHeaderText(eo))}_getHeaderText(ei){let localizedText=eo=>{let ea=ei[eo];return this.l10n(`header-${eo}`,{count:ea})};return localizedText(ei.uploading>0?"uploading":ei.failed>0?"failed":ei.succeed>0?"succeed":"total")}get couldOpenActivity(){return this.cfg.showEmptyList||this.uploadCollection.size>0}initCallback(){super.initCallback(),this.registerActivity(this.activityType),this.subConfigValue("multiple",this._throttledHandleCollectionUpdate),this.subConfigValue("multipleMin",this._throttledHandleCollectionUpdate),this.subConfigValue("multipleMax",this._throttledHandleCollectionUpdate),this.sub("*currentActivity",ei=>{this.couldOpenActivity||ei!==this.activityType||(this.$["*currentActivity"]=this.initActivity)}),this.uploadCollection.observeProperties(this._throttledHandleCollectionUpdate),this.sub("*uploadList",ei=>{this._throttledHandleCollectionUpdate(),this.set$({hasFiles:ei.length>0}),this.cfg.confirmUpload||this.uploadAll()},!1),this.sub("*collectionErrors",ei=>{let eo=ei.filter(ei=>"SOME_FILES_HAS_ERRORS"!==ei.type)[0];if(!eo){this.set$({commonErrorMessage:null});return}this.set$({commonErrorMessage:eo.message})})}destroyCallback(){super.destroyCallback(),this.uploadCollection.unobserveProperties(this._throttledHandleCollectionUpdate)}};UploadList.template=`
  <lr-activity-header>
    <span class="header-text">{{headerText}}</span>
    <button type="button" class="mini-btn close-btn" set="onclick: *closeModal">
      <lr-icon name="close"></lr-icon>
    </button>
  </lr-activity-header>

  <div class="no-files" set="@hidden: hasFiles">
    <slot name="empty"><span l10n="no-files"></span></slot>
  </div>

  <div class="files" repeat="*uploadList" repeat-item-tag="lr-file-item"></div>

  <div class="common-error" set="@hidden: !commonErrorMessage; textContent: commonErrorMessage;"></div>

  <div class="toolbar">
    <button type="button" class="cancel-btn secondary-btn" set="onclick: onCancel;" l10n="clear"></button>
    <div class="toolbar-spacer"></div>
    <button
      type="button"
      class="add-more-btn secondary-btn"
      set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
    >
      <lr-icon name="add"></lr-icon><span l10n="add-more"></span>
    </button>
    <button
      type="button"
      class="upload-btn primary-btn"
      set="@hidden: !uploadBtnVisible; onclick: onUpload;"
      l10n="upload"
    ></button>
    <button
      type="button"
      class="done-btn primary-btn"
      set="@hidden: !doneBtnVisible; onclick: onDone;  @disabled: !doneBtnEnabled"
      l10n="done"
    ></button>
  </div>

  <lr-drop-area ghost></lr-drop-area>
`;let UrlSource=class UrlSource extends UploaderBlock{couldBeCtxOwner=!0;activityType=ActivityBlock.activities.URL;init$={...this.init$,importDisabled:!0,onUpload:ei=>{ei.preventDefault();let eo=this.ref.input.value;this.addFileFromUrl(eo,{source:tG.URL_TAB}),this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST},onCancel:()=>{this.historyBack()},onInput:ei=>{let eo=ei.target.value;this.set$({importDisabled:!eo})}};initCallback(){super.initCallback(),this.registerActivity(this.activityType,{onActivate:()=>{this.ref.input.value="",this.ref.input.focus()}})}};UrlSource.template=`
  <lr-activity-header>
    <button type="button" class="mini-btn" set="onclick: *historyBack">
      <lr-icon name="back"></lr-icon>
    </button>
    <div>
      <lr-icon name="url"></lr-icon>
      <span l10n="caption-from-url"></span>
    </div>
    <button type="button" class="mini-btn close-btn" set="onclick: *closeModal">
      <lr-icon name="close"></lr-icon>
    </button>
  </lr-activity-header>
  <form class="content">
    <input placeholder="https://" class="url-input" type="text" ref="input" set="oninput: onInput" />
    <button
      type="submit"
      class="url-upload-btn primary-btn"
      set="onclick: onUpload; @disabled: importDisabled"
      l10n="upload-url"
    ></button>
  </form>
`;let canUsePermissionsApi=()=>void 0!==navigator.permissions;let CameraSource=class CameraSource extends UploaderBlock{couldBeCtxOwner=!0;activityType=ActivityBlock.activities.CAMERA;_unsubPermissions=null;init$={...this.init$,video:null,videoTransformCss:null,shotBtnDisabled:!0,videoHidden:!0,messageHidden:!0,requestBtnHidden:canUsePermissionsApi(),cameraSelectOptions:null,cameraSelectHidden:!0,l10nMessage:"",onCameraSelectChange:ei=>{this._selectedCameraId=ei.target.value,this._capture()},onCancel:()=>{this.historyBack()},onShot:()=>{this._shot()},onRequestPermissions:()=>{this._capture()}};_onActivate=()=>{canUsePermissionsApi()&&this._subscribePermissions(),this._capture()};_onDeactivate=()=>{this._unsubPermissions&&this._unsubPermissions(),this._stopCapture()};_handlePermissionsChange=()=>{this._capture()};_setPermissionsState=debounce(ei=>{this.classList.toggle("initialized","granted"===ei),"granted"===ei?this.set$({videoHidden:!1,shotBtnDisabled:!1,messageHidden:!0}):("prompt"===ei?this.$.l10nMessage="camera-permissions-prompt":this.$.l10nMessage="camera-permissions-denied",this.set$({videoHidden:!0,shotBtnDisabled:!0,messageHidden:!1}),this._stopCapture())},300);async _subscribePermissions(){try{(await navigator.permissions.query({name:"camera"})).addEventListener("change",this._handlePermissionsChange)}catch(ei){console.log("Failed to use permissions API. Fallback to manual request mode.",ei),this._capture()}}async _capture(){let ei={video:{width:{ideal:1920},height:{ideal:1080},frameRate:{ideal:30}},audio:!1};this._selectedCameraId&&(ei.video.deviceId={exact:this._selectedCameraId}),this._canvas=document.createElement("canvas"),this._ctx=this._canvas.getContext("2d");try{this._setPermissionsState("prompt");let eo=await navigator.mediaDevices.getUserMedia(ei);eo.addEventListener("inactive",()=>{this._setPermissionsState("denied")}),this.$.video=eo,this._capturing=!0,this._setPermissionsState("granted")}catch(ei){this._setPermissionsState("denied"),console.error("Failed to capture camera",ei)}}_stopCapture(){this._capturing&&(this.$.video?.getTracks()[0].stop(),this.$.video=null,this._capturing=!1)}_shot(){this._canvas.height=this.ref.video.videoHeight,this._canvas.width=this.ref.video.videoWidth,this._ctx.drawImage(this.ref.video,0,0);let ei=Date.now(),eo=`camera-${ei}.jpeg`,ea="image/jpeg";this._canvas.toBlob(es=>{let eu=new File([es],eo,{lastModified:ei,type:ea});this.addFileFromObject(eu,{source:tG.CAMERA}),this.set$({"*currentActivity":ActivityBlock.activities.UPLOAD_LIST})},ea)}async initCallback(){super.initCallback(),this.registerActivity(this.activityType,{onActivate:this._onActivate,onDeactivate:this._onDeactivate}),this.subConfigValue("cameraMirror",ei=>{this.$.videoTransformCss=ei?"scaleX(-1)":null});try{let ei=(await navigator.mediaDevices.enumerateDevices()).filter(ei=>"videoinput"===ei.kind).map((ei,eo)=>({text:ei.label.trim()||`${this.l10n("caption-camera")} ${eo+1}`,value:ei.deviceId}));ei.length>1&&(this.$.cameraSelectOptions=ei,this.$.cameraSelectHidden=!1),this._selectedCameraId=ei[0]?.value}catch(ei){}}};CameraSource.template=`
  <lr-activity-header>
    <button type="button" class="mini-btn" set="onclick: *historyBack">
      <lr-icon name="back"></lr-icon>
    </button>
    <div set="@hidden: !cameraSelectHidden">
      <lr-icon name="camera"></lr-icon>
      <span l10n="caption-camera"></span>
    </div>
    <lr-select
      class="camera-select"
      set="$.options: cameraSelectOptions; @hidden: cameraSelectHidden; onchange: onCameraSelectChange"
    >
    </lr-select>
    <button type="button" class="mini-btn close-btn" set="onclick: *closeModal">
      <lr-icon name="close"></lr-icon>
    </button>
  </lr-activity-header>
  <div class="content">
    <video
      autoplay
      playsinline
      set="srcObject: video; style.transform: videoTransformCss; @hidden: videoHidden"
      ref="video"
    ></video>
    <div class="message-box" set="@hidden: messageHidden">
      <span l10n="l10nMessage"></span>
      <button
        type="button"
        set="onclick: onRequestPermissions; @hidden: requestBtnHidden"
        l10n="camera-permissions-request"
      ></button>
    </div>
    <button type="button" class="shot-btn" set="onclick: onShot; @disabled: shotBtnDisabled">
      <lr-icon name="camera"></lr-icon>
    </button>
  </div>
`;let UiConfirmation=class UiConfirmation{captionL10nStr="confirm-your-action";messageL10Str="are-you-sure";confirmL10nStr="yes";denyL10nStr="no";confirmAction(){console.log("Confirmed")}denyAction(){this.historyBack()}};let ConfirmationDialog=class ConfirmationDialog extends ActivityBlock{activityType=ActivityBlock.activities.CONFIRMATION;_defaults=new UiConfirmation;init$={...this.init$,activityCaption:"",messageTxt:"",confirmBtnTxt:"",denyBtnTxt:"","*confirmation":null,onConfirm:this._defaults.confirmAction,onDeny:this._defaults.denyAction.bind(this)};initCallback(){super.initCallback(),this.set$({messageTxt:this.l10n(this._defaults.messageL10Str),confirmBtnTxt:this.l10n(this._defaults.confirmL10nStr),denyBtnTxt:this.l10n(this._defaults.denyL10nStr)}),this.sub("*confirmation",ei=>{ei&&this.set$({"*currentActivity":ActivityBlock.activities.CONFIRMATION,activityCaption:this.l10n(ei.captionL10nStr),messageTxt:this.l10n(ei.messageL10Str),confirmBtnTxt:this.l10n(ei.confirmL10nStr),denyBtnTxt:this.l10n(ei.denyL10nStr),onDeny:()=>{ei.denyAction()},onConfirm:()=>{ei.confirmAction()}})})}};ConfirmationDialog.template=`
  <lr-activity-header>
    <button type="button" class="mini-btn" set="onclick: *historyBack">
      <lr-icon name="back"></lr-icon>
    </button>
    <span>{{activityCaption}}</span>
    <button type="button" class="mini-btn close-btn" set="onclick: *closeModal">
      <lr-icon name="close"></lr-icon>
    </button>
  </lr-activity-header>

  <div class="message">{{messageTxt}}</div>
  <div class="toolbar">
    <button type="button" class="deny-btn secondary-btn" set="onclick: onDeny">{{denyBtnTxt}}</button>
    <button type="button" class="confirm-btn primary-btn" set="onclick: onConfirm">{{confirmBtnTxt}}</button>
  </div>
`;let ProgressBarCommon=class ProgressBarCommon extends UploaderBlock{init$={...this.init$,visible:!1,value:0,"*commonProgress":0};initCallback(){super.initCallback(),this._unobserveCollection=this.uploadCollection.observeProperties(()=>{let ei=this.uploadCollection.items().some(ei=>this.uploadCollection.read(ei).getValue("isUploading"));this.$.visible=ei}),this.sub("visible",ei=>{ei?this.setAttribute("active",""):this.removeAttribute("active")}),this.sub("*commonProgress",ei=>{this.$.value=ei})}destroyCallback(){super.destroyCallback(),this._unobserveCollection?.()}};ProgressBarCommon.template=' <lr-progress-bar set="visible: visible; value: value"></lr-progress-bar> ';let ProgressBar=class ProgressBar extends Block{_value=0;init$={...this.init$,width:0,opacity:0};initCallback(){super.initCallback(),this.defineAccessor("value",ei=>{if(void 0===ei)return;let eo=this._value;if(this._value=ei,0===ei&&eo>0){this.ref.line.addEventListener("transitionend",()=>{this.style.setProperty("--l-width",this._value.toString())});return}this.style.setProperty("--l-width",this._value.toString())}),this.defineAccessor("visible",ei=>{this.ref.line.classList.toggle("progress--hidden",!ei)})}};ProgressBar.template=' <div ref="line" class="progress"></div> ';let rD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";let FilePreview=class FilePreview extends Block{init$={...this.init$,checkerboard:!1,src:rD};constructor(){super()}initCallback(){super.initCallback(),this.sub("checkerboard",()=>{this.style.backgroundImage=this.hasAttribute("checkerboard")?`url(${checkerboardCssBg()})`:"unset"})}destroyCallback(){super.destroyCallback(),URL.revokeObjectURL(this._lastObjectUrl)}setImage(ei){this.$.src=ei.src}setImageFile(ei){let eo=URL.createObjectURL(ei);this.$.src=eo,this._lastObjectUrl=eo}setImageUrl(ei){this.$.src=ei}clear(){URL.revokeObjectURL(this._lastObjectUrl),this.$.src=rD}};function normalize(...ei){return ei.reduce((ei,eo)=>{if("string"==typeof eo)return ei[eo]=!0,ei;for(let ea of Object.keys(eo))ei[ea]=eo[ea];return ei},{})}function classNames(...ei){let eo=normalize(...ei);return Object.keys(eo).reduce((ei,ea)=>(eo[ea]&&ei.push(ea),ei),[]).join(" ")}function applyClassNames(ei,...eo){let ea=normalize(...eo);for(let eo of Object.keys(ea))ei.classList.toggle(eo,ea[eo])}FilePreview.template=' <lr-img class="img-view" ref="img" set="@src: src; style.aa: src;" /> ',FilePreview.bindAttributes({checkerboard:"checkerboard"});let parseTabs=ei=>{if(!ei)return tw;let eo=deserealizeCsv(ei).filter(ei=>tw.includes(ei));return 0===eo.length?tw:eo};function initState(ei){return{"*originalUrl":null,"*faderEl":null,"*cropperEl":null,"*imgEl":null,"*imgContainerEl":null,"*networkProblems":!1,"*imageSize":null,"*editorTransformations":{},"*cropPresetList":[],"*tabList":tw,"*tabId":ty.CROP,entry:null,extension:null,editorMode:!1,modalCaption:"",isImage:!1,msg:"",src:rD,fileType:"",showLoader:!1,uuid:null,cdnUrl:null,cropPreset:"",tabs:serializeCsv(tw),"presence.networkProblems":!1,"presence.modalCaption":!0,"presence.editorToolbar":!1,"presence.viewerToolbar":!0,"*on.retryNetwork":()=>{for(let eo of ei.querySelectorAll("img")){let ei=eo.src;eo.src=rD,eo.src=ei}ei.$["*networkProblems"]=!1},"*on.apply":eo=>{if(!eo)return;let ea=ei.$["*originalUrl"],es=createCdnUrlModifiers(transformationsToOperations(eo),"preview"),eu={originalUrl:ea,cdnUrlModifiers:es,cdnUrl:createCdnUrl(ea,es),transformations:eo};ei.dispatchEvent(new CustomEvent("apply",{detail:eu,bubbles:!0,composed:!0})),ei.remove()},"*on.cancel":()=>{ei.remove(),ei.dispatchEvent(new CustomEvent("cancel",{bubbles:!0,composed:!0}))}}}let rI=`
  <div class="wrapper wrapper_desktop">
    <lr-presence-toggle class="network_problems_splash" set="visible: presence.networkProblems;">
      <div class="network_problems_content">
        <div class="network_problems_icon">
          <lr-icon size="20" name="sad"></lr-icon>
        </div>
        <div class="network_problems_text">Network error</div>
      </div>
      <div class="network_problems_footer">
        <lr-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></lr-btn-ui>
      </div>
    </lr-presence-toggle>
    <div class="viewport">
      <div class="file_type_outer">
        <div class="file_type">{{fileType}}</div>
      </div>
      <div class="image_container" ref="img-container-el">
        <img src="${rD}" class="image image_visible_from_editor" ref="img-el" />
        <lr-editor-image-cropper ref="cropper-el"></lr-editor-image-cropper>
        <lr-editor-image-fader ref="fader-el"></lr-editor-image-fader>
      </div>
      <div class="info_pan">{{msg}}</div>
    </div>
    <div class="toolbar">
      <lr-line-loader-ui set="active: showLoader"></lr-line-loader-ui>
      <div class="toolbar_content toolbar_content__editor">
        <lr-editor-toolbar></lr-editor-toolbar>
      </div>
    </div>
  </div>
`;let CloudImageEditorBlock=class CloudImageEditorBlock extends Block{ctxOwner=!0;static className="cloud-image-editor";constructor(){super(),this.init$={...this.init$,...initState(this)}}_debouncedShowLoader=debounce(this._showLoader.bind(this),300);_showLoader(ei){this.$.showLoader=ei}_waitForSize(){let ei=3e3;return new Promise((eo,ea)=>{let es=setTimeout(()=>{ea(Error("[cloud-image-editor] timeout waiting for non-zero container size"))},ei),eu=new ResizeObserver(([ei])=>{ei.contentRect.width>0&&ei.contentRect.height>0&&(eo(),clearTimeout(es),eu.disconnect())});eu.observe(this)})}initCallback(){super.initCallback(),this.$["*faderEl"]=this.ref["fader-el"],this.$["*cropperEl"]=this.ref["cropper-el"],this.$["*imgContainerEl"]=this.ref["img-container-el"],this.initEditor()}async updateImage(){if(this.isConnected){if(await this._waitForSize(),this.$.cdnUrl){let ei=extractUuid(this.$.cdnUrl),eo=createOriginalUrl(this.$.cdnUrl,ei);if(eo===this.$["*originalUrl"])return;this.$["*originalUrl"]=eo;let ea=extractOperations(this.$.cdnUrl),es=operationsToTransformations(ea);this.$["*editorTransformations"]=es}else if(this.$.uuid){let ei=createOriginalUrl(this.cfg.cdnCname,this.$.uuid);if(ei===this.$["*originalUrl"])return;this.$["*originalUrl"]=ei,this.$["*editorTransformations"]={}}else throw Error("No UUID nor CDN URL provided");this.$["*tabId"]===ty.CROP?this.$["*cropperEl"].deactivate({reset:!0}):this.$["*faderEl"].deactivate();try{let ei=createCdnUrl(this.$["*originalUrl"],createCdnUrlModifiers("json")),eo=await fetch(ei).then(ei=>ei.json()),{width:ea,height:es}=eo;this.$["*imageSize"]={width:ea,height:es},this.$["*tabId"]===ty.CROP?this.$["*cropperEl"].activate(this.$["*imageSize"]):this.$["*faderEl"].activate({url:this.$["*originalUrl"]})}catch(ei){ei&&console.error("Failed to load image info",ei)}}}async initEditor(){try{await this._waitForSize()}catch(ei){this.isConnected&&console.error(ei.message);return}this.ref["img-el"].addEventListener("load",()=>{this._imgLoading=!1,this._debouncedShowLoader(!1),this.$.src!==rD&&(this.$["*networkProblems"]=!1)}),this.ref["img-el"].addEventListener("error",()=>{this._imgLoading=!1,this._debouncedShowLoader(!1),this.$["*networkProblems"]=!0}),this.sub("src",ei=>{let eo=this.ref["img-el"];eo.src!==ei&&(this._imgLoading=!0,eo.src=ei||rD)}),this.sub("cropPreset",ei=>{this.$["*cropPresetList"]=parseCropPreset(ei)}),this.sub("tabs",ei=>{this.$["*tabList"]=parseTabs(ei)}),this.sub("*tabId",ei=>{this.ref["img-el"].className=classNames("image",{image_hidden_to_cropper:ei===ty.CROP,image_hidden_effects:ei!==ty.CROP})}),this.classList.add("editor_ON"),this.sub("*networkProblems",ei=>{this.$["presence.networkProblems"]=ei,this.$["presence.modalCaption"]=!ei}),this.sub("*editorTransformations",ei=>{if(0===Object.keys(ei).length)return;let eo=this.$["*originalUrl"],ea=createCdnUrlModifiers(transformationsToOperations(ei),"preview"),es={originalUrl:eo,cdnUrlModifiers:ea,cdnUrl:createCdnUrl(eo,ea),transformations:ei};this.dispatchEvent(new CustomEvent("change",{detail:es,bubbles:!0,composed:!0}))},!1),this.sub("uuid",ei=>ei&&this.updateImage()),this.sub("cdnUrl",ei=>ei&&this.updateImage())}};CloudImageEditorBlock.template=rI,CloudImageEditorBlock.bindAttributes({uuid:"uuid","cdn-url":"cdnUrl","crop-preset":"cropPreset",tabs:"tabs"});let CropFrame=class CropFrame extends Block{constructor(){super(),this.init$={...this.init$,dragging:!1},this._handlePointerUp=this._handlePointerUp_.bind(this),this._handlePointerMove=this._handlePointerMove_.bind(this),this._handleSvgPointerMove=this._handleSvgPointerMove_.bind(this)}_shouldThumbBeDisabled(ei){let eo=this.$["*imageBox"];if(!eo)return;if(""===ei&&eo.height<=t$&&eo.width<=t$)return!0;let ea=eo.height<=t$&&(ei.includes("n")||ei.includes("s")),es=eo.width<=t$&&(ei.includes("e")||ei.includes("w"));return ea||es}_createBackdrop(){let ei=this.$["*cropBox"];if(!ei)return;let{x:eo,y:ea,width:es,height:eu}=ei,ec=this.ref["svg-el"],ed=createSvgNode("mask",{id:"backdrop-mask"}),ef=createSvgNode("rect",{x:0,y:0,width:"100%",height:"100%",fill:"white"}),eh=createSvgNode("rect",{x:eo,y:ea,width:es,height:eu,fill:"black"});ed.appendChild(ef),ed.appendChild(eh);let ep=createSvgNode("rect",{x:0,y:0,width:"100%",height:"100%",fill:"var(--color-image-background)","fill-opacity":.85,mask:"url(#backdrop-mask)"});ec.appendChild(ep),ec.appendChild(ed),this._backdropMask=ed,this._backdropMaskInner=eh}_resizeBackdrop(){this._backdropMask&&(this._backdropMask.style.display="none",window.requestAnimationFrame(()=>{this._backdropMask&&(this._backdropMask.style.display="block")}))}_updateBackdrop(){let ei=this.$["*cropBox"];if(!ei)return;let{x:eo,y:ea,width:es,height:eu}=ei;this._backdropMaskInner&&setSvgNodeAttrs(this._backdropMaskInner,{x:eo,y:ea,width:es,height:eu})}_updateFrame(){let ei=this.$["*cropBox"];if(ei&&this._frameGuides&&this._frameThumbs){for(let eo of Object.values(this._frameThumbs)){let{direction:ea,pathNode:es,interactionNode:eu,groupNode:ec}=eo,ed=""===ea,ef=2===ea.length,{x:eh,y:ep,width:em,height:eg}=ei;if(ed){let ei={x:eh+em/3,y:ep+eg/3,width:em/3,height:eg/3};setSvgNodeAttrs(eu,ei)}else{let eo=clamp(Math.min(em,eg)/(2*tF+tH)/2,0,1),{d:ec,center:ed}=ef?cornerPath(ei,ea,eo):sidePath(ei,ea,eo),eh=Math.max(tW*clamp(Math.min(em,eg)/tW/3,0,1),tK);setSvgNodeAttrs(eu,{x:ed[0]-eh,y:ed[1]-eh,width:2*eh,height:2*eh}),setSvgNodeAttrs(es,{d:ec})}let eb=this._shouldThumbBeDisabled(ea);ec.setAttribute("class",classNames("thumb",{"thumb--hidden":eb,"thumb--visible":!eb}))}setSvgNodeAttrs(this._frameGuides,{x:ei.x-.5*tX,y:ei.y-.5*tX,width:ei.width+tX,height:ei.height+tX})}}_createThumbs(){let ei={};for(let eo=0;eo<3;eo++)for(let ea=0;ea<3;ea++){let es=`${["n","","s"][eo]}${["w","","e"][ea]}`,eu=createSvgNode("g");eu.classList.add("thumb"),eu.setAttribute("with-effects","");let ec=createSvgNode("rect",{fill:"transparent"}),ed=createSvgNode("path",{stroke:"currentColor",fill:"none","stroke-width":tU});eu.appendChild(ed),eu.appendChild(ec),ei[es]={direction:es,pathNode:ed,interactionNode:ec,groupNode:eu},ec.addEventListener("pointerdown",this._handlePointerDown.bind(this,es))}return ei}_createGuides(){let ei=createSvgNode("svg"),eo=createSvgNode("rect",{x:0,y:0,width:"100%",height:"100%",fill:"none",stroke:"#000000","stroke-width":tX,"stroke-opacity":.5});ei.appendChild(eo);for(let eo=1;eo<=2;eo++){let ea=createSvgNode("line",{x1:`${tq*eo}%`,y1:"0%",x2:`${tq*eo}%`,y2:"100%",stroke:"#000000","stroke-width":tX,"stroke-opacity":.3});ei.appendChild(ea)}for(let eo=1;eo<=2;eo++){let ea=createSvgNode("line",{x1:"0%",y1:`${tq*eo}%`,x2:"100%",y2:`${tq*eo}%`,stroke:"#000000","stroke-width":tX,"stroke-opacity":.3});ei.appendChild(ea)}return ei.classList.add("guides","guides--semi-hidden"),ei}_createFrame(){let ei=this.ref["svg-el"],eo=document.createDocumentFragment(),ea=this._createGuides();eo.appendChild(ea);let es=this._createThumbs();for(let{groupNode:ei}of Object.values(es))eo.appendChild(ei);ei.appendChild(eo),this._frameThumbs=es,this._frameGuides=ea}_handlePointerDown(ei,eo){if(!this._frameThumbs)return;let ea=this._frameThumbs[ei];if(this._shouldThumbBeDisabled(ei))return;let es=this.$["*cropBox"],{x:eu,y:ec}=this.ref["svg-el"].getBoundingClientRect(),ed=eo.x-eu,ef=eo.y-ec;this.$.dragging=!0,this._draggingThumb=ea,this._dragStartPoint=[ed,ef],this._dragStartCrop={...es}}_handlePointerUp_(ei){this._updateCursor(),this.$.dragging&&(ei.stopPropagation(),ei.preventDefault(),this.$.dragging=!1)}_handlePointerMove_(ei){if(!this.$.dragging||!this._dragStartPoint||!this._draggingThumb)return;ei.stopPropagation(),ei.preventDefault();let{x:eo,y:ea}=this.ref["svg-el"].getBoundingClientRect(),es=ei.x-eo,eu=ei.y-ea,ec=es-this._dragStartPoint[0],ed=eu-this._dragStartPoint[1],{direction:ef}=this._draggingThumb,eh=this._calcCropBox(ef,[ec,ed]);eh&&(this.$["*cropBox"]=eh)}_calcCropBox(ei,eo){let[ea,es]=eo,eu=this.$["*imageBox"],ec=this._dragStartCrop??this.$["*cropBox"],ed=this.$["*cropPresetList"]?.[0],ef=ed?ed.width/ed.height:void 0;if(!Object.values(ec=""===ei?moveRect({rect:ec,delta:[ea,es],imageBox:eu}):resizeRect({rect:ec,delta:[ea,es],direction:ei,aspectRatio:ef,imageBox:eu})).every(ei=>Number.isFinite(ei)&&ei>=0)){console.error("CropFrame is trying to create invalid rectangle",{payload:ec});return}return constraintRect(roundRect(ec),this.$["*imageBox"])}_handleSvgPointerMove_(ei){if(!this._frameThumbs)return;let eo=Object.values(this._frameThumbs).find(eo=>{if(this._shouldThumbBeDisabled(eo.direction))return!1;let ea=eo.interactionNode.getBoundingClientRect();return rectContainsPoint({x:ea.x,y:ea.y,width:ea.width,height:ea.height},[ei.x,ei.y])});this._hoverThumb=eo,this._updateCursor()}_updateCursor(){let ei=this._hoverThumb;this.ref["svg-el"].style.cursor=ei?thumbCursor(ei.direction):"initial"}_render(){this._updateBackdrop(),this._updateFrame()}toggleThumbs(ei){this._frameThumbs&&Object.values(this._frameThumbs).map(({groupNode:ei})=>ei).forEach(eo=>{eo.setAttribute("class",classNames("thumb",{"thumb--hidden":!ei,"thumb--visible":ei}))})}initCallback(){super.initCallback(),this._createBackdrop(),this._createFrame(),this.sub("*imageBox",()=>{this._resizeBackdrop(),window.requestAnimationFrame(()=>{this._render()})}),this.sub("*cropBox",ei=>{ei&&(this._guidesHidden=ei.height<=t$||ei.width<=t$,window.requestAnimationFrame(()=>{this._render()}))}),this.sub("dragging",ei=>{this._frameGuides&&this._frameGuides.setAttribute("class",classNames({"guides--hidden":this._guidesHidden,"guides--visible":!this._guidesHidden&&ei,"guides--semi-hidden":!this._guidesHidden&&!ei}))}),this.ref["svg-el"].addEventListener("pointermove",this._handleSvgPointerMove,!0),document.addEventListener("pointermove",this._handlePointerMove,!0),document.addEventListener("pointerup",this._handlePointerUp,!0)}destroyCallback(){super.destroyCallback(),document.removeEventListener("pointermove",this._handlePointerMove),document.removeEventListener("pointerup",this._handlePointerUp)}};CropFrame.template=' <svg class="svg" ref="svg-el" xmlns="http://www.w3.org/2000/svg"></svg> ';let EditorButtonControl=class EditorButtonControl extends Block{init$={...this.init$,active:!1,title:"",icon:"","on.click":null};initCallback(){super.initCallback(),this._titleEl=this.ref["title-el"],this._iconEl=this.ref["icon-el"],this.setAttribute("role","button"),-1===this.tabIndex&&(this.tabIndex=0),this.sub("title",ei=>{this._titleEl&&(this._titleEl.style.display=ei?"block":"none")}),this.sub("active",ei=>{this.className=classNames({active:ei,not_active:!ei})}),this.sub("on.click",ei=>{this.onclick=ei})}};function nextAngle(ei){let eo=ei+90;return eo>=360?0:eo}function nextValue(ei,eo){return"rotate"===ei?nextAngle(eo):["mirror","flip"].includes(ei)?!eo:null}EditorButtonControl.template=`
  <div class="before"></div>
  <lr-icon size="20" set="@name: icon;"></lr-icon>
  <div class="title" ref="title-el">{{title}}</div>
`;let EditorCropButtonControl=class EditorCropButtonControl extends EditorButtonControl{initCallback(){super.initCallback(),this.defineAccessor("operation",ei=>{ei&&(this._operation=ei,this.$.icon=ei)}),this.$["on.click"]=ei=>{let eo=this.$["*cropperEl"].getValue(this._operation),ea=nextValue(this._operation,eo);this.$["*cropperEl"].setValue(this._operation,ea)}}};let rz={FILTER:"filter",COLOR_OPERATION:"color_operation"},rB="original";let EditorSlider=class EditorSlider extends Block{init$={...this.init$,disabled:!1,min:0,max:100,value:0,defaultValue:0,zero:0,"on.input":ei=>{this.$["*faderEl"].set(ei),this.$.value=ei}};setOperation(ei,eo){this._controlType="filter"===ei?rz.FILTER:rz.COLOR_OPERATION,this._operation=ei,this._iconName=ei,this._title=ei.toUpperCase(),this._filter=eo,this._initializeValues(),this.$["*faderEl"].activate({url:this.$["*originalUrl"],operation:this._operation,value:this._filter===rB?void 0:this.$.value,filter:this._filter===rB?void 0:this._filter,fromViewer:!1})}_initializeValues(){let{range:ei,zero:eo}=tE[this._operation],[ea,es]=ei;this.$.min=ea,this.$.max=es,this.$.zero=eo;let eu=this.$["*editorTransformations"][this._operation];if(this._controlType===rz.FILTER){let ei=es;if(eu){let{name:eo,amount:ea}=eu;ei=eo===this._filter?ea:es}this.$.value=ei,this.$.defaultValue=ei}if(this._controlType===rz.COLOR_OPERATION){let ei=void 0!==eu?eu:eo;this.$.value=ei,this.$.defaultValue=ei}}apply(){let ei;ei=this._controlType===rz.FILTER?this._filter===rB?null:{name:this._filter,amount:this.$.value}:this.$.value;let eo={...this.$["*editorTransformations"],[this._operation]:ei};this.$["*editorTransformations"]=eo}cancel(){this.$["*faderEl"].deactivate({hide:!1})}initCallback(){super.initCallback(),this.sub("*originalUrl",ei=>{this._originalUrl=ei}),this.sub("value",ei=>{let eo=`${this._filter||this._operation} ${ei}`;this.$["*operationTooltip"]=eo})}};function preloadImage(ei){let eo=new Image;return{promise:new Promise((ea,es)=>{eo.src=ei,eo.onload=ea,eo.onerror=es}),image:eo,cancel:()=>{0===eo.naturalWidth&&(eo.src=rD)}}}function batchPreloadImages(ei){let eo=[];for(let ea of ei){let ei=preloadImage(ea);eo.push(ei)}let ea=eo.map(ei=>ei.image);return{promise:Promise.allSettled(eo.map(ei=>ei.promise)),images:ea,cancel:()=>{eo.forEach(ei=>{ei.cancel()})}}}EditorSlider.template=`
  <lr-slider-ui
    ref="slider-el"
    set="disabled: disabled; min: min; max: max; defaultValue: defaultValue; zero: zero; onInput: on.input;"
  ></lr-slider-ui>
`;let EditorFilterControl=class EditorFilterControl extends EditorButtonControl{init$={...this.init$,active:!1,title:"",icon:"",isOriginal:!1,iconSize:"20","on.click":null};_previewSrc(){let ei=parseInt(window.getComputedStyle(this).getPropertyValue("--l-base-min-width"),10),eo=window.devicePixelRatio,ea=Math.ceil(eo*ei),es=eo>=2?"lightest":"normal",eu=100,ec={...this.$["*editorTransformations"]};return ec[this._operation]=this._filter!==rB?{name:this._filter,amount:eu}:void 0,createCdnUrl(this._originalUrl,createCdnUrlModifiers(tg,transformationsToOperations(ec),`quality/${es}`,`scale_crop/${ea}x${ea}/center`))}_observerCallback(ei,eo){if(ei[0].isIntersecting){let ei=this.proxyUrl(this._previewSrc()),ea=this.ref["preview-el"],{promise:es,cancel:eu}=preloadImage(ei);this._cancelPreload=eu,es.catch(ei=>{this.$["*networkProblems"]=!0,console.error("Failed to load image",{error:ei})}).finally(()=>{ea.style.backgroundImage=`url(${ei})`,ea.setAttribute("loaded",""),eo.unobserve(this)})}else this._cancelPreload&&this._cancelPreload()}initCallback(){super.initCallback(),this.$["on.click"]=ei=>{this.$.active?this.$.isOriginal||(this.$["*sliderEl"].setOperation(this._operation,this._filter),this.$["*showSlider"]=!0):(this.$["*sliderEl"].setOperation(this._operation,this._filter),this.$["*sliderEl"].apply()),this.$["*currentFilter"]=this._filter},this.defineAccessor("filter",ei=>{this._operation="filter",this._filter=ei,this.$.isOriginal=ei===rB,this.$.icon=this.$.isOriginal?"original":"slider"}),this._observer=new window.IntersectionObserver(this._observerCallback.bind(this),{threshold:[0,1]});let ei=this.$["*originalUrl"];this._originalUrl=ei,this.$.isOriginal?this.ref["icon-el"].classList.add("original-icon"):this._observer.observe(this),this.sub("*currentFilter",ei=>{this.$.active=ei&&ei===this._filter}),this.sub("isOriginal",ei=>{this.$.iconSize=ei?40:20}),this.sub("active",ei=>{if(this.$.isOriginal)return;this.ref["icon-el"].style.opacity=ei?"1":"0";let eo=this.ref["preview-el"];ei?eo.style.opacity="0":eo.style.backgroundImage&&(eo.style.opacity="1")}),this.sub("*networkProblems",ei=>{if(!ei){let ei=this.proxyUrl(this._previewSrc()),eo=this.ref["preview-el"];eo.style.backgroundImage&&(eo.style.backgroundImage="none",eo.style.backgroundImage=`url(${ei})`)}})}destroyCallback(){super.destroyCallback(),this._observer?.disconnect(),this._cancelPreload&&this._cancelPreload()}};EditorFilterControl.template=`
  <div class="before"></div>
  <div class="preview" ref="preview-el"></div>
  <lr-icon size="40" ref="icon-el" set="@name: icon; @size: iconSize;"></lr-icon>
`;let EditorOperationControl=class EditorOperationControl extends EditorButtonControl{_operation="";initCallback(){super.initCallback(),this.$["on.click"]=ei=>{this.$["*sliderEl"].setOperation(this._operation),this.$["*showSlider"]=!0,this.$["*currentOperation"]=this._operation},this.defineAccessor("operation",ei=>{ei&&(this._operation=ei,this.$.icon=ei,this.bindL10n("title",()=>this.l10n(ei)))}),this.sub("*editorTransformations",ei=>{if(!this._operation)return;let{zero:eo}=tE[this._operation],ea=ei[this._operation],es=void 0!==ea&&ea!==eo;this.$.active=es})}};function pick(ei,eo){let ea={};for(let es of eo){let eo=ei[es];(ei.hasOwnProperty(es)||void 0!==eo)&&(ea[es]=eo)}return ea}function viewerImageSrc(ei,eo,ea){let es=3e3,eu=window.devicePixelRatio,ec=Math.min(Math.ceil(eo*eu),es),ed=eu>=2?"lightest":"normal";return createCdnUrl(ei,createCdnUrlModifiers(tg,transformationsToOperations(ea),`quality/${ed}`,`stretch/off/-/resize/${ec}x`))}function validateCrop(ei){return!ei||[({dimensions:ei,coords:eo})=>[...ei,...eo].every(ei=>Number.isInteger(ei)&&Number.isFinite(ei)),({dimensions:ei,coords:eo})=>ei.every(ei=>ei>0)&&eo.every(ei=>ei>=0)].every(eo=>eo(ei))}let EditorImageCropper=class EditorImageCropper extends Block{ctxOwner=!0;constructor(){super(),this.init$={...this.init$,image:null,"*padding":tB,"*operations":{rotate:0,mirror:!1,flip:!1},"*imageBox":{x:0,y:0,width:0,height:0},"*cropBox":{x:0,y:0,width:0,height:0}},this._commitDebounced=debounce(this._commit.bind(this),300),this._handleResizeThrottled=throttle(this._handleResize.bind(this),100),this._imageSize={width:0,height:0}}_handleResize(){this.isConnected&&this._isActive&&(this._initCanvas(),this._syncTransformations(),this._alignImage(),this._alignCrop(),this._draw())}_syncTransformations(){let ei=pick(this.$["*editorTransformations"],Object.keys(this.$["*operations"])),eo={...this.$["*operations"],...ei};this.$["*operations"]=eo}_initCanvas(){let ei=this.ref["canvas-el"],eo=ei.getContext("2d"),ea=this.offsetWidth,es=this.offsetHeight,eu=window.devicePixelRatio;ei.style.width=`${ea}px`,ei.style.height=`${es}px`,ei.width=ea*eu,ei.height=es*eu,eo?.scale(eu,eu),this._canvas=ei,this._ctx=eo}_alignImage(){let ei;if(!this._isActive||!this.$.image)return;let eo=this.$.image,ea=this.$["*padding"],{rotate:es}=this.$["*operations"],eu={width:this.offsetWidth,height:this.offsetHeight},ec=rotateSize({width:eo.naturalWidth,height:eo.naturalHeight},es);if(ec.width>eu.width-2*ea||ec.height>eu.height-2*ea){let eo=ec.width/ec.height;if(eo>eu.width/eu.height){let es=eu.width-2*ea,ec=es/eo;ei={x:0+ea,y:ea+(eu.height-2*ea)/2-ec/2,width:es,height:ec}}else{let es=eu.height-2*ea,ec=es*eo;ei={x:ea+(eu.width-2*ea)/2-ec/2,y:0+ea,width:ec,height:es}}}else{let{width:eo,height:es}=ec;ei={x:ea+(eu.width-2*ea)/2-eo/2,y:ea+(eu.height-2*ea)/2-es/2,width:eo,height:es}}this.$["*imageBox"]=roundRect(ei)}_alignCrop(){let ei=this.$["*cropBox"],eo=this.$["*imageBox"],{rotate:ea}=this.$["*operations"],es=this.$["*editorTransformations"].crop,{width:eu,x:ec,y:ed}=this.$["*imageBox"];if(es){let{dimensions:[eo,ef],coords:[eh,ep]}=es,{width:em}=rotateSize(this._imageSize,ea),eg=eu/em;ei=constraintRect(roundRect({x:ec+eh*eg,y:ed+ep*eg,width:eo*eg,height:ef*eg}),this.$["*imageBox"])}let ef=this.$["*cropPresetList"]?.[0],eh=ef?ef.width/ef.height:void 0;if(!isRectInsideRect(ei,eo)||eh&&!isRectMatchesAspectRatio(ei,eh)){let ea=eo.width/eo.height,es=eo.width,eu=eo.height;eh&&(ea>eh?es=Math.min(eo.height*eh,eo.width):eu=Math.min(eo.width/eh,eo.height)),ei={x:eo.x+eo.width/2-es/2,y:eo.y+eo.height/2-eu/2,width:es,height:eu}}this.$["*cropBox"]=constraintRect(roundRect(ei),this.$["*imageBox"])}_drawImage(){let ei=this._ctx;if(!ei)return;let eo=this.$.image,ea=this.$["*imageBox"],{mirror:es,flip:eu,rotate:ec}=this.$["*operations"],ed=rotateSize({width:ea.width,height:ea.height},ec);ei.save(),ei.translate(ea.x+ea.width/2,ea.y+ea.height/2),ei.rotate(-(ec*Math.PI*1)/180),ei.scale(es?-1:1,eu?-1:1),ei.drawImage(eo,-ed.width/2,-ed.height/2,ed.width,ed.height),ei.restore()}_draw(){if(!this._isActive||!this.$.image||!this._canvas||!this._ctx)return;let ei=this._canvas;this._ctx.clearRect(0,0,ei.width,ei.height),this._drawImage()}_animateIn({fromViewer:ei}){this.$.image&&(this.ref["frame-el"].toggleThumbs(!0),this._transitionToImage(),setTimeout(()=>{this.className=classNames({active_from_viewer:ei,active_from_editor:!ei,inactive_to_editor:!1})}))}_getCropDimensions(){let ei=this.$["*cropBox"],eo=this.$["*imageBox"],{rotate:ea}=this.$["*operations"],{width:es,height:eu}=eo,{width:ec,height:ed}=rotateSize(this._imageSize,ea),{width:ef,height:eh}=ei,ep=eu/ed;return[clamp(Math.round(ef/(es/ec)),1,ec),clamp(Math.round(eh/ep),1,ed)]}_getCropTransformation(){let ei=this.$["*cropBox"],eo=this.$["*imageBox"],{rotate:ea}=this.$["*operations"],{width:es,height:eu,x:ec,y:ed}=eo,{width:ef,height:eh}=rotateSize(this._imageSize,ea),{x:ep,y:em}=ei,eg=es/ef,eb=eu/eh,ey=this._getCropDimensions(),ew={dimensions:ey,coords:[clamp(Math.round((ep-ec)/eg),0,ef-ey[0]),clamp(Math.round((em-ed)/eb),0,eh-ey[1])]};if(!validateCrop(ew)){console.error("Cropper is trying to create invalid crop object",{payload:ew});return}if(ey[0]!==ef||ey[1]!==eh)return ew}_commit(){if(!this.isConnected)return;let{rotate:ei,mirror:eo,flip:ea}=this.$["*operations"],es=this._getCropTransformation(),eu={...this.$["*editorTransformations"],crop:es,rotate:ei,mirror:eo,flip:ea};this.$["*editorTransformations"]=eu}setValue(ei,eo){this.$["*operations"]={...this.$["*operations"],[ei]:eo},this._isActive&&(this._alignImage(),this._alignCrop(),this._draw())}getValue(ei){return this.$["*operations"][ei]}async activate(ei,{fromViewer:eo}={}){if(!this._isActive){this._isActive=!0,this._imageSize=ei,this.removeEventListener("transitionend",this._reset);try{this.$.image=await this._waitForImage(this.$["*originalUrl"],this.$["*editorTransformations"]),this._syncTransformations(),this._animateIn({fromViewer:eo})}catch(ei){console.error("Failed to activate cropper",{error:ei})}this._observer=new ResizeObserver(([ei])=>{let eo=ei.contentRect.width>0&&ei.contentRect.height>0;eo&&this._isActive&&this.$.image&&this._handleResizeThrottled()}),this._observer.observe(this)}}deactivate({reset:ei=!1}={}){this._isActive&&(ei||this._commit(),this._isActive=!1,this._transitionToCrop(),this.className=classNames({active_from_viewer:!1,active_from_editor:!1,inactive_to_editor:!0}),this.ref["frame-el"].toggleThumbs(!1),this.addEventListener("transitionend",this._reset,{once:!0}),this._observer?.disconnect())}_transitionToCrop(){let ei=this._getCropDimensions(),eo=Math.min(Math.min(this.offsetWidth,ei[0])/this.$["*cropBox"].width,Math.min(this.offsetHeight,ei[1])/this.$["*cropBox"].height),ea=this.$["*cropBox"].x+this.$["*cropBox"].width/2,es=this.$["*cropBox"].y+this.$["*cropBox"].height/2;this.style.transform=`scale(${eo}) translate(${(this.offsetWidth/2-ea)/eo}px, ${(this.offsetHeight/2-es)/eo}px)`,this.style.transformOrigin=`${ea}px ${es}px`}_transitionToImage(){let ei=this.$["*cropBox"].x+this.$["*cropBox"].width/2,eo=this.$["*cropBox"].y+this.$["*cropBox"].height/2;this.style.transform="scale(1)",this.style.transformOrigin=`${ei}px ${eo}px`}_reset(){this._isActive||(this.$.image=null)}_waitForImage(ei,eo){let ea=this.offsetWidth;eo={...eo,crop:void 0,rotate:void 0,flip:void 0,mirror:void 0};let es=this.proxyUrl(viewerImageSrc(ei,ea,eo)),{promise:eu,cancel:ec,image:ed}=preloadImage(es),ef=this._handleImageLoading(es);return ed.addEventListener("load",ef,{once:!0}),ed.addEventListener("error",ef,{once:!0}),this._cancelPreload&&this._cancelPreload(),this._cancelPreload=ec,eu.then(()=>ed).catch(ei=>(console.error("Failed to load image",{error:ei}),this.$["*networkProblems"]=!0,Promise.resolve(ed)))}_handleImageLoading(ei){let eo="crop",ea=this.$["*loadingOperations"];return ea.get(eo)||ea.set(eo,new Map),ea.get(eo).get(ei)||(ea.set(eo,ea.get(eo).set(ei,!0)),this.$["*loadingOperations"]=ea),()=>{ea?.get(eo)?.has(ei)&&(ea.get(eo).delete(ei),this.$["*loadingOperations"]=ea)}}initCallback(){super.initCallback(),this.sub("*imageBox",()=>{this._draw()}),this.sub("*cropBox",()=>{this.$.image&&this._commitDebounced()}),this.sub("*cropPresetList",()=>{this._alignCrop()}),setTimeout(()=>{this.sub("*networkProblems",ei=>{!ei&&this._isActive&&this.activate(this._imageSize,{fromViewer:!1})})},0)}destroyCallback(){super.destroyCallback(),this._observer?.disconnect()}};function linspace(ei,eo,ea){let es=Array(ea);ea--;for(let eu=ea;eu>=0;eu--)es[eu]=Math.ceil((eu*eo+(ea-eu)*ei)/ea);return es}function splitBySections(ei){return ei.reduce((eo,ea,es)=>es<ei.length-1?[...eo,[ea,ei[es+1]]]:eo,[])}function calculateOpacities(ei,eo,ea){let es=splitBySections(ei).find(([ei,ea])=>ei<=eo&&eo<=ea);return ei.map(ei=>{let eu=Math.abs(es[0]-es[1]),ec=Math.abs(eo-es[0])/eu;return es[0]===ei?eo>ea?1:1-ec:es[1]===ei?eo>=ea?ec:1:0})}function calculateZIndices(ei,eo){return ei.map((ea,es)=>ea<eo?ei.length-es:es)}function keypointsRange(ei,eo){let ea=tE[ei].keypointsNumber,{range:es,zero:eu}=tE[ei];return[...new Set([...linspace(es[0],eu,ea+1),...linspace(eu,es[1],ea+1),eu,eo])].sort((ei,eo)=>ei-eo)}EditorImageCropper.template=`
  <canvas class="canvas" ref="canvas-el"></canvas>
  <lr-crop-frame ref="frame-el"></lr-crop-frame>
`;let EditorImageFader=class EditorImageFader extends Block{constructor(){super(),this._isActive=!1,this._hidden=!0,this._addKeypointDebounced=debounce(this._addKeypoint.bind(this),600),this.classList.add("inactive_to_cropper")}_handleImageLoading(ei){let eo=this._operation,ea=this.$["*loadingOperations"];return ea.get(eo)||ea.set(eo,new Map),ea.get(eo).get(ei)||(ea.set(eo,ea.get(eo).set(ei,!0)),this.$["*loadingOperations"]=ea),()=>{ea?.get(eo)?.has(ei)&&(ea.get(eo).delete(ei),this.$["*loadingOperations"]=ea)}}_flush(){window.cancelAnimationFrame(this._raf),this._raf=window.requestAnimationFrame(()=>{for(let ei of this._keypoints){let{image:eo}=ei;eo&&(eo.style.opacity=ei.opacity.toString(),eo.style.zIndex=ei.zIndex.toString())}})}_imageSrc({url:ei=this._url,filter:eo=this._filter,operation:ea,value:es}={}){let eu={...this._transformations};ea&&(eu[ea]=eo?{name:eo,amount:es}:es);let ec=this.offsetWidth;return this.proxyUrl(viewerImageSrc(ei,ec,eu))}_constructKeypoint(ei,eo){return{src:this._imageSrc({operation:ei,value:eo}),image:null,opacity:0,zIndex:0,value:eo}}_isSame(ei,eo){return this._operation===ei&&this._filter===eo}_addKeypoint(ei,eo,ea){let shouldSkip=()=>!this._isSame(ei,eo)||this._value!==ea||!!this._keypoints.find(ei=>ei.value===ea);if(shouldSkip())return;let es=this._constructKeypoint(ei,ea),eu=new Image;eu.src=es.src;let ec=this._handleImageLoading(es.src);eu.addEventListener("load",ec,{once:!0}),eu.addEventListener("error",ec,{once:!0}),es.image=eu,eu.classList.add("fader-image"),eu.addEventListener("load",()=>{if(shouldSkip())return;let eo=this._keypoints,ec=eo.findIndex(ei=>ei.value>ea),ed=ec<eo.length?eo[ec].image:null;this._container&&(!ed||this._container.contains(ed))&&(eo.splice(ec,0,es),this._container.insertBefore(eu,ed),this._update(ei,ea))},{once:!0}),eu.addEventListener("error",()=>{this.$["*networkProblems"]=!0},{once:!0})}set(ei){ei="string"==typeof ei?parseInt(ei,10):ei,this._update(this._operation,ei),this._addKeypointDebounced(this._operation,this._filter,ei)}_update(ei,eo){this._operation=ei,this._value=eo;let{zero:ea}=tE[ei],es=this._keypoints.map(ei=>ei.value),eu=calculateOpacities(es,eo,ea),ec=calculateZIndices(es,ea);for(let[ei,eo]of Object.entries(this._keypoints))eo.opacity=eu[ei],eo.zIndex=ec[ei];this._flush()}_createPreviewImage(){let ei=new Image;return ei.classList.add("fader-image","fader-image--preview"),ei.style.opacity="0",ei}async _initNodes(){let ei=document.createDocumentFragment();this._previewImage=this._previewImage||this._createPreviewImage(),this.contains(this._previewImage)||ei.appendChild(this._previewImage);let eo=document.createElement("div");ei.appendChild(eo);let{images:ea,promise:es,cancel:eu}=batchPreloadImages(this._keypoints.map(ei=>ei.src));ea.forEach(ei=>{let eo=this._handleImageLoading(ei.src);ei.addEventListener("load",eo),ei.addEventListener("error",eo)}),this._cancelLastImages=()=>{eu(),this._cancelLastImages=void 0};let ec=this._operation,ed=this._filter;await es,this._isActive&&this._isSame(ec,ed)&&(this._container&&this._container.remove(),this._container=eo,this._keypoints.forEach((ei,eo)=>{let es=ea[eo];es.classList.add("fader-image"),ei.image=es,this._container.appendChild(es)}),this.appendChild(ei),this._flush())}setTransformations(ei){if(this._transformations=ei,this._previewImage){let ei=this._imageSrc(),eo=this._handleImageLoading(ei);this._previewImage.src=ei,this._previewImage.addEventListener("load",eo,{once:!0}),this._previewImage.addEventListener("error",eo,{once:!0}),this._previewImage.style.opacity="1",this._previewImage.addEventListener("error",()=>{this.$["*networkProblems"]=!0},{once:!0})}}preload({url:ei,filter:eo,operation:ea,value:es}){this._cancelBatchPreload&&this._cancelBatchPreload();let{cancel:eu}=batchPreloadImages(keypointsRange(ea,es).map(es=>this._imageSrc({url:ei,filter:eo,operation:ea,value:es})));this._cancelBatchPreload=eu}_setOriginalSrc(ei){let eo=this._previewImage||this._createPreviewImage();if(this.contains(eo)||this.appendChild(eo),this._previewImage=eo,eo.src===ei){eo.style.opacity="1",eo.style.transform="scale(1)",this.className=classNames({active_from_viewer:this._fromViewer,active_from_cropper:!this._fromViewer,inactive_to_cropper:!1});return}eo.style.opacity="0";let ea=this._handleImageLoading(ei);eo.addEventListener("error",ea,{once:!0}),eo.src=ei,eo.addEventListener("load",()=>{ea(),eo&&(eo.style.opacity="1",eo.style.transform="scale(1)",this.className=classNames({active_from_viewer:this._fromViewer,active_from_cropper:!this._fromViewer,inactive_to_cropper:!1}))},{once:!0}),eo.addEventListener("error",()=>{this.$["*networkProblems"]=!0},{once:!0})}activate({url:ei,operation:eo,value:ea,filter:es,fromViewer:eu}){if(this._isActive=!0,this._hidden=!1,this._url=ei,this._operation=eo||"initial",this._value=ea,this._filter=es,this._fromViewer=eu,"number"!=typeof ea&&!es){let ei=this._imageSrc({operation:eo,value:ea});this._setOriginalSrc(ei),this._container&&this._container.remove();return}this._keypoints=keypointsRange(eo,ea).map(ei=>this._constructKeypoint(eo,ei)),this._update(eo,ea),this._initNodes()}deactivate({hide:ei=!0}={}){this._isActive=!1,this._cancelLastImages&&this._cancelLastImages(),this._cancelBatchPreload&&this._cancelBatchPreload(),ei&&!this._hidden?(this._hidden=!0,this._previewImage&&(this._previewImage.style.transform="scale(1)"),this.className=classNames({active_from_viewer:!1,active_from_cropper:!1,inactive_to_cropper:!0}),this.addEventListener("transitionend",()=>{this._container&&this._container.remove()},{once:!0})):this._container&&this._container.remove()}};let rF=1;let EditorScroller=class EditorScroller extends Block{initCallback(){super.initCallback(),this.addEventListener("wheel",ei=>{ei.preventDefault();let{deltaY:eo,deltaX:ea}=ei;Math.abs(ea)>rF?this.scrollLeft+=ea:this.scrollLeft+=eo})}};function renderTabToggle(ei){return`
    <lr-presence-toggle class="tab-toggle" set="visible: presence.tabToggle.${ei}; styles: presence.tabToggleStyles;">
      <lr-btn-ui
        theme="boring"
        ref="tab-toggle-${ei}"
        data-id="${ei}"
        icon="${ei}"
        tabindex="0"
        set="onclick: on.clickTab;"
      >
      </lr-btn-ui>
    </lr-presence-toggle>
  `}function renderTabContent(ei){return`
    <lr-presence-toggle class="tab-content" set="visible: presence.tabContent.${ei}; styles: presence.tabContentStyles">
      <lr-editor-scroller hidden-scrollbar>
        <div class="controls-list_align">
          <div class="controls-list_inner" ref="controls-list-${ei}"></div>
        </div>
      </lr-editor-scroller>
    </lr-presence-toggle>
  `}EditorScroller.template=" <slot></slot> ";let EditorToolbar=class EditorToolbar extends Block{constructor(){super(),this.init$={...this.init$,"*sliderEl":null,"*loadingOperations":new Map,"*showSlider":!1,"*currentFilter":rB,"*currentOperation":null,showLoader:!1,filters:tP,colorOperations:tx,cropOperations:tS,"*operationTooltip":null,"presence.mainToolbar":!0,"presence.subToolbar":!1,"presence.tabToggles":!0,"presence.tabContent.crop":!1,"presence.tabContent.tuning":!1,"presence.tabContent.filters":!1,"presence.tabToggle.crop":!0,"presence.tabToggle.tuning":!0,"presence.tabToggle.filters":!0,"presence.subTopToolbarStyles":{hidden:"sub-toolbar--top-hidden",visible:"sub-toolbar--visible"},"presence.subBottomToolbarStyles":{hidden:"sub-toolbar--bottom-hidden",visible:"sub-toolbar--visible"},"presence.tabContentStyles":{hidden:"tab-content--hidden",visible:"tab-content--visible"},"presence.tabToggleStyles":{hidden:"tab-toggle--hidden",visible:"tab-toggle--visible"},"presence.tabTogglesStyles":{hidden:"tab-toggles--hidden",visible:"tab-toggles--visible"},"on.cancel":()=>{this._cancelPreload&&this._cancelPreload(),this.$["*on.cancel"]()},"on.apply":()=>{this.$["*on.apply"](this.$["*editorTransformations"])},"on.applySlider":()=>{this.ref["slider-el"].apply(),this._onSliderClose()},"on.cancelSlider":()=>{this.ref["slider-el"].cancel(),this._onSliderClose()},"on.clickTab":ei=>{let eo=ei.currentTarget.getAttribute("data-id");eo&&this._activateTab(eo,{fromViewer:!1})}},this._debouncedShowLoader=debounce(this._showLoader.bind(this),500)}_onSliderClose(){this.$["*showSlider"]=!1,this.$["*tabId"]===ty.TUNING&&this.ref["tooltip-el"].classList.toggle("info-tooltip_visible",!1)}_createOperationControl(ei){let eo=new EditorOperationControl;return eo.operation=ei,eo}_createFilterControl(ei){let eo=new EditorFilterControl;return eo.filter=ei,eo}_createToggleControl(ei){let eo=new EditorCropButtonControl;return eo.operation=ei,eo}_renderControlsList(ei){let eo=this.ref[`controls-list-${ei}`],ea=document.createDocumentFragment();ei===ty.CROP?this.$.cropOperations.forEach(ei=>{let eo=this._createToggleControl(ei);ea.appendChild(eo)}):ei===ty.FILTERS?[rB,...this.$.filters].forEach(ei=>{let eo=this._createFilterControl(ei);ea.appendChild(eo)}):ei===ty.TUNING&&this.$.colorOperations.forEach(ei=>{let eo=this._createOperationControl(ei);ea.appendChild(eo)}),[...ea.children].forEach((ei,eo)=>{eo===ea.childNodes.length-1&&ei.classList.add("controls-list_last-item")}),eo.innerHTML="",eo.appendChild(ea)}_activateTab(ei,{fromViewer:eo}){for(let ea of(this.$["*tabId"]=ei,ei===ty.CROP?(this.$["*faderEl"].deactivate(),this.$["*cropperEl"].activate(this.$["*imageSize"],{fromViewer:eo})):(this.$["*faderEl"].activate({url:this.$["*originalUrl"],fromViewer:eo}),this.$["*cropperEl"].deactivate()),tw)){let eo=ea===ei;this.ref[`tab-toggle-${ea}`].active=eo,eo?(this._renderControlsList(ei),this._syncTabIndicator()):this._unmountTabControls(ea),this.$[`presence.tabContent.${ea}`]=eo}}_unmountTabControls(ei){let eo=this.ref[`controls-list-${ei}`];eo&&(eo.innerHTML="")}_syncTabIndicator(){let ei=this.ref[`tab-toggle-${this.$["*tabId"]}`];this.ref["tabs-indicator"].style.transform=`translateX(${ei.offsetLeft}px)`}_preloadEditedImage(){if(this.$["*imgContainerEl"]&&this.$["*originalUrl"]){let ei=this.$["*imgContainerEl"].offsetWidth,eo=this.proxyUrl(viewerImageSrc(this.$["*originalUrl"],ei,this.$["*editorTransformations"]));this._cancelPreload&&this._cancelPreload();let{cancel:ea}=batchPreloadImages([eo]);this._cancelPreload=()=>{ea(),this._cancelPreload=void 0}}}_showLoader(ei){this.$.showLoader=ei}_updateInfoTooltip=debounce(()=>{let ei=this.$["*editorTransformations"],eo=this.$["*currentOperation"],ea="",es=!1;if(this.$["*tabId"]===ty.FILTERS){if(es=!0,this.$["*currentFilter"]&&ei?.filter?.name===this.$["*currentFilter"]){let eo=ei?.filter?.amount||100;ea=this.$["*currentFilter"]+" "+eo}else ea=this.l10n(rB)}else if(this.$["*tabId"]===ty.TUNING&&eo){es=!0;let eu=ei?.[eo]||tE[eo].zero;ea=this.l10n(eo)+" "+eu}es&&(this.$["*operationTooltip"]=ea),this.ref["tooltip-el"].classList.toggle("info-tooltip_visible",es)},0);initCallback(){super.initCallback(),this.$["*sliderEl"]=this.ref["slider-el"],this.sub("*imageSize",ei=>{ei&&setTimeout(()=>{this._activateTab(this.$["*tabId"],{fromViewer:!0})},0)}),this.sub("*editorTransformations",ei=>{let eo=ei?.filter?.name;this.$["*currentFilter"]!==eo&&(this.$["*currentFilter"]=eo)}),this.sub("*currentFilter",()=>{this._updateInfoTooltip()}),this.sub("*currentOperation",()=>{this._updateInfoTooltip()}),this.sub("*tabId",()=>{this._updateInfoTooltip()}),this.sub("*originalUrl",()=>{this.$["*faderEl"]&&this.$["*faderEl"].deactivate()}),this.sub("*editorTransformations",ei=>{this._preloadEditedImage(),this.$["*faderEl"]&&this.$["*faderEl"].setTransformations(ei)}),this.sub("*loadingOperations",ei=>{let eo=!1;for(let[,ea]of ei.entries()){if(eo)break;for(let[,ei]of ea.entries())if(ei){eo=!0;break}}this._debouncedShowLoader(eo)}),this.sub("*showSlider",ei=>{this.$["presence.subToolbar"]=ei,this.$["presence.mainToolbar"]=!ei}),this.sub("*tabList",ei=>{for(let eo of(this.$["presence.tabToggles"]=ei.length>1,tw)){this.$[`presence.tabToggle.${eo}`]=ei.includes(eo);let ea=this.ref[`tab-toggle-${eo}`];ea.style.gridColumn=ei.indexOf(eo)+1}ei.includes(this.$["*tabId"])||this._activateTab(ei[0],{fromViewer:!1})}),this._updateInfoTooltip()}};EditorToolbar.template=`
  <lr-line-loader-ui set="active: showLoader"></lr-line-loader-ui>
  <div class="info-tooltip_container">
    <div class="info-tooltip_wrapper">
      <div ref="tooltip-el" class="info-tooltip info-tooltip_hidden">{{*operationTooltip}}</div>
    </div>
  </div>
  <div class="toolbar-container">
    <lr-presence-toggle class="sub-toolbar" set="visible: presence.mainToolbar; styles: presence.subTopToolbarStyles">
      <div class="tab-content-row">${tw.map(renderTabContent).join("")}</div>
      <div class="controls-row">
        <lr-btn-ui theme="boring" icon="closeMax" set="onclick: on.cancel"> </lr-btn-ui>
        <lr-presence-toggle class="tab-toggles" set="visible: presence.tabToggles; styles: presence.tabTogglesStyles">
          <div ref="tabs-indicator" class="tab-toggles_indicator"></div>
          ${tw.map(renderTabToggle).join("")}
        </lr-presence-toggle>
        <lr-btn-ui theme="primary" icon="done" set="onclick: on.apply"> </lr-btn-ui>
      </div>
    </lr-presence-toggle>
    <lr-presence-toggle class="sub-toolbar" set="visible: presence.subToolbar; styles: presence.subBottomToolbarStyles">
      <div class="slider">
        <lr-editor-slider ref="slider-el"></lr-editor-slider>
      </div>
      <div class="controls-row">
        <lr-btn-ui theme="boring" set="onclick: on.cancelSlider;" l10n="@text:cancel"> </lr-btn-ui>
        <lr-btn-ui theme="primary" set="onclick: on.applySlider;" l10n="@text:apply"> </lr-btn-ui>
      </div>
    </lr-presence-toggle>
  </div>
`;let LrBtnUi=class LrBtnUi extends Block{constructor(){super(),this._iconReversed=!1,this._iconSingle=!1,this._iconHidden=!1,this.init$={...this.init$,text:"",icon:"",iconCss:this._iconCss(),theme:null},this.defineAccessor("active",ei=>{ei?this.setAttribute("active",""):this.removeAttribute("active")})}_iconCss(){return classNames("icon",{icon_left:!this._iconReversed,icon_right:this._iconReversed,icon_hidden:this._iconHidden,icon_single:this._iconSingle})}initCallback(){super.initCallback(),this.sub("icon",ei=>{this._iconSingle=!this.$.text,this._iconHidden=!ei,this.$.iconCss=this._iconCss()}),this.sub("theme",ei=>{"custom"!==ei&&(this.className=ei)}),this.sub("text",ei=>{this._iconSingle=!1}),this.setAttribute("role","button"),-1===this.tabIndex&&(this.tabIndex=0),this.hasAttribute("theme")||this.setAttribute("theme","default")}set reverse(ei){this.hasAttribute("reverse")?(this.style.flexDirection="row-reverse",this._iconReversed=!0):(this._iconReversed=!1,this.style.flexDirection=null)}};LrBtnUi.bindAttributes({text:"text",icon:"icon",reverse:"reverse",theme:"theme"}),LrBtnUi.template=`
  <lr-icon size="20" set="className: iconCss; @name: icon;"></lr-icon>
  <div class="text">{{text}}</div>
`;let LineLoaderUi=class LineLoaderUi extends Block{constructor(){super(),this._active=!1,this._handleTransitionEndRight=()=>{let ei=this.ref["line-el"];ei.style.transition="initial",ei.style.opacity="0",ei.style.transform="translateX(-101%)",this._active&&this._start()}}initCallback(){super.initCallback(),this.defineAccessor("active",ei=>{"boolean"==typeof ei&&(ei?this._start():this._stop())})}_start(){this._active=!0;let{width:ei}=this.getBoundingClientRect(),eo=this.ref["line-el"];eo.style.transition="transform 1s",eo.style.opacity="1",eo.style.transform=`translateX(${ei}px)`,eo.addEventListener("transitionend",this._handleTransitionEndRight,{once:!0})}_stop(){this._active=!1}};LineLoaderUi.template=`
  <div class="inner">
    <div class="line" ref="line-el"></div>
  </div>
`;let rH={transition:"transition",visible:"visible",hidden:"hidden"};let PresenceToggle=class PresenceToggle extends Block{constructor(){super(),this._visible=!1,this._visibleStyle=rH.visible,this._hiddenStyle=rH.hidden,this._externalTransitions=!1,this.defineAccessor("styles",ei=>{ei&&(this._externalTransitions=!0,this._visibleStyle=ei.visible,this._hiddenStyle=ei.hidden)}),this.defineAccessor("visible",ei=>{"boolean"==typeof ei&&(this._visible=ei,this._handleVisible())})}_handleVisible(){this.style.visibility=this._visible?"inherit":"hidden",applyClassNames(this,{[rH.transition]:!this._externalTransitions,[this._visibleStyle]:this._visible,[this._hiddenStyle]:!this._visible}),this.setAttribute("aria-hidden",this._visible?"false":"true")}initCallback(){super.initCallback(),this.setAttribute("hidden",""),this._externalTransitions||this.classList.add(rH.transition),this._handleVisible(),setTimeout(()=>this.removeAttribute("hidden"),0)}};PresenceToggle.template=" <slot></slot> ";let SliderUi=class SliderUi extends Block{init$={...this.init$,disabled:!1,min:0,max:100,onInput:null,onChange:null,defaultValue:null,"on.sliderInput":()=>{let ei=parseInt(this.ref["input-el"].value,10);this._updateValue(ei),this.$.onInput&&this.$.onInput(ei)},"on.sliderChange":()=>{let ei=parseInt(this.ref["input-el"].value,10);this.$.onChange&&this.$.onChange(ei)}};constructor(){super(),this.setAttribute("with-effects","")}initCallback(){super.initCallback(),this.defineAccessor("disabled",ei=>{this.$.disabled=ei}),this.defineAccessor("min",ei=>{this.$.min=ei}),this.defineAccessor("max",ei=>{this.$.max=ei}),this.defineAccessor("defaultValue",ei=>{this.$.defaultValue=ei,this.ref["input-el"].value=ei,this._updateValue(ei)}),this.defineAccessor("zero",ei=>{this._zero=ei}),this.defineAccessor("onInput",ei=>{ei&&(this.$.onInput=ei)}),this.defineAccessor("onChange",ei=>{ei&&(this.$.onChange=ei)}),this._updateSteps(),this._observer=new ResizeObserver(()=>{this._updateSteps();let ei=parseInt(this.ref["input-el"].value,10);this._updateValue(ei)}),this._observer.observe(this),this._thumbSize=parseInt(window.getComputedStyle(this).getPropertyValue("--l-thumb-size"),10),setTimeout(()=>{let ei=parseInt(this.ref["input-el"].value,10);this._updateValue(ei)},0),this.sub("disabled",ei=>{let eo=this.ref["input-el"];ei?eo.setAttribute("disabled","disabled"):eo.removeAttribute("disabled")});let ei=this.ref["input-el"];ei.addEventListener("focus",()=>{this.style.setProperty("--color-effect","var(--hover-color-rgb)")}),ei.addEventListener("blur",()=>{this.style.setProperty("--color-effect","var(--idle-color-rgb)")})}_updateValue(ei){this._updateZeroDot(ei);let{width:eo}=this.getBoundingClientRect(),ea=100/(this.$.max-this.$.min)*(ei-this.$.min)*(eo-this._thumbSize)/100;window.requestAnimationFrame(()=>{this.ref["thumb-el"].style.transform=`translateX(${ea}px)`})}_updateZeroDot(ei){if(!this._zeroDotEl)return;ei===this._zero?this._zeroDotEl.style.opacity="0":this._zeroDotEl.style.opacity="0.2";let{width:eo}=this.getBoundingClientRect(),ea=100/(this.$.max-this.$.min)*(this._zero-this.$.min)*(eo-this._thumbSize)/100;window.requestAnimationFrame(()=>{this._zeroDotEl.style.transform=`translateX(${ea}px)`})}_updateSteps(){let ei=15,eo=this.ref["steps-el"],{width:ea}=eo.getBoundingClientRect(),es=Math.ceil(Math.ceil(ea/2)/ei)-2;if(this._stepsCount===es)return;let eu=document.createDocumentFragment(),ec=document.createElement("div"),ed=document.createElement("div");ec.className="minor-step",ed.className="border-step",eu.appendChild(ed);for(let ei=0;ei<es;ei++)eu.appendChild(ec.cloneNode());eu.appendChild(ed.cloneNode());for(let ei=0;ei<es;ei++)eu.appendChild(ec.cloneNode());eu.appendChild(ed.cloneNode());let ef=document.createElement("div");ef.className="zero-dot",eu.appendChild(ef),this._zeroDotEl=ef,eo.innerHTML="",eo.appendChild(eu),this._stepsCount=es}destroyCallback(){this._observer?.disconnect()}};SliderUi.template=`
  <div class="steps" ref="steps-el"></div>
  <div ref="thumb-el" class="thumb"></div>
  <input
    class="input"
    type="range"
    ref="input-el"
    tabindex="0"
    set="oninput: on.sliderInput; onchange: on.sliderChange; @min: min; @max: max; @value: defaultValue;"
  />
`;let CloudImageEditorActivity=class CloudImageEditorActivity extends UploaderBlock{couldBeCtxOwner=!0;activityType=ActivityBlock.activities.CLOUD_IMG_EDIT;constructor(){super(),this.init$={...this.init$,cdnUrl:null}}initCallback(){super.initCallback(),this.registerActivity(this.activityType,{onActivate:()=>this.mountEditor(),onDeactivate:()=>this.unmountEditor()}),this.sub("*focusedEntry",ei=>{ei&&(this.entry=ei,this.entry.subscribe("cdnUrl",ei=>{ei&&(this.$.cdnUrl=ei)}))}),this.subConfigValue("cropPreset",ei=>{this._instance&&this._instance.getAttribute("crop-preset")!==ei&&this._instance.setAttribute("crop-preset",ei)}),this.subConfigValue("cloudImageEditorTabs",ei=>{this._instance&&this._instance.getAttribute("tabs")!==ei&&this._instance.setAttribute("tabs",ei)})}handleApply(ei){if(!this.entry)return;let eo=ei.detail;this.entry.setMultipleValues({cdnUrl:eo.cdnUrl,cdnUrlModifiers:eo.cdnUrlModifiers}),this.historyBack()}handleCancel(){this.historyBack()}mountEditor(){let ei=new CloudImageEditorBlock,eo=this.$.cdnUrl,ea=this.cfg.cropPreset,es=this.cfg.cloudImageEditorTabs;ei.setAttribute("ctx-name",this.ctxName),ei.setAttribute("cdn-url",eo),ea&&ei.setAttribute("crop-preset",ea),es&&ei.setAttribute("tabs",es),ei.addEventListener("apply",ei=>{let eo=ei;this.handleApply(eo),this.debugPrint('editor event "apply"',eo.detail)}),ei.addEventListener("cancel",ei=>{let eo=ei;this.handleCancel(),this.debugPrint('editor event "cancel"',eo.detail)}),ei.addEventListener("change",ei=>{let eo=ei;this.debugPrint('editor event "change"',eo.detail)}),this.innerHTML="",this.appendChild(ei),this._mounted=!0,this._instance=ei}unmountEditor(){this._instance=void 0,this.innerHTML=""}};let escapeRegExp=function(ei){return ei.replace(/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},wildcardRegexp=function(ei,eo="i"){let ea=ei.split("*").map(escapeRegExp);return RegExp("^"+ea.join(".+")+"$",eo)},styleToCss=ei=>Object.keys(ei).reduce((eo,ea)=>{let es=ei[ea],eu=Object.keys(es).reduce((ei,eo)=>{let ea=es[eo];return ei+`${eo}: ${ea};`},"");return eo+`${ea}{${eu}}`},"");function buildStyles({textColor:ei,backgroundColor:eo,linkColor:ea,linkColorHover:es,shadeColor:eu}){let ec=`solid 1px ${eu}`;return styleToCss({body:{color:ei,"background-color":eo},".side-bar":{background:"inherit","border-right":ec},".main-content":{background:"inherit"},".main-content-header":{background:"inherit"},".main-content-footer":{background:"inherit"},".list-table-row":{color:"inherit"},".list-table-row:hover":{background:eu},".list-table-row .list-table-cell-a, .list-table-row .list-table-cell-b":{"border-top":ec},".list-table-body .list-items":{"border-bottom":ec},".bread-crumbs a":{color:ea},".bread-crumbs a:hover":{color:es},".main-content.loading":{background:`${eo} url(/static/images/loading_spinner.gif) center no-repeat`,"background-size":"25px 25px"},".list-icons-item":{"background-color":eu},".source-gdrive .side-bar-menu a, .source-gphotos .side-bar-menu a":{color:ea},".source-gdrive .side-bar-menu a, .source-gphotos .side-bar-menu a:hover":{color:es},".side-bar-menu a":{color:ea},".side-bar-menu a:hover":{color:es},".source-gdrive .side-bar-menu .current, .source-gdrive .side-bar-menu a:hover, .source-gphotos .side-bar-menu .current, .source-gphotos .side-bar-menu a:hover":{color:es},".source-vk .side-bar-menu a":{color:ea},".source-vk .side-bar-menu a:hover":{color:es,background:"none"}})}let rU={};window.addEventListener("message",ei=>{let eo;try{eo=JSON.parse(ei.data)}catch(ei){return}if(eo?.type in rU)for(let[ea,es]of rU[eo.type])ei.source===ea&&es(eo)});let registerMessage=function(ei,eo,ea){ei in rU||(rU[ei]=[]),rU[ei].push([eo,ea])},unregisterMessage=function(ei,eo){ei in rU&&(rU[ei]=rU[ei].filter(ei=>ei[0]!==eo))};function queryString(ei){let eo=[];for(let[ea,es]of Object.entries(ei))null!=es&&("string"!=typeof es||0!==es.length)&&eo.push(`${ea}=${encodeURIComponent(es)}`);return eo.join("&")}let ExternalSource=class ExternalSource extends UploaderBlock{couldBeCtxOwner=!0;activityType=ActivityBlock.activities.EXTERNAL;constructor(){super(),this.init$={...this.init$,activityIcon:"",activityCaption:"",selectedList:[],counter:0,multiple:!1,onDone:()=>{for(let ei of this.$.selectedList){let eo=this.extractUrlFromMessage(ei),{filename:ea}=ei,{externalSourceType:es}=this.activityParams;this.addFileFromUrl(eo,{fileName:ea,source:es})}this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST},onCancel:()=>{this.historyBack()}}}_iframe=null;initCallback(){super.initCallback(),this.registerActivity(this.activityType,{onActivate:()=>{let{externalSourceType:ei}=this.activityParams;this.set$({activityCaption:`${ei?.[0].toUpperCase()}${ei?.slice(1)}`,activityIcon:ei}),this.mountIframe()}}),this.sub("*currentActivity",ei=>{ei!==this.activityType&&this.unmountIframe()}),this.sub("selectedList",ei=>{this.$.counter=ei.length}),this.subConfigValue("multiple",ei=>{this.$.multiple=ei})}extractUrlFromMessage(ei){if(ei.alternatives){let eo=stringToArray(this.cfg.externalSourcesPreferredTypes);for(let ea of eo){let eo=wildcardRegexp(ea);for(let[ea,es]of Object.entries(ei.alternatives))if(eo.test(ea))return es}}return ei.url}sendMessage(ei){this._iframe?.contentWindow?.postMessage(JSON.stringify(ei),"*")}async handleFileSelected(ei){(this.$.multiple||!this.$.selectedList.length)&&(this.$.selectedList=[...this.$.selectedList,ei],this.$.multiple||this.$.onDone())}handleIframeLoad(){this.applyStyles()}getCssValue(ei){return window.getComputedStyle(this).getPropertyValue(ei).trim()}applyStyles(){let ei={backgroundColor:this.getCssValue("--clr-background-light"),textColor:this.getCssValue("--clr-txt"),shadeColor:this.getCssValue("--clr-shade-lv1"),linkColor:"#157cfc",linkColorHover:"#3891ff"};this.sendMessage({type:"embed-css",style:buildStyles(ei)})}remoteUrl(){let{pubkey:ei,remoteTabSessionKey:eo,socialBaseUrl:ea}=this.cfg,{externalSourceType:es}=this.activityParams,eu=this.l10n("social-source-lang")?.split("-")?.[0]||"en",ec={lang:eu,public_key:ei,images_only:(!1).toString(),pass_window_open:!1,session_key:eo},ed=new URL(`/window3/${es}`,ea);return ed.search=queryString(ec),ed.toString()}mountIframe(){let ei=create({tag:"iframe",attributes:{src:this.remoteUrl(),marginheight:0,marginwidth:0,frameborder:0,allowTransparency:!0}});ei.addEventListener("load",this.handleIframeLoad.bind(this)),this.ref.iframeWrapper.innerHTML="",this.ref.iframeWrapper.appendChild(ei),registerMessage("file-selected",ei.contentWindow,this.handleFileSelected.bind(this)),this._iframe=ei,this.$.selectedList=[]}unmountIframe(){this._iframe&&unregisterMessage("file-selected",this._iframe.contentWindow),this.ref.iframeWrapper.innerHTML="",this._iframe=null,this.$.selectedList=[],this.$.counter=0}};ExternalSource.template=`
  <lr-activity-header>
    <button type="button" class="mini-btn" set="onclick: *historyBack">
      <lr-icon name="back"></lr-icon>
    </button>
    <div>
      <lr-icon set="@name: activityIcon"></lr-icon>
      <span>{{activityCaption}}</span>
    </div>
    <button type="button" class="mini-btn close-btn" set="onclick: *historyBack">
      <lr-icon name="close"></lr-icon>
    </button>
  </lr-activity-header>
  <div class="content">
    <div ref="iframeWrapper" class="iframe-wrapper"></div>
    <div class="toolbar">
      <button type="button" class="cancel-btn secondary-btn" set="onclick: onCancel" l10n="cancel"></button>
      <div></div>
      <div set="@hidden: !multiple" class="selected-counter"><span l10n="selected-count"></span>{{counter}}</div>
      <button type="button" class="done-btn primary-btn" set="onclick: onDone; @disabled: !counter">
        <lr-icon name="check"></lr-icon>
      </button>
    </div>
  </div>
`;let Tabs=class Tabs extends Block{setCurrentTab(ei){if(ei)for(let eo in[...this.ref.context.querySelectorAll("[tab-ctx]")].forEach(eo=>{eo.getAttribute("tab-ctx")===ei?eo.removeAttribute("hidden"):eo.setAttribute("hidden","")}),this._tabMap)eo===ei?this._tabMap[eo].setAttribute("current",""):this._tabMap[eo].removeAttribute("current")}initCallback(){super.initCallback(),this._tabMap={},this.defineAccessor("tab-list",ei=>{ei&&stringToArray(ei).forEach(ei=>{let eo=create({tag:"div",attributes:{class:"tab"},properties:{onclick:()=>{this.setCurrentTab(ei)}}});eo.textContent=this.l10n(ei),this.ref.row.appendChild(eo),this._tabMap[ei]=eo})}),this.defineAccessor("default",ei=>{this.setCurrentTab(ei)}),this.hasAttribute("default")||this.setCurrentTab(Object.keys(this._tabMap)[0])}};Tabs.bindAttributes({"tab-list":null,default:null}),Tabs.template=`
  <div ref="row" class="tabs-row"></div>
  <div ref="context" class="tabs-context">
    <slot></slot>
  </div>
`;let FormInput=class FormInput extends UploaderBlock{requireCtxName=!0;_createValidationInput(){let ei=document.createElement("input");return ei.type="text",ei.name=this.ctxName,ei.required=this.cfg.multipleMin>0,ei.tabIndex=-1,applyStyles(ei,{opacity:0,height:0,width:0}),ei}initCallback(){super.initCallback(),this._validationInputElement=this._createValidationInput(),this.appendChild(this._validationInputElement),this.sub("*collectionState",ei=>{{if(this._dynamicInputsContainer||(this._dynamicInputsContainer=document.createElement("div"),this.appendChild(this._dynamicInputsContainer)),!this._validationInputElement){let ei=this._createValidationInput();this.appendChild(ei),this._validationInputElement=ei}if(this._dynamicInputsContainer.innerHTML="","uploading"===ei.status||"idle"===ei.status){this._validationInputElement.value="",this._validationInputElement.setCustomValidity("");return}if("failed"===ei.status){let eo=ei.errors[0]?.message;this._validationInputElement.value="",this._validationInputElement.setCustomValidity(eo);return}let eo=ei.group?ei.group:null;if(eo){this._validationInputElement.value=eo.cdnUrl,this._validationInputElement.setCustomValidity("");return}let ea=ei.allEntries.map(ei=>ei.cdnUrl);if(!this.cfg.multiple&&1===ea.length){this._validationInputElement.value=ea[0],this._validationInputElement.setCustomValidity("");return}this._validationInputElement.remove(),this._validationInputElement=null;let es=new DocumentFragment;for(let ei of ea){let eo=document.createElement("input");eo.type="hidden",eo.name=`${this.ctxName}[]`,eo.value=ei,es.appendChild(eo)}this._dynamicInputsContainer.replaceChildren(es)}},!1)}};let ActivityHeader=class ActivityHeader extends ActivityBlock{};let Select=class Select extends Block{init$={...this.init$,currentText:"",options:[],selectHtml:"",onSelect:ei=>{ei.preventDefault(),ei.stopPropagation(),this.value=this.ref.select.value,this.$.currentText=this.$.options.find(ei=>ei.value==this.value)?.text||"",this.dispatchEvent(new Event("change"))}};initCallback(){super.initCallback(),this.sub("options",ei=>{this.$.currentText=ei?.[0]?.text||"";let eo="";ei?.forEach(ei=>{eo+=`<option value="${ei.value}">${ei.text}</option>`}),this.$.selectHtml=eo})}};Select.template=`
  <button>
    {{currentText}}
    <lr-icon name="select"></lr-icon>
    <select ref="select" set="innerHTML: selectHtml; onchange: onSelect"></select>
  </button>
`;let rV={PLAY:"play",PAUSE:"pause",FS_ON:"fullscreen-on",FS_OFF:"fullscreen-off",VOL_ON:"unmute",VOL_OFF:"mute",CAP_ON:"captions",CAP_OFF:"captions-off"},rX={requestFullscreen:ei=>{ei.requestFullscreen?ei.requestFullscreen():ei.webkitRequestFullscreen&&ei.webkitRequestFullscreen()},exitFullscreen:()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}};let Video=class Video extends Block{togglePlay(){this._video.paused||this._video.ended?this._video.play():this._video.pause()}toggleFullscreen(){(document.fullscreenElement||document.webkitFullscreenElement)===this?rX.exitFullscreen():rX.requestFullscreen(this)}toggleCaptions(){this.$.capIcon===rV.CAP_OFF?(this.$.capIcon=rV.CAP_ON,this._video.textTracks[0].mode="showing",window.localStorage.setItem(Video.is+":captions","1")):(this.$.capIcon=rV.CAP_OFF,this._video.textTracks[0].mode="hidden",window.localStorage.removeItem(Video.is+":captions"))}toggleSound(){this.$.volIcon===rV.VOL_ON?(this.$.volIcon=rV.VOL_OFF,this.$.volumeDisabled=!0,this._video.muted=!0):(this.$.volIcon=rV.VOL_ON,this.$.volumeDisabled=!1,this._video.muted=!1)}setVolume(ei){window.localStorage.setItem(Video.is+":volume",ei);let eo=ei?ei/100:0;this._video.volume=eo}get progress(){return this.ref.progress}init$={...this.init$,src:"",ppIcon:rV.PLAY,fsIcon:rV.FS_ON,volIcon:rV.VOL_ON,capIcon:rV.CAP_OFF,totalTime:"00:00",currentTime:"00:00",progressCssWidth:"0",hasSubtitles:!1,volumeDisabled:!1,volumeValue:0,onPP:()=>{this.togglePlay()},onFs:()=>{this.toggleFullscreen()},onCap:()=>{this.toggleCaptions()},onMute:()=>{this.toggleSound()},onVolChange:ei=>{let eo=parseFloat(ei.currentTarget.$.value);this.setVolume(eo)},progressClicked:ei=>{let eo=this.progress.getBoundingClientRect();this._video.currentTime=this._video.duration*(ei.offsetX/eo.width)}};_getUrl(ei){return ei.includes("/")?ei:`https://ucarecdn.com/${ei}/`}_desc2attrs(ei){let eo=[];for(let ea in ei){let es="src"===ea?this._getUrl(ei[ea]):ei[ea];eo.push(`${ea}="${es}"`)}return eo.join(" ")}_timeFmt(ei){let eo=new Date(1e3*Math.round(ei));return[eo.getMinutes(),eo.getSeconds()].map(ei=>ei<10?"0"+ei:ei).join(":")}_initTracks(){[...this._video.textTracks].forEach(ei=>{ei.mode="hidden"}),window.localStorage.getItem(Video.is+":captions")&&this.toggleCaptions()}_castAttributes(){let ei=["autoplay","loop","muted"];[...this.attributes].forEach(eo=>{ei.includes(eo.name)&&this._video.setAttribute(eo.name,eo.value)})}initCallback(){super.initCallback(),this._video=this.ref.video,this._castAttributes(),this._video.addEventListener("play",()=>{this.$.ppIcon=rV.PAUSE,this.setAttribute("playback","")}),this._video.addEventListener("pause",()=>{this.$.ppIcon=rV.PLAY,this.removeAttribute("playback")}),this.addEventListener("fullscreenchange",ei=>{console.log(ei),document.fullscreenElement===this?this.$.fsIcon=rV.FS_OFF:this.$.fsIcon=rV.FS_ON}),this.sub("src",ei=>{if(!ei)return;let eo=this._getUrl(ei);this._video.src=eo}),this.sub("video",async ei=>{if(!ei)return;let eo=await (await window.fetch(this._getUrl(ei))).json();eo.poster&&(this._video.poster=this._getUrl(eo.poster));let ea="";eo?.sources.forEach(ei=>{ea+=`<source ${this._desc2attrs(ei)} />`}),eo.tracks&&(eo.tracks.forEach(ei=>{ea+=`<track ${this._desc2attrs(ei)} />`}),this.$.hasSubtitles=!0),this._video.innerHTML+=ea,this._initTracks(),console.log(eo)}),this._video.addEventListener("loadedmetadata",ei=>{this.$.currentTime=this._timeFmt(this._video.currentTime),this.$.totalTime=this._timeFmt(this._video.duration)}),this._video.addEventListener("timeupdate",ei=>{let eo=Math.round(100*(this._video.currentTime/this._video.duration));this.$.progressCssWidth=eo+"%",this.$.currentTime=this._timeFmt(this._video.currentTime)});let ei=window.localStorage.getItem(Video.is+":volume");if(ei){let eo=parseFloat(ei);this.setVolume(eo),this.$.volumeValue=eo}}};Video.template=`
  <div class="video-wrapper">
    <video ref="video" preload="metadata" crossorigin="anonymous"></video>
  </div>

  <div class="toolbar">
    <div class="progress" ref="progress" set -onclick="progressClicked">
      <div class="bar" set -style.width="progressCssWidth"></div>
    </div>

    <div class="tb-block">
      <button set -onclick="onPP">
        <lr-icon set -@name="ppIcon"></lr-icon>
      </button>
      <div class="timer">{{currentTime}} / {{totalTime}}</div>
    </div>

    <div class="tb-block">
      <button set -onclick="onCap" -@hidden="!hasSubtitles">
        <lr-icon set -@name="capIcon"></lr-icon>
      </button>

      <button set -onclick="onMute">
        <lr-icon set -@name="volIcon"></lr-icon>
      </button>

      <lr-range type="range" set -onchange="onVolChange" -@disabled="volumeDisabled" -value="volumeValue"> </lr-range>

      <button set -onclick="onFs">
        <lr-icon set -@name="fsIcon"></lr-icon>
      </button>
    </div>
  </div>
`,Video.bindAttributes({video:"video",src:"src"});let Copyright=class Copyright extends Block{initCallback(){super.initCallback(),this.subConfigValue("removeCopyright",ei=>{this.toggleAttribute("hidden",!!ei)})}static template=`
    <a
      href="https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4"
      target="_blank noopener"
      class="credits"
      >Powered by Uploadcare</a
    >
  `};let SolutionBlock=class SolutionBlock extends Block{requireCtxName=!0;init$=uploaderBlockCtx(this);_template=null;static set template(ei){this._template=ei+"<slot></slot>"}static get template(){return this._template}};let FileUploaderRegular=class FileUploaderRegular extends SolutionBlock{initCallback(){super.initCallback(),this.sub("*modalActive",ei=>{this._lastModalActive!==ei&&this.emit(ei?eG.MODAL_OPEN:eG.MODAL_CLOSE,void 0,{debounce:!0}),this._lastModalActive=ei},!1)}};FileUploaderRegular.template=`
  <lr-simple-btn></lr-simple-btn>

  <lr-modal strokes block-body-scrolling>
    <lr-start-from>
      <lr-drop-area with-icon clickable></lr-drop-area>
      <lr-source-list wrap></lr-source-list>
      <button type="button" l10n="start-from-cancel" class="secondary-btn" set="onclick: *historyBack"></button>
      <lr-copyright></lr-copyright>
    </lr-start-from>
    <lr-upload-list></lr-upload-list>
    <lr-camera-source></lr-camera-source>
    <lr-url-source></lr-url-source>
    <lr-external-source></lr-external-source>
    <lr-cloud-image-editor-activity></lr-cloud-image-editor-activity>
  </lr-modal>

  <lr-progress-bar-common></lr-progress-bar-common>
`;let FileUploaderMinimal=class FileUploaderMinimal extends SolutionBlock{initCallback(){super.initCallback();let ei=this.ref.uBlock;this.sub("*currentActivity",eo=>{eo||(this.$["*currentActivity"]=ei.initActivity||ActivityBlock.activities.START_FROM)}),this.sub("*uploadList",eo=>{eo?.length>0?this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST:this.$["*currentActivity"]=ei.initActivity||ActivityBlock.activities.START_FROM}),this.subConfigValue("sourceList",ei=>{"local"!==ei&&(this.cfg.sourceList="local")}),this.subConfigValue("confirmUpload",ei=>{!1!==ei&&(this.cfg.confirmUpload=!1)})}};FileUploaderMinimal.template=`
  <lr-start-from>
    <lr-drop-area clickable l10n="choose-file"></lr-drop-area>
    <lr-copyright></lr-copyright>
  </lr-start-from>
  <lr-upload-list ref="uBlock"></lr-upload-list>
`;let FileUploaderInline=class FileUploaderInline extends SolutionBlock{constructor(){super(),this.init$={...this.init$,couldCancel:!1,cancel:()=>{this.couldHistoryBack?this.$["*historyBack"]():this.couldShowList&&(this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST)}}}get couldHistoryBack(){let ei=this.$["*history"];return ei.length>1&&ei[ei.length-1]!==ActivityBlock.activities.START_FROM}get couldShowList(){return this.cfg.showEmptyList||this.$["*uploadList"].length>0}initCallback(){super.initCallback();let ei=this.ref.uBlock;this.sub("*currentActivity",eo=>{eo||(this.$["*currentActivity"]=ei.initActivity||ActivityBlock.activities.START_FROM)}),this.sub("*uploadList",eo=>{eo?.length>0&&this.$["*currentActivity"]===(ei.initActivity||ActivityBlock.activities.START_FROM)&&(this.$["*currentActivity"]=ActivityBlock.activities.UPLOAD_LIST)}),this.sub("*history",()=>{this.$.couldCancel=this.couldHistoryBack||this.couldShowList})}};FileUploaderInline.template=` <lr-start-from>
    <lr-drop-area with-icon clickable></lr-drop-area>
    <lr-source-list wrap></lr-source-list>
    <button
      type="button"
      l10n="start-from-cancel"
      class="cancel-btn secondary-btn"
      set="onclick: cancel; @hidden: !couldCancel"
    ></button>
    <lr-copyright></lr-copyright>
  </lr-start-from>
  <lr-upload-list ref="uBlock"></lr-upload-list>
  <lr-camera-source></lr-camera-source>
  <lr-url-source></lr-url-source>
  <lr-external-source></lr-external-source>
  <lr-progress-bar></lr-progress-bar>
  <lr-cloud-image-editor-activity></lr-cloud-image-editor-activity>`;let CloudImageEditor=class CloudImageEditor extends CloudImageEditorBlock{initCallback(){super.initCallback(),this.__shadowReady=!0,this.$["*faderEl"]=this.ref["fader-el"],this.$["*cropperEl"]=this.ref["cropper-el"],this.$["*imgContainerEl"]=this.ref["img-container-el"],this.initEditor()}async initEditor(){this.__shadowReady&&await super.initEditor()}};let rq="LR";async function connectBlocksFrom(ei,eo=!1){return new Promise((ea,es)=>{if("object"!=typeof document){ea(null);return}if("object"==typeof window&&window[rq]){ea(window[rq]);return}let eu=document.createElement("script");eu.async=!0,eu.src=ei,eu.onerror=()=>{es()},eu.onload=()=>{let ei=window[rq];eo&&registerBlocks(ei),ea(ei)},document.head.appendChild(eu)})}let r$=new Set(["children","ref","style","className"]),b=(ei={})=>null==Object?void 0:Object.keys(ei).reduce((eo,ea)=>{var es,eu;let ec=null==ei?void 0:ei[ea],ed=`on${null==(eu=null==(es=null==ec?void 0:ec.split("-"))?void 0:es.map(ei=>ei.charAt(0).toUpperCase()+ei.slice(1)))?void 0:eu.join("")}`;return eo[ed]=ec,eo},{}),rW=new WeakMap,O=ei=>{let eo=rW.get(ei);return void 0===eo&&(eo=new Map,rW.set(ei,eo)),eo},x=({node:ei,nameProp:eo,valueProp:ea,prevValueProp:es,event:eu})=>{if(void 0!==eu){if(ea!==es){let eo=O(ei),es=eo.has(eu),ec=eo.get(eu);void 0!==ea?es?ec.handleEvent=ea:(ec={handleEvent:ea},eo.set(eu,ec),ei.addEventListener(eu,ei=>ec.handleEvent(ei.detail))):es&&(eo.delete(eu),ei.removeEventListener(eu,ec))}return}ei[eo]=ea,null==ea&&eo in HTMLElement.prototype&&ei.removeAttribute(eo)},T=(ei,eo,ea)=>{let es={},eu={};return Object.entries(ei).forEach(([ei,ec])=>{r$.has(ei)?es["className"===ei?"class":ei]=ec:eo.has(ei)||ei in ea.prototype?eu[ei]=ec:es[ei]=ec}),{reactProps:es,customElProps:eu}},v=({react:ei,tag:eo,elClass:ea,schemaEvents:es})=>{let eu=b(es),ec=new Set(Object.keys(eu??{})),ed=ei.forwardRef((es,ed)=>{let ef=ei.useRef(new Map),eh=ei.useRef(null),{reactProps:ep,customElProps:em}=T(es,ec,ea);return ei.useLayoutEffect(()=>{if(null===eh.current)return;let ei=new Map;for(let eo in em)x({node:eh.current,nameProp:eo,valueProp:em[eo],prevValueProp:ef.current.get(eo),event:eu[eo]}),ef.current.delete(eo),ei.set(eo,es[eo]);for(let[ei,eo]of ef.current)x({node:eh.current,nameProp:ei,valueProp:void 0,prevValueProp:eo,event:eu[ei]});ef.current=ei}),ei.createElement(eo??ea.__tag,{...ep,ref:ei.useCallback(ei=>{eh.current=ei,"function"==typeof ed?ed(ei):null!==ed&&(ed.current=ei)},[ed])})});return ed.displayName=ea.name,ed},rK=v({react:ep,tag:"lr-config",elClass:tD}),rG=v({react:ep,tag:"lr-upload-ctx-provider",elClass:rn,schemaEvents:rn.EventType}),C=ei=>{let eo={},ea={};return Object.entries(ei).forEach(([ei,es])=>{ei.startsWith("on")?eo[ei]=es:ea[ei]=es}),{eventHandlers:eo,config:ea}},rZ="0.5.3",rJ="React-Uploader",U=()=>`${rJ}/${rZ}`,w=({children:ei})=>ei,A=()=>{let[ei,eo]=(0,ep.useState)(!1);return(0,ep.useEffect)(()=>{"u">typeof window&&eo(!0)},[]),ei};registerBlocks(ef),v({react:ep,tag:"lr-file-uploader-regular",elClass:FileUploaderRegular}),registerBlocks(ef),v({react:ep,tag:"lr-file-uploader-minimal",elClass:FileUploaderMinimal}),registerBlocks(ef);let rY=v({react:ep,tag:"lr-file-uploader-inline",elClass:FileUploaderMinimal}),D=({ctxName:ei,className:eo,classNameUploader:ea,apiRef:es,fallback:eu,...ec})=>{let ed=(0,ep.useMemo)(()=>ei??e_.generate(),[ei]),{eventHandlers:ef,config:eh}=(0,ep.useMemo)(()=>C(ec),[ec]),em=A();return ep.createElement(w,{condition:em,fallback:eu},ep.createElement("div",{className:eo},ep.createElement(rK,{userAgentIntegration:U(),"ctx-name":ed,...eh}),ep.createElement(rG,{ref:es,"ctx-name":ed,...ef}),ep.createElement(rY,{class:ea,"ctx-name":ed})))};ea(29129);var rQ=ea(20337),r0=ea(13205);let r1="local, url, gdrive, dropbox, onedrive",r2=[rQ.U.PDF,rQ.U.DOCX],r3=r2.map(ei=>"".concat(r0.G[ei],",").concat(r0.G[ei],"; charset=utf-8")).join(","),r8="".concat(r0.G.docx,",").concat(r0.G.docx,"; charset=utf-8,").concat(r0.G.pdf,",").concat(r0.G.pdf,"; charset=utf-8"),r6=30,r5=1048576*r6;var r4=ea(56097);let r7={en:{"upload-file":"Upload file","upload-files":"Upload files","choose-file":"Click to choose file or drag and drop","choose-files":"Click to choose files or drag and drop","drop-files-here":"Click to choose file(s) or drag and drop here","no-files":"No files selected","files-count-allowed":"Only {{count}} {{plural:photo(count)}} allowed","files-max-size-limit-error":"File is too big. Max file size is {{maxFileSize}}.","header-uploading":"Uploading {{count}} {{plural:photo(count)}}","header-succeed":"{{count}} {{plural:photo(count)}} uploaded","header-total":"{{count}} {{plural:photo(count)}} selected",photo__one:"file",photo__many:"files",photo__other:"files"}},r9="helper-text-wrapper",nr="lr-start-from .content-wrapper",injectValidationsTextInDropArea=(ei,eo)=>{let ea=document.querySelector(nr);if(ea){let es=document.createElement("div");es.classList.add(r9);let eu=document.createElement("span");eu.classList.add("font-medium","uppercase"),eu.textContent=ei;let ec=document.createElement("span");ec.textContent="\xb7",ec.setAttribute("aria-hidden","true");let ed=document.createElement("span");ed.textContent="Max size";let ef=document.createElement("span");ef.classList.add("font-medium"),ef.textContent=" ".concat(eo,"MB"),ed.appendChild(ef),es.appendChild(eu),es.appendChild(ec),es.appendChild(ed),ea.appendChild(es)}},removeValidationsTextFromDropArea=()=>{let ei=document.querySelector(nr);if(ei){let eo=ei.querySelector(".".concat(r9));eo&&ei.removeChild(eo)}},UploadcareFileUploaderInline=ei=>{let{isDisabled:eo=!1,contextProviderRef:ea,onUploading:es,onFinished:eu,onDone:ec,metadata:ed,onFilesUploadedFailed:ef,onFilesUploadedSuccess:em}=ei,{ctxProviderRef:eg,resetUploaderState:eb}=eP({ref:ea}),ey=(0,ep.useCallback)(async ei=>{let{status:eo,successCount:ea,successEntries:ec,failedCount:ed}=ei;if("success"===eo||"failed"===eo){if(ea){if(!ec.length)return;em(ec)}ed&&ef(ed),null==eu||eu()}else"uploading"===eo&&(null==es||es())},[ef,em,eu,es]);return(0,ep.useEffect)(()=>(injectValidationsTextInDropArea(r2.join(", "),r6.toString()),()=>removeValidationsTextFromDropArea()),[]),(0,eh.jsx)("div",{className:"space-y-3",children:(0,eh.jsx)(D,{removeCopyright:!0,confirmUpload:!0,checkForUrlDuplicates:!0,multiple:!0,store:!1,imgOnly:!1,className:(0,r4._)("file-uploader-wrapper",eo&&"pointer-events-none opacity-disabled"),localeDefinitionOverride:r7,pubkey:"dae2ad21f3c05aaf9d78",apiRef:eg,sourceList:r1,maxLocalFileSizeBytes:r5,accept:r3,externalSourcesPreferredTypes:r8,metadata:ed,onDoneClick:ec,onChange:ey,onModalClose:eb})})};var nn=UploadcareFileUploaderInline,ni=ea(98757),no=ea(30202),na=ea(98029),ns=ea(53234),nl=ea(31890);function useUploadDocumentFiles(){let ei=(0,no.NL)();return(0,na.D)({mutationKey:ns.Y.DOCUMENTS.batchUpload,mutationFn:ei=>nl.Z.uploadDocumenFiles(ei),onSuccess:async eo=>{let ea=[ns.Y.DOCUMENT_INFO_FIELDS.getAllValuesByDocument()[0]],es={queryKey:ea,exact:!1};ei.cancelQueries(es),await ei.invalidateQueries(es)}})}var nu=ea(30647),nc=ea(38965),nd=ea(23471),nf=ea(43051);let UploadFilesDialog=ei=>{let{isOpen:eo,onChange:ea,onClose:es}=ei,[eu,ec]=(0,ep.useState)(!1),{ctxProviderRef:ed}=eP(),ef=(0,ni.r)(),{mutateAsync:em,isPending:eg,error:eS}=useUploadDocumentFiles(),{data:eE}=(0,nd.a)(),{toast:ek}=(0,nu.pm)(),eT=(0,ep.useMemo)(()=>({userId:(null==eE?void 0:eE.id)||"",accountId:(null==ef?void 0:ef.id)||""}),[eE,ef]),eC=(0,ep.useCallback)(ei=>{ek.error(ei>1?"".concat(ei," file uploads failed"):"File upload failed")},[ek]),e_=(0,ep.useCallback)(async ei=>{let eo=ei.map(ei=>{let{name:eo,uuid:ea,cdnUrl:es}=ei;return{originalName:eo,externalId:ea,url:es,tags:[]}});if(!eo.length)return;let ea=await em({files:eo});if(ea){let{successCount:ei,failedCount:eo}=ea;ei&&ek.success(ei>1?"".concat(ei," files uploaded"):"File uploaded"),eo&&eC(eo)}},[eC,em]),eA=(0,ep.useCallback)(ei=>{eC(ei)},[eC]);return(0,eh.jsx)(eb.R,{classNames:{closeButton:"top-1"},isOpen:eo,onOpenChange:ea,children:(0,eh.jsxs)(ey.A,{children:[(0,eh.jsx)(ew.k,{className:"py-7",children:(0,eh.jsxs)("div",{className:"flex w-full flex-col items-center gap-1",children:[(0,eh.jsx)("div",{className:"text-2xl font-bold",children:"Upload Document"}),(0,eh.jsx)("div",{className:"text-small font-light text-default-500",children:"Your contract data is secure and confidential"})]})}),(0,eh.jsxs)(ex.I,{className:"pb-7",children:[(0,eh.jsx)(nn,{metadata:eT,isDisabled:eu||eg,contextProviderRef:ed,onUploading:()=>{ec(!0)},onFinished:()=>{ec(!1)},onFilesUploadedSuccess:e_,onFilesUploadedFailed:eA,onDone:es}),(0,eh.jsx)("div",{className:"mt-4 text-center text-tiny text-default-400",children:"(Clause analysis is unavailable for PDF)"}),!!eS&&(0,eh.jsx)("div",{className:"pt-4 w-full",children:(0,eh.jsx)(nc.Z,{color:"error",title:"Upload Failed",message:(0,eh.jsxs)("span",{children:["There was an error uploading the document(s). Please contact support by emailing ",(0,eh.jsx)(nf.Z,{})]})})})]})]})})};var nh=UploadFilesDialog;let DocumentsAddButton=ei=>{let{text:eo="Upload Document",asAction:ea=!1,isCompact:es=!1}=ei,[ec,ed]=(0,ep.useState)(!1),ef=(0,ep.useCallback)(()=>ed(!1),[]),eb=(0,ep.useCallback)(()=>ed(!0),[]);return(0,ep.useEffect)(()=>{let handleKeyDown=ei=>{let eo=document.activeElement===document.body;"string"==typeof ei.key&&ei.key.toLowerCase()===eu.UPLOAD_DOCUMENTS&&eo&&!ec&&eb()};return document.addEventListener("keydown",handleKeyDown),()=>{document.removeEventListener("keydown",handleKeyDown)}},[eb,ec]),(0,eh.jsxs)(eh.Fragment,{children:[ea?(0,eh.jsx)(em.Z,{color:"primary",size:"md",variant:"flat",onClick:eb,startContent:(0,eh.jsx)(FileAddIcon,{className:"flex-none text-current h-5 w-5"}),children:eo}):es?(0,eh.jsx)(eg.Z,{content:"Upload new document",shortcutText:"D",placement:"right",children:(0,eh.jsx)(em.Z,{isIconOnly:!0,color:"primary",variant:"shadow",size:"sm",onClick:eb,className:"rounded-full","aria-label":"Upload new documents",children:(0,eh.jsx)(FileAddIcon,{className:"flex-none text-current h-5 w-5"})})}):(0,eh.jsx)("div",{className:"flex justify-center",children:(0,eh.jsx)(eg.Z,{content:"Upload new document",shortcutText:"D",placement:"right",children:(0,eh.jsx)(em.Z,{color:"primary",variant:"shadow",size:"sm",className:"w-9/12",onClick:eb,"aria-label":"Upload new documents",startContent:(0,eh.jsx)(FileAddIcon,{className:"flex-none text-current h-[18px] w-[18px]"}),children:eo})})}),(0,eh.jsx)(nh,{onChange:ed,isOpen:ec,onClose:ef})]})};var np=DocumentsAddButton},39365:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return Loader}});var es=ea(85893),eu=ea(82203);ea(67294);let Loader=()=>(0,es.jsx)("div",{className:"flex h-full min-h-0 w-full items-center justify-center overflow-hidden",children:(0,es.jsx)(eu.c,{size:"lg"})})},43051:function(ei,eo,ea){"use strict";var es=ea(85893),eu=ea(87183),ec=ea(67294);let ed=(0,ec.memo)(()=>(0,es.jsx)(eu.O,{isExternal:!0,size:"sm",className:"ui font-bold text-inherit",href:"mailto:support@docsum.ai",children:"support@docsum.ai"}));ed.displayName="SupportLink",eo.Z=ed},38965:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return ek}});var es=ea(85893),eu=ea(56097),ec=ea(67294);function CheckCircleIcon({title:ei,titleId:eo,...ea},es){return ec.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:es,"aria-labelledby":eo},ea),ei?ec.createElement("title",{id:eo},ei):null,ec.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"}))}let ed=ec.forwardRef(CheckCircleIcon);var ef=ed;function XCircleIcon({title:ei,titleId:eo,...ea},es){return ec.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:es,"aria-labelledby":eo},ea),ei?ec.createElement("title",{id:eo},ei):null,ec.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"}))}let eh=ec.forwardRef(XCircleIcon);var ep=eh;function ExclamationTriangleIcon({title:ei,titleId:eo,...ea},es){return ec.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:es,"aria-labelledby":eo},ea),ei?ec.createElement("title",{id:eo},ei):null,ec.createElement("path",{fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}let em=ec.forwardRef(ExclamationTriangleIcon);var eg=em;function InformationCircleIcon({title:ei,titleId:eo,...ea},es){return ec.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:es,"aria-labelledby":eo},ea),ei?ec.createElement("title",{id:eo},ei):null,ec.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"}))}let eb=ec.forwardRef(InformationCircleIcon);var ey=eb;function ChatBubbleBottomCenterTextIcon({title:ei,titleId:eo,...ea},es){return ec.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:es,"aria-labelledby":eo},ea),ei?ec.createElement("title",{id:eo},ei):null,ec.createElement("path",{fillRule:"evenodd",d:"M10 2c-2.236 0-4.43.18-6.57.524C1.993 2.755 1 4.014 1 5.426v5.148c0 1.413.993 2.67 2.43 2.902 1.168.188 2.352.327 3.55.414.28.02.521.18.642.413l1.713 3.293a.75.75 0 001.33 0l1.713-3.293a.783.783 0 01.642-.413 41.102 41.102 0 003.55-.414c1.437-.231 2.43-1.49 2.43-2.902V5.426c0-1.413-.993-2.67-2.43-2.902A41.289 41.289 0 0010 2zM6.75 6a.75.75 0 000 1.5h6.5a.75.75 0 000-1.5h-6.5zm0 2.5a.75.75 0 000 1.5h3.5a.75.75 0 000-1.5h-3.5z",clipRule:"evenodd"}))}let ew=ec.forwardRef(ChatBubbleBottomCenterTextIcon);var ex=ew;let eP={success:ef,error:ep,warning:eg,info:ey,default:ex},eS={default:{background:"bg-gray-100 dark:bg-black/50",icon:"text-gray-400 dark:text-gray-400",title:"font-medium text-gray-600 dark:text-white",message:"text-gray-500 dark:text-white/80"},success:{background:"bg-green-50 dark:bg-green-900/25",icon:"text-green-400 dark:text-green-600",title:"font-medium text-green-800 dark:text-green-300",message:"text-green-700 dark:text-green-200"},error:{background:"bg-danger-50 dark:bg-danger-200/30",icon:"text-danger-400 dark:text-danger-500",title:"font-medium text-danger-700 dark:text-danger-500",message:"text-danger-600 dark:text-danger-700"},warning:{background:"bg-yellow-50 dark:bg-yellow-900/20",icon:"text-yellow-400 dark:text-yellow-600",title:"font-medium text-yellow-800 dark:text-yellow-400",message:"text-yellow-700 dark:text-yellow-100"},info:{background:"bg-blue-50 dark:bg-blue-900/20",icon:"text-blue-400 dark:text-blue-600",title:"font-medium text-blue-800 dark:text-blue-400",message:"text-blue-700 dark:text-blue-100"}},eE=(0,ec.memo)(ei=>{let{color:eo="default",dense:ea=!1,message:ec,title:ed,className:ef="",hideIcon:eh=!1,children:ep}=ei,em=eP[eo],eg=eS[eo];return(0,es.jsx)("div",{className:(0,eu.cn)(ea?"py-1":"py-4",ef,"rounded-md px-4",eg.background),children:(0,es.jsxs)("div",{className:"flex items-start",children:[!eh&&(0,es.jsx)("div",{className:"flex-shrink-0",children:(0,es.jsx)(em,{className:(0,eu.cn)(ea?"h4 w-4":"h-5 w-5",eg.icon),"aria-hidden":"true"})}),(0,es.jsx)("div",{className:(0,eu.cn)(eh?"":"ml-3",eg.message,"w-full"),children:ep||(0,es.jsxs)(es.Fragment,{children:[ed&&(0,es.jsx)("h3",{className:(0,eu.cn)("ui mb-1 pt-0.5 tracking-tight text-sm leading-none",eg.title),children:ed}),ec&&(0,es.jsx)("p",{className:"mb-0 text-small text-inherit font-light",children:ec})]})})]})})});eE.displayName="UIAlert";var ek=eE},80247:function(ei,eo,ea){"use strict";var es=ea(85893),eu=ea(38787),ec=ea(67294),ed=ea(56097);let ef=(0,ec.forwardRef)((ei,eo)=>{let{alterClassNameByParent:ea,children:ec,className:ef,...eh}=ei;return(0,es.jsx)(eu.A,{ref:eo,className:(0,ed.cn)(ea?"":"rounded-small",ef,"data-[focus-visible=true]:outline-0 data-[focus-visible=true]:outline-offset-0 data-[focus-visible=true]:ring-1 data-[focus-visible=true]:ring-focus data-[focus-visible=true]:ring-offset-0"),...eh,children:ec})});ef.displayName="UIButton",eo.Z=ef},76809:function(ei,eo,ea){"use strict";var es=ea(85893),eu=ea(63026),ec=ea(32616),ed=ea(26887),ef=ea(72825),eh=ea(87263),ep=ea(67294);let UIDropdown=ei=>{let{items:eo,sections:ea,dropdownProps:em,triggerContent:eg,...eb}=ei,{base:ey,...ew}=eb.itemClasses||{},ex=(0,ep.useMemo)(()=>ea?ea.map(ei=>{let{items:eo,...ea}=ei;return(0,es.jsx)(eu.d,{...ea,classNames:{base:"last-of-type:mb-0"},children:eo.map(ei=>(0,es.jsx)(ec.W,{...ei},ei.key))},ea.key)}):eo?eo.map(ei=>(0,es.jsx)(ec.W,{...ei},ei.key)):null,[ea,eo]);return ex?(0,es.jsxs)(ed.F,{...em,radius:"sm",className:"border-small border-divider shadow-md dark:dropdownDark",classNames:{content:"bg-background"},children:[eg&&(0,es.jsx)(ef.S,{children:eg}),(0,es.jsx)(eh.a,{...eb,itemClasses:{base:["text-default-500","transition-opacity","data-[hover=true]:bg-default-100 dark:data-[hover=true]:bg-default-50 data-[selectable=true]:focus:bg-default-50 data-[pressed=true]:opacity-70 data-[focus=true]:text-default-foreground data-[focus-visible=true]:z-0 data-[focus-visible=true]:outline-0 data-[focus-visible=true]:outline-none data-[focus-visible=true]:outline-offset-0 data-[focus-visible=true]:dark:ring-offset-background-content1",...Array.from(ey||[])],title:["text-xs","text-default-500","group-hover:text-default-foreground"],description:["group-hover:text-default-500"],...ew},children:ex})]}):null};UIDropdown.displayName="UIDropdown",eo.Z=UIDropdown},76457:function(ei,eo,ea){"use strict";var es=ea(85893),eu=ea(20998),ec=ea(67294),ed=ea(56097);let ef=(0,ec.forwardRef)((ei,eo)=>{var ea,ec;return(0,es.jsx)(eu.Y,{ref:eo,...ei,classNames:{...ei.classNames,input:(0,ed.cn)(["ui","placeholder-default-400",null===(ea=ei.classNames)||void 0===ea?void 0:ea.input]),inputWrapper:(0,ed.cn)("px-3","group-data-[focus-visible=true]:outline-0","group-data-[focus-visible=true]:outline-offset-0","group-data-[focus=true]:ring-1","group-data-[focus=true]:ring-focus","group-data-[focus-visible=true]:ring-1","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-0",null===(ec=ei.classNames)||void 0===ec?void 0:ec.inputWrapper)}})});ef.displayName="UIInput",eo.Z=ef},30647:function(ei,eo,ea){"use strict";ea.d(eo,{ZP:function(){return eM},pm:function(){return useToast}});var es,eu=ea(85893),ec=ea(22567),ed=ea(67294),ef=ea(73935),Ct=ei=>{switch(ei){case"success":return ep;case"info":return eg;case"warning":return em;case"error":return eb;default:return null}},eh=Array(12).fill(0),It=({visible:ei})=>ed.createElement("div",{className:"sonner-loading-wrapper","data-visible":ei},ed.createElement("div",{className:"sonner-spinner"},eh.map((ei,eo)=>ed.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${eo}`})))),ep=ed.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ed.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),em=ed.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ed.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),eg=ed.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ed.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),eb=ed.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ed.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Dt=()=>{let[ei,eo]=ed.useState(document.hidden);return ed.useEffect(()=>{let t=()=>{eo(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),ei},ey=1,ew=new class{constructor(){this.subscribe=ei=>(this.subscribers.push(ei),()=>{let eo=this.subscribers.indexOf(ei);this.subscribers.splice(eo,1)}),this.publish=ei=>{this.subscribers.forEach(eo=>eo(ei))},this.addToast=ei=>{this.publish(ei),this.toasts=[...this.toasts,ei]},this.create=ei=>{var eo;let{message:ea,...es}=ei,eu="number"==typeof(null==ei?void 0:ei.id)||(null==(eo=ei.id)?void 0:eo.length)>0?ei.id:ey++,ec=this.toasts.find(ei=>ei.id===eu),ed=void 0===ei.dismissible||ei.dismissible;return ec?this.toasts=this.toasts.map(eo=>eo.id===eu?(this.publish({...eo,...ei,id:eu,title:ea}),{...eo,...ei,id:eu,dismissible:ed,title:ea}):eo):this.addToast({title:ea,...es,dismissible:ed,id:eu}),eu},this.dismiss=ei=>(ei||this.toasts.forEach(ei=>{this.subscribers.forEach(eo=>eo({id:ei.id,dismiss:!0}))}),this.subscribers.forEach(eo=>eo({id:ei,dismiss:!0})),ei),this.message=(ei,eo)=>this.create({...eo,message:ei}),this.error=(ei,eo)=>this.create({...eo,message:ei,type:"error"}),this.success=(ei,eo)=>this.create({...eo,type:"success",message:ei}),this.info=(ei,eo)=>this.create({...eo,type:"info",message:ei}),this.warning=(ei,eo)=>this.create({...eo,type:"warning",message:ei}),this.loading=(ei,eo)=>this.create({...eo,type:"loading",message:ei}),this.promise=(ei,eo)=>{let ea;if(!eo)return;void 0!==eo.loading&&(ea=this.create({...eo,promise:ei,type:"loading",message:eo.loading,description:"function"!=typeof eo.description?eo.description:void 0}));let es=ei instanceof Promise?ei:ei(),eu=void 0!==ea;return es.then(async ei=>{if(Ot(ei)&&!ei.ok){eu=!1;let es="function"==typeof eo.error?await eo.error(`HTTP error! status: ${ei.status}`):eo.error,ec="function"==typeof eo.description?await eo.description(`HTTP error! status: ${ei.status}`):eo.description;this.create({id:ea,type:"error",message:es,description:ec})}else if(void 0!==eo.success){eu=!1;let es="function"==typeof eo.success?await eo.success(ei):eo.success,ec="function"==typeof eo.description?await eo.description(ei):eo.description;this.create({id:ea,type:"success",message:es,description:ec})}}).catch(async ei=>{if(void 0!==eo.error){eu=!1;let es="function"==typeof eo.error?await eo.error(ei):eo.error,ec="function"==typeof eo.description?await eo.description(ei):eo.description;this.create({id:ea,type:"error",message:es,description:ec})}}).finally(()=>{var ei;eu&&(this.dismiss(ea),ea=void 0),null==(ei=eo.finally)||ei.call(eo)}),ea},this.custom=(ei,eo)=>{let ea=(null==eo?void 0:eo.id)||ey++;return this.create({jsx:ei(ea),id:ea,...eo}),ea},this.subscribers=[],this.toasts=[]}},Ot=ei=>ei&&"object"==typeof ei&&"ok"in ei&&"boolean"==typeof ei.ok&&"status"in ei&&"number"==typeof ei.status,Xt=()=>ew.toasts,ex=Object.assign((ei,eo)=>{let ea=(null==eo?void 0:eo.id)||ey++;return ew.addToast({title:ei,...eo,id:ea}),ea},{success:ew.success,info:ew.info,warning:ew.warning,error:ew.error,custom:ew.custom,message:ew.message,promise:ew.promise,dismiss:ew.dismiss,loading:ew.loading},{getHistory:Xt});function U(ei){return void 0!==ei.label}!function(ei,{insertAt:eo}={}){if(!ei||"undefined"==typeof document)return;let ea=document.head||document.getElementsByTagName("head")[0],es=document.createElement("style");es.type="text/css","top"===eo&&ea.firstChild?ea.insertBefore(es,ea.firstChild):ea.appendChild(es),es.styleSheet?es.styleSheet.cssText=ei:es.appendChild(document.createTextNode(ei))}(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
`);var eP=3,eS="32px",eE=4e3,ek=356,eT=14,eC=20,e_=200;function ne(...ei){return ei.filter(Boolean).join(" ")}var se=ei=>{var eo,ea,es,eu,ec,ef,eh,ep,em,eg;let{invert:eb,toast:ey,unstyled:ew,interacting:ex,setHeights:eP,visibleToasts:eS,heights:ek,index:eT,toasts:eA,expanded:eO,removeToast:eM,defaultRichColors:eR,closeButton:ej,style:eN,cancelButtonStyle:eL,actionButtonStyle:eD,className:eI="",descriptionClassName:ez="",duration:eB,position:eF,gap:eH,loadingIcon:eU,expandByDefault:eV,classNames:eX,icons:eq,closeButtonAriaLabel:e$="Close toast",pauseWhenPageIsHidden:eW,cn:eK}=ei,[eG,eZ]=ed.useState(!1),[eJ,eY]=ed.useState(!1),[eQ,e0]=ed.useState(!1),[e1,e3]=ed.useState(!1),[e8,e6]=ed.useState(0),[e5,e4]=ed.useState(0),e7=ed.useRef(null),e9=ed.useRef(null),tr=0===eT,tn=eT+1<=eS,ti=ey.type,ta=!1!==ey.dismissible,ts=ey.className||"",tl=ey.descriptionClassName||"",tu=ed.useMemo(()=>ek.findIndex(ei=>ei.toastId===ey.id)||0,[ek,ey.id]),tc=ed.useMemo(()=>{var ei;return null!=(ei=ey.closeButton)?ei:ej},[ey.closeButton,ej]),td=ed.useMemo(()=>ey.duration||eB||eE,[ey.duration,eB]),tf=ed.useRef(0),th=ed.useRef(0),tp=ed.useRef(0),tm=ed.useRef(null),[tg,tb]=eF.split("-"),ty=ed.useMemo(()=>ek.reduce((ei,eo,ea)=>ea>=tu?ei:ei+eo.height,0),[ek,tu]),tw=Dt(),tx=ey.invert||eb,tP="loading"===ti;th.current=ed.useMemo(()=>tu*eH+ty,[tu,ty]),ed.useEffect(()=>{eZ(!0)},[]),ed.useLayoutEffect(()=>{if(!eG)return;let ei=e9.current,eo=ei.style.height;ei.style.height="auto";let ea=ei.getBoundingClientRect().height;ei.style.height=eo,e4(ea),eP(ei=>ei.find(ei=>ei.toastId===ey.id)?ei.map(ei=>ei.toastId===ey.id?{...ei,height:ea}:ei):[{toastId:ey.id,height:ea,position:ey.position},...ei])},[eG,ey.title,ey.description,eP,ey.id]);let tS=ed.useCallback(()=>{eY(!0),e6(th.current),eP(ei=>ei.filter(ei=>ei.toastId!==ey.id)),setTimeout(()=>{eM(ey)},e_)},[ey,eM,eP,th]);function Yt(){return null!=eq&&eq.loading?ed.createElement("div",{className:"sonner-loader","data-visible":"loading"===ti},eq.loading):eU?ed.createElement("div",{className:"sonner-loader","data-visible":"loading"===ti},eU):ed.createElement(It,{visible:"loading"===ti})}return ed.useEffect(()=>{if(ey.promise&&"loading"===ti||ey.duration===1/0||"loading"===ey.type)return;let ei,eo=td;return eO||ex||eW&&tw?(()=>{if(tp.current<tf.current){let ei=new Date().getTime()-tf.current;eo-=ei}tp.current=new Date().getTime()})():(()=>{eo!==1/0&&(tf.current=new Date().getTime(),ei=setTimeout(()=>{var ei;null==(ei=ey.onAutoClose)||ei.call(ey,ey),tS()},eo))})(),()=>clearTimeout(ei)},[eO,ex,eV,ey,td,tS,ey.promise,ti,eW,tw]),ed.useEffect(()=>{let ei=e9.current;if(ei){let eo=ei.getBoundingClientRect().height;return e4(eo),eP(ei=>[{toastId:ey.id,height:eo,position:ey.position},...ei]),()=>eP(ei=>ei.filter(ei=>ei.toastId!==ey.id))}},[eP,ey.id]),ed.useEffect(()=>{ey.delete&&tS()},[tS,ey.delete]),ed.createElement("li",{"aria-live":ey.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:e9,className:eK(eI,ts,null==eX?void 0:eX.toast,null==(eo=null==ey?void 0:ey.classNames)?void 0:eo.toast,null==eX?void 0:eX.default,null==eX?void 0:eX[ti],null==(ea=null==ey?void 0:ey.classNames)?void 0:ea[ti]),"data-sonner-toast":"","data-rich-colors":null!=(es=ey.richColors)?es:eR,"data-styled":!(ey.jsx||ey.unstyled||ew),"data-mounted":eG,"data-promise":!!ey.promise,"data-removed":eJ,"data-visible":tn,"data-y-position":tg,"data-x-position":tb,"data-index":eT,"data-front":tr,"data-swiping":eQ,"data-dismissible":ta,"data-type":ti,"data-invert":tx,"data-swipe-out":e1,"data-expanded":!!(eO||eV&&eG),style:{"--index":eT,"--toasts-before":eT,"--z-index":eA.length-eT,"--offset":`${eJ?e8:th.current}px`,"--initial-height":eV?"auto":`${e5}px`,...eN,...ey.style},onPointerDown:ei=>{tP||!ta||(e7.current=new Date,e6(th.current),ei.target.setPointerCapture(ei.pointerId),"BUTTON"!==ei.target.tagName&&(e0(!0),tm.current={x:ei.clientX,y:ei.clientY}))},onPointerUp:()=>{var ei,eo,ea,es;if(e1||!ta)return;tm.current=null;let eu=Number((null==(ei=e9.current)?void 0:ei.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ec=Math.abs(eu)/(new Date().getTime()-(null==(eo=e7.current)?void 0:eo.getTime()));if(Math.abs(eu)>=eC||ec>.11){e6(th.current),null==(ea=ey.onDismiss)||ea.call(ey,ey),tS(),e3(!0);return}null==(es=e9.current)||es.style.setProperty("--swipe-amount","0px"),e0(!1)},onPointerMove:ei=>{var eo;if(!tm.current||!ta)return;let ea=ei.clientY-tm.current.y,es=ei.clientX-tm.current.x,eu=("top"===tg?Math.min:Math.max)(0,ea),ec="touch"===ei.pointerType?10:2;Math.abs(eu)>ec?null==(eo=e9.current)||eo.style.setProperty("--swipe-amount",`${ea}px`):Math.abs(es)>ec&&(tm.current=null)}},tc&&!ey.jsx?ed.createElement("button",{"aria-label":e$,"data-disabled":tP,"data-close-button":!0,onClick:tP||!ta?()=>{}:()=>{var ei;tS(),null==(ei=ey.onDismiss)||ei.call(ey,ey)},className:eK(null==eX?void 0:eX.closeButton,null==(eu=null==ey?void 0:ey.classNames)?void 0:eu.closeButton)},ed.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ed.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ed.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,ey.jsx||ed.isValidElement(ey.title)?ey.jsx||ey.title:ed.createElement(ed.Fragment,null,ti||ey.icon||ey.promise?ed.createElement("div",{"data-icon":"",className:eK(null==eX?void 0:eX.icon,null==(ec=null==ey?void 0:ey.classNames)?void 0:ec.icon)},ey.promise||"loading"===ey.type&&!ey.icon?ey.icon||Yt():null,"loading"!==ey.type?ey.icon||(null==eq?void 0:eq[ti])||Ct(ti):null):null,ed.createElement("div",{"data-content":"",className:eK(null==eX?void 0:eX.content,null==(ef=null==ey?void 0:ey.classNames)?void 0:ef.content)},ed.createElement("div",{"data-title":"",className:eK(null==eX?void 0:eX.title,null==(eh=null==ey?void 0:ey.classNames)?void 0:eh.title)},ey.title),ey.description?ed.createElement("div",{"data-description":"",className:eK(ez,tl,null==eX?void 0:eX.description,null==(ep=null==ey?void 0:ey.classNames)?void 0:ep.description)},ey.description):null),ed.isValidElement(ey.cancel)?ey.cancel:ey.cancel&&U(ey.cancel)?ed.createElement("button",{"data-button":!0,"data-cancel":!0,style:ey.cancelButtonStyle||eL,onClick:ei=>{var eo,ea;U(ey.cancel)&&ta&&(null==(ea=(eo=ey.cancel).onClick)||ea.call(eo,ei),tS())},className:eK(null==eX?void 0:eX.cancelButton,null==(em=null==ey?void 0:ey.classNames)?void 0:em.cancelButton)},ey.cancel.label):null,ed.isValidElement(ey.action)?ey.action:ey.action&&U(ey.action)?ed.createElement("button",{"data-button":!0,"data-action":!0,style:ey.actionButtonStyle||eD,onClick:ei=>{var eo,ea;U(ey.action)&&(ei.defaultPrevented||(null==(ea=(eo=ey.action).onClick)||ea.call(eo,ei),tS()))},className:eK(null==eX?void 0:eX.actionButton,null==(eg=null==ey?void 0:ey.classNames)?void 0:eg.actionButton)},ey.action.label):null))};function Ht(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let ei=document.documentElement.getAttribute("dir");return"auto"!==ei&&ei?ei:window.getComputedStyle(document.documentElement).direction}var Te=ei=>{let{invert:eo,position:ea="bottom-right",hotkey:es=["altKey","KeyT"],expand:eu,closeButton:ec,className:eh,offset:ep,theme:em="light",richColors:eg,duration:eb,style:ey,visibleToasts:ex=eP,toastOptions:eE,dir:eC=Ht(),gap:e_=eT,loadingIcon:eA,icons:eO,containerAriaLabel:eM="Notifications",pauseWhenPageIsHidden:eR,cn:ej=ne}=ei,[eN,eL]=ed.useState([]),eD=ed.useMemo(()=>Array.from(new Set([ea].concat(eN.filter(ei=>ei.position).map(ei=>ei.position)))),[eN,ea]),[eI,ez]=ed.useState([]),[eB,eF]=ed.useState(!1),[eH,eU]=ed.useState(!1),[eV,eX]=ed.useState("system"!==em?em:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),eq=ed.useRef(null),e$=es.join("+").replace(/Key/g,"").replace(/Digit/g,""),eW=ed.useRef(null),eK=ed.useRef(!1),eG=ed.useCallback(ei=>{var eo;null!=(eo=eN.find(eo=>eo.id===ei.id))&&eo.delete||ew.dismiss(ei.id),eL(eo=>eo.filter(({id:eo})=>eo!==ei.id))},[eN]);return ed.useEffect(()=>ew.subscribe(ei=>{if(ei.dismiss){eL(eo=>eo.map(eo=>eo.id===ei.id?{...eo,delete:!0}:eo));return}setTimeout(()=>{ef.flushSync(()=>{eL(eo=>{let ea=eo.findIndex(eo=>eo.id===ei.id);return -1!==ea?[...eo.slice(0,ea),{...eo[ea],...ei},...eo.slice(ea+1)]:[ei,...eo]})})})}),[]),ed.useEffect(()=>{if("system"!==em){eX(em);return}"system"===em&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?eX("dark"):eX("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:ei})=>{eX(ei?"dark":"light")})},[em]),ed.useEffect(()=>{eN.length<=1&&eF(!1)},[eN]),ed.useEffect(()=>{let c=ei=>{var eo,ea;es.every(eo=>ei[eo]||ei.code===eo)&&(eF(!0),null==(eo=eq.current)||eo.focus()),"Escape"===ei.code&&(document.activeElement===eq.current||null!=(ea=eq.current)&&ea.contains(document.activeElement))&&eF(!1)};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[es]),ed.useEffect(()=>{if(eq.current)return()=>{eW.current&&(eW.current.focus({preventScroll:!0}),eW.current=null,eK.current=!1)}},[eq.current]),eN.length?ed.createElement("section",{"aria-label":`${eM} ${e$}`,tabIndex:-1},eD.map((ei,ea)=>{var es;let[ef,em]=ei.split("-");return ed.createElement("ol",{key:ei,dir:"auto"===eC?Ht():eC,tabIndex:-1,ref:eq,className:eh,"data-sonner-toaster":!0,"data-theme":eV,"data-y-position":ef,"data-x-position":em,style:{"--front-toast-height":`${(null==(es=eI[0])?void 0:es.height)||0}px`,"--offset":"number"==typeof ep?`${ep}px`:ep||eS,"--width":`${ek}px`,"--gap":`${e_}px`,...ey},onBlur:ei=>{eK.current&&!ei.currentTarget.contains(ei.relatedTarget)&&(eK.current=!1,eW.current&&(eW.current.focus({preventScroll:!0}),eW.current=null))},onFocus:ei=>{ei.target instanceof HTMLElement&&"false"===ei.target.dataset.dismissible||eK.current||(eK.current=!0,eW.current=ei.relatedTarget)},onMouseEnter:()=>eF(!0),onMouseMove:()=>eF(!0),onMouseLeave:()=>{eH||eF(!1)},onPointerDown:ei=>{ei.target instanceof HTMLElement&&"false"===ei.target.dataset.dismissible||eU(!0)},onPointerUp:()=>eU(!1)},eN.filter(eo=>!eo.position&&0===ea||eo.position===ei).map((ea,es)=>{var ef,eh;return ed.createElement(se,{key:ea.id,icons:eO,index:es,toast:ea,defaultRichColors:eg,duration:null!=(ef=null==eE?void 0:eE.duration)?ef:eb,className:null==eE?void 0:eE.className,descriptionClassName:null==eE?void 0:eE.descriptionClassName,invert:eo,visibleToasts:ex,closeButton:null!=(eh=null==eE?void 0:eE.closeButton)?eh:ec,interacting:eH,position:ei,style:null==eE?void 0:eE.style,unstyled:null==eE?void 0:eE.unstyled,classNames:null==eE?void 0:eE.classNames,cancelButtonStyle:null==eE?void 0:eE.cancelButtonStyle,actionButtonStyle:null==eE?void 0:eE.actionButtonStyle,removeToast:eG,toasts:eN.filter(ei=>ei.position==ea.position),heights:eI.filter(ei=>ei.position==ea.position),setHeights:ez,expandByDefault:eu,gap:e_,loadingIcon:eA,expanded:eB,pauseWhenPageIsHidden:eR,cn:ej})}))})):null};!function(ei){ei.ERROR="error",ei.WARNING="warning",ei.SUCCESS="success",ei.INFO="info"}(es||(es={}));let eA={error:ex.error,warning:ex.warning,success:ex.success,info:ex.info},eO={error:{title:"text-red-700 dark:text-red-400",icon:"text-red-500 dark:text-red-400/90",toast:"border-red-600/20 dark:border-red-400/20"},warning:{title:"text-yellow-800 dark:text-yellow-500",icon:"text-yellow-500 dark:text-yellow-500/90",toast:"border-yellow-600/20 dark:border-yellow-500/20"},success:{title:"text-lime-600 dark:text-lime-500",icon:"text-lime-500 dark:text-lime-500/90",toast:"border-lime-600/20 dark:border-lime-500/20"},info:{title:"text-sky-700 dark:text-sky-500",icon:"text-sky-500 dark:text-sky-500/80",toast:"border-sky-700/20 dark:border-sky-500/20"}},useToast=()=>{let ei=(0,ed.useCallback)((ei,eo,ea)=>{let es=eA[ei];return es?es(eo,{...ea,classNames:eO[ei]}):ex.message(eo,ea)},[]),eo=(0,ed.useMemo)(()=>({error:function(){for(var eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];return ei("error",ea[0],ea[1])},warning:function(){for(var eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];return ei("warning",ea[0],ea[1])},success:function(){for(var eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];return ei("success",ea[0],ea[1])},info:function(){for(var eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];return ei("info",ea[0],ea[1])},message:ex.message,dismiss:ex.dismiss}),[ei]);return{toast:eo}},UIToaster=ei=>{let{theme:eo}=ei;return(0,eu.jsx)(Te,{closeButton:!0,visibleToasts:5,gap:20,theme:eo,position:"bottom-right",toastOptions:{classNames:{toast:"dark:bg-content2 flex items-start",description:"font-light dark:text-default-800",icon:"[&>svg]:h-5 [&>svg]:w-5 pt-[5px]",closeButton:"border-none left-full !bg-transparent -translate-x-7 top-1.5 text-default-500 hover:text-default-foreground !hover:bg-red-500"}},icons:{error:(0,eu.jsx)(ec.JO,{icon:"solar:danger-circle-bold"}),success:(0,eu.jsx)(ec.JO,{icon:"solar:check-circle-bold"}),info:(0,eu.jsx)(ec.JO,{icon:"solar:info-circle-bold"}),warning:(0,eu.jsx)(ec.JO,{icon:"solar:danger-triangle-bold"})}})};UIToaster.displayName="UIToaster";var eM=UIToaster},25977:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return eP}});var es=ea(85893),eu=ea(38016),ec=ea(15607),ed=(0,ea(82189).tv)({slots:{base:["px-1.5","py-0.5","inline-flex","space-x-0.5","rtl:space-x-reverse","items-center","font-sans","font-normal","text-center","text-small","shadow-small","bg-default-100","text-foreground-600","rounded-small"],abbr:"no-underline",content:""},variants:{},defaultVariants:{}}),ef=ea(49037),eh=ea(49869),ep=ea(67294);function useKbd(ei){let[eo,ea]=(0,ec.oe)(ei,ed.variantKeys),{as:es,children:eu,className:em,keys:eg,title:eb,classNames:ey,...ew}=eo,ex=es||"kbd",eP=(0,ep.useMemo)(()=>ed({...ea}),[(0,ef.Xx)(ea)]),eS=(0,eh.W)(null==ey?void 0:ey.base,em),eE="string"==typeof eg?[eg]:Array.isArray(eg)?eg:[],getKbdProps=(ei={})=>({...ew,...ei,className:(0,eh.W)(eP.base({class:(0,eh.W)(eS,ei.className)}))});return{Component:ex,slots:eP,classNames:ey,title:eb,children:eu,keysToRender:eE,getKbdProps}}var em={command:"⌘",shift:"⇧",ctrl:"⌃",option:"⌥",enter:"↵",delete:"⌫",escape:"⎋",tab:"⇥",capslock:"⇪",up:"↑",right:"→",down:"↓",left:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘",help:"?",space:"␣"},eg={command:"Command",shift:"Shift",ctrl:"Control",option:"Option",enter:"Enter",delete:"Delete",escape:"Escape",tab:"Tab",capslock:"Caps Lock",up:"Up",right:"Right",down:"Down",left:"Left",pageup:"Page Up",pagedown:"Page Down",home:"Home",end:"End",help:"Help",space:"Space"},eb=(0,ec.Gp)((ei,eo)=>{let{Component:ea,children:eu,slots:ec,classNames:ed,keysToRender:ef,getKbdProps:eh}=useKbd({...ei}),eb=(0,ep.useMemo)(()=>ef.map(ei=>(0,es.jsx)("abbr",{className:ec.abbr({class:null==ed?void 0:ed.abbr}),title:eg[ei],children:em[ei]},ei)),[ef]);return(0,es.jsxs)(ea,{ref:eo,...eh(),children:[eb,eu&&(0,es.jsx)("span",{className:ec.content({class:null==ed?void 0:ed.content}),children:eu})]})});eb.displayName="NextUI.Kbd";var ey=eb,ew=ea(56097);let ex=(0,ep.forwardRef)((ei,eo)=>{let{children:ea,shortcutKey:ec,shortcutText:ed,content:ef,classNames:eh,...ep}=ei;return(0,es.jsx)(eu.e,{ref:eo,delay:1e3,closeDelay:0,shadow:void 0,size:"sm",classNames:{...eh,content:[null==eh?void 0:eh.content,"text-tiny shadow rounded ring-1 ring-default-200 font-normal text-default-500 bg-white dark:font-light dark:text-default-700 dark:bg-[#1C1C1E] dark:ring-default-300/60"]},motionProps:{variants:{exit:{opacity:0,transition:{duration:.1,ease:"easeIn"}},enter:{opacity:1,transition:{duration:.1,ease:"easeOut"}}}},content:ed||ec?(0,es.jsxs)("div",{className:"flex items-center gap-x-2 text-tiny",children:[ef,(0,es.jsx)(ey,{keys:ec,classNames:{abbr:(0,ew.cn)("text-foreground-500 dark:text-foreground-400","enter"===ec?"mt-1":""),base:"text-tiny rounded-md h-[22px] text-foreground-500 dark:text-foreground-400"},children:ed})]}):ef,placement:"bottom",...ep,children:ea})});ex.displayName="UITooltip";var eP=ex},36182:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return ChevronDownIcon}});var es=ea(85893);let ChevronDownIcon=ei=>(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:(0,es.jsx)("path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},27574:function(ei,eo,ea){"use strict";ea.d(eo,{k:function(){return DragDropVerticalIcon}});var es=ea(85893);let DragDropVerticalIcon=ei=>(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:(0,es.jsx)("path",{d:"M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})},11957:function(ei,eo,ea){"use strict";ea.d(eo,{N:function(){return MoreHorizontalCircleIcon}});var es=ea(85893);let MoreHorizontalCircleIcon=ei=>(0,es.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,es.jsx)("path",{d:"M21 12C21 11.1716 20.3284 10.5 19.5 10.5C18.6716 10.5 18 11.1716 18 12C18 12.8284 18.6716 13.5 19.5 13.5C20.3284 13.5 21 12.8284 21 12Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,es.jsx)("path",{d:"M13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5C12.8284 13.5 13.5 12.8284 13.5 12Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,es.jsx)("path",{d:"M6 12C6 11.1716 5.32843 10.5 4.5 10.5C3.67157 10.5 3 11.1716 3 12C3 12.8284 3.67157 13.5 4.5 13.5C5.32843 13.5 6 12.8284 6 12Z",stroke:"currentColor",strokeWidth:"1.5"})]})},64074:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return PencilEditIcon}});var es=ea(85893);let PencilEditIcon=ei=>(0,es.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,es.jsx)("path",{d:"M15.2141 5.98239L16.6158 4.58063C17.39 3.80646 18.6452 3.80646 19.4194 4.58063C20.1935 5.3548 20.1935 6.60998 19.4194 7.38415L18.0176 8.78591M15.2141 5.98239L6.98023 14.2163C5.93493 15.2616 5.41226 15.7842 5.05637 16.4211C4.70047 17.058 4.3424 18.5619 4 20C5.43809 19.6576 6.94199 19.2995 7.57889 18.9436C8.21579 18.5877 8.73844 18.0651 9.78375 17.0198L18.0176 8.78591M15.2141 5.98239L18.0176 8.78591",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,es.jsx)("path",{d:"M11 20H17",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})},86318:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return StarIcon}});var es=ea(85893);let StarIcon=ei=>(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:(0,es.jsx)("path",{d:"M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},93978:function(ei,eo,ea){"use strict";ea.d(eo,{M:function(){return TrashCanIcon}});var es=ea(85893);let TrashCanIcon=ei=>(0,es.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,es.jsx)("path",{d:"M19.5 5.5L18.8803 15.5251C18.7219 18.0864 18.6428 19.3671 18.0008 20.2879C17.6833 20.7431 17.2747 21.1273 16.8007 21.416C15.8421 22 14.559 22 11.9927 22C9.42312 22 8.1383 22 7.17905 21.4149C6.7048 21.1257 6.296 20.7408 5.97868 20.2848C5.33688 19.3626 5.25945 18.0801 5.10461 15.5152L4.5 5.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,es.jsx)("path",{d:"M3 5.5H21M16.0557 5.5L15.3731 4.09173C14.9196 3.15626 14.6928 2.68852 14.3017 2.39681C14.215 2.3321 14.1231 2.27454 14.027 2.2247C13.5939 2 13.0741 2 12.0345 2C10.9688 2 10.436 2 9.99568 2.23412C9.8981 2.28601 9.80498 2.3459 9.71729 2.41317C9.32164 2.7167 9.10063 3.20155 8.65861 4.17126L8.05292 5.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,es.jsx)("path",{d:"M9.5 16.5L9.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,es.jsx)("path",{d:"M14.5 16.5L14.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})},34145:function(ei,eo,ea){"use strict";var es;ea.d(eo,{Jc:function(){return ef},L3:function(){return eh},T5:function(){return eu},bW:function(){return em},jV:function(){return ep},kj:function(){return ed},rK:function(){return ec}});let eu=(es="https://api.docsum.ai/api/v1","https://api.docsum.ai/api/v1"),ec=["10","20","50","100","500","1000"],ed=+ec[1],ef=12e5,eh=5e3,ep="document",em="Oops! Something went wrong. Please try again or contact support (support@docsum.ai)."},28421:function(ei,eo,ea){"use strict";ea.d(eo,{AN:function(){return ef},Ag:function(){return ey},EJ:function(){return eP},MQ:function(){return ex},NJ:function(){return ed},RS:function(){return es},Up:function(){return ec},Yg:function(){return em},ZE:function(){return eg},ct:function(){return eu},mW:function(){return eS},qe:function(){return eb},xG:function(){return ew}});let es="(max-width: 768px)",eu="docsum-",ec="(prefers-color-scheme: dark)",ed=1500,ef=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange"],eh=30,ep=1,em=6e4*(Number("60")||eh),eg=6e4*(Number("2")||ep),eb=["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?","At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat."],ey="document-header-details-portal",ew=225,ex="all-documents",eP="USD",eS=2},13205:function(ei,eo,ea){"use strict";ea.d(eo,{G:function(){return eu}});var es=ea(20337);let eu={[es.U.PDF]:"application/pdf",[es.U.DOCX]:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}},53234:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return es}});let es={ACCOUNTS:{getAll:["accounts"],removeMember:["remove-member"],invite:["accounts-invite"],switch:["accounts-switch"],patch:["accounts-patch"],getUsers:ei=>["accounts-get-users",ei]},ACCOUNTS_INVITE:["accounts-invite"],CK_TOKEN:["ck-token"],CLAUSES:["clauses"],DOCUMENT:ei=>["document",ei],DOCUMENTS:{get:ei=>["document-by-id",ei],getAll:["documents"],batchUpload:["documents-upload-batch"],runInfoExtraction:["documents-run-info-extraction"],exportToCsv:["documents-export-to-csv"]},DOCUMENTS_CONVERT_DOCX_TO_HTML:["documents-convert-docx-to-html"],DOCUMENTS_CONVERT_HTML_TO_DOCX:["documents-convert-html-to-docx"],DOCUMENTS_STATS:["documents-stats"],DOCUMENT_EDITOR_DATA:(ei,eo)=>["document-version-editor-data",ei,eo],DOCUMENT_INFO_FIELDS:{getAll:["document-info-fields-get-all"],getAllValuesByDocument:ei=>["document-info-fields-get-values",ei],createFieldValue:["document-version-create-field-value"],updateFieldValue:["document-version-update-field-value"]},DOCUMENT_REVISIONS:{getAll:ei=>["document-revisions-get-all",ei]},DOCUMENT_STATS:ei=>["document-stats",ei],DOCUMENT_TERMS:ei=>["document-terms",ei],DOCUMENT_TYPE:ei=>["document-type",ei],DOCUMENT_TYPES:["document-type"],DOCUMENT_VERSIONS:{getByNumber:(ei,eo)=>["document-version-get-by-number",ei,eo],getAll:ei=>["document-version-get-all",ei],update:["document-version-update"],getDownloadUrls:(ei,eo)=>["document-version-get-download-urls",ei,eo],getFieldValues:ei=>["document-version-get-field-values",ei],generateHtml:["document-version-generate-html"],analyzeFlags:["document-version-analyze-flags"]},FAVORITE_VIEW_FOLDERS:{create:["favorite-view-folder-create"],patch:["favorite-view-folder-patch"],delete:["favorite-view-folder-delete"]},FEATURES:["features-get-all"],FILTERS:{getAllSupported:["filters-get-all-supported"]},IDENTIFIED_CLAUSES:(ei,eo)=>["file",ei,eo],INTEGRATIONS:{getParagonToken:["integrations-get-paragon-token"]},PARAGON_API:{getIntegrations:["paragon-api-get-integrations"]},PLAYBOOK:ei=>["playbooks",ei],PLAYBOOKS:["playbooks"],PRODUCTS:["products"],QUESTIONS:(ei,eo)=>["questions",ei,eo],REDLINE_ANALYSIS_REPORT:ei=>["redline-analysis-report",ei],REVIEW:ei=>["review",ei],SUGGESTED_QUESTIONS:ei=>["suggested-questions",ei],SUMMARY:ei=>["summary",ei],USER:["user"],VIEWS_NAVIGATION:{patchFavoritesNavigation:["navigation-favorites-patch"],getFavoritesNavigation:["navigation-favorites"],getWorkspaceNavigation:["navigation-workspace"]},VIEWS:{get:ei=>["views-get-by-id-slug",ei],create:["views-create"],patch:["views-patch"],archive:["views-archive"]}}},19523:function(ei,eo,ea){"use strict";ea.d(eo,{V:function(){return ec}});var es=ea(67294),eu=ea(78687);let ec=(0,es.createContext)({isInitialLogIn:!0,session:null,updateToken:eu.Z,isSigningOut:!1,setIsSigningOut:eu.Z,getCurrentToken:eu.Z,isPublicPage:eu.Z,isProtectedPage:eu.Z,goToInitialPage:eu.Z})},20423:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return ec}});var es=ea(78687),eu=ea(67294);let ec=(0,eu.createContext)({isLatestVersion:!1,onVersionCreated:es.Z})},74664:function(ei,eo,ea){"use strict";ea.d(eo,{U:function(){return useInvalidateFavoritesNavigation}});var es=ea(67294),eu=ea(30202),ec=ea(53234);function useInvalidateFavoritesNavigation(){let ei=(0,eu.NL)();return(0,es.useCallback)(async()=>{let eo={queryKey:ec.Y.VIEWS_NAVIGATION.getFavoritesNavigation};await ei.cancelQueries(eo),await ei.invalidateQueries(eo)},[ei])}},87503:function(ei,eo,ea){"use strict";ea.d(eo,{x:function(){return useAccounts}});var es=ea(53234),eu=ea(97053);function useAccounts(){return(0,eu.i)(es.Y.ACCOUNTS.getAll,{queryFn:ei=>ei.get("/account").then(ei=>ei.data),error:"Failed to load accounts"})}},13342:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return useGetFeatures}});var es=ea(10777),eu=ea(53234),ec=ea(13908),ed=ea(9815);let FeaturesApi=class FeaturesApi extends ec.Z{async getFeatures(){let{signal:ei,...eo}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ed.x1.get(this.resourcePath,"",{signal:ei,...(0,ed.wU)(eo)})}constructor(){super(),this.resourcePath="features"}};let ef=new FeaturesApi;var eh=ef,ep=ea(34145);function useGetFeatures(){return(0,es.a)({queryKey:eu.Y.FEATURES,queryFn:ei=>{let{signal:eo}=ei;return eh.getFeatures({signal:eo})},gcTime:ep.Jc,staleTime:ep.Jc})}},94185:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return useDocumentVersions}});var es=ea(53234),eu=ea(97053);function useDocumentVersions(ei){return(0,eu.i)(es.Y.DOCUMENT_VERSIONS.getAll(ei),{queryFn:eo=>ei?eo.get("/document/".concat(ei,"/versions")).then(ei=>ei.data.map(ei=>({id:ei.id,numPages:ei.num_pages,versionNumber:ei.version_number,contents:ei.contents,ckeditorConversion:ei.ckeditor_conversion,documentInfoProcessingStatus:ei.document_info_processing_status,flagsProcessingStatus:ei.flags_processing_status,redlinesProcessingStatus:ei.redlines_processing_status,hasTrackChanges:ei.has_track_changes,hasComments:ei.has_comments,createdAt:ei.created_at,updatedAt:ei.updated_at,playbookId:ei.playbook_id,isFromImport:ei.is_from_import}))):null,error:"Failed to load document versions"})}},23471:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return useUser}});var es=ea(53234),eu=ea(97053);function useUser(){return(0,eu.i)(es.Y.USER,{queryFn:ei=>ei.get("/user/me").then(ei=>{let{data:eo}=ei;return eo||null}),error:"There was a problem getting your profile info"})}},49645:function(ei,eo,ea){"use strict";ea.d(eo,{m:function(){return useApiClient}});var es=ea(34145),eu=ea(19523),ec=ea(87066),ed=ea(11163),ef=ea(67294);function useApiClient(){let{jwt:ei}=(0,ef.useContext)(eu.V),eo=(0,ed.useRouter)(),ea=(0,ef.useMemo)(()=>{if(!ei)return null;let ea=ec.Z.create({baseURL:es.T5,headers:{Authorization:"Bearer ".concat(ei)}});return ea.interceptors.response.use(ei=>ei,ei=>(ei.response&&(403===ei.response.status||404===ei.response.status)&&eo.push("/".concat(ei.response.status)),Promise.reject(ei))),ea},[ei,eo]);return ea}},59667:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return useAuthContext}});var es=ea(67294),eu=ea(19523);function useAuthContext(){let ei=(0,es.useContext)(eu.V);if(void 0===ei)throw Error("useAuthContext must be used within AuthContext");return ei}},97053:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return useAuthorizedQuery}});var es=ea(10777),eu=ea(49645);function useAuthorizedQuery(ei,eo){let{queryFn:ea,error:ec,enabled:ed,...ef}=eo,eh=(0,eu.m)(),ep=eh?ei=>ea(eh,ei):void 0;return(0,es.a)({queryKey:ei,queryFn:ep,enabled:!!ep&&ed,meta:{error:ec},...null!=ef?ef:{}})}},16414:function(ei,eo,ea){"use strict";ea.d(eo,{x:function(){return useCurrentUser}});var es=ea(67294),eu=ea(40672),ec=ea(23471);function useCurrentUser(){let{data:ei,status:eo,isFetching:ea,isLoading:ed}=(0,ec.a)(),ef=(0,es.useMemo)(()=>!ea&&(null==ei?void 0:ei.accountRoleId)!==eu.M.MEMBER,[null==ei?void 0:ei.accountRoleId,ea]),eh=(0,es.useMemo)(()=>"pending"!==eo&&ei&&!1===ei.policyAccepted,[eo,ei]);return{currentUser:ei,isLoading:ea,canManageTeam:ef,shouldCompleteSignUp:eh,isFirstLoad:ed}}},2601:function(ei,eo,ea){"use strict";ea.d(eo,{h:function(){return useFeatures}});var es,eu=ea(67294);!function(ei){ei.ThirdPartyIntegrations="third-party-integrations",ei.Alerts="alerts"}(es||(es={}));var ec=ea(13342);let useFeatures=()=>{let{data:ei,isLoading:eo}=(0,ec.L)(),ea=(0,eu.useMemo)(()=>ei&&!eo&&!!ei.data[es.ThirdPartyIntegrations],[ei,eo]),ed=(0,eu.useMemo)(()=>ei&&!eo&&!!ei.data[es.Alerts],[ei,eo]);return{isThirdPartyIntegrationsEnabled:ea,isAlertsEnabled:ed,isFirstLoading:eo}}},98757:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return useSelectedAccount}});var es=ea(67294),eu=ea(87503),ec=ea(23471);function useSelectedAccount(){let ei=(0,eu.x)(),{data:eo}=(0,ec.a)();return(0,es.useMemo)(()=>{var ea;if((null===(ea=ei.data)||void 0===ea?void 0:ea.length)&&eo)return ei.data.find(ei=>ei.id===(null==eo?void 0:eo.accountId))},[ei,eo])}},34918:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return useSidebar}});var es=ea(48583),eu=ea(67294),ec=ea(49460),ed=ea(28421),ef=ea(76653),eh=ea(48136);let useSidebar=()=>{let ei=(0,ec.ac)(ed.RS,{initializeWithValue:!1}),eo=(0,ec.ac)("(max-width: 1024px)",{initializeWithValue:!1}),[ea,ep]=(0,es.KO)(ef.R7,{store:eh.c}),[em,eg]=(0,es.KO)(ef.b0,{store:eh.c}),eb=(0,eu.useMemo)(()=>!eo&&ea,[eo,ea]),ey=(0,eu.useMemo)(()=>(eo||ei)&&em,[eo,em,ei]);return(0,eu.useEffect)(()=>{eo&&eg(!0)},[eo,eg]),{isCompact:eb,isHidden:ey,canHide:eo,isSidebarCollapsed:ea,isSidebarHidden:em,setIsSidebarCollapsed:ep,setIsSidebarHidden:eg}}},55405:function(ei,eo,ea){"use strict";var es;ea.d(eo,{S:function(){return es}}),function(ei){ei.Light="light",ei.Dark="dark",ei.System="system"}(es||(es={}))},40672:function(ei,eo,ea){"use strict";var es;ea.d(eo,{M:function(){return es}}),function(ei){ei[ei.OWNER=1]="OWNER",ei[ei.ADMIN=2]="ADMIN",ei[ei.MEMBER=3]="MEMBER"}(es||(es={}))},20337:function(ei,eo,ea){"use strict";var es;ea.d(eo,{U:function(){return es}}),function(ei){ei.PDF="pdf",ei.DOCX="docx"}(es||(es={}))},7882:function(ei,eo,ea){"use strict";ea.r(eo),ea.d(eo,{default:function(){return App}});var es,eu,ec,ed,ef,eh,ep,em,eg,eb,ey,ew,ex,eP,eS,eE=ea(85893),ek=ea(16293),eT=ea(67294);function i({projectId:ei,...eo}){return(0,eT.useEffect)(()=>{ei&&ek.H.init(ei,eo)},[]),null}var eC=ea(76733),e_=ea(54792),eA=ea(32433),eO=ea(15e3),eM=ea(22081),NextUIProvider=({children:ei,navigate:eo,disableAnimation:ea=!1,disableRipple:es=!1,skipFramerMotionAnimations:eu=ea,validationBehavior:ec="aria",locale:ed="en-US",defaultDates:ef,createCalendar:eh,...ep})=>{let em=ei;eo&&(em=(0,eE.jsx)(eA.pG,{navigate:eo,children:em}));let eg=(0,eT.useMemo)(()=>(ea&&eu&&(eM.c.skipAnimations=!0),{createCalendar:eh,defaultDates:ef,disableAnimation:ea,disableRipple:es,validationBehavior:ec}),[eh,null==ef?void 0:ef.maxDate,null==ef?void 0:ef.minDate,ea,es,ec]);return(0,eE.jsx)(eC.a,{value:eg,children:(0,eE.jsx)(e_.b,{locale:ed,children:(0,eE.jsx)(eO.N3,{...ep,children:em})})})},eR=ea(9008),ej=ea.n(eR),eN=ea(11163),eL=ea(39332),eD=ea(59667),eI=ea(16414),ez=ea(39365);let PublicLayout=ei=>{let{children:eo}=ei;return(0,eE.jsx)("div",{className:"flex h-screen w-screen items-center justify-center overflow-hidden",children:(0,eE.jsx)("main",{children:eo})})};PublicLayout.displayName="PublicLayout";var eB=PublicLayout,eF=ea(28421),eH=ea(55405),eU=ea(76653),eV=ea(48583);let eX="dark";function useIsDarkTheme(){let[ei,eo]=(0,eV.KO)(eU.Oj),ea=(0,eT.useMemo)(()=>ei===eH.S.Dark||ei===eH.S.System&&window.matchMedia(eF.Up).matches,[ei]),es=(0,eT.useMemo)(()=>ea?eH.S.Dark:eH.S.Light,[ea]),eu=(0,eT.useCallback)(()=>{eo(ea?eH.S.Light:eH.S.Dark)},[ea,eo]);return(0,eT.useEffect)(()=>{ea?document.documentElement.classList.add(eX):document.documentElement.classList.remove(eX)},[ea]),{isDark:ea,toggleTheme:eu,currentTheme:es}}var eq=ea(13342),e$=ea(30647),eW=ea(22567),eK=ea(23254),eG=ea(39262),eZ=ea(87740),eJ=ea(86597),eY=ea(96476),eQ=ea(15607),e0=(0,ea(82189).tv)({slots:{base:"flex flex-col justify-center gap-1 max-w-fit items-center",label:"",svgWrapper:"relative block",svg:"z-0 relative overflow-hidden",track:"h-full stroke-default-300/50",indicator:"h-full stroke-current",value:"absolute font-normal inset-0 flex items-center justify-center"},variants:{color:{default:{svg:"text-default-400"},primary:{svg:"text-primary"},secondary:{svg:"text-secondary"},success:{svg:"text-success"},warning:{svg:"text-warning"},danger:{svg:"text-danger"}},size:{sm:{svg:"w-8 h-8",label:"text-small",value:"text-[0.5rem]"},md:{svg:"w-10 h-10",label:"text-small",value:"text-[0.55rem]"},lg:{svg:"w-12 h-12",label:"text-medium",value:"text-[0.6rem]"}},isIndeterminate:{true:{svg:"animate-spinner-ease-spin"}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:{},false:{indicator:"transition-all !duration-500"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!0,isIndeterminate:!1,class:{svg:"!transition-none motion-reduce:transition-none"}}]}),e1=ea(33295),e3=ea(49869),e8=ea(49037),e6=ea(80711),e5=ea(50262),e4=ea(37127),e7=ea(80666),e9=ea(3136),tr=ea(18399),tn=ea(50912),ti=ea(11903);function $a916eb452884faea$export$b7a616150fdb9f44(ei={}){let{locale:eo}=(0,e_.j)();return(0,eT.useMemo)(()=>new ti.e(eo,ei),[eo,ei])}function $204d9ebcedfb8806$export$ed5abd763a836edc(ei){let{value:eo=0,minValue:ea=0,maxValue:es=100,valueLabel:eu,isIndeterminate:ec,formatOptions:ed={style:"percent"}}=ei,ef=(0,e9.z)(ei,{labelable:!0}),{labelProps:eh,fieldProps:ep}=(0,tn.N)({...ei,labelElementType:"span"}),em=((eo=(0,tr.uZ)(eo,ea,es))-ea)/(es-ea),eg=$a916eb452884faea$export$b7a616150fdb9f44(ed);if(!ec&&!eu){let ei="percent"===ed.style?em:eo;eu=eg.format(ei)}return{progressBarProps:(0,e4.d)(ef,{...ep,"aria-valuenow":ec?void 0:eo,"aria-valuemin":ea,"aria-valuemax":es,"aria-valuetext":ec?void 0:eu,role:"progressbar"}),labelProps:eh}}function useCircularProgress(ei){var eo,ea,es;let eu=(0,eC.w)(),[ec,ed]=(0,eQ.oe)(ei,e0.variantKeys),{ref:ef,as:eh,id:ep,className:em,classNames:eg,label:eb,valueLabel:ey,value:ew,minValue:ex=0,maxValue:eP=100,strokeWidth:eS,showValueLabel:eE=!1,formatOptions:ek={style:"percent"},...e_}=ec,eA=eh||"div",eO=(0,e1.gy)(ef),eM=(0,e3.W)(null==eg?void 0:eg.base,em),[,eR]=(0,e7.t)({rerender:!0,delay:100}),ej=(null==(eo=ei.isIndeterminate)||eo)&&void 0===ew,eN=null!=(es=null!=(ea=ei.disableAnimation)?ea:null==eu?void 0:eu.disableAnimation)&&es,{progressBarProps:eL,labelProps:eD}=$204d9ebcedfb8806$export$ed5abd763a836edc({id:ep,label:eb,value:ew,minValue:ex,maxValue:eP,valueLabel:ey,formatOptions:ek,isIndeterminate:ej,"aria-labelledby":ei["aria-labelledby"],"aria-label":ei["aria-label"]}),eI=(0,eT.useMemo)(()=>e0({...ed,disableAnimation:eN,isIndeterminate:ej}),[(0,e8.Xx)(ed),eN,ej]),ez=!!eN||eR,eB=16,eF=eS||("sm"===ei.size?2:3),eH=16-eF,eU=2*eH*Math.PI,eV=(0,eT.useMemo)(()=>ez?ej?.25:ew?(0,e6.Ez)((ew-ex)/(eP-ex),1):0:0,[ez,ew,ex,eP,ej]),eX=eU-eV*eU,eq=(0,eT.useCallback)((eo={})=>({ref:eO,"data-indeterminate":(0,e5.PB)(ej),"data-disabled":(0,e5.PB)(ei.isDisabled),className:eI.base({class:eM}),...(0,e4.d)(eL,e_,eo)}),[eO,eI,ej,ei.isDisabled,eM,eL,e_]),e$=(0,eT.useCallback)((ei={})=>({className:eI.label({class:null==eg?void 0:eg.label}),...(0,e4.d)(eD,ei)}),[eI,eg,eD]),eW=(0,eT.useCallback)((ei={})=>({viewBox:"0 0 32 32",fill:"none",strokeWidth:eF,className:eI.svg({class:null==eg?void 0:eg.svg}),...ei}),[eF,eI,eg]),eK=(0,eT.useCallback)((ei={})=>({cx:eB,cy:eB,r:eH,role:"presentation",strokeDasharray:`${eU} ${eU}`,strokeDashoffset:eX,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:eI.indicator({class:null==eg?void 0:eg.indicator}),...ei}),[eI,eg,eX,eU,eH]),eG=(0,eT.useCallback)((ei={})=>({cx:eB,cy:eB,r:eH,role:"presentation",strokeDasharray:`${eU} ${eU}`,strokeDashoffset:0,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:eI.track({class:null==eg?void 0:eg.track}),...ei}),[eI,eg,eU,eH]);return{Component:eA,domRef:eO,slots:eI,classNames:eg,label:eb,showValueLabel:eE,getProgressBarProps:eq,getLabelProps:e$,getSvgProps:eW,getIndicatorProps:eK,getTrackProps:eG}}var ta=(0,eQ.Gp)((ei,eo)=>{let{Component:ea,slots:es,classNames:eu,label:ec,showValueLabel:ed,getProgressBarProps:ef,getLabelProps:eh,getSvgProps:ep,getIndicatorProps:em,getTrackProps:eg}=useCircularProgress({ref:eo,...ei}),eb=ef();return(0,eE.jsxs)(ea,{...eb,children:[(0,eE.jsxs)("div",{className:es.svgWrapper({class:null==eu?void 0:eu.svgWrapper}),children:[(0,eE.jsxs)("svg",{...ep(),children:[(0,eE.jsx)("circle",{...eg()}),(0,eE.jsx)("circle",{...em()})]}),ed&&(0,eE.jsx)("span",{className:es.value({class:null==eu?void 0:eu.value}),children:eb["aria-valuetext"]})]}),ec&&(0,eE.jsx)("span",{...eh(),children:ec})]})});ta.displayName="NextUI.CircularProgress";var ts=ta,tl=ea(80247);let useIdleTimer=ei=>{let{events:eo=eF.AN,onPrompt:ea,onIdle:es,onActive:eu,idleTime:ec=eF.Yg,promptTimeout:ed=eF.ZE}=ei,ef=(0,eT.useRef)(null),eh=(0,eT.useRef)(!1),ep=(0,eT.useRef)(0),em=(0,eT.useCallback)(()=>eh.current,[eh]),destroyTimeout=()=>{ef.current&&(window.clearTimeout(ef.current),ef.current=null)},createTimeout=ei=>{destroyTimeout(),ef.current=window.setTimeout(toggleIdleState,ei||ec)},eventHandler=()=>{!eh.current&&ef.current&&createTimeout()},addEvents=()=>{eo.forEach(ei=>{window.addEventListener(ei,eventHandler)})},removeEvents=()=>{eo.forEach(ei=>{window.removeEventListener(ei,eventHandler)})},toggleIdleState=()=>{eh.current?(destroyTimeout(),removeEvents(),es()):(ep.current=performance.now(),eh.current=!0,createTimeout(ed),ea())},eg=(0,eT.useCallback)(()=>{let ei=Math.ceil(performance.now()-ep.current);return ei<0?0:Math.abs(ed-ei)},[ep]),eb=(0,eT.useCallback)(()=>{destroyTimeout(),addEvents(),eh.current&&eu(),eh.current=!1,ep.current=0,createTimeout()},[ef]);return(0,eT.useEffect)(()=>{let cleanAll=()=>{destroyTimeout(),removeEvents()};return window.addEventListener("beforeunload",cleanAll),addEvents(),createTimeout(),()=>{window.removeEventListener("beforeunload",cleanAll),cleanAll()}},[]),{reset:eb,isPrompted:em,getRemainingTime:eg}};var tu=ea(57359);let getFormattedTimerValue=ei=>{let eo=Math.floor(ei/60),ea=ei%60,es=String(eo).padStart(2,"0"),eu=String(ea).padStart(2,"0");return"".concat(es,":").concat(eu)},IdleTimerModal=()=>{let[ei,eo]=(0,eT.useState)(!1),[ea,es]=(0,eT.useState)(0),signOut=()=>tu.O.auth.signOut(),onPrompt=()=>{eo(!0),es(eF.ZE/1e3)},onIdle=()=>{eo(!1),es(0),signOut()},onActive=()=>{eo(!1),es(0)},{reset:eu,isPrompted:ec,getRemainingTime:ed}=useIdleTimer({onPrompt,onIdle,onActive}),handleStillHere=()=>{eo(!1),eu()},ef=ea>0?Math.ceil(100*ea/(eF.ZE/1e3)):0;return(0,eT.useEffect)(()=>{let ei=setInterval(()=>{ec()&&es(Math.ceil(ed()/1e3))},1e3);return()=>{clearInterval(ei)}},[ed,ec]),(0,eE.jsx)(eK.R,{isOpen:ei,backdrop:"blur",onClose:()=>eo(!1),isDismissable:!1,hideCloseButton:!0,children:(0,eE.jsxs)(eG.A,{children:[(0,eE.jsx)(eZ.k,{className:"text-2xl",children:(0,eE.jsx)("span",{className:"w-full text-center",children:"Still with us?"})}),(0,eE.jsxs)(eJ.I,{className:"px-6 pb-6 pt-4",children:[(0,eE.jsx)("p",{className:"text-center text-medium font-medium text-default-500",children:"To ensure the safety of your data, we log you out automatically when you have not been active for a certain period of time."}),(0,eE.jsx)("div",{className:"mx-auto",children:(0,eE.jsx)(ts,{classNames:{svg:"w-36 h-36 drop-shadow-md",indicator:ef<50?"stroke-red-500":"stroke-warning-500",track:ef<50?"stroke-red-500/10":"stroke-warning-500/10",value:"text-2xl font-semibold"},value:ef,valueLabel:getFormattedTimerValue(ea),strokeWidth:3,showValueLabel:!0})}),(0,eE.jsx)("p",{className:"text-center text-small text-default-400",children:"You will be logged out soon"})]}),(0,eE.jsx)(eY.R,{children:(0,eE.jsxs)("div",{className:"flex w-full items-center gap-4",children:[(0,eE.jsx)("div",{className:"flex-1",children:(0,eE.jsx)(tl.Z,{fullWidth:!0,size:"sm",variant:"ghost",onClick:signOut,children:"Log Out"})}),(0,eE.jsx)("div",{className:"flex-1",children:(0,eE.jsx)(tl.Z,{fullWidth:!0,size:"sm",color:"primary",onClick:handleStillHere,startContent:(0,eE.jsx)(eW.JO,{icon:"solar:hand-shake-bold",className:"h-5 w-5"}),children:"I'm Still Here"})})]})})]})})};var tc=ea(81239),td=ea(90207),tf=ea(34918),th=ea(56097),tp=ea(13081),tm=ea(22905),tg=ea(50024).$,tb=ea(18266),ty=ea(30202),tw=ea(98029),tx=ea(53234),tP=ea(60394);function useSwitchAccount(){let ei=(0,eN.useRouter)(),{updateToken:eo}=(0,eD.E)(),ea=(0,ty.NL)();return(0,tw.D)({mutationKey:tx.Y.ACCOUNTS.switch,mutationFn:ei=>tP.Z.switchAccount(ei),onMutate:async ei=>{let eo=tx.Y.USER;await ea.cancelQueries({queryKey:eo});let es=ea.getQueryData(eo);return ea.setQueryData(eo,eo=>eo?{...eo,accountId:ei}:null),{previousUserData:es,userQueryKey:eo}},onSuccess(es,eu,ec){let{accessToken:ed}=es;eo(ed,async()=>{let eo=[{queryKey:[tx.Y.DOCUMENT_VERSIONS.getFieldValues()[0]],exact:!1},{queryKey:[tx.Y.DOCUMENT_INFO_FIELDS.getAllValuesByDocument()[0]],exact:!1}];await Promise.all(eo.map(ei=>ea.cancelQueries(ei)));let es=[...eo,{queryKey:tx.Y.DOCUMENT_INFO_FIELDS.getAll},{queryKey:tx.Y.PLAYBOOKS},{queryKey:tx.Y.USER},{queryKey:tx.Y.VIEWS_NAVIGATION.getFavoritesNavigation}];await Promise.all(es.map(ei=>ea.invalidateQueries(ei))),es.forEach(ei=>ea.removeQueries(ei)),ei.replace("/")})},onError:(ei,eo,es)=>{es&&ea.setQueryData(es.userQueryKey,es.previousUserData),console.error("Failed to update user account",ei)}})}var tS=ea(87503),tE=ea(23471),tk=ea(36182);let UnfoldMoreIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M17.9999 14C17.9999 14 13.581 19 11.9999 19C10.4188 19 5.99994 14 5.99994 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M17.9999 9.99996C17.9999 9.99996 13.581 5.00001 11.9999 5C10.4188 4.99999 5.99994 10 5.99994 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),UserGroupIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M20.7739 18C21.5232 18 22.1192 17.5285 22.6543 16.8691C23.7498 15.5194 21.9512 14.4408 21.2652 13.9126C20.5679 13.3756 19.7893 13.0714 18.9999 13M17.9999 11C19.3806 11 20.4999 9.88071 20.4999 8.5C20.4999 7.11929 19.3806 6 17.9999 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M3.2259 18C2.47659 18 1.88061 17.5285 1.34548 16.8691C0.250028 15.5194 2.04861 14.4408 2.73458 13.9126C3.43191 13.3756 4.21052 13.0714 4.99994 13M5.49994 11C4.11923 11 2.99994 9.88071 2.99994 8.5C2.99994 7.11929 4.11923 6 5.49994 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M8.08368 15.1112C7.0619 15.743 4.38286 17.0331 6.01458 18.6474C6.81166 19.436 7.6994 20 8.8155 20H15.1843C16.3004 20 17.1881 19.436 17.9852 18.6474C19.6169 17.0331 16.9379 15.743 15.9161 15.1112C13.52 13.6296 10.4797 13.6296 8.08368 15.1112Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M15.4999 7.5C15.4999 9.433 13.9329 11 11.9999 11C10.0669 11 8.49988 9.433 8.49988 7.5C8.49988 5.567 10.0669 4 11.9999 4C13.9329 4 15.4999 5.567 15.4999 7.5Z",stroke:"currentColor",strokeWidth:"1.5"})]}),tT=(0,eT.memo)(ei=>{let{isCompact:eo}=ei,{data:ea,isFetching:es}=(0,tS.x)(),{data:eu,isFetching:ec}=(0,tE.a)(),{mutateAsync:ed}=useSwitchAccount(),ef=(0,eT.useMemo)(()=>[(null==eu?void 0:eu.accountId)||""],[eu]),eh=(0,eT.useMemo)(()=>[{value:"0",label:"Switch team",items:(null==ea?void 0:ea.map(ei=>({value:ei.id,label:ei.companyName||ei.name})))||[]}],[ea]),ep=(0,eT.useCallback)(async ei=>{let eo=ei.target.value;await ed(eo)},[]);return(0,eE.jsx)("div",{children:(0,eE.jsx)(tm.g,{selectionMode:"single",disallowEmptySelection:!0,disableSelectorIconRotation:!0,isLoading:es||ec,"aria-label":"Select workspace",className:"justify-center px-1",classNames:{innerWrapper:eo?"block":"inline-flex",trigger:(0,th.cn)("ui min-h-14 h-14 bg-transparent border-small border-default-200 dark:border-default-100 data-[hover=true]:border-default-500 dark:data-[hover=true]:border-default-200 data-[hover=true]:bg-transparent",{"border-none relative pt-2":eo})},defaultSelectedKeys:ef,selectedKeys:ef,disabledKeys:ef,items:eh,placeholder:"Select team",popoverProps:{placement:eo?"right":"bottom",className:eo?"min-w-[250px] w-fit":void 0},onChange:ep,renderValue:ei=>eo?null:ei.map(ei=>{var eo;return(0,eE.jsxs)("div",{className:"ml-1 flex flex-col gap-y-0.5",children:[(0,eE.jsx)("span",{className:"text-tiny leading-4",children:null===(eo=ei.data)||void 0===eo?void 0:eo.label}),(0,eE.jsx)("span",{className:"text-tiny text-default-400",children:"Team"})]},ei.key)}),selectorIcon:eo?(0,eE.jsx)(tk.v,{className:"text-default-500 absolute",style:{bottom:4,right:12}}):(0,eE.jsx)(UnfoldMoreIcon,{className:"text-default-500"}),startContent:(0,eE.jsx)("div",{className:(0,th.cn)("relative h-10 w-10 flex-none rounded-full border-small border-default-300",{"-mt-1 flex h-12 w-12 items-center justify-center border-none text-default-500 transition-colors duration-200 ease-linear hover:text-default-foreground":eo}),children:(0,eE.jsx)(UserGroupIcon,{className:(0,th.cn)("text-inherit",{"ml-2 mt-2":!eo})})}),children:ei=>(0,eE.jsx)(tg,{hideSelectedIcon:!0,"aria-label":ei.label,items:ei.items,title:ei.label,children:ei=>(0,eE.jsx)(tb.R,{"aria-label":ei.label,textValue:ei.label,value:ei.value,children:(0,eE.jsxs)("div",{className:"flex flex-row items-center justify-between gap-1",children:[(0,eE.jsx)("span",{children:ei.label}),(0,eE.jsx)("div",{className:"flex h-6 w-6 items-center justify-center rounded-full border-small border-default-300",children:(0,eE.jsx)(UserGroupIcon,{className:"text-default-500 h-4 w-4"})})]})},ei.value)},ei.value)})})});tT.displayName="SidebarAccountSwitcher";let tC=(0,eT.memo)(ei=>(0,eE.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...ei,children:[(0,eE.jsx)("rect",{width:"56",height:"56",fill:"url(#pattern0_51_3)"}),(0,eE.jsxs)("defs",{children:[(0,eE.jsx)("pattern",{id:"pattern0_51_3",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,eE.jsx)("use",{xlinkHref:"#image0_51_3",transform:"scale(0.002)"})}),(0,eE.jsx)("image",{id:"image0_51_3",width:"500",height:"500",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB9KADAAQAAAABAAAB9AAAAAB3bs6AAABAAElEQVR4Aezd26ut65od9DHmYa1dyzpYbpIyhSQYSlJINF6IYEjQC0HEE0HRG8H7gFeCqLkQA17pjYiX/gPeKAhBQQhoUWCMgikilYBWUlXbslK7qvaufViHeRh+rX/zN3rrz3i/OdeKm9Rm1/eye2/taa09z9vnO94++x7ztO7vxnp4eLiPdH9//9BWdNrD3/nLP3735ht/9u7bv/PPvPn2X/23Xr9+/bPb4/7Nmzfdcrf1ZE60zLqQm8D7i+7BYTqP+GpqZ1f+SuseHCZ/xD80a+WvtNX8lZbe1j80a+WvtJ6Jw+SP+IdmrfyVtpq/0tLb+odmrfyV1jNxmPwR/9Cslb/SVvNXWnpb/9Cslb/SeiYOkz/iH5q18lfaav5KS2/rH5q18ldaz8Rh8kf8Q7NW/kpbzV9p6W39Q7NW/krrmThM/oh/aNbKX2mr+Sstva1/aNbKX2k9E4fJH/EPzbrxP/nsa3d3L7ePxh+7v7v/8U/unv34T//i/U/+sf/q7g/9yf/m/v7P/q5wf/7SGvnv/ZAVSmP43Xd+4R/5zq/9jf/ge7/9q//6m89+7+979vbV/U998s27t2/fXh5bxgf4Za9Z9wtY8BxQltf0oQNrf+/8//d87r+f33n++zn0/Wrulq003t8NnvdvP7Xz/u3n0Perubu10nh/N3jev/3U/p7evx97+/Hd223f188fHj6/f3b3+bOX92+e/8Tdw8uvf+/h/g/9bz/7D/8T//GLr//p/2n7xvj1/KL25zPPi798YPs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HPxibk892NCpyTb23Oizlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyUzNdnGOWvWsq0358+9kpmabOOcNWvZ1pvz517JTE22cc6atWzrzflzr2SmJts4Z81atvXm/LlXMlOTbZyzZi3benP+3CuZqck2zlmzlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyUzNdnGOWvWsq0358+9kpmabOOcNWvZ1pvz517JTE22cc6atWzrzflzr2SmJts4Z81atvXm/LlXMo+a30NPWDMzGs6LZvFg9OZykGeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwYvWH+htdGM3h/fw5tNLnTUzu/r0+dz/6ZlQ+mz6PJsnO+sjzdzG3qP18PZ6j+bJzfpIiz5X7/E+r/donp5ZH2lzfupz/9Wp7FqfTZ9x8yRnfaTtU2+fe49b5/Zr03s0P9prZuZs9bm/k3iKfTZ9ns3TNesj7ekOt1/j6Z/7X0+kz7j55az7A/3asrMON+/DbZ4u9cyrg6vMvuPts56ozfVHb971zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/epp3PfPqoB5a+lar/eb609O865lXB/XQ0rda7TfXn57mXc+8OqiHlr7Var+5/vQ073rm1UE9tPStVvvN9aenedczrw7qoaVvtdpvrj89zbueeXVQDy19q9V+c/3pad71zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/epp3PfPqoB5a+lar/eb609O865lXB/XQ0rda7TfXn57mXc+8OqiHlr7Var+5/vQ073rm1UE9tPStVvvN9aen+aX2ga4BrsLRsjqzK0+fn2z0LkLPDDyW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EOnJts4Z81atvXm/LlXMlOTbZyzZi3benP+3CuZqck2zlmzlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyUzNdnGOWvWsq0358+9kpmabOOcNWvZ1pvz517JTE22cc6atWzrzflzr2SmJts4Z81atvXm/LlXMlOTbZyzZi3benP+3CuZqck2zlmzlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyUzNdnGOWvWsq0358+9kpmabOOcNWvZ1pvz517JPGp+Dz1hzcxoOC+axYPRm8tBnllq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHL1p/oLfRjd0c3sObTy911szs6tPnc/+nZ0Lps+nzbJ7srI80cxt7j9bD2+s9mic36yMt+ly9x/u83qN5emZ9pM35qc/9V6eya302fcbNk5z1kbZPvX3uPW6d269N79H8aK+ZmbPV5/5O4in22fR5Nk/XrI+0pzvcfo2nf+5/PZE+4+aXs+4P9GvLzjrcvA+3ebrUM68OrjL7jrfPeqI21x+9edczrw7qoaVvtdpvrj89zbueeXVQDy19q9V+c/3pad71zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/epp3PfPqoB5a+lar/eb609O865lXB/XQ0rda7TfXn57mXc+8OqiHlr7Var+5/vQ073rm1UE9tPStVvvN9aenedczrw7qoaVvtdpvrj89zbueeXVQDy19q9V+c/3pad71zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/epp3PfPqoB5a+lar/eb609O865lXB/XQ0rda7TfXn57ml9oHuga4CkfL6syuPH1+stG7CD0z8Fhmwmjtp7Y6Q5s4e9Xw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ezU1sLtODDZ2abOOcNWvZ1pvz517JTE22cc6atWzrzflzr2SmJts4Z81atvXm/LlXMlOTbZyzZi3benP+3CuZqck2zlmzlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyUzNdnGOWvWsq0358+9kpmabOOcNWvZ1pvz517JTE22cc6atWzrzflzr2SmJts4Z81atvXm/LlXMlOTbZyzZi3benP+3CuZqck2zlmzlm29OX/ulczUZBvnrFnLtt6cP/dKZmqyjXPWrGVbb86feyXzqPk99IQ1M6PhvGgWD0ZvLgd5Zqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR5srXO4nFlq/kqX4ckGebC1zuFyZqn5K12GJxvkwdY6h8uZpeavdBmebJAHW+scLmeWmr/SZXiyQR68aP2B3kY3dnN4D28+vdRZM7OrT5/P/Z+eCaXPps+zebKzPtLMbew9Wg9vr/dontysj7Toc/Ue7/N6j+bpmfWRNuenPvdfncqu9dn0GTdPctZH2j719rn3uHVuvza9R/OjvWZmzlaf+zuJp9hn0+fZPF2zPtKe7nD7NZ7+uf/1RPqMm1/Ouj/Qry0763DzPtzm6VLPvDq4yuw73j7ridpcf/TmXc+8OqiHlr7Var+5/vQ073rm1UE9tPStVvvN9aenedczrw7qoaVvtdpvrj89zbueeXVQDy19q9V+c/3pad71zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/epp3PfPqoB5a+lar/eb609O865lXB/XQ0rda7TfXn57mXc+8OqiHlr7Var+5/vQ073rm1UE9tPStVvvN9aenedczrw7qoaVvtdpvrj89zbueeXVQDy19q9V+c/3pad71zKuDemjpW632m+tPT/OuZ14d1ENL32q131x/eppfah/oGuAqHC2rM7vy9PnJRu8i9MzAY5kJo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d5zY9e87runDqQHCjdOT4w53Jc8tU88pIDXaOXo/su87rPuffyevc4r/nRa17XnVMHkgOlO8cH5lyOS76aR15yoGv0cnTfZV73OfdeXu8e5zU/es3runPqQHKgdOf4wJzLcclX88hLDnSNXo7uu8zrPufey+vd47zmR695XXdOHUgOlO4cH5hzOS75ah55yYGu0cvRfVvveXzufBi/z318MDzqeqjcLa/Fp9nuDO98cNDfeebFr9559guv9bd/9F9Ggx4z7xyy8zTb43WW4pZWCoZv/vlP3fuPf/z1d771r6925/eOj2Lea0f34htr4vX1+LD7xSN0vc1+bBeT8ob4iKc31MeBfvGD7T1Czz/wzk2KoHhb3XRFXpunpqvtZbkrTru11XrV9DZ/W//L9sZ2Y12R1HrV9Lb/2v67bG9ccdttbbVeNf1jvf/61fSm83jCO871VTzhfhgPiW/Gx9MePekOH/vdJ1546Vf7x3/sre3qXRDOaJD8d3VIDsM/HXVv/93Pdf/91s+f3XvjS2dn92+cn53EE+9n8V54PSSfD2t9VWxMFtoDD3Ru04PQf/HOVZfjklbyPGhOz3u989JcJS3XeO+rcK93XpqrpOWaq8zpHq93XpqrpOUa730V7vXOS3OVtFxzlTnd4/XOS3OVtFzjva/Cvd55aa6SlmuuMqd7vN55aa6Slmu891W41zsvzVXScs1V5nSP1zsvzVXSco33vgr3eueluUparrnKnO7xeueluUparvHeV+Fe77w0V0nLNVeZ0z1e77w0V0nbqdnEg+HF8iA+Xh7vXD9+9I3Vjae/2t1+9vXuqdVf9v0vTP/Zuc/+AP6/iwrpOvTcIKkAAAAASUVORK5CYII="})]})]}));tC.displayName="BrandLogo";let t_=(0,eT.memo)(ei=>{let{isCompact:eo}=ei;return(0,eE.jsxs)("div",{className:(0,th.cn)("flex items-center gap-3 px-3",{"justify-center gap-0":eo}),children:[(0,eE.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-foreground",children:(0,eE.jsx)(tC,{className:"rounded-md text-background"})}),(0,eE.jsx)("span",{className:(0,th.cn)("text-small font-bold uppercase opacity-100",{"w-0 opacity-0":eo}),children:"Docsum"})]})});t_.displayName="SidebarBrand";var tA=ea(25977);let ArrowLeftIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M4 6L4 18",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M8.00012 12.0005L20.0001 12.0005",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M12 8C12 8 8.00001 10.946 8 12C7.99999 13.0541 12 16 12 16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),SidebarCollapseButton=()=>{let{canHide:ei,setIsSidebarCollapsed:eo,setIsSidebarHidden:ea}=(0,tf.A)(),hideSidebar=()=>{eo(!0),ei&&ea(!0)};return(0,eE.jsx)(tA.Z,{content:"".concat(ei?"Hide":"Collapse"," sidebar"),placement:"right",children:(0,eE.jsx)(tl.Z,{isIconOnly:!0,size:"sm",variant:"light",onPress:hideSidebar,children:(0,eE.jsx)(ArrowLeftIcon,{className:"h-5 w-5"})})})};var tO=ea(48781),tM=ea(38016);let SidebarThemeSelector=ei=>{let{isCompact:eo}=ei,{isDark:ea,toggleTheme:es}=useIsDarkTheme();return eo?(0,eE.jsx)(tM.e,{content:"Theme",isDisabled:!eo,placement:"right",children:(0,eE.jsx)(tl.Z,{fullWidth:!0,variant:"flat",className:"justify-center truncate text-default-500 data-[hover=true]:text-foreground",isIconOnly:eo,onClick:es,children:(0,eE.jsx)(eW.JO,{className:"text-default-500",icon:"material-symbols-light:".concat(ea?"dark":"light","-mode-outline"),width:24})})}):(0,eE.jsxs)("div",{className:"group/toggle bg- flex items-center justify-between gap-2 rounded-lg px-3 py-3",children:[(0,eE.jsx)("div",{className:"text-small font-medium text-default-800 group-hover/toggle:font-semibold",children:"Theme"}),(0,eE.jsx)(tO.i,{color:"default",size:"md",defaultSelected:ea,checked:ea,onChange:es,thumbIcon:ei=>{let{isSelected:eo,className:ea}=ei;return eo?(0,eE.jsx)(eW.JO,{className:ea,icon:"material-symbols-light:dark-mode-outline"}):(0,eE.jsx)(eW.JO,{className:ea,icon:"material-symbols-light:light-mode-outline"})},classNames:{base:(0,th.cn)("ring-1 ring-default-200 rounded-full hover:ring-2 hover:ring-primary-500",{"ring-default-300":ea}),wrapper:(0,th.cn)("mr-0 h-6",{"!bg-default-100":!ea,"!bg-default-200":ea}),thumb:(0,th.cn)({"bg-default-50":ea,"bg-white/80":!ea}),thumbIcon:(0,th.cn)("w-4 h-4",{"text-default-800":ea})}})]})};SidebarThemeSelector.displayName="SidebarThemeSelector";var tR=ea(69775),tj=ea(26887),tN=ea(72825),tL=ea(87263),tD=ea(63026),tI=ea(32616),tz=ea(85472);let useLogOut=()=>{let{setIsSigningOut:ei}=(0,eD.E)();return(0,eT.useCallback)(eo=>{ei(!0),tu.O.auth.signOut().then(()=>null==eo?void 0:eo())},[])};var tB=ea(98757),tF=ea(32745);let tH="Free",tU="Unlimited",getRemainingCredits=ei=>null==ei?tU:ei.toLocaleString(),tV=(0,eT.memo)(ei=>{var eo,ea,es,eu;let{isCompact:ec}=ei,ed=(0,tE.a)(),ef=(0,eN.useRouter)(),{userMetadata:eh}=(0,eD.E)(),ep=(0,tB.r)(),em=useLogOut(),eg=(0,eT.useMemo)(()=>{var ei,eo;return"".concat(null===(ei=ed.data)||void 0===ei?void 0:ei.firstName," ").concat(null===(eo=ed.data)||void 0===eo?void 0:eo.lastName)},[null===(eo=ed.data)||void 0===eo?void 0:eo.firstName,null===(ea=ed.data)||void 0===ea?void 0:ea.lastName]),eb=(0,eT.useMemo)(()=>(null==ep?void 0:ep.products.length)===0?tH:null==ep?void 0:ep.products[0].name,[null==ep?void 0:ep.products]),ey=(0,eT.useCallback)(()=>ef.push("/settings"),[]);return(0,eE.jsx)("div",{className:"flex items-center gap-3 px-3",children:(0,eE.jsxs)(tj.F,{showArrow:!0,placement:"right-end",children:[(0,eE.jsx)(tN.S,{children:(0,eE.jsx)(tz.z,{as:"button",avatarProps:{isBordered:!0,showFallback:!0,src:null==eh?void 0:eh.avatar_url,getInitials:tF.Qm},className:"ui w-full justify-start transition-transform",classNames:{wrapper:ec?"hidden":"",name:"truncate text-default-600",description:"truncate text-default-400"},description:null===(es=ed.data)||void 0===es?void 0:es.email,name:eg})}),(0,eE.jsxs)(tL.a,{"aria-label":"Account Details",disabledKeys:["profile"],children:[(0,eE.jsx)(tD.d,{showDivider:!0,"aria-label":"Profile",className:ec?void 0:"hidden",children:(0,eE.jsx)(tI.W,{isReadOnly:!0,className:"h-14 gap-2 opacity-100",textValue:"Signed in as",children:(0,eE.jsxs)("div",{className:"flex max-w-full flex-col",children:[(0,eE.jsx)("p",{className:"mb-1 text-tiny font-light",children:"Signed in as"}),(0,eE.jsxs)("div",{className:"flex flex-col",children:[(0,eE.jsx)("p",{className:"truncate text-small font-medium text-default-600",children:eg}),(0,eE.jsx)("p",{className:"truncate text-tiny text-default-400",children:null===(eu=ed.data)||void 0===eu?void 0:eu.email})]})]})},"profile")}),(0,eE.jsxs)(tD.d,{showDivider:!0,"aria-label":"Plan and Details",children:[(0,eE.jsx)(tI.W,{isReadOnly:!0,className:"cursor-default",textValue:"Current Plan",endContent:(0,eE.jsx)(tR.z,{size:"sm",variant:"flat",children:eb}),children:"Current Plan"},"plan"),(0,eE.jsx)(tI.W,{isReadOnly:!0,className:"h-auto cursor-default",textValue:"Available Uploads",children:(0,eE.jsx)("div",{className:"flex flex-col gap-1",children:(0,eE.jsxs)("div",{className:"rounded-small bg-default-100 px-2 py-1 group-data-[hover=true]:bg-default-200",children:[(0,eE.jsx)("span",{className:"text-tiny text-default-600",children:"Available Uploads"}),(0,eE.jsxs)("div",{className:"flex justify-between gap-2 text-tiny",children:[(0,eE.jsx)("span",{className:"text-default-500",children:"NDA"}),(0,eE.jsx)("span",{className:"text-success",children:getRemainingCredits(null==ep?void 0:ep.features.ndaCreditsRemaining)})]}),(0,eE.jsxs)("div",{className:"flex justify-between gap-2 text-tiny",children:[(0,eE.jsx)("span",{className:"text-default-500",children:"Sales Contract "}),(0,eE.jsx)("span",{className:"text-success",children:getRemainingCredits(null==ep?void 0:ep.features.creditsRemaining)})]})]})})},"plan-status")]}),(0,eE.jsxs)(tD.d,{"aria-label":"Actions",children:[(0,eE.jsx)(tI.W,{onClick:ey,children:"Settings"},"settings"),(0,eE.jsx)(tI.W,{isReadOnly:!0,className:"text-foreground-500 text-opacity-disabled",children:"Help & Feedback"},"help-and-feedback"),(0,eE.jsx)(tI.W,{onClick:()=>em(),children:"Log Out"},"logout")]})]})]})})});tV.displayName="SidebarUser";let NavSectionDivider=()=>(0,eE.jsx)("div",{className:"px-1",children:(0,eE.jsx)("div",{className:"shrink-0 bg-divider border-none w-full h-divider mt-0 mb-1",role:"separator"})});var tX=NavSectionDivider,tq=ea(41664),t$=ea.n(tq),tW=ea(73935);function useCombinedRefs(){for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return(0,eT.useMemo)(()=>ei=>{eo.forEach(eo=>eo(ei))},eo)}let tK="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function isWindow(ei){let eo=Object.prototype.toString.call(ei);return"[object Window]"===eo||"[object global]"===eo}function isNode(ei){return"nodeType"in ei}function getWindow(ei){var eo,ea;return ei?isWindow(ei)?ei:isNode(ei)&&null!=(eo=null==(ea=ei.ownerDocument)?void 0:ea.defaultView)?eo:window:window}function isDocument(ei){let{Document:eo}=getWindow(ei);return ei instanceof eo}function isHTMLElement(ei){return!isWindow(ei)&&ei instanceof getWindow(ei).HTMLElement}function isSVGElement(ei){return ei instanceof getWindow(ei).SVGElement}function getOwnerDocument(ei){return ei?isWindow(ei)?ei.document:isNode(ei)?isDocument(ei)?ei:isHTMLElement(ei)||isSVGElement(ei)?ei.ownerDocument:document:document:document}let tG=tK?eT.useLayoutEffect:eT.useEffect;function useEvent(ei){let eo=(0,eT.useRef)(ei);return tG(()=>{eo.current=ei}),(0,eT.useCallback)(function(){for(var ei=arguments.length,ea=Array(ei),es=0;es<ei;es++)ea[es]=arguments[es];return null==eo.current?void 0:eo.current(...ea)},[])}function useInterval(){let ei=(0,eT.useRef)(null),eo=(0,eT.useCallback)((eo,ea)=>{ei.current=setInterval(eo,ea)},[]),ea=(0,eT.useCallback)(()=>{null!==ei.current&&(clearInterval(ei.current),ei.current=null)},[]);return[eo,ea]}function useLatestValue(ei,eo){void 0===eo&&(eo=[ei]);let ea=(0,eT.useRef)(ei);return tG(()=>{ea.current!==ei&&(ea.current=ei)},eo),ea}function useLazyMemo(ei,eo){let ea=(0,eT.useRef)();return(0,eT.useMemo)(()=>{let eo=ei(ea.current);return ea.current=eo,eo},[...eo])}function useNodeRef(ei){let eo=useEvent(ei),ea=(0,eT.useRef)(null),es=(0,eT.useCallback)(ei=>{ei!==ea.current&&(null==eo||eo(ei,ea.current)),ea.current=ei},[]);return[ea,es]}function usePrevious(ei){let eo=(0,eT.useRef)();return(0,eT.useEffect)(()=>{eo.current=ei},[ei]),eo.current}let tZ={};function useUniqueId(ei,eo){return(0,eT.useMemo)(()=>{if(eo)return eo;let ea=null==tZ[ei]?0:tZ[ei]+1;return tZ[ei]=ea,ei+"-"+ea},[ei,eo])}function createAdjustmentFn(ei){return function(eo){for(var ea=arguments.length,es=Array(ea>1?ea-1:0),eu=1;eu<ea;eu++)es[eu-1]=arguments[eu];return es.reduce((eo,ea)=>{let es=Object.entries(ea);for(let[ea,eu]of es){let es=eo[ea];null!=es&&(eo[ea]=es+ei*eu)}return eo},{...eo})}}let tJ=createAdjustmentFn(1),tY=createAdjustmentFn(-1);function hasViewportRelativeCoordinates(ei){return"clientX"in ei&&"clientY"in ei}function isKeyboardEvent(ei){if(!ei)return!1;let{KeyboardEvent:eo}=getWindow(ei.target);return eo&&ei instanceof eo}function isTouchEvent(ei){if(!ei)return!1;let{TouchEvent:eo}=getWindow(ei.target);return eo&&ei instanceof eo}function getEventCoordinates(ei){if(isTouchEvent(ei)){if(ei.touches&&ei.touches.length){let{clientX:eo,clientY:ea}=ei.touches[0];return{x:eo,y:ea}}if(ei.changedTouches&&ei.changedTouches.length){let{clientX:eo,clientY:ea}=ei.changedTouches[0];return{x:eo,y:ea}}}return hasViewportRelativeCoordinates(ei)?{x:ei.clientX,y:ei.clientY}:null}let tQ=Object.freeze({Translate:{toString(ei){if(!ei)return;let{x:eo,y:ea}=ei;return"translate3d("+(eo?Math.round(eo):0)+"px, "+(ea?Math.round(ea):0)+"px, 0)"}},Scale:{toString(ei){if(!ei)return;let{scaleX:eo,scaleY:ea}=ei;return"scaleX("+eo+") scaleY("+ea+")"}},Transform:{toString(ei){if(ei)return[tQ.Translate.toString(ei),tQ.Scale.toString(ei)].join(" ")}},Transition:{toString(ei){let{property:eo,duration:ea,easing:es}=ei;return eo+" "+ea+"ms "+es}}}),t0="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function findFirstFocusableNode(ei){return ei.matches(t0)?ei:ei.querySelector(t0)}let t1={display:"none"};function HiddenText(ei){let{id:eo,value:ea}=ei;return eT.createElement("div",{id:eo,style:t1},ea)}function LiveRegion(ei){let{id:eo,announcement:ea,ariaLiveType:es="assertive"}=ei,eu={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return eT.createElement("div",{id:eo,style:eu,role:"status","aria-live":es,"aria-atomic":!0},ea)}function useAnnouncement(){let[ei,eo]=(0,eT.useState)(""),ea=(0,eT.useCallback)(ei=>{null!=ei&&eo(ei)},[]);return{announce:ea,announcement:ei}}let t8=(0,eT.createContext)(null);function useDndMonitor(ei){let eo=(0,eT.useContext)(t8);(0,eT.useEffect)(()=>{if(!eo)throw Error("useDndMonitor must be used within a children of <DndContext>");let ea=eo(ei);return ea},[ei,eo])}function useDndMonitorProvider(){let[ei]=(0,eT.useState)(()=>new Set),eo=(0,eT.useCallback)(eo=>(ei.add(eo),()=>ei.delete(eo)),[ei]),ea=(0,eT.useCallback)(eo=>{let{type:ea,event:es}=eo;ei.forEach(ei=>{var eo;return null==(eo=ei[ea])?void 0:eo.call(ei,es)})},[ei]);return[ea,eo]}let t6={draggable:"\n    To pick up a draggable item, press the space bar.\n    While dragging, use the arrow keys to move the item.\n    Press space again to drop the item in its new position, or press escape to cancel.\n  "},t5={onDragStart(ei){let{active:eo}=ei;return"Picked up draggable item "+eo.id+"."},onDragOver(ei){let{active:eo,over:ea}=ei;return ea?"Draggable item "+eo.id+" was moved over droppable area "+ea.id+".":"Draggable item "+eo.id+" is no longer over a droppable area."},onDragEnd(ei){let{active:eo,over:ea}=ei;return ea?"Draggable item "+eo.id+" was dropped over droppable area "+ea.id:"Draggable item "+eo.id+" was dropped."},onDragCancel(ei){let{active:eo}=ei;return"Dragging was cancelled. Draggable item "+eo.id+" was dropped."}};function Accessibility(ei){let{announcements:eo=t5,container:ea,hiddenTextDescribedById:es,screenReaderInstructions:eu=t6}=ei,{announce:ec,announcement:ed}=useAnnouncement(),ef=useUniqueId("DndLiveRegion"),[eh,ep]=(0,eT.useState)(!1);if((0,eT.useEffect)(()=>{ep(!0)},[]),useDndMonitor((0,eT.useMemo)(()=>({onDragStart(ei){let{active:ea}=ei;ec(eo.onDragStart({active:ea}))},onDragMove(ei){let{active:ea,over:es}=ei;eo.onDragMove&&ec(eo.onDragMove({active:ea,over:es}))},onDragOver(ei){let{active:ea,over:es}=ei;ec(eo.onDragOver({active:ea,over:es}))},onDragEnd(ei){let{active:ea,over:es}=ei;ec(eo.onDragEnd({active:ea,over:es}))},onDragCancel(ei){let{active:ea,over:es}=ei;ec(eo.onDragCancel({active:ea,over:es}))}}),[ec,eo])),!eh)return null;let em=eT.createElement(eT.Fragment,null,eT.createElement(HiddenText,{id:es,value:eu.draggable}),eT.createElement(LiveRegion,{id:ef,announcement:ed}));return ea?(0,tW.createPortal)(em,ea):em}function noop(){}function useSensor(ei,eo){return(0,eT.useMemo)(()=>({sensor:ei,options:null!=eo?eo:{}}),[ei,eo])}function useSensors(){for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return(0,eT.useMemo)(()=>[...eo].filter(ei=>null!=ei),[...eo])}!function(ei){ei.DragStart="dragStart",ei.DragMove="dragMove",ei.DragEnd="dragEnd",ei.DragCancel="dragCancel",ei.DragOver="dragOver",ei.RegisterDroppable="registerDroppable",ei.SetDroppableDisabled="setDroppableDisabled",ei.UnregisterDroppable="unregisterDroppable"}(ef||(ef={}));let t4=Object.freeze({x:0,y:0});function distanceBetween(ei,eo){return Math.sqrt(Math.pow(ei.x-eo.x,2)+Math.pow(ei.y-eo.y,2))}function getRelativeTransformOrigin(ei,eo){let ea=getEventCoordinates(ei);if(!ea)return"0 0";let es={x:(ea.x-eo.left)/eo.width*100,y:(ea.y-eo.top)/eo.height*100};return es.x+"% "+es.y+"%"}function sortCollisionsAsc(ei,eo){let{data:{value:ea}}=ei,{data:{value:es}}=eo;return ea-es}function sortCollisionsDesc(ei,eo){let{data:{value:ea}}=ei,{data:{value:es}}=eo;return es-ea}function core_esm_getFirstCollision(ei,eo){if(!ei||0===ei.length)return null;let[ea]=ei;return eo?ea[eo]:ea}function centerOfRectangle(ei,eo,ea){return void 0===eo&&(eo=ei.left),void 0===ea&&(ea=ei.top),{x:eo+.5*ei.width,y:ea+.5*ei.height}}let closestCenter=ei=>{let{collisionRect:eo,droppableRects:ea,droppableContainers:es}=ei,eu=centerOfRectangle(eo,eo.left,eo.top),ec=[];for(let ei of es){let{id:eo}=ei,es=ea.get(eo);if(es){let ea=distanceBetween(centerOfRectangle(es),eu);ec.push({id:eo,data:{droppableContainer:ei,value:ea}})}}return ec.sort(sortCollisionsAsc)};function getIntersectionRatio(ei,eo){let ea=Math.max(eo.top,ei.top),es=Math.max(eo.left,ei.left),eu=Math.min(eo.left+eo.width,ei.left+ei.width),ec=Math.min(eo.top+eo.height,ei.top+ei.height),ed=eu-es,ef=ec-ea;if(es<eu&&ea<ec){let ea=eo.width*eo.height,es=ei.width*ei.height,eu=ed*ef,ec=eu/(ea+es-eu);return Number(ec.toFixed(4))}return 0}let rectIntersection=ei=>{let{collisionRect:eo,droppableRects:ea,droppableContainers:es}=ei,eu=[];for(let ei of es){let{id:es}=ei,ec=ea.get(es);if(ec){let ea=getIntersectionRatio(ec,eo);ea>0&&eu.push({id:es,data:{droppableContainer:ei,value:ea}})}}return eu.sort(sortCollisionsDesc)};function adjustScale(ei,eo,ea){return{...ei,scaleX:eo&&ea?eo.width/ea.width:1,scaleY:eo&&ea?eo.height/ea.height:1}}function getRectDelta(ei,eo){return ei&&eo?{x:ei.left-eo.left,y:ei.top-eo.top}:t4}function createRectAdjustmentFn(ei){return function(eo){for(var ea=arguments.length,es=Array(ea>1?ea-1:0),eu=1;eu<ea;eu++)es[eu-1]=arguments[eu];return es.reduce((eo,ea)=>({...eo,top:eo.top+ei*ea.y,bottom:eo.bottom+ei*ea.y,left:eo.left+ei*ea.x,right:eo.right+ei*ea.x}),{...eo})}}let t7=createRectAdjustmentFn(1);function parseTransform(ei){if(ei.startsWith("matrix3d(")){let eo=ei.slice(9,-1).split(/, /);return{x:+eo[12],y:+eo[13],scaleX:+eo[0],scaleY:+eo[5]}}if(ei.startsWith("matrix(")){let eo=ei.slice(7,-1).split(/, /);return{x:+eo[4],y:+eo[5],scaleX:+eo[0],scaleY:+eo[3]}}return null}function inverseTransform(ei,eo,ea){let es=parseTransform(eo);if(!es)return ei;let{scaleX:eu,scaleY:ec,x:ed,y:ef}=es,eh=ei.left-ed-(1-eu)*parseFloat(ea),ep=ei.top-ef-(1-ec)*parseFloat(ea.slice(ea.indexOf(" ")+1)),em=eu?ei.width/eu:ei.width,eg=ec?ei.height/ec:ei.height;return{width:em,height:eg,top:ep,right:eh+em,bottom:ep+eg,left:eh}}let t9={ignoreTransform:!1};function getClientRect(ei,eo){void 0===eo&&(eo=t9);let ea=ei.getBoundingClientRect();if(eo.ignoreTransform){let{transform:eo,transformOrigin:es}=getWindow(ei).getComputedStyle(ei);eo&&(ea=inverseTransform(ea,eo,es))}let{top:es,left:eu,width:ec,height:ed,bottom:ef,right:eh}=ea;return{top:es,left:eu,width:ec,height:ed,bottom:ef,right:eh}}function getTransformAgnosticClientRect(ei){return getClientRect(ei,{ignoreTransform:!0})}function getWindowClientRect(ei){let eo=ei.innerWidth,ea=ei.innerHeight;return{top:0,left:0,right:eo,bottom:ea,width:eo,height:ea}}function isFixed(ei,eo){return void 0===eo&&(eo=getWindow(ei).getComputedStyle(ei)),"fixed"===eo.position}function isScrollable(ei,eo){void 0===eo&&(eo=getWindow(ei).getComputedStyle(ei));let ea=/(auto|scroll|overlay)/,es=["overflow","overflowX","overflowY"];return es.some(ei=>{let es=eo[ei];return"string"==typeof es&&ea.test(es)})}function core_esm_getScrollableAncestors(ei,eo){let ea=[];function findScrollableAncestors(es){if(null!=eo&&ea.length>=eo||!es)return ea;if(isDocument(es)&&null!=es.scrollingElement&&!ea.includes(es.scrollingElement))return ea.push(es.scrollingElement),ea;if(!isHTMLElement(es)||isSVGElement(es)||ea.includes(es))return ea;let eu=getWindow(ei).getComputedStyle(es);return(es!==ei&&isScrollable(es,eu)&&ea.push(es),isFixed(es,eu))?ea:findScrollableAncestors(es.parentNode)}return ei?findScrollableAncestors(ei):ea}function getFirstScrollableAncestor(ei){let[eo]=core_esm_getScrollableAncestors(ei,1);return null!=eo?eo:null}function getScrollableElement(ei){return tK&&ei?isWindow(ei)?ei:isNode(ei)?isDocument(ei)||ei===getOwnerDocument(ei).scrollingElement?window:isHTMLElement(ei)?ei:null:null:null}function getScrollXCoordinate(ei){return isWindow(ei)?ei.scrollX:ei.scrollLeft}function getScrollYCoordinate(ei){return isWindow(ei)?ei.scrollY:ei.scrollTop}function getScrollCoordinates(ei){return{x:getScrollXCoordinate(ei),y:getScrollYCoordinate(ei)}}function isDocumentScrollingElement(ei){return!!tK&&!!ei&&ei===document.scrollingElement}function getScrollPosition(ei){let eo={x:0,y:0},ea=isDocumentScrollingElement(ei)?{height:window.innerHeight,width:window.innerWidth}:{height:ei.clientHeight,width:ei.clientWidth},es={x:ei.scrollWidth-ea.width,y:ei.scrollHeight-ea.height},eu=ei.scrollTop<=eo.y,ec=ei.scrollLeft<=eo.x,ed=ei.scrollTop>=es.y,ef=ei.scrollLeft>=es.x;return{isTop:eu,isLeft:ec,isBottom:ed,isRight:ef,maxScroll:es,minScroll:eo}}!function(ei){ei[ei.Forward=1]="Forward",ei[ei.Backward=-1]="Backward"}(eh||(eh={}));let rr={x:.2,y:.2};function getScrollDirectionAndSpeed(ei,eo,ea,es,eu){let{top:ec,left:ed,right:ef,bottom:ep}=ea;void 0===es&&(es=10),void 0===eu&&(eu=rr);let{isTop:em,isBottom:eg,isLeft:eb,isRight:ey}=getScrollPosition(ei),ew={x:0,y:0},ex={x:0,y:0},eP={height:eo.height*eu.y,width:eo.width*eu.x};return!em&&ec<=eo.top+eP.height?(ew.y=eh.Backward,ex.y=es*Math.abs((eo.top+eP.height-ec)/eP.height)):!eg&&ep>=eo.bottom-eP.height&&(ew.y=eh.Forward,ex.y=es*Math.abs((eo.bottom-eP.height-ep)/eP.height)),!ey&&ef>=eo.right-eP.width?(ew.x=eh.Forward,ex.x=es*Math.abs((eo.right-eP.width-ef)/eP.width)):!eb&&ed<=eo.left+eP.width&&(ew.x=eh.Backward,ex.x=es*Math.abs((eo.left+eP.width-ed)/eP.width)),{direction:ew,speed:ex}}function getScrollElementRect(ei){if(ei===document.scrollingElement){let{innerWidth:ei,innerHeight:eo}=window;return{top:0,left:0,right:ei,bottom:eo,width:ei,height:eo}}let{top:eo,left:ea,right:es,bottom:eu}=ei.getBoundingClientRect();return{top:eo,left:ea,right:es,bottom:eu,width:ei.clientWidth,height:ei.clientHeight}}function getScrollOffsets(ei){return ei.reduce((ei,eo)=>tJ(ei,getScrollCoordinates(eo)),t4)}function getScrollXOffset(ei){return ei.reduce((ei,eo)=>ei+getScrollXCoordinate(eo),0)}function getScrollYOffset(ei){return ei.reduce((ei,eo)=>ei+getScrollYCoordinate(eo),0)}function scrollIntoViewIfNeeded(ei,eo){if(void 0===eo&&(eo=getClientRect),!ei)return;let{top:ea,left:es,bottom:eu,right:ec}=eo(ei),ed=getFirstScrollableAncestor(ei);ed&&(eu<=0||ec<=0||ea>=window.innerHeight||es>=window.innerWidth)&&ei.scrollIntoView({block:"center",inline:"center"})}let rn=[["x",["left","right"],getScrollXOffset],["y",["top","bottom"],getScrollYOffset]];let Rect=class Rect{constructor(ei,eo){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let ea=core_esm_getScrollableAncestors(eo),es=getScrollOffsets(ea);for(let[eo,eu,ec]of(this.rect={...ei},this.width=ei.width,this.height=ei.height,rn))for(let ei of eu)Object.defineProperty(this,ei,{get:()=>{let eu=ec(ea),ed=es[eo]-eu;return this.rect[ei]+ed},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}};let Listeners=class Listeners{constructor(ei){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(ei=>{var eo;return null==(eo=this.target)?void 0:eo.removeEventListener(...ei)})},this.target=ei}add(ei,eo,ea){var es;null==(es=this.target)||es.addEventListener(ei,eo,ea),this.listeners.push([ei,eo,ea])}};function getEventListenerTarget(ei){let{EventTarget:eo}=getWindow(ei);return ei instanceof eo?ei:getOwnerDocument(ei)}function hasExceededDistance(ei,eo){let ea=Math.abs(ei.x),es=Math.abs(ei.y);return"number"==typeof eo?Math.sqrt(ea**2+es**2)>eo:"x"in eo&&"y"in eo?ea>eo.x&&es>eo.y:"x"in eo?ea>eo.x:"y"in eo&&es>eo.y}function preventDefault(ei){ei.preventDefault()}function stopPropagation(ei){ei.stopPropagation()}!function(ei){ei.Click="click",ei.DragStart="dragstart",ei.Keydown="keydown",ei.ContextMenu="contextmenu",ei.Resize="resize",ei.SelectionChange="selectionchange",ei.VisibilityChange="visibilitychange"}(ep||(ep={})),function(ei){ei.Space="Space",ei.Down="ArrowDown",ei.Right="ArrowRight",ei.Left="ArrowLeft",ei.Up="ArrowUp",ei.Esc="Escape",ei.Enter="Enter"}(em||(em={}));let ri={start:[em.Space,em.Enter],cancel:[em.Esc],end:[em.Space,em.Enter]},defaultKeyboardCoordinateGetter=(ei,eo)=>{let{currentCoordinates:ea}=eo;switch(ei.code){case em.Right:return{...ea,x:ea.x+25};case em.Left:return{...ea,x:ea.x-25};case em.Down:return{...ea,y:ea.y+25};case em.Up:return{...ea,y:ea.y-25}}};let KeyboardSensor=class KeyboardSensor{constructor(ei){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=ei;let{event:{target:eo}}=ei;this.props=ei,this.listeners=new Listeners(getOwnerDocument(eo)),this.windowListeners=new Listeners(getWindow(eo)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ep.Resize,this.handleCancel),this.windowListeners.add(ep.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ep.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:ei,onStart:eo}=this.props,ea=ei.node.current;ea&&scrollIntoViewIfNeeded(ea),eo(t4)}handleKeyDown(ei){if(isKeyboardEvent(ei)){let{active:eo,context:ea,options:es}=this.props,{keyboardCodes:eu=ri,coordinateGetter:ec=defaultKeyboardCoordinateGetter,scrollBehavior:ed="smooth"}=es,{code:ef}=ei;if(eu.end.includes(ef)){this.handleEnd(ei);return}if(eu.cancel.includes(ef)){this.handleCancel(ei);return}let{collisionRect:eh}=ea.current,ep=eh?{x:eh.left,y:eh.top}:t4;this.referenceCoordinates||(this.referenceCoordinates=ep);let eg=ec(ei,{active:eo,context:ea.current,currentCoordinates:ep});if(eg){let eo=tY(eg,ep),es={x:0,y:0},{scrollableAncestors:eu}=ea.current;for(let ea of eu){let eu=ei.code,{isTop:ec,isRight:ef,isLeft:eh,isBottom:ep,maxScroll:eb,minScroll:ey}=getScrollPosition(ea),ew=getScrollElementRect(ea),ex={x:Math.min(eu===em.Right?ew.right-ew.width/2:ew.right,Math.max(eu===em.Right?ew.left:ew.left+ew.width/2,eg.x)),y:Math.min(eu===em.Down?ew.bottom-ew.height/2:ew.bottom,Math.max(eu===em.Down?ew.top:ew.top+ew.height/2,eg.y))},eP=eu===em.Right&&!ef||eu===em.Left&&!eh,eS=eu===em.Down&&!ep||eu===em.Up&&!ec;if(eP&&ex.x!==eg.x){let ei=ea.scrollLeft+eo.x,ec=eu===em.Right&&ei<=eb.x||eu===em.Left&&ei>=ey.x;if(ec&&!eo.y){ea.scrollTo({left:ei,behavior:ed});return}ec?es.x=ea.scrollLeft-ei:es.x=eu===em.Right?ea.scrollLeft-eb.x:ea.scrollLeft-ey.x,es.x&&ea.scrollBy({left:-es.x,behavior:ed});break}if(eS&&ex.y!==eg.y){let ei=ea.scrollTop+eo.y,ec=eu===em.Down&&ei<=eb.y||eu===em.Up&&ei>=ey.y;if(ec&&!eo.x){ea.scrollTo({top:ei,behavior:ed});return}ec?es.y=ea.scrollTop-ei:es.y=eu===em.Down?ea.scrollTop-eb.y:ea.scrollTop-ey.y,es.y&&ea.scrollBy({top:-es.y,behavior:ed});break}}this.handleMove(ei,tJ(tY(eg,this.referenceCoordinates),es))}}}handleMove(ei,eo){let{onMove:ea}=this.props;ei.preventDefault(),ea(eo)}handleEnd(ei){let{onEnd:eo}=this.props;ei.preventDefault(),this.detach(),eo()}handleCancel(ei){let{onCancel:eo}=this.props;ei.preventDefault(),this.detach(),eo()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};function isDistanceConstraint(ei){return!!(ei&&"distance"in ei)}function isDelayConstraint(ei){return!!(ei&&"delay"in ei)}KeyboardSensor.activators=[{eventName:"onKeyDown",handler:(ei,eo,ea)=>{let{keyboardCodes:es=ri,onActivation:eu}=eo,{active:ec}=ea,{code:ed}=ei.nativeEvent;if(es.start.includes(ed)){let eo=ec.activatorNode.current;return(!eo||ei.target===eo)&&(ei.preventDefault(),null==eu||eu({event:ei.nativeEvent}),!0)}return!1}}];let AbstractPointerSensor=class AbstractPointerSensor{constructor(ei,eo,ea){var es;void 0===ea&&(ea=getEventListenerTarget(ei.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=ei,this.events=eo;let{event:eu}=ei,{target:ec}=eu;this.props=ei,this.events=eo,this.document=getOwnerDocument(ec),this.documentListeners=new Listeners(this.document),this.listeners=new Listeners(ea),this.windowListeners=new Listeners(getWindow(ec)),this.initialCoordinates=null!=(es=getEventCoordinates(eu))?es:t4,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:ei,props:{options:{activationConstraint:eo,bypassActivationConstraint:ea}}}=this;if(this.listeners.add(ei.move.name,this.handleMove,{passive:!1}),this.listeners.add(ei.end.name,this.handleEnd),this.windowListeners.add(ep.Resize,this.handleCancel),this.windowListeners.add(ep.DragStart,preventDefault),this.windowListeners.add(ep.VisibilityChange,this.handleCancel),this.windowListeners.add(ep.ContextMenu,preventDefault),this.documentListeners.add(ep.Keydown,this.handleKeydown),eo){if(null!=ea&&ea({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(isDelayConstraint(eo)){this.timeoutId=setTimeout(this.handleStart,eo.delay);return}if(isDistanceConstraint(eo))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){let{initialCoordinates:ei}=this,{onStart:eo}=this.props;ei&&(this.activated=!0,this.documentListeners.add(ep.Click,stopPropagation,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ep.SelectionChange,this.removeTextSelection),eo(ei))}handleMove(ei){var eo;let{activated:ea,initialCoordinates:es,props:eu}=this,{onMove:ec,options:{activationConstraint:ed}}=eu;if(!es)return;let ef=null!=(eo=getEventCoordinates(ei))?eo:t4,eh=tY(es,ef);if(!ea&&ed){if(isDistanceConstraint(ed)){if(null!=ed.tolerance&&hasExceededDistance(eh,ed.tolerance))return this.handleCancel();if(hasExceededDistance(eh,ed.distance))return this.handleStart()}return isDelayConstraint(ed)&&hasExceededDistance(eh,ed.tolerance)?this.handleCancel():void 0}ei.cancelable&&ei.preventDefault(),ec(ef)}handleEnd(){let{onEnd:ei}=this.props;this.detach(),ei()}handleCancel(){let{onCancel:ei}=this.props;this.detach(),ei()}handleKeydown(ei){ei.code===em.Esc&&this.handleCancel()}removeTextSelection(){var ei;null==(ei=this.document.getSelection())||ei.removeAllRanges()}};let ro={move:{name:"pointermove"},end:{name:"pointerup"}};let PointerSensor=class PointerSensor extends AbstractPointerSensor{constructor(ei){let{event:eo}=ei,ea=getOwnerDocument(eo.target);super(ei,ro,ea)}};PointerSensor.activators=[{eventName:"onPointerDown",handler:(ei,eo)=>{let{nativeEvent:ea}=ei,{onActivation:es}=eo;return!!ea.isPrimary&&0===ea.button&&(null==es||es({event:ea}),!0)}}];let ra={move:{name:"mousemove"},end:{name:"mouseup"}};!function(ei){ei[ei.RightClick=2]="RightClick"}(eg||(eg={}));let MouseSensor=class MouseSensor extends AbstractPointerSensor{constructor(ei){super(ei,ra,getOwnerDocument(ei.event.target))}};MouseSensor.activators=[{eventName:"onMouseDown",handler:(ei,eo)=>{let{nativeEvent:ea}=ei,{onActivation:es}=eo;return ea.button!==eg.RightClick&&(null==es||es({event:ea}),!0)}}];let rs={move:{name:"touchmove"},end:{name:"touchend"}};let TouchSensor=class TouchSensor extends AbstractPointerSensor{constructor(ei){super(ei,rs)}static setup(){return window.addEventListener(rs.move.name,noop,{capture:!1,passive:!1}),function(){window.removeEventListener(rs.move.name,noop)};function noop(){}}};function useAutoScroller(ei){let{acceleration:eo,activator:ea=eb.Pointer,canScroll:es,draggingRect:eu,enabled:ec,interval:ed=5,order:ef=ey.TreeOrder,pointerCoordinates:eh,scrollableAncestors:ep,scrollableAncestorRects:em,delta:eg,threshold:ew}=ei,ex=useScrollIntent({delta:eg,disabled:!ec}),[eP,eS]=useInterval(),eE=(0,eT.useRef)({x:0,y:0}),ek=(0,eT.useRef)({x:0,y:0}),eC=(0,eT.useMemo)(()=>{switch(ea){case eb.Pointer:return eh?{top:eh.y,bottom:eh.y,left:eh.x,right:eh.x}:null;case eb.DraggableRect:return eu}},[ea,eu,eh]),e_=(0,eT.useRef)(null),eA=(0,eT.useCallback)(()=>{let ei=e_.current;if(!ei)return;let eo=eE.current.x*ek.current.x,ea=eE.current.y*ek.current.y;ei.scrollBy(eo,ea)},[]),eO=(0,eT.useMemo)(()=>ef===ey.TreeOrder?[...ep].reverse():ep,[ef,ep]);(0,eT.useEffect)(()=>{if(!ec||!ep.length||!eC){eS();return}for(let ei of eO){if((null==es?void 0:es(ei))===!1)continue;let ea=ep.indexOf(ei),eu=em[ea];if(!eu)continue;let{direction:ec,speed:ef}=getScrollDirectionAndSpeed(ei,eu,eC,eo,ew);for(let ei of["x","y"])ex[ei][ec[ei]]||(ef[ei]=0,ec[ei]=0);if(ef.x>0||ef.y>0){eS(),e_.current=ei,eP(eA,ed),eE.current=ef,ek.current=ec;return}}eE.current={x:0,y:0},ek.current={x:0,y:0},eS()},[eo,eA,es,eS,ec,ed,JSON.stringify(eC),JSON.stringify(ex),eP,ep,eO,em,JSON.stringify(ew)])}TouchSensor.activators=[{eventName:"onTouchStart",handler:(ei,eo)=>{let{nativeEvent:ea}=ei,{onActivation:es}=eo,{touches:eu}=ea;return!(eu.length>1)&&(null==es||es({event:ea}),!0)}}],function(ei){ei[ei.Pointer=0]="Pointer",ei[ei.DraggableRect=1]="DraggableRect"}(eb||(eb={})),function(ei){ei[ei.TreeOrder=0]="TreeOrder",ei[ei.ReversedTreeOrder=1]="ReversedTreeOrder"}(ey||(ey={}));let rl={x:{[eh.Backward]:!1,[eh.Forward]:!1},y:{[eh.Backward]:!1,[eh.Forward]:!1}};function useScrollIntent(ei){let{delta:eo,disabled:ea}=ei,es=usePrevious(eo);return useLazyMemo(ei=>{if(ea||!es||!ei)return rl;let eu={x:Math.sign(eo.x-es.x),y:Math.sign(eo.y-es.y)};return{x:{[eh.Backward]:ei.x[eh.Backward]||-1===eu.x,[eh.Forward]:ei.x[eh.Forward]||1===eu.x},y:{[eh.Backward]:ei.y[eh.Backward]||-1===eu.y,[eh.Forward]:ei.y[eh.Forward]||1===eu.y}}},[ea,eo,es])}function useCachedNode(ei,eo){let ea=null!==eo?ei.get(eo):void 0,es=ea?ea.node.current:null;return useLazyMemo(ei=>{var ea;return null===eo?null:null!=(ea=null!=es?es:ei)?ea:null},[es,eo])}function useCombineActivators(ei,eo){return(0,eT.useMemo)(()=>ei.reduce((ei,ea)=>{let{sensor:es}=ea,eu=es.activators.map(ei=>({eventName:ei.eventName,handler:eo(ei.handler,ea)}));return[...ei,...eu]},[]),[ei,eo])}!function(ei){ei[ei.Always=0]="Always",ei[ei.BeforeDragging=1]="BeforeDragging",ei[ei.WhileDragging=2]="WhileDragging"}(ew||(ew={})),function(ei){ei.Optimized="optimized"}(ex||(ex={}));let ru=new Map;function useDroppableMeasuring(ei,eo){let{dragging:ea,dependencies:es,config:eu}=eo,[ec,ed]=(0,eT.useState)(null),{frequency:ef,measure:eh,strategy:ep}=eu,em=(0,eT.useRef)(ei),eg=isDisabled(),eb=useLatestValue(eg),ey=(0,eT.useCallback)(function(ei){void 0===ei&&(ei=[]),eb.current||ed(eo=>null===eo?ei:eo.concat(ei.filter(ei=>!eo.includes(ei))))},[eb]),ex=(0,eT.useRef)(null),eP=useLazyMemo(eo=>{if(eg&&!ea)return ru;if(!eo||eo===ru||em.current!==ei||null!=ec){let eo=new Map;for(let ea of ei){if(!ea)continue;if(ec&&ec.length>0&&!ec.includes(ea.id)&&ea.rect.current){eo.set(ea.id,ea.rect.current);continue}let ei=ea.node.current,es=ei?new Rect(eh(ei),ei):null;ea.rect.current=es,es&&eo.set(ea.id,es)}return eo}return eo},[ei,ec,ea,eg,eh]);return(0,eT.useEffect)(()=>{em.current=ei},[ei]),(0,eT.useEffect)(()=>{eg||ey()},[ea,eg]),(0,eT.useEffect)(()=>{ec&&ec.length>0&&ed(null)},[JSON.stringify(ec)]),(0,eT.useEffect)(()=>{eg||"number"!=typeof ef||null!==ex.current||(ex.current=setTimeout(()=>{ey(),ex.current=null},ef))},[ef,eg,ey,...es]),{droppableRects:eP,measureDroppableContainers:ey,measuringScheduled:null!=ec};function isDisabled(){switch(ep){case ew.Always:return!1;case ew.BeforeDragging:return ea;default:return!ea}}}function useInitialValue(ei,eo){return useLazyMemo(ea=>ei?ea||("function"==typeof eo?eo(ei):ei):null,[eo,ei])}function useInitialRect(ei,eo){return useInitialValue(ei,eo)}function useMutationObserver(ei){let{callback:eo,disabled:ea}=ei,es=useEvent(eo),eu=(0,eT.useMemo)(()=>{if(ea||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:ei}=window;return new ei(es)},[es,ea]);return(0,eT.useEffect)(()=>()=>null==eu?void 0:eu.disconnect(),[eu]),eu}function useResizeObserver(ei){let{callback:eo,disabled:ea}=ei,es=useEvent(eo),eu=(0,eT.useMemo)(()=>{if(ea||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:ei}=window;return new ei(es)},[ea]);return(0,eT.useEffect)(()=>()=>null==eu?void 0:eu.disconnect(),[eu]),eu}function defaultMeasure(ei){return new Rect(getClientRect(ei),ei)}function useRect(ei,eo,ea){void 0===eo&&(eo=defaultMeasure);let[es,eu]=(0,eT.useReducer)(reducer,null),ec=useMutationObserver({callback(eo){if(ei)for(let ea of eo){let{type:eo,target:es}=ea;if("childList"===eo&&es instanceof HTMLElement&&es.contains(ei)){eu();break}}}}),ed=useResizeObserver({callback:eu});return tG(()=>{eu(),ei?(null==ed||ed.observe(ei),null==ec||ec.observe(document.body,{childList:!0,subtree:!0})):(null==ed||ed.disconnect(),null==ec||ec.disconnect())},[ei]),es;function reducer(es){if(!ei)return null;if(!1===ei.isConnected){var eu;return null!=(eu=null!=es?es:ea)?eu:null}let ec=eo(ei);return JSON.stringify(es)===JSON.stringify(ec)?es:ec}}function useRectDelta(ei){let eo=useInitialValue(ei);return getRectDelta(ei,eo)}let rc=[];function useScrollableAncestors(ei){let eo=(0,eT.useRef)(ei),ea=useLazyMemo(ea=>ei?ea&&ea!==rc&&ei&&eo.current&&ei.parentNode===eo.current.parentNode?ea:core_esm_getScrollableAncestors(ei):rc,[ei]);return(0,eT.useEffect)(()=>{eo.current=ei},[ei]),ea}function useScrollOffsets(ei){let[eo,ea]=(0,eT.useState)(null),es=(0,eT.useRef)(ei),eu=(0,eT.useCallback)(ei=>{let eo=getScrollableElement(ei.target);eo&&ea(ei=>ei?(ei.set(eo,getScrollCoordinates(eo)),new Map(ei)):null)},[]);return(0,eT.useEffect)(()=>{let eo=es.current;if(ei!==eo){cleanup(eo);let ec=ei.map(ei=>{let eo=getScrollableElement(ei);return eo?(eo.addEventListener("scroll",eu,{passive:!0}),[eo,getScrollCoordinates(eo)]):null}).filter(ei=>null!=ei);ea(ec.length?new Map(ec):null),es.current=ei}return()=>{cleanup(ei),cleanup(eo)};function cleanup(ei){ei.forEach(ei=>{let eo=getScrollableElement(ei);null==eo||eo.removeEventListener("scroll",eu)})}},[eu,ei]),(0,eT.useMemo)(()=>ei.length?eo?Array.from(eo.values()).reduce((ei,eo)=>tJ(ei,eo),t4):getScrollOffsets(ei):t4,[ei,eo])}function useScrollOffsetsDelta(ei,eo){void 0===eo&&(eo=[]);let ea=(0,eT.useRef)(null);return(0,eT.useEffect)(()=>{ea.current=null},eo),(0,eT.useEffect)(()=>{let eo=ei!==t4;eo&&!ea.current&&(ea.current=ei),!eo&&ea.current&&(ea.current=null)},[ei]),ea.current?tY(ei,ea.current):t4}function useSensorSetup(ei){(0,eT.useEffect)(()=>{if(!tK)return;let eo=ei.map(ei=>{let{sensor:eo}=ei;return null==eo.setup?void 0:eo.setup()});return()=>{for(let ei of eo)null==ei||ei()}},ei.map(ei=>{let{sensor:eo}=ei;return eo}))}function useSyntheticListeners(ei,eo){return(0,eT.useMemo)(()=>ei.reduce((ei,ea)=>{let{eventName:es,handler:eu}=ea;return ei[es]=ei=>{eu(ei,eo)},ei},{}),[ei,eo])}function useWindowRect(ei){return(0,eT.useMemo)(()=>ei?getWindowClientRect(ei):null,[ei])}let rd=[];function useRects(ei,eo){void 0===eo&&(eo=getClientRect);let[ea]=ei,es=useWindowRect(ea?getWindow(ea):null),[eu,ec]=(0,eT.useReducer)(reducer,rd),ed=useResizeObserver({callback:ec});return ei.length>0&&eu===rd&&ec(),tG(()=>{ei.length?ei.forEach(ei=>null==ed?void 0:ed.observe(ei)):(null==ed||ed.disconnect(),ec())},[ei]),eu;function reducer(){return ei.length?ei.map(ei=>isDocumentScrollingElement(ei)?es:new Rect(eo(ei),ei)):rd}}function getMeasurableNode(ei){if(!ei)return null;if(ei.children.length>1)return ei;let eo=ei.children[0];return isHTMLElement(eo)?eo:ei}function useDragOverlayMeasuring(ei){let{measure:eo}=ei,[ea,es]=(0,eT.useState)(null),eu=(0,eT.useCallback)(ei=>{for(let{target:ea}of ei)if(isHTMLElement(ea)){es(ei=>{let es=eo(ea);return ei?{...ei,width:es.width,height:es.height}:es});break}},[eo]),ec=useResizeObserver({callback:eu}),ed=(0,eT.useCallback)(ei=>{let ea=getMeasurableNode(ei);null==ec||ec.disconnect(),ea&&(null==ec||ec.observe(ea)),es(ea?eo(ea):null)},[eo,ec]),[ef,eh]=useNodeRef(ed);return(0,eT.useMemo)(()=>({nodeRef:ef,rect:ea,setRef:eh}),[ea,ef,eh])}let rf=[{sensor:PointerSensor,options:{}},{sensor:KeyboardSensor,options:{}}],rh={current:{}},rp={draggable:{measure:getTransformAgnosticClientRect},droppable:{measure:getTransformAgnosticClientRect,strategy:ew.WhileDragging,frequency:ex.Optimized},dragOverlay:{measure:getClientRect}};let DroppableContainersMap=class DroppableContainersMap extends Map{get(ei){var eo;return null!=ei&&null!=(eo=super.get(ei))?eo:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(ei=>{let{disabled:eo}=ei;return!eo})}getNodeFor(ei){var eo,ea;return null!=(eo=null==(ea=this.get(ei))?void 0:ea.node.current)?eo:void 0}};let rm={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new DroppableContainersMap,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:noop},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:rp,measureDroppableContainers:noop,windowRect:null,measuringScheduled:!1},rg={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:noop,draggableNodes:new Map,over:null,measureDroppableContainers:noop},rb=(0,eT.createContext)(rg),rv=(0,eT.createContext)(rm);function getInitialState(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new DroppableContainersMap}}}function reducer(ei,eo){switch(eo.type){case ef.DragStart:return{...ei,draggable:{...ei.draggable,initialCoordinates:eo.initialCoordinates,active:eo.active}};case ef.DragMove:if(!ei.draggable.active)return ei;return{...ei,draggable:{...ei.draggable,translate:{x:eo.coordinates.x-ei.draggable.initialCoordinates.x,y:eo.coordinates.y-ei.draggable.initialCoordinates.y}}};case ef.DragEnd:case ef.DragCancel:return{...ei,draggable:{...ei.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case ef.RegisterDroppable:{let{element:ea}=eo,{id:es}=ea,eu=new DroppableContainersMap(ei.droppable.containers);return eu.set(es,ea),{...ei,droppable:{...ei.droppable,containers:eu}}}case ef.SetDroppableDisabled:{let{id:ea,key:es,disabled:eu}=eo,ec=ei.droppable.containers.get(ea);if(!ec||es!==ec.key)return ei;let ed=new DroppableContainersMap(ei.droppable.containers);return ed.set(ea,{...ec,disabled:eu}),{...ei,droppable:{...ei.droppable,containers:ed}}}case ef.UnregisterDroppable:{let{id:ea,key:es}=eo,eu=ei.droppable.containers.get(ea);if(!eu||es!==eu.key)return ei;let ec=new DroppableContainersMap(ei.droppable.containers);return ec.delete(ea),{...ei,droppable:{...ei.droppable,containers:ec}}}default:return ei}}function RestoreFocus(ei){let{disabled:eo}=ei,{active:ea,activatorEvent:es,draggableNodes:eu}=(0,eT.useContext)(rb),ec=usePrevious(es),ed=usePrevious(null==ea?void 0:ea.id);return(0,eT.useEffect)(()=>{if(!eo&&!es&&ec&&null!=ed){if(!isKeyboardEvent(ec)||document.activeElement===ec.target)return;let ei=eu.get(ed);if(!ei)return;let{activatorNode:eo,node:ea}=ei;(eo.current||ea.current)&&requestAnimationFrame(()=>{for(let ei of[eo.current,ea.current]){if(!ei)continue;let eo=findFirstFocusableNode(ei);if(eo){eo.focus();break}}})}},[es,eo,eu,ed,ec]),null}function applyModifiers(ei,eo){let{transform:ea,...es}=eo;return null!=ei&&ei.length?ei.reduce((ei,eo)=>eo({transform:ei,...es}),ea):ea}function useMeasuringConfiguration(ei){return(0,eT.useMemo)(()=>({draggable:{...rp.draggable,...null==ei?void 0:ei.draggable},droppable:{...rp.droppable,...null==ei?void 0:ei.droppable},dragOverlay:{...rp.dragOverlay,...null==ei?void 0:ei.dragOverlay}}),[null==ei?void 0:ei.draggable,null==ei?void 0:ei.droppable,null==ei?void 0:ei.dragOverlay])}function useLayoutShiftScrollCompensation(ei){let{activeNode:eo,measure:ea,initialRect:es,config:eu=!0}=ei,ec=(0,eT.useRef)(!1),{x:ed,y:ef}="boolean"==typeof eu?{x:eu,y:eu}:eu;tG(()=>{let ei=!ed&&!ef;if(ei||!eo){ec.current=!1;return}if(ec.current||!es)return;let eu=null==eo?void 0:eo.node.current;if(!eu||!1===eu.isConnected)return;let eh=ea(eu),ep=getRectDelta(eh,es);if(ed||(ep.x=0),ef||(ep.y=0),ec.current=!0,Math.abs(ep.x)>0||Math.abs(ep.y)>0){let ei=getFirstScrollableAncestor(eu);ei&&ei.scrollBy({top:ep.y,left:ep.x})}},[eo,ed,ef,es,ea])}let ry=(0,eT.createContext)({...t4,scaleX:1,scaleY:1});!function(ei){ei[ei.Uninitialized=0]="Uninitialized",ei[ei.Initializing=1]="Initializing",ei[ei.Initialized=2]="Initialized"}(eP||(eP={}));let rw=(0,eT.memo)(function(ei){var eo,ea,es,eu;let{id:ec,accessibility:ed,autoScroll:eh=!0,children:ep,sensors:em=rf,collisionDetection:eg=rectIntersection,measuring:eb,modifiers:ey,...ew}=ei,ex=(0,eT.useReducer)(reducer,void 0,getInitialState),[eS,eE]=ex,[ek,eC]=useDndMonitorProvider(),[e_,eA]=(0,eT.useState)(eP.Uninitialized),eO=e_===eP.Initialized,{draggable:{active:eM,nodes:eR,translate:ej},droppable:{containers:eN}}=eS,eL=eM?eR.get(eM):null,eD=(0,eT.useRef)({initial:null,translated:null}),eI=(0,eT.useMemo)(()=>{var ei;return null!=eM?{id:eM,data:null!=(ei=null==eL?void 0:eL.data)?ei:rh,rect:eD}:null},[eM,eL]),ez=(0,eT.useRef)(null),[eB,eF]=(0,eT.useState)(null),[eH,eU]=(0,eT.useState)(null),eV=useLatestValue(ew,Object.values(ew)),eX=useUniqueId("DndDescribedBy",ec),eq=(0,eT.useMemo)(()=>eN.getEnabled(),[eN]),e$=useMeasuringConfiguration(eb),{droppableRects:eW,measureDroppableContainers:eK,measuringScheduled:eG}=useDroppableMeasuring(eq,{dragging:eO,dependencies:[ej.x,ej.y],config:e$.droppable}),eZ=useCachedNode(eR,eM),eJ=(0,eT.useMemo)(()=>eH?getEventCoordinates(eH):null,[eH]),eY=getAutoScrollerOptions(),eQ=useInitialRect(eZ,e$.draggable.measure);useLayoutShiftScrollCompensation({activeNode:eM?eR.get(eM):null,config:eY.layoutShiftCompensation,initialRect:eQ,measure:e$.draggable.measure});let e0=useRect(eZ,e$.draggable.measure,eQ),e1=useRect(eZ?eZ.parentElement:null),e3=(0,eT.useRef)({activatorEvent:null,active:null,activeNode:eZ,collisionRect:null,collisions:null,droppableRects:eW,draggableNodes:eR,draggingNode:null,draggingNodeRect:null,droppableContainers:eN,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),e8=eN.getNodeFor(null==(eo=e3.current.over)?void 0:eo.id),e6=useDragOverlayMeasuring({measure:e$.dragOverlay.measure}),e5=null!=(ea=e6.nodeRef.current)?ea:eZ,e4=eO?null!=(es=e6.rect)?es:e0:null,e7=!!(e6.nodeRef.current&&e6.rect),e9=useRectDelta(e7?null:e0),tr=useWindowRect(e5?getWindow(e5):null),tn=useScrollableAncestors(eO?null!=e8?e8:eZ:null),ti=useRects(tn),ta=applyModifiers(ey,{transform:{x:ej.x-e9.x,y:ej.y-e9.y,scaleX:1,scaleY:1},activatorEvent:eH,active:eI,activeNodeRect:e0,containerNodeRect:e1,draggingNodeRect:e4,over:e3.current.over,overlayNodeRect:e6.rect,scrollableAncestors:tn,scrollableAncestorRects:ti,windowRect:tr}),ts=eJ?tJ(eJ,ej):null,tl=useScrollOffsets(tn),tu=useScrollOffsetsDelta(tl),tc=useScrollOffsetsDelta(tl,[e0]),td=tJ(ta,tu),tf=e4?t7(e4,ta):null,th=eI&&tf?eg({active:eI,collisionRect:tf,droppableRects:eW,droppableContainers:eq,pointerCoordinates:ts}):null,tp=core_esm_getFirstCollision(th,"id"),[tm,tg]=(0,eT.useState)(null),tb=e7?ta:tJ(ta,tc),ty=adjustScale(tb,null!=(eu=null==tm?void 0:tm.rect)?eu:null,e0),tw=(0,eT.useCallback)((ei,eo)=>{let{sensor:ea,options:es}=eo;if(null==ez.current)return;let eu=eR.get(ez.current);if(!eu)return;let ec=ei.nativeEvent,ed=new ea({active:ez.current,activeNode:eu,event:ec,options:es,context:e3,onStart(ei){let eo=ez.current;if(null==eo)return;let ea=eR.get(eo);if(!ea)return;let{onDragStart:es}=eV.current,eu={active:{id:eo,data:ea.data,rect:eD}};(0,tW.unstable_batchedUpdates)(()=>{null==es||es(eu),eA(eP.Initializing),eE({type:ef.DragStart,initialCoordinates:ei,active:eo}),ek({type:"onDragStart",event:eu})})},onMove(ei){eE({type:ef.DragMove,coordinates:ei})},onEnd:createHandler(ef.DragEnd),onCancel:createHandler(ef.DragCancel)});function createHandler(ei){return async function(){let{active:eo,collisions:ea,over:es,scrollAdjustedTranslate:eu}=e3.current,ed=null;if(eo&&eu){let{cancelDrop:eh}=eV.current;if(ed={activatorEvent:ec,active:eo,collisions:ea,delta:eu,over:es},ei===ef.DragEnd&&"function"==typeof eh){let eo=await Promise.resolve(eh(ed));eo&&(ei=ef.DragCancel)}}ez.current=null,(0,tW.unstable_batchedUpdates)(()=>{eE({type:ei}),eA(eP.Uninitialized),tg(null),eF(null),eU(null);let eo=ei===ef.DragEnd?"onDragEnd":"onDragCancel";if(ed){let ei=eV.current[eo];null==ei||ei(ed),ek({type:eo,event:ed})}})}}(0,tW.unstable_batchedUpdates)(()=>{eF(ed),eU(ei.nativeEvent)})},[eR]),tx=(0,eT.useCallback)((ei,eo)=>(ea,es)=>{let eu=ea.nativeEvent,ec=eR.get(es);if(null!==ez.current||!ec||eu.dndKit||eu.defaultPrevented)return;let ed={active:ec},ef=ei(ea,eo.options,ed);!0===ef&&(eu.dndKit={capturedBy:eo.sensor},ez.current=es,tw(ea,eo))},[eR,tw]),tP=useCombineActivators(em,tx);useSensorSetup(em),tG(()=>{e0&&e_===eP.Initializing&&eA(eP.Initialized)},[e0,e_]),(0,eT.useEffect)(()=>{let{onDragMove:ei}=eV.current,{active:eo,activatorEvent:ea,collisions:es,over:eu}=e3.current;if(!eo||!ea)return;let ec={active:eo,activatorEvent:ea,collisions:es,delta:{x:td.x,y:td.y},over:eu};(0,tW.unstable_batchedUpdates)(()=>{null==ei||ei(ec),ek({type:"onDragMove",event:ec})})},[td.x,td.y]),(0,eT.useEffect)(()=>{let{active:ei,activatorEvent:eo,collisions:ea,droppableContainers:es,scrollAdjustedTranslate:eu}=e3.current;if(!ei||null==ez.current||!eo||!eu)return;let{onDragOver:ec}=eV.current,ed=es.get(tp),ef=ed&&ed.rect.current?{id:ed.id,rect:ed.rect.current,data:ed.data,disabled:ed.disabled}:null,eh={active:ei,activatorEvent:eo,collisions:ea,delta:{x:eu.x,y:eu.y},over:ef};(0,tW.unstable_batchedUpdates)(()=>{tg(ef),null==ec||ec(eh),ek({type:"onDragOver",event:eh})})},[tp]),tG(()=>{e3.current={activatorEvent:eH,active:eI,activeNode:eZ,collisionRect:tf,collisions:th,droppableRects:eW,draggableNodes:eR,draggingNode:e5,draggingNodeRect:e4,droppableContainers:eN,over:tm,scrollableAncestors:tn,scrollAdjustedTranslate:td},eD.current={initial:e4,translated:tf}},[eI,eZ,th,tf,eR,e5,e4,eW,eN,tm,tn,td]),useAutoScroller({...eY,delta:ej,draggingRect:tf,pointerCoordinates:ts,scrollableAncestors:tn,scrollableAncestorRects:ti});let tS=(0,eT.useMemo)(()=>{let ei={active:eI,activeNode:eZ,activeNodeRect:e0,activatorEvent:eH,collisions:th,containerNodeRect:e1,dragOverlay:e6,draggableNodes:eR,droppableContainers:eN,droppableRects:eW,over:tm,measureDroppableContainers:eK,scrollableAncestors:tn,scrollableAncestorRects:ti,measuringConfiguration:e$,measuringScheduled:eG,windowRect:tr};return ei},[eI,eZ,e0,eH,th,e1,e6,eR,eN,eW,tm,eK,tn,ti,e$,eG,tr]),tE=(0,eT.useMemo)(()=>{let ei={activatorEvent:eH,activators:tP,active:eI,activeNodeRect:e0,ariaDescribedById:{draggable:eX},dispatch:eE,draggableNodes:eR,over:tm,measureDroppableContainers:eK};return ei},[eH,tP,eI,e0,eE,eX,eR,tm,eK]);return eT.createElement(t8.Provider,{value:eC},eT.createElement(rb.Provider,{value:tE},eT.createElement(rv.Provider,{value:tS},eT.createElement(ry.Provider,{value:ty},ep)),eT.createElement(RestoreFocus,{disabled:(null==ed?void 0:ed.restoreFocus)===!1})),eT.createElement(Accessibility,{...ed,hiddenTextDescribedById:eX}));function getAutoScrollerOptions(){let ei=(null==eB?void 0:eB.autoScrollEnabled)===!1,eo="object"==typeof eh?!1===eh.enabled:!1===eh,ea=eO&&!ei&&!eo;return"object"==typeof eh?{...eh,enabled:ea}:{enabled:ea}}}),rx=(0,eT.createContext)(null),rP="button",rS="Droppable";function useDraggable(ei){let{id:eo,data:ea,disabled:es=!1,attributes:eu}=ei,ec=useUniqueId(rS),{activators:ed,activatorEvent:ef,active:eh,activeNodeRect:ep,ariaDescribedById:em,draggableNodes:eg,over:eb}=(0,eT.useContext)(rb),{role:ey=rP,roleDescription:ew="draggable",tabIndex:ex=0}=null!=eu?eu:{},eP=(null==eh?void 0:eh.id)===eo,eS=(0,eT.useContext)(eP?ry:rx),[eE,ek]=useNodeRef(),[eC,e_]=useNodeRef(),eA=useSyntheticListeners(ed,eo),eO=useLatestValue(ea);tG(()=>(eg.set(eo,{id:eo,key:ec,node:eE,activatorNode:eC,data:eO}),()=>{let ei=eg.get(eo);ei&&ei.key===ec&&eg.delete(eo)}),[eg,eo]);let eM=(0,eT.useMemo)(()=>({role:ey,tabIndex:ex,"aria-disabled":es,"aria-pressed":!!eP&&ey===rP||void 0,"aria-roledescription":ew,"aria-describedby":em.draggable}),[es,ey,ex,eP,ew,em.draggable]);return{active:eh,activatorEvent:ef,activeNodeRect:ep,attributes:eM,isDragging:eP,listeners:es?void 0:eA,node:eE,over:eb,setNodeRef:ek,setActivatorNodeRef:e_,transform:eS}}function useDndContext(){return(0,eT.useContext)(rv)}let rE="Droppable",rk={timeout:25};function useDroppable(ei){let{data:eo,disabled:ea=!1,id:es,resizeObserverConfig:eu}=ei,ec=useUniqueId(rE),{active:ed,dispatch:eh,over:ep,measureDroppableContainers:em}=(0,eT.useContext)(rb),eg=(0,eT.useRef)({disabled:ea}),eb=(0,eT.useRef)(!1),ey=(0,eT.useRef)(null),ew=(0,eT.useRef)(null),{disabled:ex,updateMeasurementsFor:eP,timeout:eS}={...rk,...eu},eE=useLatestValue(null!=eP?eP:es),ek=(0,eT.useCallback)(()=>{if(!eb.current){eb.current=!0;return}null!=ew.current&&clearTimeout(ew.current),ew.current=setTimeout(()=>{em(Array.isArray(eE.current)?eE.current:[eE.current]),ew.current=null},eS)},[eS]),eC=useResizeObserver({callback:ek,disabled:ex||!ed}),e_=(0,eT.useCallback)((ei,eo)=>{eC&&(eo&&(eC.unobserve(eo),eb.current=!1),ei&&eC.observe(ei))},[eC]),[eA,eO]=useNodeRef(e_),eM=useLatestValue(eo);return(0,eT.useEffect)(()=>{eC&&eA.current&&(eC.disconnect(),eb.current=!1,eC.observe(eA.current))},[eA,eC]),tG(()=>(eh({type:ef.RegisterDroppable,element:{id:es,key:ec,disabled:ea,node:eA,rect:ey,data:eM}}),()=>eh({type:ef.UnregisterDroppable,key:ec,id:es})),[es]),(0,eT.useEffect)(()=>{ea!==eg.current.disabled&&(eh({type:ef.SetDroppableDisabled,id:es,key:ec,disabled:ea}),eg.current.disabled=ea)},[es,ec,ea,eh]),{active:ed,rect:ey,isOver:(null==ep?void 0:ep.id)===es,node:eA,over:ep,setNodeRef:eO}}function AnimationManager(ei){let{animation:eo,children:ea}=ei,[es,eu]=(0,eT.useState)(null),[ec,ed]=(0,eT.useState)(null),ef=usePrevious(ea);return ea||es||!ef||eu(ef),tG(()=>{if(!ec)return;let ei=null==es?void 0:es.key,ea=null==es?void 0:es.props.id;if(null==ei||null==ea){eu(null);return}Promise.resolve(eo(ea,ec)).then(()=>{eu(null)})},[eo,es,ec]),eT.createElement(eT.Fragment,null,ea,es?(0,eT.cloneElement)(es,{ref:ed}):null)}let rT={x:0,y:0,scaleX:1,scaleY:1};function NullifiedContextProvider(ei){let{children:eo}=ei;return eT.createElement(rb.Provider,{value:rg},eT.createElement(ry.Provider,{value:rT},eo))}let rC={position:"fixed",touchAction:"none"},defaultTransition=ei=>{let eo=isKeyboardEvent(ei);return eo?"transform 250ms ease":void 0},r_=(0,eT.forwardRef)((ei,eo)=>{let{as:ea,activatorEvent:es,adjustScale:eu,children:ec,className:ed,rect:ef,style:eh,transform:ep,transition:em=defaultTransition}=ei;if(!ef)return null;let eg=eu?ep:{...ep,scaleX:1,scaleY:1},eb={...rC,width:ef.width,height:ef.height,top:ef.top,left:ef.left,transform:tQ.Transform.toString(eg),transformOrigin:eu&&es?getRelativeTransformOrigin(es,ef):void 0,transition:"function"==typeof em?em(es):em,...eh};return eT.createElement(ea,{className:ed,style:eb,ref:eo},ec)}),defaultDropAnimationSideEffects=ei=>eo=>{let{active:ea,dragOverlay:es}=eo,eu={},{styles:ec,className:ed}=ei;if(null!=ec&&ec.active)for(let[ei,eo]of Object.entries(ec.active))void 0!==eo&&(eu[ei]=ea.node.style.getPropertyValue(ei),ea.node.style.setProperty(ei,eo));if(null!=ec&&ec.dragOverlay)for(let[ei,eo]of Object.entries(ec.dragOverlay))void 0!==eo&&es.node.style.setProperty(ei,eo);return null!=ed&&ed.active&&ea.node.classList.add(ed.active),null!=ed&&ed.dragOverlay&&es.node.classList.add(ed.dragOverlay),function(){for(let[ei,eo]of Object.entries(eu))ea.node.style.setProperty(ei,eo);null!=ed&&ed.active&&ea.node.classList.remove(ed.active)}},defaultKeyframeResolver=ei=>{let{transform:{initial:eo,final:ea}}=ei;return[{transform:tQ.Transform.toString(eo)},{transform:tQ.Transform.toString(ea)}]},rA={duration:250,easing:"ease",keyframes:defaultKeyframeResolver,sideEffects:defaultDropAnimationSideEffects({styles:{active:{opacity:"0"}}})};function useDropAnimation(ei){let{config:eo,draggableNodes:ea,droppableContainers:es,measuringConfiguration:eu}=ei;return useEvent((ei,ec)=>{if(null===eo)return;let ed=ea.get(ei);if(!ed)return;let ef=ed.node.current;if(!ef)return;let eh=getMeasurableNode(ec);if(!eh)return;let{transform:ep}=getWindow(ec).getComputedStyle(ec),em=parseTransform(ep);if(!em)return;let eg="function"==typeof eo?eo:createDefaultDropAnimation(eo);return scrollIntoViewIfNeeded(ef,eu.draggable.measure),eg({active:{id:ei,data:ed.data,node:ef,rect:eu.draggable.measure(ef)},draggableNodes:ea,dragOverlay:{node:ec,rect:eu.dragOverlay.measure(eh)},droppableContainers:es,measuringConfiguration:eu,transform:em})})}function createDefaultDropAnimation(ei){let{duration:eo,easing:ea,sideEffects:es,keyframes:eu}={...rA,...ei};return ei=>{let{active:ec,dragOverlay:ed,transform:ef,...eh}=ei;if(!eo)return;let ep={x:ed.rect.left-ec.rect.left,y:ed.rect.top-ec.rect.top},em={scaleX:1!==ef.scaleX?ec.rect.width*ef.scaleX/ed.rect.width:1,scaleY:1!==ef.scaleY?ec.rect.height*ef.scaleY/ed.rect.height:1},eg={x:ef.x-ep.x,y:ef.y-ep.y,...em},eb=eu({...eh,active:ec,dragOverlay:ed,transform:{initial:ef,final:eg}}),[ey]=eb,ew=eb[eb.length-1];if(JSON.stringify(ey)===JSON.stringify(ew))return;let ex=null==es?void 0:es({active:ec,dragOverlay:ed,...eh}),eP=ed.node.animate(eb,{duration:eo,easing:ea,fill:"forwards"});return new Promise(ei=>{eP.onfinish=()=>{null==ex||ex(),ei()}})}}let rO=0;function useKey(ei){return(0,eT.useMemo)(()=>{if(null!=ei)return++rO},[ei])}let rM=eT.memo(ei=>{let{adjustScale:eo=!1,children:ea,dropAnimation:es,style:eu,transition:ec,modifiers:ed,wrapperElement:ef="div",className:eh,zIndex:ep=999}=ei,{activatorEvent:em,active:eg,activeNodeRect:eb,containerNodeRect:ey,draggableNodes:ew,droppableContainers:ex,dragOverlay:eP,over:eS,measuringConfiguration:eE,scrollableAncestors:ek,scrollableAncestorRects:eC,windowRect:e_}=useDndContext(),eA=(0,eT.useContext)(ry),eO=useKey(null==eg?void 0:eg.id),eM=applyModifiers(ed,{activatorEvent:em,active:eg,activeNodeRect:eb,containerNodeRect:ey,draggingNodeRect:eP.rect,over:eS,overlayNodeRect:eP.rect,scrollableAncestors:ek,scrollableAncestorRects:eC,transform:eA,windowRect:e_}),eR=useInitialValue(eb),ej=useDropAnimation({config:es,draggableNodes:ew,droppableContainers:ex,measuringConfiguration:eE}),eN=eR?eP.setRef:void 0;return eT.createElement(NullifiedContextProvider,null,eT.createElement(AnimationManager,{animation:ej},eg&&eO?eT.createElement(r_,{key:eO,id:eg.id,ref:eN,as:ef,activatorEvent:em,adjustScale:eo,className:eh,transition:ec,rect:eR,style:{zIndex:ep,...eu},transform:eM},ea):null))});function arrayMove(ei,eo,ea){let es=ei.slice();return es.splice(ea<0?es.length+ea:ea,0,es.splice(eo,1)[0]),es}function getSortedRects(ei,eo){return ei.reduce((ei,ea,es)=>{let eu=eo.get(ea);return eu&&(ei[es]=eu),ei},Array(ei.length))}function isValidIndex(ei){return null!==ei&&ei>=0}function itemsEqual(ei,eo){if(ei===eo)return!0;if(ei.length!==eo.length)return!1;for(let ea=0;ea<ei.length;ea++)if(ei[ea]!==eo[ea])return!1;return!0}function normalizeDisabled(ei){return"boolean"==typeof ei?{draggable:ei,droppable:ei}:ei}let rectSortingStrategy=ei=>{let{rects:eo,activeIndex:ea,overIndex:es,index:eu}=ei,ec=arrayMove(eo,es,ea),ed=eo[eu],ef=ec[eu];return ef&&ed?{x:ef.left-ed.left,y:ef.top-ed.top,scaleX:ef.width/ed.width,scaleY:ef.height/ed.height}:null},rR={scaleX:1,scaleY:1},verticalListSortingStrategy=ei=>{var eo;let{activeIndex:ea,activeNodeRect:es,index:eu,rects:ec,overIndex:ed}=ei,ef=null!=(eo=ec[ea])?eo:es;if(!ef)return null;if(eu===ea){let ei=ec[ed];return ei?{x:0,y:ea<ed?ei.top+ei.height-(ef.top+ef.height):ei.top-ef.top,...rR}:null}let eh=getItemGap$1(ec,eu,ea);return eu>ea&&eu<=ed?{x:0,y:-ef.height-eh,...rR}:eu<ea&&eu>=ed?{x:0,y:ef.height+eh,...rR}:{x:0,y:0,...rR}};function getItemGap$1(ei,eo,ea){let es=ei[eo],eu=ei[eo-1],ec=ei[eo+1];return es?ea<eo?eu?es.top-(eu.top+eu.height):ec?ec.top-(es.top+es.height):0:ec?ec.top-(es.top+es.height):eu?es.top-(eu.top+eu.height):0:0}let rj="Sortable",rN=eT.createContext({activeIndex:-1,containerId:rj,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:rectSortingStrategy,disabled:{draggable:!1,droppable:!1}});function SortableContext(ei){let{children:eo,id:ea,items:es,strategy:eu=rectSortingStrategy,disabled:ec=!1}=ei,{active:ed,dragOverlay:ef,droppableRects:eh,over:ep,measureDroppableContainers:em}=useDndContext(),eg=useUniqueId(rj,ea),eb=null!==ef.rect,ey=(0,eT.useMemo)(()=>es.map(ei=>"object"==typeof ei&&"id"in ei?ei.id:ei),[es]),ew=null!=ed,ex=ed?ey.indexOf(ed.id):-1,eP=ep?ey.indexOf(ep.id):-1,eS=(0,eT.useRef)(ey),eE=!itemsEqual(ey,eS.current),ek=-1!==eP&&-1===ex||eE,eC=normalizeDisabled(ec);tG(()=>{eE&&ew&&em(ey)},[eE,ey,ew,em]),(0,eT.useEffect)(()=>{eS.current=ey},[ey]);let e_=(0,eT.useMemo)(()=>({activeIndex:ex,containerId:eg,disabled:eC,disableTransforms:ek,items:ey,overIndex:eP,useDragOverlay:eb,sortedRects:getSortedRects(ey,eh),strategy:eu}),[ex,eg,eC.draggable,eC.droppable,ek,ey,eP,eh,eb,eu]);return eT.createElement(rN.Provider,{value:e_},eo)}let defaultNewIndexGetter=ei=>{let{id:eo,items:ea,activeIndex:es,overIndex:eu}=ei;return arrayMove(ea,es,eu).indexOf(eo)},defaultAnimateLayoutChanges=ei=>{let{containerId:eo,isSorting:ea,wasDragging:es,index:eu,items:ec,newIndex:ed,previousItems:ef,previousContainerId:eh,transition:ep}=ei;return!!ep&&!!es&&(ef===ec||eu!==ed)&&(!!ea||ed!==eu&&eo===eh)},rL={duration:200,easing:"ease"},rD="transform",rI=tQ.Transition.toString({property:rD,duration:0,easing:"linear"}),rz={roleDescription:"sortable"};function useDerivedTransform(ei){let{disabled:eo,index:ea,node:es,rect:eu}=ei,[ec,ed]=(0,eT.useState)(null),ef=(0,eT.useRef)(ea);return tG(()=>{if(!eo&&ea!==ef.current&&es.current){let ei=eu.current;if(ei){let eo=getClientRect(es.current,{ignoreTransform:!0}),ea={x:ei.left-eo.left,y:ei.top-eo.top,scaleX:ei.width/eo.width,scaleY:ei.height/eo.height};(ea.x||ea.y)&&ed(ea)}}ea!==ef.current&&(ef.current=ea)},[eo,ea,es,eu]),(0,eT.useEffect)(()=>{ec&&ed(null)},[ec]),ec}function useSortable(ei){let{animateLayoutChanges:eo=defaultAnimateLayoutChanges,attributes:ea,disabled:es,data:eu,getNewIndex:ec=defaultNewIndexGetter,id:ed,strategy:ef,resizeObserverConfig:eh,transition:ep=rL}=ei,{items:em,containerId:eg,activeIndex:eb,disabled:ey,disableTransforms:ew,sortedRects:ex,overIndex:eP,useDragOverlay:eS,strategy:eE}=(0,eT.useContext)(rN),ek=normalizeLocalDisabled(es,ey),eC=em.indexOf(ed),e_=(0,eT.useMemo)(()=>({sortable:{containerId:eg,index:eC,items:em},...eu}),[eg,eu,eC,em]),eA=(0,eT.useMemo)(()=>em.slice(em.indexOf(ed)),[em,ed]),{rect:eO,node:eM,isOver:eR,setNodeRef:ej}=useDroppable({id:ed,data:e_,disabled:ek.droppable,resizeObserverConfig:{updateMeasurementsFor:eA,...eh}}),{active:eN,activatorEvent:eL,activeNodeRect:eD,attributes:eI,setNodeRef:ez,listeners:eB,isDragging:eF,over:eH,setActivatorNodeRef:eU,transform:eV}=useDraggable({id:ed,data:e_,attributes:{...rz,...ea},disabled:ek.draggable}),eX=useCombinedRefs(ej,ez),eq=!!eN,e$=eq&&!ew&&isValidIndex(eb)&&isValidIndex(eP),eW=!eS&&eF,eK=eW&&e$?eV:null,eG=null!=ef?ef:eE,eZ=e$?null!=eK?eK:eG({rects:ex,activeNodeRect:eD,activeIndex:eb,overIndex:eP,index:eC}):null,eJ=isValidIndex(eb)&&isValidIndex(eP)?ec({id:ed,items:em,activeIndex:eb,overIndex:eP}):eC,eY=null==eN?void 0:eN.id,eQ=(0,eT.useRef)({activeId:eY,items:em,newIndex:eJ,containerId:eg}),e0=em!==eQ.current.items,e1=eo({active:eN,containerId:eg,isDragging:eF,isSorting:eq,id:ed,index:eC,items:em,newIndex:eQ.current.newIndex,previousItems:eQ.current.items,previousContainerId:eQ.current.containerId,transition:ep,wasDragging:null!=eQ.current.activeId}),e3=useDerivedTransform({disabled:!e1,index:eC,node:eM,rect:eO});return(0,eT.useEffect)(()=>{eq&&eQ.current.newIndex!==eJ&&(eQ.current.newIndex=eJ),eg!==eQ.current.containerId&&(eQ.current.containerId=eg),em!==eQ.current.items&&(eQ.current.items=em)},[eq,eJ,eg,em]),(0,eT.useEffect)(()=>{if(eY===eQ.current.activeId)return;if(eY&&!eQ.current.activeId){eQ.current.activeId=eY;return}let ei=setTimeout(()=>{eQ.current.activeId=eY},50);return()=>clearTimeout(ei)},[eY]),{active:eN,activeIndex:eb,attributes:eI,data:e_,rect:eO,index:eC,newIndex:eJ,items:em,isOver:eR,isSorting:eq,isDragging:eF,listeners:eB,node:eM,overIndex:eP,over:eH,setNodeRef:eX,setActivatorNodeRef:eU,setDroppableNodeRef:ej,setDraggableNodeRef:ez,transform:null!=e3?e3:eZ,transition:getTransition()};function getTransition(){return e3||e0&&eQ.current.newIndex===eC?rI:(!eW||isKeyboardEvent(eL))&&ep&&(eq||e1)?tQ.Transition.toString({...ep,property:rD}):void 0}}function normalizeLocalDisabled(ei,eo){var ea,es;return"boolean"==typeof ei?{draggable:ei,droppable:!1}:{draggable:null!=(ea=null==ei?void 0:ei.draggable)?ea:eo.draggable,droppable:null!=(es=null==ei?void 0:ei.droppable)?es:eo.droppable}}function getDragDepth(ei,eo){return Math.round(ei/eo)}function getProjection(ei,eo,ea,es,eu){let ec=ei.findIndex(ei=>{let{id:eo}=ei;return eo===ea}),ed=ei.findIndex(ei=>{let{id:ea}=ei;return ea===eo}),ef=ei[ed],eh=arrayMove(ei,ed,ec),ep=eh[ec-1],em=eh[ec+1],eg=getDragDepth(es,eu),eb=ef.depth+eg,ey=getMaxDepth({activeItem:ef,previousItem:ep}),ew=getMinDepth({nextItem:em}),ex=eb;return eb>=ey?ex=ey:eb<ew&&(ex=ew),{depth:ex,maxDepth:ey,minDepth:ew,parentId:getParentId()};function getParentId(){var ei;if(0===ex||!ep)return null;if(ex===ep.depth)return ep.parentId;if(ex>ep.depth)return ep.id;let eo=null===(ei=eh.slice(0,ec).reverse().find(ei=>ei.depth===ex))||void 0===ei?void 0:ei.parentId;return null!=eo?eo:null}}function getMaxDepth(ei){let{activeItem:eo,previousItem:ea}=ei;return eo?ea&&"item"===eo.type&&"item"===ea.type&&(0===eo.depth&&eo.depth===ea.depth||eo.parentId&&0===ea.depth)?0:"group"===eo.type?0:1:0}function getMinDepth(ei){let{nextItem:eo}=ei;return eo?eo.depth:0}function flatten(ei){let eo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,ea=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return ei.reduce((ei,es,eu)=>[...ei,{...es,parentId:eo,depth:ea,index:eu},...flatten(es.children,es.id,ea+1)],[])}function flattenTree(ei){return flatten(ei)}function buildTree(ei){let eo={id:"root",children:[],label:"root",type:"group"},ea={[eo.id]:eo},es=ei.map(ei=>({...ei,children:[]}));for(let ei of es){var eu,ec;let{id:ed,children:ef,label:eh,type:ep,Icon:em,ExpandedIcon:eg}=ei,eb=null!==(eu=ei.parentId)&&void 0!==eu?eu:eo.id,ey=null!==(ec=ea[eb])&&void 0!==ec?ec:findItem(es,eb);ea[ed]={id:ed,children:ef,label:eh,type:ep,Icon:em,ExpandedIcon:eg},ey.children.push(ei)}return eo.children}function findItem(ei,eo){return ei.find(ei=>{let{id:ea}=ei;return ea===eo})}function removeItem(ei,eo){let ea=[];for(let es of ei)es.id!==eo&&(es.children.length&&(es.children=removeItem(es.children,eo)),ea.push(es));return ea}function setProperty(ei,eo,ea,es){for(let eu of ei){if(eu.id===eo){eu[ea]=es(eu[ea]);continue}eu.children.length&&(eu.children=setProperty(eu.children,eo,ea,es))}return[...ei]}function removeChildrenOf(ei,eo){let ea=[...eo];return ei.filter(ei=>!(ei.parentId&&ea.includes(ei.parentId))||(ei.children.length&&ea.push(ei.id),!1))}em.Down,em.Right,em.Up,em.Left;let rB={droppable:{strategy:ew.Always}},rF={keyframes(ei){let{transform:eo}=ei;return[{opacity:1,transform:tQ.Transform.toString(eo.initial)},{opacity:0,transform:tQ.Transform.toString({...eo.final,x:eo.final.x+5,y:eo.final.y+5})}]},easing:"ease-out",sideEffects(ei){let{active:eo}=ei;eo.node.animate([{opacity:0},{opacity:1}],{duration:rA.duration,easing:rA.easing})}},adjustTranslate=ei=>{let{transform:eo}=ei;return{...eo,y:eo.y-15}};var rH=ea(5317),rU=ea(27574);let rV=(0,eT.forwardRef)((ei,eo)=>(0,eE.jsx)("div",{ref:eo,className:(0,th.cn)("cursor-grab",ei.className),...ei,children:(0,eE.jsx)(rU.k,{color:"currentColor",className:"w-full h-full"})}));rV.displayName="Docsum.DndHandle";var rX=rV,rq=ea(49460),r$=ea(76457);let rW=(0,eT.memo)(ei=>{let{defaultValue:eo,startContent:ea,placeholder:es,inputWrapperClassName:eu,inputClassName:ec,onClose:ed,onPressEnter:ef}=ei,eh=(0,eT.useRef)(null),[ep,em]=(0,eT.useState)(null!=eo?eo:"");(0,rq.t$)(eh,ed);let eg=(0,eT.useCallback)(ei=>{em(ei.target.value)},[]),eb=(0,eT.useCallback)(ei=>{"Enter"===ei.key?(ep&&(null==ef||ef(ep)),ed()):"Escape"===ei.key&&ed()},[ep,ed,ef]);return(0,eE.jsx)("div",{ref:eh,className:"w-full",children:(0,eE.jsx)(r$.Z,{autoFocus:!0,fullWidth:!0,size:"sm",variant:"flat",placeholder:es,startContent:ea,classNames:{input:(0,th.cn)("text-xs",ec),inputWrapper:(0,th.cn)("h-7 min-h-7",eu)},value:ep,onChange:eg,onKeyDown:eb})})});rW.displayName="Docsum.UITreeInput";var rK=rW,rG=ea(64074),rZ=ea(93978),rJ=ea(11957),rY=ea(76809);let rQ=(0,eT.forwardRef)((ei,eo)=>{let{clone:ea,depth:es,handleProps:eu,isDragging:ec,indentationWidth:ed,disableInteraction:ef,collapsed:eh,onCollapse:ep,onRemove:em,onRename:eg,Icon:eb,ExpandedIcon:ey,style:ew,label:ex,currentPath:eP,as:eS,href:ek,wrapperRef:eC,isEditable:e_,isCompact:eA,isSortable:eO,showMenu:eM=!1,...eR}=ei,[ej,eN]=(0,eT.useState)(!1),eL=(0,eT.useCallback)(()=>eN(ei=>!ei),[]),eD=null!=eS?eS:"div",eI=!!ek,ez=eI&&eP===ek,eB=es>0,eF=eB?null:eh?eb:ey||eb,eH=(0,eT.useMemo)(()=>e_&&eM?[{key:"default",showDivider:!0,items:[{key:"rename",children:"Rename",ariaLabel:"Rename",startContent:(0,eE.jsx)(rG.g,{className:"h-4 w-4"}),onClick:eL}]},{key:"destructive",items:[{key:"remove",children:"Remove",ariaLabel:"Remove",startContent:(0,eE.jsx)(rZ.M,{className:"h-4 w-4 text-danger"}),onClick:em}]}]:[],[eL,e_,em,eM]),eU=(0,eT.useCallback)(ei=>{(ez||!eI)&&(ez&&ei.preventDefault(),null==ep||ep())},[ez,eI,ep]);return ec&&eO?(0,eE.jsx)("li",{ref:eC,className:"h-0.5 list-none relative rounded-lg",style:{"--favorite-spacing":"".concat(ed*es,"px")},...eR,children:(0,eE.jsx)("div",{ref:eo,style:{...ew,paddingLeft:"var(--favorite-spacing)"},children:(0,eE.jsx)("div",{className:"bg-primary-400 h-0.5 rounded-lg opacity-70"})})}):eA?(0,eE.jsx)("li",{className:(0,th.cn)("group/core relative list-none flex items-center overflow-hidden","w-11 h-11 p-0 justify-center",ef&&"pointer-events-none"),ref:eC,...eR,children:(0,eE.jsxs)(eD,{ref:eo,role:"button",href:ek,style:ew,"data-selected":ez,className:"ui group/item flex justify-center items-center font-medium w-full h-full text-default-500 hover:text-default-foreground data-[selected=true]:text-primary-500",onClick:eU,children:[(0,eE.jsx)(tA.Z,{content:ex,placement:"right",children:(0,eE.jsx)("div",{className:"w-full h-full p-1 flex items-center justify-center",children:eB||!eF?(0,eE.jsx)(rH.h,{isBordered:!0,className:"w-6 h-6 text-tiny",name:ex,getInitials:tF.Qm,classNames:{base:(0,th.cn)("bg-transparent transition-colors text-default-500 ring-1",ez?"ring-primary-400 text-primary-500":"data-[hover=true]:ring-foreground data-[hover=true]:text-default-foreground")}}):(0,eE.jsx)(eF,{className:(0,th.cn)("h-6 w-6 text-inherit",ez&&"text-primary-400")})})}),ep&&(0,eE.jsx)(tk.v,{className:(0,th.cn)("w-4 h-4 absolute bottom-0 -right-1 text-default-500 group-hover/core:text-default-foreground transition-all duration-200 ease-linear",eh&&"rotate-90")})]})}):(0,eE.jsxs)("li",{className:(0,th.cn)("group/core relative h-8 list-none flex items-center overflow-hidden",ej?"pl-2":"pl-3",!ea&&eB&&'before:content-[""] before:absolute before:bg-default-200 before:w-px before:top-0 before:bottom-0 before:left-5 before:ml-px before:transition-all before:duration-200 before:ease-linear',!ea&&eB&&ez&&"before:bg-primary-400",ef&&"pointer-events-none"),ref:eC,style:{"--favorite-spacing":"".concat((ed+(eB?5:0))*es,"px")},...eR,children:[eO&&!ej&&(0,eE.jsx)(rX,{...eu,className:"hidden absolute h-4 w-4 -left-[5px] top-1/2 -translate-y-1/2 group-hover/core:inline-block items-center text-default-300 hover:text-default-foreground cursor-move z-20"}),(0,eE.jsxs)(eD,{ref:eo,role:"button",href:ek,style:{...ew,paddingLeft:eA?0:"var(--favorite-spacing)"},"data-selected":ez,className:(0,th.cn)("ui group/item flex items-center font-medium w-full h-full text-default-500 data-[selected=true]:text-primary-500",eI&&"hover:text-default-foreground",eA?"justify-center":"gap-x-0.5"),onClick:eU,children:[eF&&!ej&&(0,eE.jsx)(eF,{className:(0,th.cn)("h-5 w-5 mr-1 text-inherit",ez&&"text-primary-400")}),ej?(0,eE.jsx)(rK,{startContent:(0,eE.jsx)(rG.g,{className:"h-[22px] w-[22px] mr-1 ml-0.5 text-default-500"}),inputClassName:"!px-0.5",inputWrapperClassName:"!px-0.5",defaultValue:ex,placeholder:"Enter name...",onClose:eL,onPressEnter:eg}):(0,eE.jsx)("span",{className:"flex-1 truncate text-xs text-inherit select-none",children:ex}),!ea&&(0,eE.jsxs)("div",{className:(0,th.cn)("flex gap-x-1 items-center text-xs transition-all ml-1"),children:[e_&&!ej&&(0,eE.jsx)("div",{className:"hidden items-center h-4 group-hover/core:flex z-10",children:eB||!eM?(0,eE.jsx)(tA.Z,{content:"Remove",placement:"right",children:(0,eE.jsx)(tl.Z,{isIconOnly:!0,size:"sm",variant:"light",className:"min-w-6 h-6 w-6 text-danger-500 hover:text-danger-400",onClick:ei=>ei.preventDefault(),onPress:em,children:(0,eE.jsx)(rZ.M,{className:"h-3.5 w-3.5 text-danger"})})}):(0,eE.jsx)(rY.Z,{hideSelectedIcon:!0,selectionMode:"none","aria-label":"".concat(ex," options"),variant:"light",dropdownProps:{placement:"bottom-end"},triggerContent:(0,eE.jsx)(tl.Z,{isIconOnly:!0,size:"sm",variant:"light",className:"min-w-6 h-6 w-6 text-default-500 hover:text-default-foreground",onClick:ei=>ei.preventDefault(),children:(0,eE.jsx)(rJ.N,{className:"h-3 w-3 text-inherit"})}),sections:eH})}),ep&&!ej&&(0,eE.jsx)(tk.v,{className:(0,th.cn)("w-4 h-4 text-default-500 group-hover/core:text-default-foreground transition-all duration-200 ease-linear",eh&&"rotate-90","mr-1")})]})]})]})});rQ.displayName="Docsum.UITreeItem";var r0=rQ;let animateLayoutChanges=ei=>{let{isSorting:eo,wasDragging:ea}=ei;return!eo&&!ea};function SortableTreeItem(ei){let{id:eo,depth:ea,...es}=ei,{attributes:eu,isDragging:ec,isSorting:ed,listeners:ef,setDraggableNodeRef:eh,setDroppableNodeRef:ep,transform:em,transition:eg}=useSortable({id:eo,animateLayoutChanges}),eb={transform:tQ.Translate.toString(em),transition:eg};return(0,eE.jsx)(r0,{ref:eh,wrapperRef:ep,style:eb,depth:ea,isDragging:ec,disableInteraction:ed,handleProps:{...eu,...ef},...es})}let UITree=ei=>{let{defaultItems:eo,indentationWidth:ea=50,className:es,LinkComponent:eu,currentPath:ec,collapsible:ed=!1,isEditable:ef=!1,isCompact:eh=!1,isSortable:ep=!1,onChange:em}=ei,[eg,eb]=(0,eT.useState)(()=>eo),[ey,ew]=(0,eT.useState)(null),[ex,eP]=(0,eT.useState)(null),[eS,ek]=(0,eT.useState)(0),[eC,e_]=(0,eT.useState)(null),eA=(0,eT.useMemo)(()=>{let ei=flattenTree(eg),eo=ei.reduce((ei,eo)=>{let{children:ea,collapsed:es,id:eu}=eo;return es&&ea.length?[...ei,eu]:ei},[]);return removeChildrenOf(ei,ey?[ey,...eo]:eo)},[ey,eg]),eO=ey&&ex?getProjection(eA,ey,ex,eS,ea):null,eM=(0,eT.useRef)({items:eA,offset:eS}),eR=useSensors(useSensor(PointerSensor)),ej=(0,eT.useMemo)(()=>eA.map(ei=>{let{id:eo}=ei;return eo}),[eA]),eN=ey?eA.find(ei=>{let{id:eo}=ei;return eo===ey}):null,eL={onDragStart(ei){let{active:eo}=ei;return"Picked up ".concat(eo.id,".")},onDragMove(ei){let{active:eo,over:ea}=ei;return getMovementAnnouncement("onDragMove",eo.id,null==ea?void 0:ea.id)},onDragOver(ei){let{active:eo,over:ea}=ei;return getMovementAnnouncement("onDragOver",eo.id,null==ea?void 0:ea.id)},onDragEnd(ei){let{active:eo,over:ea}=ei;return getMovementAnnouncement("onDragEnd",eo.id,null==ea?void 0:ea.id)},onDragCancel(ei){let{active:eo}=ei;return"Moving was cancelled. ".concat(eo.id," was dropped in its original position.")}};function handleDragStart(ei){let{active:{id:eo}}=ei;ew(eo),eP(eo);let ea=eA.find(ei=>{let{id:ea}=ei;return ea===eo});ea&&e_({parentId:ea.parentId,overId:eo}),document.body.style.setProperty("cursor","grabbing")}function handleDragMove(ei){let{delta:eo}=ei;ek(eo.x)}function handleDragOver(ei){var eo;let{over:ea}=ei;eP(null!==(eo=null==ea?void 0:ea.id)&&void 0!==eo?eo:null)}function handleDragEnd(ei){let{active:eo,over:ea}=ei;if(resetState(),eO&&ea){let{depth:ei,parentId:es}=eO,eu=[...flattenTree(eg)],ec=eu.findIndex(ei=>{let{id:eo}=ei;return eo===ea.id}),ed=eu.findIndex(ei=>{let{id:ea}=ei;return ea===eo.id}),ef=eu[ed];eu[ed]={...ef,depth:ei,parentId:es};let eh=arrayMove(eu,ed,ec),ep=buildTree(eh);eb(ep),null==em||em(ep)}}function handleDragCancel(){resetState()}function resetState(){eP(null),ew(null),ek(0),e_(null),document.body.style.setProperty("cursor","")}function handleRemove(ei){eb(eo=>{let ea=removeItem(eo,ei);return null==em||em(ea),ea})}function handleCollapse(ei){eb(eo=>setProperty(eo,ei,"collapsed",ei=>!ei))}function handleRename(ei,eo){eb(ea=>{let es=setProperty(ea,ei,"label",()=>eo);return null==em||em(es),es})}function getMovementAnnouncement(ei,eo,ea){if(ea&&eO){let es;if("onDragEnd"!==ei){if(eC&&eO.parentId===eC.parentId&&ea===eC.overId)return;e_({parentId:eO.parentId,overId:ea})}let eu=JSON.parse(JSON.stringify(flattenTree(eg))),ec=eu.findIndex(ei=>{let{id:eo}=ei;return eo===ea}),ed=eu.findIndex(ei=>{let{id:ea}=ei;return ea===eo}),ef=arrayMove(eu,ed,ec),eh=ef[ec-1],ep="onDragEnd"===ei?"dropped":"moved",em="onDragEnd"===ei?"dropped":"nested";if(eh){if(eO.depth>eh.depth)es="".concat(eo," was ").concat(em," under ").concat(eh.id,".");else{let ei=eh;for(;ei&&eO.depth<ei.depth;){let eo=ei.parentId;ei=ef.find(ei=>{let{id:ea}=ei;return ea===eo})}ei&&(es="".concat(eo," was ").concat(ep," after ").concat(ei.id,"."))}}else{let ei=ef[ec+1];es="".concat(eo," was ").concat(ep," before ").concat(ei.id,".")}return es}}return(0,eT.useEffect)(()=>{eM.current={items:eA,offset:eS}},[eA,eS]),(0,eT.useEffect)(()=>{eb(eo)},[eo]),(0,eE.jsx)("ul",{className:(0,th.cn)("list-none",es),children:(0,eE.jsx)(rw,{accessibility:{announcements:eL},sensors:eR,collisionDetection:closestCenter,measuring:rB,onDragStart:handleDragStart,onDragMove:handleDragMove,onDragOver:handleDragOver,onDragEnd:handleDragEnd,onDragCancel:handleDragCancel,children:(0,eE.jsxs)(SortableContext,{items:ej,strategy:verticalListSortingStrategy,children:[eA.map(ei=>{let{id:eo,label:es,type:em,children:eg,collapsed:eb,depth:ew,href:ex,Icon:eP,ExpandedIcon:eS}=ei;return(0,eE.jsx)(SortableTreeItem,{id:eo,label:es,depth:eo===ey&&eO?eO.depth:ew,indentationWidth:ea,isEditable:ef,isSortable:ep,href:ex,currentPath:ec,Icon:eP,ExpandedIcon:eS,isCompact:eh,showMenu:"group"===em,as:ex?eu:void 0,collapsed:!!(eb&&eg.length),onCollapse:ed&&eg.length?()=>handleCollapse(eo):void 0,onRemove:ef?()=>handleRemove(eo):void 0,onRename:ef&&"group"===em?ei=>handleRename(eo,ei):void 0},eo)}),eh?null:(0,eE.jsx)(eE.Fragment,{children:(0,tW.createPortal)((0,eE.jsx)(rM,{dropAnimation:rF,modifiers:[adjustTranslate],children:ey&&eN?(0,eE.jsx)(SortableTreeItem,{id:ey,depth:eN.depth,clone:!0,label:eN.label,Icon:eN.Icon,ExpandedIcon:eN.ExpandedIcon,indentationWidth:ea}):null}),document.body)})]})})})};UITree.displayName="Docsum.UITree";var r1=UITree;let CheckListIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M11 6L21 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M11 12L21 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M11 18L21 18",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),FilesIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M14.4998 19H12.4998C9.67139 19 8.25718 19 7.3785 18.1213C6.49982 17.2426 6.49982 15.8284 6.49982 13V8C6.49982 5.17157 6.49982 3.75736 7.3785 2.87868C8.25718 2 9.67139 2 12.4998 2H13.843C14.6605 2 15.0692 2 15.4368 2.15224C15.8043 2.30448 16.0933 2.59351 16.6714 3.17157L19.3282 5.82843C19.9063 6.40648 20.1953 6.69552 20.3476 7.06306C20.4998 7.4306 20.4998 7.83935 20.4998 8.65685V13C20.4998 15.8284 20.4998 17.2426 19.6211 18.1213C18.7425 19 17.3282 19 14.4998 19Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M14.9998 2.5V3.5C14.9998 5.38562 14.9998 6.32843 15.5856 6.91421C16.1714 7.5 17.1142 7.5 18.9998 7.5H19.9998",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M6.49942 5C4.84257 5 3.49942 6.34315 3.49942 8V16C3.49942 18.8285 3.49942 20.2427 4.3781 21.1213C5.25678 22 6.67099 22 9.49942 22H14.4998C16.1566 22 17.4998 20.6568 17.4998 19",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M10 11H14M10 15H17",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ComputerIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M14 2H10C6.72077 2 5.08116 2 3.91891 2.81382C3.48891 3.1149 3.1149 3.48891 2.81382 3.91891C2 5.08116 2 6.72077 2 10C2 13.2792 2 14.9188 2.81382 16.0811C3.1149 16.5111 3.48891 16.8851 3.91891 17.1862C5.08116 18 6.72077 18 10 18H14C17.2792 18 18.9188 18 20.0811 17.1862C20.5111 16.8851 20.8851 16.5111 21.1862 16.0811C22 14.9188 22 13.2792 22 10C22 6.72077 22 5.08116 21.1862 3.91891C20.8851 3.48891 20.5111 3.1149 20.0811 2.81382C18.9188 2 17.2792 2 14 2Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M11 15H13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eE.jsx)("path",{d:"M14.5 22L14.1845 21.5811C13.4733 20.6369 13.2969 19.1944 13.7468 18M9.5 22L9.8155 21.5811C10.5267 20.6369 10.7031 19.1944 10.2532 18",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M7 22H17",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});var r2=ea(82703),r3=ea(7312);let r8=(0,eT.memo)(ei=>{let{isCompact:eo,isExpanded:ea,setIsExpanded:es,title:eu,CompactIcon:ec,actions:ed,onClick:ef}=ei;return(0,eE.jsx)("div",{role:"button",className:(0,th.cn)("flex items-center justify-between font-medium transition-colors duration-200 ease-linear",eo?"relative w-11 h-11 p-0 justify-center text-default-500 hover:text-default-foreground":"ml-2 mt-2 pr-2 min-h-7 w-full px-1"),onClick:ef,children:eo?(0,eE.jsxs)(eE.Fragment,{children:[(0,eE.jsx)(tA.Z,{content:eu,placement:"right",children:(0,eE.jsx)("div",{className:"w-full h-full p-1 flex items-center justify-center",children:(0,eE.jsx)(ec,{className:"h-6 w-6 text-inherit"})})}),(0,eE.jsx)(tk.v,{className:(0,th.cn)("absolute bottom-0 -right-1 w-4 h-4 text-default-500 group-hover:text-default-foreground transition-all duration-200 ease-linear",!ea&&"rotate-90")})]}):(0,eE.jsxs)(eE.Fragment,{children:[(0,eE.jsx)("span",{className:"truncate text-tiny text-foreground-500",children:eu}),(0,eE.jsxs)("div",{className:"flex gap-x-1 items-center text-xs transition-all ml-1",children:[!!ed&&(0,eE.jsx)("div",{className:"hidden items-center h-4 group-hover:flex",children:"function"==typeof ed?ed({isExpanded:ea,setIsExpanded:es}):ed}),(0,eE.jsx)(tk.v,{className:(0,th.cn)("w-4 h-4 text-default-500 mr-2 group-hover:text-default-foreground transition-all duration-200 ease-linear",!ea&&"rotate-90")})]})]})})});r8.displayName="NavSectionHeader";var r6=r8;let NavSection=ei=>{let{isCompact:eo,title:ea,actions:es,CompactIcon:eu,topContent:ec,children:ed,...ef}=ei,[eh,ep]=(0,eT.useState)(!0),toggleExpanded=()=>ep(ei=>!ei);return(0,eE.jsxs)("div",{className:(0,th.cn)("group",eo?"flex justify-center flex-col p-1 w-full mb-2":"-ml-2"),...ef,children:[(0,eE.jsx)(r6,{isExpanded:eh,setIsExpanded:ep,isCompact:eo,title:ea,actions:es,CompactIcon:eu,onClick:toggleExpanded}),ec,(0,eE.jsx)(r2.M,{initial:!1,children:eh&&(0,eE.jsx)(r3.E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},children:(0,eE.jsx)("div",{className:eo?void 0:"pb-2 ml-2 pt-1",children:(0,eE.jsx)("div",{className:eo?void 0:"overflow-clip relative",children:ed})})})})]})};var r5=NavSection,r4=ea(10777),r7=ea(13908),r9=ea(9815);let NavigationApi=class NavigationApi extends r7.Z{async getWorkspaceNavigation(){let{signal:ei,...eo}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r9.x1.get(this.resourcePath,"workspace",{signal:ei,...(0,r9.wU)(eo)})}async getFavoritesNavigation(){let{signal:ei,...eo}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r9.x1.get(this.resourcePath,"favorites",{signal:ei,...(0,r9.wU)(eo)})}async patchFavoritesNavigation(ei){let{id:eo,changes:ea}=ei;return r9.x1.patch("".concat(this.resourcePath,"/favorites"),eo.toString(),ea)}constructor(){super(),this.resourcePath="navigation"}};let nr=new NavigationApi;var nn=nr,ni=ea(34145);function useGetWorkspaceNavigation(){return(0,r4.a)({queryKey:tx.Y.VIEWS_NAVIGATION.getWorkspaceNavigation,queryFn:ei=>{let{signal:eo}=ei;return nn.getWorkspaceNavigation({signal:eo})},gcTime:ni.Jc})}var no=ea(64412),na=ea(2601);let ns=[{id:"playbooks",label:"Playbooks",type:"item",href:"/playbooks",Icon:CheckListIcon,children:[]}],WorkspaceNavigation=ei=>{let{isCompact:eo}=ei,ea=(0,eL.usePathname)(),{isAlertsEnabled:es}=(0,na.h)(),{data:eu,isLoading:ec}=useGetWorkspaceNavigation(),ed=(0,eT.useMemo)(()=>{let ei={id:"alerts",label:"Alerts",type:"item",href:"/alerts",Icon:no.Z,children:[]},eo=[...ns];if(es&&eo.push(ei),!eu)return eo;let ea={id:eu.slug,href:"/all-documents",Icon:FilesIcon,label:eu.label,type:"group",children:eu.children.length?eu.children.map(ei=>({id:"views/".concat(ei.id),href:"/views/".concat(ei.id),label:ei.label,type:"item",children:[]})):[]},ec=[ea,...eo];return ec},[eu,es]);return ec?null:(0,eE.jsx)(r5,{title:"Workspace",isCompact:eo,CompactIcon:ComputerIcon,children:(0,eE.jsx)(r1,{defaultItems:ed,currentPath:ea,LinkComponent:t$(),isCompact:eo,collapsible:!0,indentationWidth:30})})};var nl=WorkspaceNavigation;let LabelIcon=ei=>(0,eE.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:(0,eE.jsx)("path",{d:"M13 4H6.23456C3.79424 4 2.57407 4 2.14438 4.76649C2.13129 4.78984 2.11883 4.81353 2.10701 4.83754C1.71893 5.62592 2.41032 6.63129 3.7931 8.64204C4.89612 10.246 5.44763 11.048 5.4611 11.9555C5.46154 11.9852 5.46154 12.0148 5.4611 12.0445C5.44763 12.952 4.89612 13.754 3.7931 15.358C2.41032 17.3687 1.71893 18.3741 2.10701 19.1625C2.11883 19.1865 2.13129 19.2102 2.14438 19.2335C2.57407 20 3.79424 20 6.23456 20H13C14.9628 20 15.9443 20 16.7889 19.5777C17.6334 19.1554 18.2223 18.3703 19.4 16.8C21.1333 14.4889 22 13.3333 22 12C22 10.6667 21.1333 9.51111 19.4 7.2C18.2223 5.62972 17.6334 4.84458 16.7889 4.42229C15.9443 4 14.9628 4 13 4Z",stroke:"currentColor",strokeWidth:"1.5"})}),FolderIcon=ei=>(0,eE.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:(0,eE.jsx)("path",{d:"M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),OpenFolderIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M2.36064 15.1788C1.98502 13.2956 1.79721 12.354 2.33084 11.7159C2.36642 11.6734 2.40405 11.6323 2.44361 11.5927C3.03686 11 4.08674 11 6.1865 11H17.8135C19.9133 11 20.9631 11 21.5564 11.5927C21.5959 11.6323 21.6336 11.6734 21.6692 11.7159C22.2028 12.354 22.015 13.2956 21.6394 15.1788C21.0993 17.8865 20.8292 19.2404 19.8109 20.0721C19.7414 20.1288 19.6698 20.1833 19.5961 20.2354C18.5163 21 17.0068 21 13.9876 21H10.0124C6.99323 21 5.48367 21 4.40387 20.2354C4.33022 20.1833 4.2586 20.1288 4.18914 20.0721C3.17075 19.2404 2.90072 17.8865 2.36064 15.1788Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,eE.jsx)("path",{d:"M4 11V5.5C4 4.11929 5.11929 3 6.5 3H8.92963C9.59834 3 10.2228 3.3342 10.5937 3.8906L12 6M12 6H8.5M12 6H17.5C18.8807 6 20 7.11929 20 8.5V11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});var nu=ea(86318);let FolderAddIcon=ei=>(0,eE.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,color:"currentColor",fill:"none",...ei,children:[(0,eE.jsx)("path",{d:"M13 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,eE.jsx)("path",{d:"M18 13V21M22 17H14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});function useGetFavoritesNavigation(){return(0,r4.a)({queryKey:tx.Y.VIEWS_NAVIGATION.getFavoritesNavigation,queryFn:ei=>{let{signal:eo}=ei;return nn.getFavoritesNavigation({signal:eo})},gcTime:ni.Jc})}var nc={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},nd=new Uint8Array(16);function rng(){if(!eS&&!(eS="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 eS(nd)}for(var nf=[],nh=0;nh<256;++nh)nf.push((nh+256).toString(16).slice(1));function unsafeStringify(ei,eo=0){return(nf[ei[eo+0]]+nf[ei[eo+1]]+nf[ei[eo+2]]+nf[ei[eo+3]]+"-"+nf[ei[eo+4]]+nf[ei[eo+5]]+"-"+nf[ei[eo+6]]+nf[ei[eo+7]]+"-"+nf[ei[eo+8]]+nf[ei[eo+9]]+"-"+nf[ei[eo+10]]+nf[ei[eo+11]]+nf[ei[eo+12]]+nf[ei[eo+13]]+nf[ei[eo+14]]+nf[ei[eo+15]]).toLowerCase()}var esm_browser_v4=function(ei,eo,ea){if(nc.randomUUID&&!eo&&!ei)return nc.randomUUID();var es=(ei=ei||{}).random||(ei.rng||rng)();if(es[6]=15&es[6]|64,es[8]=63&es[8]|128,eo){ea=ea||0;for(var eu=0;eu<16;++eu)eo[ea+eu]=es[eu];return eo}return unsafeStringify(es)};let generateUuid=()=>esm_browser_v4();var np=ea(74664);function usePatchFavoritesNavigation(){let ei=(0,np.U)();return(0,tw.D)({mutationKey:tx.Y.VIEWS_NAVIGATION.patchFavoritesNavigation,mutationFn:ei=>nn.patchFavoritesNavigation(ei),onSuccess:async()=>{await ei()}})}let nm="|",getSourceIdFromTreeItemId=ei=>ei.toString().split(nm)[1],parseSourceIdToTreeItemId=function(ei){let eo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"item";return"".concat("group"===eo?"g":"i").concat(nm).concat(ei)},parseTreeItemsToNavigationItems=ei=>ei.map(ei=>{let{id:eo,type:ea,label:es,children:eu,metadata:ec}=ei,ed=getSourceIdFromTreeItemId(eo),ef="group"===ea;return{id:ed,type:ea,label:ef?es:void 0,color:ef?null==ec?void 0:ec.color:void 0,isPrivate:ef?null==ec?void 0:ec.isPrivate:void 0,children:ef?eu.map(ei=>{let eo=getSourceIdFromTreeItemId(ei.id);return{id:eo,type:ei.type}}):null}}),FavoritesNavigation=ei=>{let{isCompact:eo}=ei,[ea,es]=(0,eT.useState)(!1),eu=(0,eL.usePathname)(),{toast:ec}=(0,e$.pm)(),{data:ed,isLoading:ef}=useGetFavoritesNavigation(),{mutateAsync:eh}=usePatchFavoritesNavigation(),ep=(0,eT.useCallback)(async ei=>{if(!ed)return;let eo=parseTreeItemsToNavigationItems(ei);try{await eh({id:ed.id,changes:{items:eo}})}catch(eo){var ea,es;let ei=(null===(es=eo.response)||void 0===es?void 0:null===(ea=es.data)||void 0===ea?void 0:ea.detail)||void 0;ec.error("Failed to update favorites",{description:ei})}},[ed,eh,ec]),em=(0,eT.useMemo)(()=>{if(!ed)return[];let mapViewItem=ei=>({id:parseSourceIdToTreeItemId(ei.id,ei.type),label:ei.label,type:"item",href:"/views/".concat(ei.id),children:[],Icon:LabelIcon}),ei=ed.items.map(ei=>ei.children?{id:parseSourceIdToTreeItemId(ei.id,ei.type),label:ei.label,type:"group",Icon:FolderIcon,ExpandedIcon:OpenFolderIcon,children:ei.children.map(mapViewItem)}:mapViewItem(ei));return ei},[ed]),eg=(0,eT.useCallback)(async ei=>{ed&&ed.items&&await eh({id:ed.id,changes:{items:[{id:generateUuid(),label:ei,type:"group",children:[]},...ed.items]}})},[ed,eh]),toggleAdding=()=>es(ei=>!ei);return ef||!em.length?null:(0,eE.jsx)(r5,{title:"Favorites","data-adding":ea,isCompact:eo,CompactIcon:nu.r,actions:ei=>{let{setIsExpanded:eo}=ei;return(0,eE.jsx)(tA.Z,{content:"Add new folder",placement:"bottom",children:(0,eE.jsx)(tl.Z,{isIconOnly:!0,size:"sm",variant:"light",className:"min-w-6 h-6 w-6 group-data-[adding=true]:hidden text-default-500 hover:text-default-foreground",onPress:()=>{toggleAdding(),eo(!0)},children:(0,eE.jsx)(FolderAddIcon,{className:"h-4 w-4 text-inherit"})})})},topContent:(0,eE.jsx)(r2.M,{children:ea&&(0,eE.jsx)(r3.E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"w-full pl-1 pr-px",children:(0,eE.jsx)("div",{className:"pt-2 ml-1.5",children:(0,eE.jsx)(rK,{startContent:(0,eE.jsx)(FolderAddIcon,{className:"h-[22px] w-[22px] mr-1 ml-0.5 text-default-500"}),inputClassName:"!px-0.5",placeholder:"Enter new folder name...",onClose:toggleAdding,onPressEnter:eg})})})}),children:(0,eE.jsx)(r1,{defaultItems:em,currentPath:eu,LinkComponent:t$(),isEditable:!eo,isCompact:eo,isSortable:!0,collapsible:!0,indentationWidth:30,onChange:ep})})};var ng=FavoritesNavigation;let Sidebar=()=>{let{isCompact:ei,isHidden:eo,canHide:ea,setIsSidebarHidden:es}=(0,tf.A)();return(0,eE.jsxs)(eE.Fragment,{children:[ea&&!eo&&(0,eE.jsx)("div",{className:(0,th.cn)("fixed inset-0 bg-black/10 dark:bg-gray-900/20 z-40 transition-opacity ease-linear",eo?"opacity-0":"opacity-100"),onClick:()=>es(!0)}),(0,eE.jsxs)("div",{className:(0,th.cn)("flex h-screen min-h-0 w-80 max-w-[330px] flex-col px-3.5 py-5 transition-all ease-in-out",{"w-16 items-center px-2 py-5":ei,"absolute top-0 left-0 z-50 border-r border-divider/15 dark:border-divider/10 shadow-sidebarLight dark:shadow-sidebarDark bg-gray-100 dark:bg-black":ea,relative:!ea,"-ml-72 -translate-x-72":eo}),children:[(0,eE.jsxs)("div",{className:"flex items-center justify-between",children:[(0,eE.jsx)(t_,{isCompact:ei}),!ei&&(0,eE.jsx)(SidebarCollapseButton,{})]}),(0,eE.jsx)(td.q,{y:6}),(0,eE.jsx)(tT,{isCompact:ei}),(0,eE.jsx)("div",{className:"pt-6",children:(0,eE.jsx)(tp.Z,{isCompact:ei})}),(0,eE.jsxs)(tc.o,{className:"h-full max-h-full pb-3 mt-4 overflow-x-hidden",children:[ei&&(0,eE.jsx)(tX,{}),(0,eE.jsx)(nl,{isCompact:ei}),ei&&(0,eE.jsx)(tX,{}),(0,eE.jsx)(ng,{isCompact:ei})]}),(0,eE.jsx)(td.q,{y:2}),(0,eE.jsxs)("footer",{className:(0,th.cn)("mt-auto flex flex-col",{"items-center":ei}),children:[(0,eE.jsx)(SidebarThemeSelector,{isCompact:ei}),(0,eE.jsx)(td.q,{y:4}),(0,eE.jsx)(tV,{isCompact:ei})]})]})]})};Sidebar.displayName="Sidebar";var nv=Sidebar;let PrivateLayout=ei=>{let{children:eo}=ei;(0,eq.L)();let{currentTheme:ea}=useIsDarkTheme();return(0,eE.jsxs)("div",{className:"relative flex h-full min-h-full w-full items-stretch overflow-hidden",children:[(0,eE.jsx)(e$.ZP,{theme:ea}),(0,eE.jsx)(IdleTimerModal,{}),(0,eE.jsx)(nv,{}),(0,eE.jsx)("div",{className:"min-w-0 min-h-0 h-screen flex flex-col flex-1",children:eo})]})};PrivateLayout.displayName="PrivateLayout";var ny=PrivateLayout;let RootLayout=ei=>{let{children:eo}=ei,{session:ea,isSigningOut:es,isInitialLogIn:eu,isProtectedPage:ec,isPublicPage:ed}=(0,eD.E)(),{shouldCompleteSignUp:ef,isLoading:eh,isFirstLoad:ep,currentUser:em}=(0,eI.x)(),eg=(0,eL.useRouter)(),eb=(0,eL.usePathname)(),ey="/"===eb;return((0,eT.useEffect)(()=>{ea&&ef&&eg.push("/registration")},[ea,ef,eg,eb]),"/pass-setup"===eb)?(0,eE.jsx)(eB,{children:eo}):ea?eh&&ep||ef||ec(eb)||"/login"===eb||!em?(0,eE.jsx)(eB,{children:eh?(0,eE.jsx)(ez.a,{}):eo}):(0,eE.jsx)(ny,{children:eo}):(0,eE.jsx)(eB,{children:eu||eh||(es||!ed(eb))&&!ey?(0,eE.jsx)(ez.a,{}):eo})};RootLayout.displayName="RootLayout";var nw=Object.create,nx=Object.defineProperty,nP=Object.defineProperties,nS=Object.getOwnPropertyDescriptor,nE=Object.getOwnPropertyDescriptors,nk=Object.getOwnPropertyNames,nT=Object.getOwnPropertySymbols,nC=Object.getPrototypeOf,n_=Object.prototype.hasOwnProperty,nA=Object.prototype.propertyIsEnumerable,__defNormalProp=(ei,eo,ea)=>eo in ei?nx(ei,eo,{enumerable:!0,configurable:!0,writable:!0,value:ea}):ei[eo]=ea,__spreadValues=(ei,eo)=>{for(var ea in eo||(eo={}))n_.call(eo,ea)&&__defNormalProp(ei,ea,eo[ea]);if(nT)for(var ea of nT(eo))nA.call(eo,ea)&&__defNormalProp(ei,ea,eo[ea]);return ei},__spreadProps=(ei,eo)=>nP(ei,nE(eo)),__copyProps=(ei,eo,ea,es)=>{if(eo&&"object"==typeof eo||"function"==typeof eo)for(let eu of nk(eo))n_.call(ei,eu)||eu===ea||nx(ei,eu,{get:()=>eo[eu],enumerable:!(es=nS(eo,eu))||es.enumerable});return ei},nO=(ed=null!=(ec=(es={"node_modules/classnames/index.js"(ei,eo){!function(){var ei={}.hasOwnProperty;function classNames(){for(var eo=[],ea=0;ea<arguments.length;ea++){var es=arguments[ea];if(es){var eu=typeof es;if("string"===eu||"number"===eu)eo.push(es);else if(Array.isArray(es)){if(es.length){var ec=classNames.apply(null,es);ec&&eo.push(ec)}}else if("object"===eu){if(es.toString!==Object.prototype.toString&&!es.toString.toString().includes("[native code]")){eo.push(es.toString());continue}for(var ed in es)ei.call(es,ed)&&es[ed]&&eo.push(ed)}}}return eo.join(" ")}void 0!==eo&&eo.exports?(classNames.default=classNames,eo.exports=classNames):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return classNames}):window.classNames=classNames}()}},function(){return eu||(0,es[nk(es)[0]])((eu={exports:{}}).exports,eu),eu.exports})())?nw(nC(ec)):{},__copyProps(ec&&ec.__esModule?ed:nx(ed,"default",{value:ec,enumerable:!0}),ec)),nM="58c2ad2f20f9f2ab72678155824bcc29275cdaf2eea2436f86279bdd0a242ff0",nR=`._container_18f8u_1 {
	--brand-color: #744ed4;
	--brand-color-dark: #5629c6;
	--color-text-primary: #111111;
	--color-text-primary-inverted: #fff;
	--color-text-link: var(--brand-color);
	--size-large: 24px;
	--size-medium: 16px;
	--size-small: 12px;
	--size-xSmall: 8px;

	--color-white: #fff;
	--color-gray-100: hsla(0, 0%, 93.7%, 0.49019607843137253);
	--color-gray-200: #f2f2f2;
	--color-gray-300: #eaeaea;
	--color-gray-400: #bdbdbd;
	--color-gray-500: #828282;
	--color-gray-600: #7e7e7e;
	--color-gray-700: #8a8f98;
	--color-gray-800: #2d2f36;

	--font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol';

	background: hsl(0deg 0% 0% / 75%);
	font-family: var(--font-family);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	backdrop-filter: blur(1px);
	display: flex;
	justify-content: center;
	align-items: center;
}

@media only screen and (max-width: 420px) {
	._card_18f8u_41 {
		max-width: 100vw !important;
		height: 100%;
		border-radius: 0;
	}

	._cardContents_18f8u_47 {
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	._form_18f8u_53 {
		height: 100%;
	}

	._textareaLabel_18f8u_57 {
		flex: 1;
	}

	._form_18f8u_53 textarea {
		height: 100%;
	}

	._ad_18f8u_65 {
		display: none;
	}
}

._card_18f8u_41 {
	border-radius: var(--size-xSmall);
	padding: 20px;
	width: 420px;
	max-width: calc(100vw - 1rem);
	background: white;
}

._title_18f8u_78 {
	font-size: 20px;
	color: var(--color-text-primary);
}

._subtitle_18f8u_83 {
	font-size: 13px;
	margin-top: var(--size-medium) !important;
	font-weight: 400;
	color: #8c8b92;
}

._form_18f8u_53 {
	padding-top: var(--size-large);
	display: flex;
	flex-direction: column;
	gap: var(--size-small);
	width: 100%;
}

._form_18f8u_53 label {
	display: flex;
	flex-direction: column;
	font-size: 11px !important;
	font-weight: 500;
	color: var(--color-gray-500);
}

._form_18f8u_53 input {
	height: 28px;
}

._form_18f8u_53 textarea {
	font-family: var(--font-family);
	min-height: 80px;
}

._form_18f8u_53 input,
._form_18f8u_53 textarea {
	background-color: var(--color-white);
	border: 1px solid #dcdbdd;
	border-radius: 6px;
	color: var(--color-gray-500);

	font-size: 13px;
	margin: 8px 0;
	outline: none;
	padding: 4px 6px;
	width: calc(100%);
}

._form_18f8u_53 button {
	align-items: center;
	display: flex;
	justify-content: center;
	height: auto;
	color: var(--color-text-primary-inverted);
	background-color: var(--brand-color);
	text-shadow: none;
	box-shadow: none;
	padding: 4px 6px;
	font-size: 14px;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
}

._form_18f8u_53 button:hover {
	background-color: var(--brand-color-dark);
}

._form_18f8u_53 button[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

._form_18f8u_53 ._closeButton_18f8u_154 {
	background-color: transparent;
	color: #6f6e77 !important;
	font-size: 13px;
	font-family: var(--font-family);
	border: 1px solid var(--color-white);
}

._form_18f8u_53 ._closeButton_18f8u_154:hover {
	background-color: var(--color-gray-100);
	border-color: var(--color-gray-300);
}

._confirmationButton_18f8u_167 {
	float: right;
	margin-top: 3rem;
}

._formFooter_18f8u_172 {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

._formActionsContainer_18f8u_180 {
	display: flex;
	flex-direction: row-reverse;
	gap: 6px;
}

._ad_18f8u_65:hover {
	background-color: var(--color-gray-100);
}

._logoContainer_18f8u_190 {
	display: flex;
	align-items: center;
	gap: 6px;

	border: 1px solid var(--color-gray-300);
	border-radius: 6px;
	color: var(--color-gray-500);
	font-size: 13px;
	padding: 4px 8px;
}

._logo_18f8u_190 {
	height: 16px;
}

._buggyButton_18f8u_206 {
	align-items: center;
	background: #5629c6;
	border-radius: 8px;
	border: 1px solid #bdbdbd;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol';
	font-size: 14px;
	height: auto;
	justify-content: center;
	min-height: 40px;
	padding: 4px 16px;
	text-shadow: none;
}
`;!function(){if("undefined"!=typeof document&&!document.getElementById(nM)){var ei=document.createElement("style");ei.id=nM,ei.textContent=nR,document.head.appendChild(ei)}}();var nj={container:"_container_18f8u_1",card:"_card_18f8u_41",cardContents:"_cardContents_18f8u_47",form:"_form_18f8u_53",textareaLabel:"_textareaLabel_18f8u_57",ad:"_ad_18f8u_65",title:"_title_18f8u_78",subtitle:"_subtitle_18f8u_83",closeButton:"_closeButton_18f8u_154",confirmationButton:"_confirmationButton_18f8u_167",formFooter:"_formFooter_18f8u_172",formActionsContainer:"_formActionsContainer_18f8u_180",logoContainer:"_logoContainer_18f8u_190",logo:"_logo_18f8u_190"};function ReportDialog({labelClose:ei="Cancel",labelComments:eo="Message",labelName:ea="Name",labelEmail:es="Email",labelSubmit:eu="Submit",subtitle2:ec="If you’d like to help, tell us what happened below.",subtitle:ed="Our team has been notified.",successMessage:ef="Your feedback has been sent. Thank you!",successSubtitle:eh="Thank you for sending us feedback. If you have any other concerns/questions, reach out to this application's support email.",title:ep="It looks like we’re having issues.",placeholderComments:em="I typed in a name then clicked the button",user:eg,onCloseHandler:eb,onSubmitHandler:ey,hideHighlightBranding:ew=!1,error:ex}){let[eP,eS]=(0,eT.useState)((null==eg?void 0:eg.name)||""),[eE,ek]=(0,eT.useState)((null==eg?void 0:eg.email)||""),[eC,e_]=(0,eT.useState)(""),[eA,eO]=(0,eT.useState)(!1),[eM,eR]=(0,eT.useState)(!1),ej=(0,eT.useRef)(new Date().toISOString()),eN=(0,eT.useMemo)(()=>{let ei=!!eE.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i);return!!eP&&ei&&!!eC},[eP,eE,eC]);eT.useEffect(()=>{var ei;(null==(ei=null==window?void 0:window.H)?void 0:ei.consumeError)&&ex&&window.H.consumeError(ex)},[ex]);let handleSubmit=ei=>{var eo;ei.preventDefault(),eO(!0),(null==(eo=null==window?void 0:window.H)?void 0:eo.addSessionFeedback)?window.H.addSessionFeedback({verbatim:eC,userName:eP,userEmail:eE,timestampOverride:ej.current}):console.warn("Highlight is not initialized. Make sure highlight.run is installed and running."),new Promise(ei=>window.setTimeout(ei,300)).then(()=>{eO(!1),eR(!0),ey&&ey()})};return eT.createElement(eT.Fragment,null,eT.createElement("style",{dangerouslySetInnerHTML:{__html:`
					@font-face {
						font-display: swap;
						font-family: 'Inter';
						font-style: normal;
						font-weight: normal;
						src: local('Inter Regular'), local('InterRegular'),
							url('https://app.highlight.io/font/Inter-Regular.woff2')
								format('woff2');
					}
					@font-face {
						font-display: swap;
						font-family: 'Inter';
						font-style: normal;
						font-weight: 500;
						src: local('Inter Medium'), local('InterMedium'),
							url('https://app.highlight.io/font/Inter-Medium.woff2')
								format('woff2');
					}

					::placeholder {
						color: var(--color-gray-300);
					}
			`}}),eT.createElement("main",{className:nj.container},eT.createElement("div",{className:nj.card},eM?eT.createElement("div",{className:nj.cardContents},eT.createElement("h1",{className:nj.title},ef),eT.createElement("h4",{className:nj.subtitle},eh),eT.createElement("div",null,eT.createElement("button",{className:(0,nO.default)(nj.button,nj.confirmationButton),onClick:eb},"Close"))):eT.createElement("div",{className:nj.cardContents},eT.createElement("div",null,eT.createElement("h1",{className:nj.title},ep),eT.createElement("h2",{className:nj.subtitle},ed," ",ec)),eT.createElement("form",{className:nj.form,onSubmit:handleSubmit},eT.createElement("label",null,ea,eT.createElement("input",{type:"text",value:eP,name:"name",autoFocus:!0,onChange:ei=>{eS(ei.target.value)},placeholder:"Tom Jerry"})),eT.createElement("label",null,es,eT.createElement("input",{type:"email",value:eE,name:"email",onChange:ei=>{ek(ei.target.value)},placeholder:"mail@mail.com"})),eT.createElement("label",{className:nj.textareaLabel},eo,eT.createElement("textarea",{value:eC,placeholder:em,name:"verbatim",rows:3,onChange:ei=>{e_(ei.target.value)}})),eT.createElement("div",{className:nj.formFooter},eT.createElement("div",{className:nj.formActionsContainer},eT.createElement("button",{type:"submit",disabled:!eN||eA},eu),eT.createElement("button",{className:nj.closeButton,onClick:eb,type:"button"},ei)),!ew&&eT.createElement("div",{className:nj.ad},eT.createElement("a",{href:"https://highlight.io",target:"_blank"},eT.createElement("div",{className:nj.logoContainer},eT.createElement("img",{src:"https://www.highlight.io/images/logo-on-dark.png",alt:"Highlight",className:nj.logo}),eT.createElement("span",null,"Powered by highlight.io"))))))))))}var nN={componentStack:null,error:null,showingDialog:!1},nL=class extends eT.Component{constructor(){super(...arguments),this.state=nN,this.resetErrorBoundary=()=>{let{onReset:ei}=this.props,{error:eo,componentStack:ea}=this.state;ei&&ei(eo,ea),this.setState(nN)},this.hideDialog=()=>{this.setState(__spreadProps(__spreadValues({},this.state),{showingDialog:!1})),(this.props.onAfterReportDialogCancelHandler||(()=>{window.location.href=window.location.origin}))()},this.onReportDialogSubmitHandler=()=>{this.props.onAfterReportDialogSubmitHandler&&this.props.onAfterReportDialogSubmitHandler()}}componentDidCatch(ei,eo){let{beforeCapture:ea,onError:es,showDialog:eu}=this.props;ea&&ea(ei,eo.componentStack),captureReactErrorBoundaryError(ei,eo),es&&es(ei,eo.componentStack),!1!==eu&&this.setState(__spreadProps(__spreadValues({},this.state),{showingDialog:!0})),this.setState({error:ei,componentStack:eo.componentStack})}componentDidMount(){let{onMount:ei}=this.props;ei&&ei()}componentWillUnmount(){let{error:ei,componentStack:eo}=this.state,{onUnmount:ea}=this.props;ea&&ea(ei,eo)}render(){let{fallback:ei,children:eo,customDialog:ea}=this.props,{error:es,componentStack:eu,showingDialog:ec}=this.state;if(es){let eo;return(eo="function"==typeof ei?ei({error:es,componentStack:eu,resetError:this.resetErrorBoundary}):ei,eT.isValidElement(eo))?eT.createElement(eT.Fragment,null,ec&&eT.createElement(ReportDialog,__spreadProps(__spreadValues({},this.props.dialogOptions),{onCloseHandler:this.hideDialog,onSubmitHandler:this.onReportDialogSubmitHandler})),eo):(ei&&console.warn("fallback did not produce a valid ReactElement"),ec&&ea)?ea:ec&&eT.createElement(ReportDialog,__spreadProps(__spreadValues({},this.props.dialogOptions),{onCloseHandler:this.hideDialog,onSubmitHandler:this.onReportDialogSubmitHandler}))}return"function"==typeof eo?eo():eo}};function captureReactErrorBoundaryError(ei,eo){let ea=getComponentNameFromStack(eo.componentStack);window.H?window.H.consumeError(ei,void 0,ea?{component:ea}:void 0):console.warn("You need to install highlight.run.")}function getComponentNameFromStack(ei){let eo=ei.split("\n");if(eo.length<1)return;let ea=eo[1].trim(),es=ea.split(" ");if(4===es.length)return`<${es[1]}>`}function DSErrorBoundary(ei){let{children:eo}=ei;return(0,eE.jsx)(nL,{fallback:(0,eE.jsx)("div",{className:"bg-gray-30 fixed bottom-0 left-0 right-0 top-0 z-50 flex items-center justify-center text-primary dark:bg-gray-700",children:(0,eE.jsxs)("div",{className:"text-center",children:[(0,eE.jsx)("h3",{children:"Sorry! Something went wrong"}),(0,eE.jsx)("p",{className:"mt-4",children:"We've been notified. Thanks for your patience \uD83D\uDE4F"}),(0,eE.jsx)("div",{className:"mt-8",children:(0,eE.jsx)(tl.Z,{size:"md",color:"primary",onClick:()=>{window.location.replace("/")},children:"Back to home"})})]})}),showDialog:!1,children:eo})}var nD=ea(42474),nI=ea(19523);let nz=10,nB=["/login","/pass-setup"],nF=["/pass-reset","/registration"],nH="".concat(eF.ct,"returnTo"),isPrivatePage=ei=>!nB.includes(ei)&&!nF.includes(ei);function AuthContextProvider(ei){var eo;let{children:ea}=ei,es=(0,eN.useRouter)(),[eu,ec]=(0,eT.useState)(),[ed,ef]=(0,eT.useState)(!0),[eh,ep]=(0,eT.useState)(!1),em=(0,ty.NL)(),{currentUser:eg,shouldCompleteSignUp:eb}=(0,eI.x)(),ey=(0,eT.useMemo)(()=>{var ei;return(null==eu?void 0:null===(ei=eu.user)||void 0===ei?void 0:ei.user_metadata)||{}},[eu]),ew=null===(eo=es.query)||void 0===eo?void 0:eo.returnTo,ex=(0,eT.useCallback)(async(ei,eo,ea)=>{let es=ea||(null==eu?void 0:eu.refresh_token);if(!es)return;let{error:ec}=await tu.O.auth.setSession({access_token:ei,refresh_token:es});if(ec){console.error("Failed to update token",ec);return}null==eo||eo()},[eu]),eP=(0,eT.useCallback)(async()=>{let{data:ei,error:eo}=await tu.O.auth.getSession();if(eo||!ei){console.error("Failed to get session",eo),ec(null);return}},[]),eS=(0,eT.useCallback)(ei=>{let eo=ei.expires_in-nz,ea=1e3*eo,es=setTimeout(async()=>{let{error:ei}=await tu.O.auth.refreshSession();ei&&(console.error("Failed to refresh session - Signing out",ei),tu.O.auth.signOut())},ea);return es},[]),eC=(0,eT.useCallback)(()=>{let ei=localStorage.getItem(nH);ei?es.push(ei).then(()=>{localStorage.removeItem(nH)}):es.push("/".concat(eF.MQ))},[es]);(0,eT.useEffect)(()=>{eP(),tu.O.auth.stopAutoRefresh();let{data:{subscription:ei}}=tu.O.auth.onAuthStateChange((ei,eo)=>{var ea;if("INITIAL_SESSION"===ei){if(ec(eo),ef(!1),!eo){let ei;ew?ei=ew instanceof Array?ew[0]:ew:isPrivatePage(es.pathname)&&"/"!==es.asPath&&es.asPath&&(ei=es.asPath),ei&&localStorage.setItem(nH,ei),es.replace("/login")}}else"SIGNED_IN"===ei?(ec(eo),eC()):"TOKEN_REFRESHED"===ei?(ec(eo),em.cancelQueries()):"SIGNED_OUT"===ei?(ec(null),em.clear(),ep(!1),es.replace("/login")):"USER_UPDATED"===ei&&es.replace("/");(null==eo?void 0:null===(ea=eo.user)||void 0===ea?void 0:ea.email)?ek.H.identify(eo.user.email,{id:eo.user.id}):nD.randomUUID&&ek.H.identify("UNKNOWN_USER",{id:(0,nD.randomUUID)()})});return()=>ei.unsubscribe()},[ew,eb]),(0,eT.useEffect)(()=>{if(!eu)return;let ei=eS(eu);return()=>{ei&&clearTimeout(ei)}},[eu,eS]);let e_=(0,eT.useMemo)(()=>null==eu?void 0:eu.access_token,[null==eu?void 0:eu.access_token]),eA=(0,eT.useCallback)(()=>null==eu?void 0:eu.access_token,[eu]),eO=(0,eT.useMemo)(()=>({app_id:"jvogfp1x",...eg?{email:null==eg?void 0:eg.email,user_id:null==eg?void 0:eg.id}:{}}),[eg]),eM=(0,eT.useCallback)(ei=>nB.includes(ei),[]),eR=(0,eT.useCallback)(ei=>nF.includes(ei),[]);return(0,eT.useEffect)(()=>{eu||em.clear()},[eu,em]),(0,eT.useEffect)(()=>{window.Intercom&&window.Intercom("boot",eO)},[eO]),(0,eT.useEffect)(()=>{if(!window.Intercom)return;let handleRouteChange=()=>{window.Intercom("update",eO)};return es.events.on("routeChangeComplete",handleRouteChange),()=>{es.events.off("routeChangeComplete",handleRouteChange)}},[es,eO]),(0,eT.useEffect)(()=>{e_&&r9.x1.setAuthorizationHeader(e_)},[e_]),(0,eE.jsx)(nI.V.Provider,{value:{jwt:e_,userMetadata:ey,session:eu,updateToken:ex,isInitialLogIn:ed,isSigningOut:eh,setIsSigningOut:ep,getCurrentToken:eA,isPublicPage:eM,isProtectedPage:eR,goToInitialPage:eC},children:ea})}var nU=ea(97053);function useDocument(ei){return(0,nU.i)(tx.Y.DOCUMENT(ei),{enabled:!!ei,queryFn:eo=>eo.get("/document/".concat(ei)).then(ei=>{let eo=ei.data;return{id:eo.id,filename:eo.filename,metadataId:eo.metadata_id,documentType:eo.document_type,fileType:eo.file_type,createdAt:eo.created_at,tags:eo.tags,documentVersion:{id:eo.document_version.id,documentInfoProcessingStatus:eo.document_version.document_info_processing_status,flagsProcessingStatus:eo.document_version.flags_processing_status,redlinesProcessingStatus:eo.document_version.redlines_processing_status,hasTrackChanges:eo.document_version.has_track_changes,hasComments:eo.document_version.has_comments,ckeditorConversion:eo.document_version.ckeditor_conversion,numPages:eo.document_version.num_pages,createdAt:eo.document_version.created_at,updatedAt:eo.document_version.updated_at,versionNumber:eo.document_version.version_number,playbookId:eo.document_version.playbook_id,isFromImport:eo.document_version.is_from_import}}}),error:"Failed to load document"})}function useDocumentVersion(ei,eo){return(0,nU.i)(tx.Y.DOCUMENT_VERSIONS.getByNumber(ei,eo),{enabled:!!ei&&!!eo,queryFn:ea=>ea.get("/document/".concat(ei,"/versions/").concat(eo)).then(ei=>{let eo=ei.data;return{id:eo.id,numPages:eo.num_pages,versionNumber:eo.version_number,contents:eo.contents,ckeditorConversion:eo.ckeditor_conversion,documentInfoProcessingStatus:eo.document_info_processing_status,flagsProcessingStatus:eo.flags_processing_status,redlinesProcessingStatus:eo.redlines_processing_status,hasTrackChanges:eo.has_track_changes,hasComments:eo.has_comments,createdAt:eo.created_at,updatedAt:eo.updated_at,playbookId:eo.playbook_id,html:eo.html,suggestions:eo.suggestions,comments:eo.comments,isFromImport:eo.is_from_import,externalFileId:eo.external_file_id}}),error:"Failed to load document"})}var nV=ea(94185),nX=ea(20423);function DocumentContextProvider(ei){let{children:eo}=ei,ea=(0,ty.NL)(),[es,eu]=(0,eT.useState)(),[ec,ed]=(0,eT.useState)(),ef=(0,eN.useRouter)();(0,eT.useEffect)(()=>{let ei=ef.query.id,eo=ef.query.version;eu(void 0),ed(void 0),ei&&"string"==typeof ei&&eu(ei);let ea=parseInt(eo);isNaN(ea)||ed(ea)},[ef.query.id,ef.query.version,eu]);let eh=(0,nV.v)(es);(0,eT.useEffect)(()=>{es&&!ec&&eh.data&&ef.push("/document/".concat(es,"/").concat(eh.data[0].versionNumber))},[eh,ec,ef,es]);let{data:ep}=useDocument(es),em=useDocumentVersion(es,ec),eg=(0,eT.useMemo)(()=>{var ei,eo;return null===(eo=eh.data)||void 0===eo?void 0:null===(ei=eo[0])||void 0===ei?void 0:ei.versionNumber},[eh.data]),eb=(0,eT.useMemo)(()=>ec===eg,[ec,eg]),ey=(0,eT.useCallback)(()=>{ea.invalidateQueries({queryKey:tx.Y.DOCUMENT(es)}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENT_VERSIONS.getAll(es)}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENTS.getAll}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENT_REVISIONS.getAll(es)}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENTS_STATS}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENT_EDITOR_DATA(es,ec)}),ea.invalidateQueries({queryKey:tx.Y.DOCUMENTS.get(es)}),em.refetch()},[es,ea,ec,em]);return(0,eE.jsx)(nX.R.Provider,{value:{document:ep,documentId:es,versionNumber:ec,documentVersion:em,latestVersionNumber:eg,isLatestVersion:eb,onVersionCreated:ey},children:eo})}var nq=ea(23665);let NProgressBar=()=>(0,eE.jsx)(nq._F,{options:{showSpinner:!1},disableSameURL:!0,shallowRouting:!0});var n$=NProgressBar,nW=ea(24139),nK=ea(56888),nG=ea(27037),nZ=ea(7506),nJ=class extends nZ.l{constructor(ei={}){super(),this.config=ei,this.#e=new Map}#e;build(ei,eo,ea){let es=eo.queryKey,eu=eo.queryHash??(0,nW.Rm)(es,eo),ec=this.get(eu);return ec||(ec=new nK.A({cache:this,queryKey:es,queryHash:eu,options:ei.defaultQueryOptions(eo),state:ea,defaultOptions:ei.getQueryDefaults(es)}),this.add(ec)),ec}add(ei){this.#e.has(ei.queryHash)||(this.#e.set(ei.queryHash,ei),this.notify({type:"added",query:ei}))}remove(ei){let eo=this.#e.get(ei.queryHash);eo&&(ei.destroy(),eo===ei&&this.#e.delete(ei.queryHash),this.notify({type:"removed",query:ei}))}clear(){nG.V.batch(()=>{this.getAll().forEach(ei=>{this.remove(ei)})})}get(ei){return this.#e.get(ei)}getAll(){return[...this.#e.values()]}find(ei){let eo={exact:!0,...ei};return this.getAll().find(ei=>(0,nW._x)(eo,ei))}findAll(ei={}){let eo=this.getAll();return Object.keys(ei).length>0?eo.filter(eo=>(0,nW._x)(ei,eo)):eo}notify(ei){nG.V.batch(()=>{this.listeners.forEach(eo=>{eo(ei)})})}onFocus(){nG.V.batch(()=>{this.getAll().forEach(ei=>{ei.onFocus()})})}onOnline(){nG.V.batch(()=>{this.getAll().forEach(ei=>{ei.onOnline()})})}},nY=ea(59289),nQ=class extends nZ.l{constructor(ei={}){super(),this.config=ei,this.#t=new Map,this.#r=Date.now()}#t;#r;build(ei,eo,ea){let es=new nY.m({mutationCache:this,mutationId:++this.#r,options:ei.defaultMutationOptions(eo),state:ea});return this.add(es),es}add(ei){let eo=scopeFor(ei),ea=this.#t.get(eo)??[];ea.push(ei),this.#t.set(eo,ea),this.notify({type:"added",mutation:ei})}remove(ei){let eo=scopeFor(ei);if(this.#t.has(eo)){let ea=this.#t.get(eo)?.filter(eo=>eo!==ei);ea&&(0===ea.length?this.#t.delete(eo):this.#t.set(eo,ea))}this.notify({type:"removed",mutation:ei})}canRun(ei){let eo=this.#t.get(scopeFor(ei))?.find(ei=>"pending"===ei.state.status);return!eo||eo===ei}runNext(ei){let eo=this.#t.get(scopeFor(ei))?.find(eo=>eo!==ei&&eo.state.isPaused);return eo?.continue()??Promise.resolve()}clear(){nG.V.batch(()=>{this.getAll().forEach(ei=>{this.remove(ei)})})}getAll(){return[...this.#t.values()].flat()}find(ei){let eo={exact:!0,...ei};return this.getAll().find(ei=>(0,nW.X7)(eo,ei))}findAll(ei={}){return this.getAll().filter(eo=>(0,nW.X7)(ei,eo))}notify(ei){nG.V.batch(()=>{this.listeners.forEach(eo=>{eo(ei)})})}resumePausedMutations(){let ei=this.getAll().filter(ei=>ei.state.isPaused);return nG.V.batch(()=>Promise.all(ei.map(ei=>ei.continue().catch(nW.ZT))))}};function scopeFor(ei){return ei.options.scope?.id??String(ei.mutationId)}var n0=ea(66474),n1=ea(14304);function infiniteQueryBehavior(ei){return{onFetch:(eo,ea)=>{let fetchFn=async()=>{let ea;let es=eo.options,eu=eo.fetchOptions?.meta?.fetchMore?.direction,ec=eo.state.data?.pages||[],ed=eo.state.data?.pageParams||[],ef={pages:[],pageParams:[]},eh=!1,addSignalProperty=ei=>{Object.defineProperty(ei,"signal",{enumerable:!0,get:()=>(eo.signal.aborted?eh=!0:eo.signal.addEventListener("abort",()=>{eh=!0}),eo.signal)})},ep=(0,nW.cG)(eo.options,eo.fetchOptions),fetchPage=async(ei,ea,es)=>{if(eh)return Promise.reject();if(null==ea&&ei.pages.length)return Promise.resolve(ei);let eu={queryKey:eo.queryKey,pageParam:ea,direction:es?"backward":"forward",meta:eo.options.meta};addSignalProperty(eu);let ec=await ep(eu),{maxPages:ed}=eo.options,ef=es?nW.Ht:nW.VX;return{pages:ef(ei.pages,ec,ed),pageParams:ef(ei.pageParams,ea,ed)}};if(eu&&ec.length){let ei="backward"===eu,eo=ei?getPreviousPageParam:getNextPageParam,ef={pages:ec,pageParams:ed},eh=eo(es,ef);ea=await fetchPage(ef,eh,ei)}else{ea=await fetchPage(ef,ed[0]??es.initialPageParam);let eo=ei??ec.length;for(let ei=1;ei<eo;ei++){let ei=getNextPageParam(es,ea);ea=await fetchPage(ea,ei)}}return ea};eo.options.persister?eo.fetchFn=()=>eo.options.persister?.(fetchFn,{queryKey:eo.queryKey,meta:eo.options.meta,signal:eo.signal},ea):eo.fetchFn=fetchFn}}}function getNextPageParam(ei,{pages:eo,pageParams:ea}){let es=eo.length-1;return ei.getNextPageParam(eo[es],eo,ea[es],ea)}function getPreviousPageParam(ei,{pages:eo,pageParams:ea}){return ei.getPreviousPageParam?.(eo[0],eo,ea[0],ea)}var n3=class{#n;#i;#o;#a;#s;#l;#u;#c;constructor(ei={}){this.#n=ei.queryCache||new nJ,this.#i=ei.mutationCache||new nQ,this.#o=ei.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#u=n0.j.subscribe(async ei=>{ei&&(await this.resumePausedMutations(),this.#n.onFocus())}),this.#c=n1.N.subscribe(async ei=>{ei&&(await this.resumePausedMutations(),this.#n.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#u?.(),this.#u=void 0,this.#c?.(),this.#c=void 0)}isFetching(ei){return this.#n.findAll({...ei,fetchStatus:"fetching"}).length}isMutating(ei){return this.#i.findAll({...ei,status:"pending"}).length}getQueryData(ei){let eo=this.defaultQueryOptions({queryKey:ei});return this.#n.get(eo.queryHash)?.state.data}ensureQueryData(ei){let eo=this.getQueryData(ei.queryKey);if(void 0===eo)return this.fetchQuery(ei);{let ea=this.defaultQueryOptions(ei),es=this.#n.build(this,ea);return ei.revalidateIfStale&&es.isStaleByTime((0,nW.KC)(ea.staleTime,es))&&this.prefetchQuery(ea),Promise.resolve(eo)}}getQueriesData(ei){return this.#n.findAll(ei).map(({queryKey:ei,state:eo})=>{let ea=eo.data;return[ei,ea]})}setQueryData(ei,eo,ea){let es=this.defaultQueryOptions({queryKey:ei}),eu=this.#n.get(es.queryHash),ec=eu?.state.data,ed=(0,nW.SE)(eo,ec);if(void 0!==ed)return this.#n.build(this,es).setData(ed,{...ea,manual:!0})}setQueriesData(ei,eo,ea){return nG.V.batch(()=>this.#n.findAll(ei).map(({queryKey:ei})=>[ei,this.setQueryData(ei,eo,ea)]))}getQueryState(ei){let eo=this.defaultQueryOptions({queryKey:ei});return this.#n.get(eo.queryHash)?.state}removeQueries(ei){let eo=this.#n;nG.V.batch(()=>{eo.findAll(ei).forEach(ei=>{eo.remove(ei)})})}resetQueries(ei,eo){let ea=this.#n,es={type:"active",...ei};return nG.V.batch(()=>(ea.findAll(ei).forEach(ei=>{ei.reset()}),this.refetchQueries(es,eo)))}cancelQueries(ei={},eo={}){let ea={revert:!0,...eo},es=nG.V.batch(()=>this.#n.findAll(ei).map(ei=>ei.cancel(ea)));return Promise.all(es).then(nW.ZT).catch(nW.ZT)}invalidateQueries(ei={},eo={}){return nG.V.batch(()=>{if(this.#n.findAll(ei).forEach(ei=>{ei.invalidate()}),"none"===ei.refetchType)return Promise.resolve();let ea={...ei,type:ei.refetchType??ei.type??"active"};return this.refetchQueries(ea,eo)})}refetchQueries(ei={},eo){let ea={...eo,cancelRefetch:eo?.cancelRefetch??!0},es=nG.V.batch(()=>this.#n.findAll(ei).filter(ei=>!ei.isDisabled()).map(ei=>{let eo=ei.fetch(void 0,ea);return ea.throwOnError||(eo=eo.catch(nW.ZT)),"paused"===ei.state.fetchStatus?Promise.resolve():eo}));return Promise.all(es).then(nW.ZT)}fetchQuery(ei){let eo=this.defaultQueryOptions(ei);void 0===eo.retry&&(eo.retry=!1);let ea=this.#n.build(this,eo);return ea.isStaleByTime((0,nW.KC)(eo.staleTime,ea))?ea.fetch(eo):Promise.resolve(ea.state.data)}prefetchQuery(ei){return this.fetchQuery(ei).then(nW.ZT).catch(nW.ZT)}fetchInfiniteQuery(ei){return ei.behavior=infiniteQueryBehavior(ei.pages),this.fetchQuery(ei)}prefetchInfiniteQuery(ei){return this.fetchInfiniteQuery(ei).then(nW.ZT).catch(nW.ZT)}resumePausedMutations(){return n1.N.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#n}getMutationCache(){return this.#i}getDefaultOptions(){return this.#o}setDefaultOptions(ei){this.#o=ei}setQueryDefaults(ei,eo){this.#a.set((0,nW.Ym)(ei),{queryKey:ei,defaultOptions:eo})}getQueryDefaults(ei){let eo=[...this.#a.values()],ea={};return eo.forEach(eo=>{(0,nW.to)(ei,eo.queryKey)&&(ea={...ea,...eo.defaultOptions})}),ea}setMutationDefaults(ei,eo){this.#s.set((0,nW.Ym)(ei),{mutationKey:ei,defaultOptions:eo})}getMutationDefaults(ei){let eo=[...this.#s.values()],ea={};return eo.forEach(eo=>{(0,nW.to)(ei,eo.mutationKey)&&(ea={...ea,...eo.defaultOptions})}),ea}defaultQueryOptions(ei){if(ei._defaulted)return ei;let eo={...this.#o.queries,...this.getQueryDefaults(ei.queryKey),...ei,_defaulted:!0};return eo.queryHash||(eo.queryHash=(0,nW.Rm)(eo.queryKey,eo)),void 0===eo.refetchOnReconnect&&(eo.refetchOnReconnect="always"!==eo.networkMode),void 0===eo.throwOnError&&(eo.throwOnError=!!eo.suspense),!eo.networkMode&&eo.persister&&(eo.networkMode="offlineFirst"),!0!==eo.enabled&&eo.queryFn===nW.CN&&(eo.enabled=!1),eo}defaultMutationOptions(ei){return ei?._defaulted?ei:{...this.#o.mutations,...ei?.mutationKey&&this.getMutationDefaults(ei.mutationKey),...ei,_defaulted:!0}}clear(){this.#n.clear(),this.#i.clear()}};function defaultTransformerFn(ei){return ei}function hydrate(ei,eo,ea){if("object"!=typeof eo||null===eo)return;let es=ei.getMutationCache(),eu=ei.getQueryCache(),ec=ea?.defaultOptions?.deserializeData??ei.getDefaultOptions().hydrate?.deserializeData??defaultTransformerFn,ed=eo.mutations||[],ef=eo.queries||[];ed.forEach(({state:eo,...eu})=>{es.build(ei,{...ei.getDefaultOptions().hydrate?.mutations,...ea?.defaultOptions?.mutations,...eu},eo)}),ef.forEach(({queryKey:eo,state:es,queryHash:ed,meta:ef,promise:eh})=>{let ep=eu.get(ed),em=void 0===es.data?es.data:ec(es.data);if(ep){if(ep.state.dataUpdatedAt<es.dataUpdatedAt){let{fetchStatus:ei,...eo}=es;ep.setState({...eo,data:em})}}else ep=eu.build(ei,{...ei.getDefaultOptions().hydrate?.queries,...ea?.defaultOptions?.queries,queryKey:eo,queryHash:ed,meta:ef},{...es,data:em,fetchStatus:"idle"});if(eh){let ei=Promise.resolve(eh).then(ec);ep.fetch(void 0,{initialPromise:ei})}})}var HydrationBoundary=({children:ei,options:eo={},state:ea,queryClient:es})=>{let eu=(0,ty.NL)(es),[ec,ed]=eT.useState(),ef=eT.useRef(eo);return ef.current=eo,eT.useMemo(()=>{if(ea){if("object"!=typeof ea)return;let ei=eu.getQueryCache(),eo=ea.queries||[],es=[],eh=[];for(let ea of eo){let eo=ei.get(ea.queryHash);if(eo){let ei=ea.state.dataUpdatedAt>eo.state.dataUpdatedAt,es=ec?.find(ei=>ei.queryHash===ea.queryHash);ei&&(!es||ea.state.dataUpdatedAt>es.state.dataUpdatedAt)&&eh.push(ea)}else es.push(ea)}es.length>0&&hydrate(eu,{queries:es},ef.current),eh.length>0&&ed(ei=>ei?[...ei,...eh]:eh)}},[eu,ec,ea]),eT.useEffect(()=>{ec&&(hydrate(eu,{queries:ec},ef.current),ed(void 0))},[eu,ec]),ei};let n8=12e4,n6={401:"Unauthorized - Expired session or invalid token",404:"Not found - User in token does not exist"},ReactQueryProvider=ei=>{let{dehydratedState:eo,children:ea}=ei,{toast:es}=(0,e$.pm)(),eu=(0,eN.useRouter)(),ec=useLogOut(),[ed]=(0,eT.useState)(()=>new n3({queryCache:new nJ({onError:(ei,eo)=>onErrorHandler(ei,eo.options.meta)}),mutationCache:new nQ({onError:(ei,eo,ea,es)=>onErrorHandler(ei,es.options.meta)}),defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,retry:!1,staleTime:n8}}})),onErrorHandler=(ei,eo)=>{let{status:ea,data:ed}=ei.response||{},ef=ed&&!!ed.code;if(ef)return;if(ea&&Object.keys(n6).includes(ea.toString())){console.error(n6[ea.toString()]),ec(()=>eu.push("/login"));return}console.error("Error found",ei);let eh=null==eo?void 0:eo.error;if("string"==typeof eh){es.error(eh);return}es.error("Error",{description:ni.bW})};return(0,eE.jsx)(ty.aH,{client:ed,children:(0,eE.jsx)(HydrationBoundary,{state:eo,children:ea})})};var n5=ReactQueryProvider,n4=ea(48136);let n7=new WeakMap;function useHydrateAtoms(ei,eo){let ea=(0,eV.oR)(eo),es=getHydratedSet(ea);for(let[eu,ec]of ei)(!es.has(eu)||(null==eo?void 0:eo.dangerouslyForceHydrate))&&(es.add(eu),ea.set(eu,ec))}let getHydratedSet=ei=>{let eo=n7.get(ei);return eo||(eo=new WeakSet,n7.set(ei,eo)),eo},AtomGlobalSsrHydrator=ei=>{let{dehydratedData:eo,children:ea}=ei,{global:es}=eo||{},eu=es?[[eU.R7,es.isSidebarCollapsed||!1],[eU.b0,es.isSidebarHidden||!1]]:[];return useHydrateAtoms(eu,{store:n4.c}),ea};var n9=AtomGlobalSsrHydrator,ir=ea(9503),ii=ea.n(ir),io=ea(55173),ia=ea.n(io);ea(57592);let il="lgxz1zem",iu="production";function App(ei){let{Component:eo,pageProps:ea}=ei,es=(0,eN.useRouter)();return(0,eT.useEffect)(()=>{document.documentElement.classList.add(ii().variable),document.documentElement.classList.add(ia().variable)},[]),(0,eE.jsxs)(eE.Fragment,{children:[(0,eE.jsxs)(ej(),{children:[(0,eE.jsx)("title",{children:"Docsum"}),(0,eE.jsx)("meta",{name:"description",content:"AI Contract Review & Negotiation"}),(0,eE.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,eE.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,eE.jsx)(NextUIProvider,{navigate:es.push,children:(0,eE.jsx)(DSErrorBoundary,{children:(0,eE.jsx)(n5,{dehydratedState:ea.dehydratedState,children:(0,eE.jsx)(AuthContextProvider,{children:(0,eE.jsx)(DocumentContextProvider,{children:(0,eE.jsx)(n4.Z,{children:(0,eE.jsx)(n9,{dehydratedData:ea.dehydratedAtomsData,children:(0,eE.jsxs)(RootLayout,{children:[eo.PageLayout?(0,eE.jsx)(eo.PageLayout,{children:(0,eE.jsx)(eo,{...ea})}):(0,eE.jsx)(eo,{...ea}),(0,eE.jsx)(n$,{})]})})})})})})})}),il?(0,eE.jsx)(i,{projectId:il,environment:iu,tracingOrigins:[ni.T5],enableStrictPrivacy:!0,networkRecording:{enabled:!0,recordHeadersAndBody:!0,urlBlocklist:[]}}):null]})}},57359:function(ei,eo,ea){"use strict";let es;ea.d(eo,{O:function(){return tn}});let resolveFetch=ei=>{let eo;return eo=ei||("undefined"==typeof fetch?(...ei)=>Promise.resolve().then(ea.t.bind(ea,89743,23)).then(({default:eo})=>eo(...ei)):fetch),(...ei)=>eo(...ei)};let FunctionsError=class FunctionsError extends Error{constructor(ei,eo="FunctionsError",ea){super(ei),this.name=eo,this.context=ea}};let FunctionsFetchError=class FunctionsFetchError extends FunctionsError{constructor(ei){super("Failed to send a request to the Edge Function","FunctionsFetchError",ei)}};let FunctionsRelayError=class FunctionsRelayError extends FunctionsError{constructor(ei){super("Relay Error invoking the Edge Function","FunctionsRelayError",ei)}};let FunctionsHttpError=class FunctionsHttpError extends FunctionsError{constructor(ei){super("Edge Function returned a non-2xx status code","FunctionsHttpError",ei)}};var eu,ec,ed,ef,eh,ep,em,eg,eb,ey,__awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let FunctionsClient=class FunctionsClient{constructor(ei,{headers:eo={},customFetch:ea}={}){this.url=ei,this.headers=eo,this.fetch=resolveFetch(ea)}setAuth(ei){this.headers.Authorization=`Bearer ${ei}`}invoke(ei,eo={}){var ea;return __awaiter(this,void 0,void 0,function*(){try{let es,eu;let{headers:ec,method:ed,body:ef}=eo,eh={};ef&&(ec&&!Object.prototype.hasOwnProperty.call(ec,"Content-Type")||!ec)&&("undefined"!=typeof Blob&&ef instanceof Blob||ef instanceof ArrayBuffer?(eh["Content-Type"]="application/octet-stream",es=ef):"string"==typeof ef?(eh["Content-Type"]="text/plain",es=ef):"undefined"!=typeof FormData&&ef instanceof FormData?es=ef:(eh["Content-Type"]="application/json",es=JSON.stringify(ef)));let ep=yield this.fetch(`${this.url}/${ei}`,{method:ed||"POST",headers:Object.assign(Object.assign(Object.assign({},eh),this.headers),ec),body:es}).catch(ei=>{throw new FunctionsFetchError(ei)}),em=ep.headers.get("x-relay-error");if(em&&"true"===em)throw new FunctionsRelayError(ep);if(!ep.ok)throw new FunctionsHttpError(ep);let eg=(null!==(ea=ep.headers.get("Content-Type"))&&void 0!==ea?ea:"text/plain").split(";")[0].trim();return{data:eu="application/json"===eg?yield ep.json():"application/octet-stream"===eg?yield ep.blob():"multipart/form-data"===eg?yield ep.formData():yield ep.text(),error:null}}catch(ei){return{data:null,error:ei}}})}};var ew=ea(89743),ex=ea.n(ew);let PostgrestError=class PostgrestError extends Error{constructor(ei){super(ei.message),this.name="PostgrestError",this.details=ei.details,this.hint=ei.hint,this.code=ei.code}};let PostgrestBuilder=class PostgrestBuilder{constructor(ei){this.shouldThrowOnError=!1,this.method=ei.method,this.url=ei.url,this.headers=ei.headers,this.schema=ei.schema,this.body=ei.body,this.shouldThrowOnError=ei.shouldThrowOnError,this.signal=ei.signal,this.isMaybeSingle=ei.isMaybeSingle,ei.fetch?this.fetch=ei.fetch:"undefined"==typeof fetch?this.fetch=ex():this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(ei,eo){void 0===this.schema||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),"GET"!==this.method&&"HEAD"!==this.method&&(this.headers["Content-Type"]="application/json");let ea=this.fetch,es=ea(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async ei=>{var eo,ea,es;let eu=null,ec=null,ed=null,ef=ei.status,eh=ei.statusText;if(ei.ok){if("HEAD"!==this.method){let eo=await ei.text();""===eo||(ec="text/csv"===this.headers.Accept?eo:this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?eo:JSON.parse(eo))}let es=null===(eo=this.headers.Prefer)||void 0===eo?void 0:eo.match(/count=(exact|planned|estimated)/),ep=null===(ea=ei.headers.get("content-range"))||void 0===ea?void 0:ea.split("/");es&&ep&&ep.length>1&&(ed=parseInt(ep[1])),this.isMaybeSingle&&"GET"===this.method&&Array.isArray(ec)&&(ec.length>1?(eu={code:"PGRST116",details:`Results contain ${ec.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},ec=null,ed=null,ef=406,eh="Not Acceptable"):ec=1===ec.length?ec[0]:null)}else{let eo=await ei.text();try{eu=JSON.parse(eo),Array.isArray(eu)&&404===ei.status&&(ec=[],eu=null,ef=200,eh="OK")}catch(ea){404===ei.status&&""===eo?(ef=204,eh="No Content"):eu={message:eo}}if(eu&&this.isMaybeSingle&&(null===(es=null==eu?void 0:eu.details)||void 0===es?void 0:es.includes("0 rows"))&&(eu=null,ef=200,eh="OK"),eu&&this.shouldThrowOnError)throw new PostgrestError(eu)}let ep={error:eu,data:ec,count:ed,status:ef,statusText:eh};return ep});return this.shouldThrowOnError||(es=es.catch(ei=>{var eo,ea,es;return{error:{message:`${null!==(eo=null==ei?void 0:ei.name)&&void 0!==eo?eo:"FetchError"}: ${null==ei?void 0:ei.message}`,details:`${null!==(ea=null==ei?void 0:ei.stack)&&void 0!==ea?ea:""}`,hint:"",code:`${null!==(es=null==ei?void 0:ei.code)&&void 0!==es?es:""}`},data:null,count:null,status:0,statusText:""}})),es.then(ei,eo)}};let PostgrestTransformBuilder=class PostgrestTransformBuilder extends PostgrestBuilder{select(ei){let eo=!1,ea=(null!=ei?ei:"*").split("").map(ei=>/\s/.test(ei)&&!eo?"":('"'===ei&&(eo=!eo),ei)).join("");return this.url.searchParams.set("select",ea),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(ei,{ascending:eo=!0,nullsFirst:ea,foreignTable:es,referencedTable:eu=es}={}){let ec=eu?`${eu}.order`:"order",ed=this.url.searchParams.get(ec);return this.url.searchParams.set(ec,`${ed?`${ed},`:""}${ei}.${eo?"asc":"desc"}${void 0===ea?"":ea?".nullsfirst":".nullslast"}`),this}limit(ei,{foreignTable:eo,referencedTable:ea=eo}={}){let es=void 0===ea?"limit":`${ea}.limit`;return this.url.searchParams.set(es,`${ei}`),this}range(ei,eo,{foreignTable:ea,referencedTable:es=ea}={}){let eu=void 0===es?"offset":`${es}.offset`,ec=void 0===es?"limit":`${es}.limit`;return this.url.searchParams.set(eu,`${ei}`),this.url.searchParams.set(ec,`${eo-ei+1}`),this}abortSignal(ei){return this.signal=ei,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return"GET"===this.method?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:ei=!1,verbose:eo=!1,settings:ea=!1,buffers:es=!1,wal:eu=!1,format:ec="text"}={}){var ed;let ef=[ei?"analyze":null,eo?"verbose":null,ea?"settings":null,es?"buffers":null,eu?"wal":null].filter(Boolean).join("|"),eh=null!==(ed=this.headers.Accept)&&void 0!==ed?ed:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${ec}; for="${eh}"; options=${ef};`,this}rollback(){var ei;return(null!==(ei=this.headers.Prefer)&&void 0!==ei?ei:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}};let PostgrestFilterBuilder=class PostgrestFilterBuilder extends PostgrestTransformBuilder{eq(ei,eo){return this.url.searchParams.append(ei,`eq.${eo}`),this}neq(ei,eo){return this.url.searchParams.append(ei,`neq.${eo}`),this}gt(ei,eo){return this.url.searchParams.append(ei,`gt.${eo}`),this}gte(ei,eo){return this.url.searchParams.append(ei,`gte.${eo}`),this}lt(ei,eo){return this.url.searchParams.append(ei,`lt.${eo}`),this}lte(ei,eo){return this.url.searchParams.append(ei,`lte.${eo}`),this}like(ei,eo){return this.url.searchParams.append(ei,`like.${eo}`),this}likeAllOf(ei,eo){return this.url.searchParams.append(ei,`like(all).{${eo.join(",")}}`),this}likeAnyOf(ei,eo){return this.url.searchParams.append(ei,`like(any).{${eo.join(",")}}`),this}ilike(ei,eo){return this.url.searchParams.append(ei,`ilike.${eo}`),this}ilikeAllOf(ei,eo){return this.url.searchParams.append(ei,`ilike(all).{${eo.join(",")}}`),this}ilikeAnyOf(ei,eo){return this.url.searchParams.append(ei,`ilike(any).{${eo.join(",")}}`),this}is(ei,eo){return this.url.searchParams.append(ei,`is.${eo}`),this}in(ei,eo){let ea=eo.map(ei=>"string"==typeof ei&&RegExp("[,()]").test(ei)?`"${ei}"`:`${ei}`).join(",");return this.url.searchParams.append(ei,`in.(${ea})`),this}contains(ei,eo){return"string"==typeof eo?this.url.searchParams.append(ei,`cs.${eo}`):Array.isArray(eo)?this.url.searchParams.append(ei,`cs.{${eo.join(",")}}`):this.url.searchParams.append(ei,`cs.${JSON.stringify(eo)}`),this}containedBy(ei,eo){return"string"==typeof eo?this.url.searchParams.append(ei,`cd.${eo}`):Array.isArray(eo)?this.url.searchParams.append(ei,`cd.{${eo.join(",")}}`):this.url.searchParams.append(ei,`cd.${JSON.stringify(eo)}`),this}rangeGt(ei,eo){return this.url.searchParams.append(ei,`sr.${eo}`),this}rangeGte(ei,eo){return this.url.searchParams.append(ei,`nxl.${eo}`),this}rangeLt(ei,eo){return this.url.searchParams.append(ei,`sl.${eo}`),this}rangeLte(ei,eo){return this.url.searchParams.append(ei,`nxr.${eo}`),this}rangeAdjacent(ei,eo){return this.url.searchParams.append(ei,`adj.${eo}`),this}overlaps(ei,eo){return"string"==typeof eo?this.url.searchParams.append(ei,`ov.${eo}`):this.url.searchParams.append(ei,`ov.{${eo.join(",")}}`),this}textSearch(ei,eo,{config:ea,type:es}={}){let eu="";"plain"===es?eu="pl":"phrase"===es?eu="ph":"websearch"===es&&(eu="w");let ec=void 0===ea?"":`(${ea})`;return this.url.searchParams.append(ei,`${eu}fts${ec}.${eo}`),this}match(ei){return Object.entries(ei).forEach(([ei,eo])=>{this.url.searchParams.append(ei,`eq.${eo}`)}),this}not(ei,eo,ea){return this.url.searchParams.append(ei,`not.${eo}.${ea}`),this}or(ei,{foreignTable:eo,referencedTable:ea=eo}={}){let es=ea?`${ea}.or`:"or";return this.url.searchParams.append(es,`(${ei})`),this}filter(ei,eo,ea){return this.url.searchParams.append(ei,`${eo}.${ea}`),this}};let PostgrestQueryBuilder=class PostgrestQueryBuilder{constructor(ei,{headers:eo={},schema:ea,fetch:es}){this.url=ei,this.headers=eo,this.schema=ea,this.fetch=es}select(ei,{head:eo=!1,count:ea}={}){let es=eo?"HEAD":"GET",eu=!1,ec=(null!=ei?ei:"*").split("").map(ei=>/\s/.test(ei)&&!eu?"":('"'===ei&&(eu=!eu),ei)).join("");return this.url.searchParams.set("select",ec),ea&&(this.headers.Prefer=`count=${ea}`),new PostgrestFilterBuilder({method:es,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(ei,{count:eo,defaultToNull:ea=!0}={}){let es="POST",eu=[];if(this.headers.Prefer&&eu.push(this.headers.Prefer),eo&&eu.push(`count=${eo}`),ea||eu.push("missing=default"),this.headers.Prefer=eu.join(","),Array.isArray(ei)){let eo=ei.reduce((ei,eo)=>ei.concat(Object.keys(eo)),[]);if(eo.length>0){let ei=[...new Set(eo)].map(ei=>`"${ei}"`);this.url.searchParams.set("columns",ei.join(","))}}return new PostgrestFilterBuilder({method:es,url:this.url,headers:this.headers,schema:this.schema,body:ei,fetch:this.fetch,allowEmpty:!1})}upsert(ei,{onConflict:eo,ignoreDuplicates:ea=!1,count:es,defaultToNull:eu=!0}={}){let ec="POST",ed=[`resolution=${ea?"ignore":"merge"}-duplicates`];if(void 0!==eo&&this.url.searchParams.set("on_conflict",eo),this.headers.Prefer&&ed.push(this.headers.Prefer),es&&ed.push(`count=${es}`),eu||ed.push("missing=default"),this.headers.Prefer=ed.join(","),Array.isArray(ei)){let eo=ei.reduce((ei,eo)=>ei.concat(Object.keys(eo)),[]);if(eo.length>0){let ei=[...new Set(eo)].map(ei=>`"${ei}"`);this.url.searchParams.set("columns",ei.join(","))}}return new PostgrestFilterBuilder({method:ec,url:this.url,headers:this.headers,schema:this.schema,body:ei,fetch:this.fetch,allowEmpty:!1})}update(ei,{count:eo}={}){let ea="PATCH",es=[];return this.headers.Prefer&&es.push(this.headers.Prefer),eo&&es.push(`count=${eo}`),this.headers.Prefer=es.join(","),new PostgrestFilterBuilder({method:ea,url:this.url,headers:this.headers,schema:this.schema,body:ei,fetch:this.fetch,allowEmpty:!1})}delete({count:ei}={}){let eo="DELETE",ea=[];return ei&&ea.push(`count=${ei}`),this.headers.Prefer&&ea.unshift(this.headers.Prefer),this.headers.Prefer=ea.join(","),new PostgrestFilterBuilder({method:eo,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}};let eP="1.9.2",eS={"X-Client-Info":`postgrest-js/${eP}`};let PostgrestClient=class PostgrestClient{constructor(ei,{headers:eo={},schema:ea,fetch:es}={}){this.url=ei,this.headers=Object.assign(Object.assign({},eS),eo),this.schemaName=ea,this.fetch=es}from(ei){let eo=new URL(`${this.url}/${ei}`);return new PostgrestQueryBuilder(eo,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(ei){return new PostgrestClient(this.url,{headers:this.headers,schema:ei,fetch:this.fetch})}rpc(ei,eo={},{head:ea=!1,count:es}={}){let eu,ec;let ed=new URL(`${this.url}/rpc/${ei}`);ea?(eu="HEAD",Object.entries(eo).forEach(([ei,eo])=>{ed.searchParams.append(ei,`${eo}`)})):(eu="POST",ec=eo);let ef=Object.assign({},this.headers);return es&&(ef.Prefer=`count=${es}`),new PostgrestFilterBuilder({method:eu,url:ed,headers:ef,schema:this.schemaName,body:ec,fetch:this.fetch,allowEmpty:!1})}};let eE="2.9.3",ek={"X-Client-Info":`realtime-js/${eE}`},eT="1.0.0",eC=1e4,e_=1e3;!function(ei){ei[ei.connecting=0]="connecting",ei[ei.open=1]="open",ei[ei.closing=2]="closing",ei[ei.closed=3]="closed"}(eu||(eu={})),function(ei){ei.closed="closed",ei.errored="errored",ei.joined="joined",ei.joining="joining",ei.leaving="leaving"}(ec||(ec={})),function(ei){ei.close="phx_close",ei.error="phx_error",ei.join="phx_join",ei.reply="phx_reply",ei.leave="phx_leave",ei.access_token="access_token"}(ed||(ed={})),function(ei){ei.websocket="websocket"}(ef||(ef={})),function(ei){ei.Connecting="connecting",ei.Open="open",ei.Closing="closing",ei.Closed="closed"}(eh||(eh={}));let Timer=class Timer{constructor(ei,eo){this.callback=ei,this.timerCalc=eo,this.timer=void 0,this.tries=0,this.callback=ei,this.timerCalc=eo}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}};let Serializer=class Serializer{constructor(){this.HEADER_LENGTH=1}decode(ei,eo){return ei.constructor===ArrayBuffer?eo(this._binaryDecode(ei)):"string"==typeof ei?eo(JSON.parse(ei)):eo({})}_binaryDecode(ei){let eo=new DataView(ei),ea=new TextDecoder;return this._decodeBroadcast(ei,eo,ea)}_decodeBroadcast(ei,eo,ea){let es=eo.getUint8(1),eu=eo.getUint8(2),ec=this.HEADER_LENGTH+2,ed=ea.decode(ei.slice(ec,ec+es));ec+=es;let ef=ea.decode(ei.slice(ec,ec+eu));ec+=eu;let eh=JSON.parse(ea.decode(ei.slice(ec,ei.byteLength)));return{ref:null,topic:ed,event:ef,payload:eh}}};let Push=class Push{constructor(ei,eo,ea={},es=eC){this.channel=ei,this.event=eo,this.payload=ea,this.timeout=es,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(ei){this.timeout=ei,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(ei){this.payload=Object.assign(Object.assign({},this.payload),ei)}receive(ei,eo){var ea;return this._hasReceived(ei)&&eo(null===(ea=this.receivedResp)||void 0===ea?void 0:ea.response),this.recHooks.push({status:ei,callback:eo}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);let callback=ei=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=ei,this._matchReceive(ei)};this.channel._on(this.refEvent,{},callback),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(ei,eo){this.refEvent&&this.channel._trigger(this.refEvent,{status:ei,response:eo})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:ei,response:eo}){this.recHooks.filter(eo=>eo.status===ei).forEach(ei=>ei.callback(eo))}_hasReceived(ei){return this.receivedResp&&this.receivedResp.status===ei}};!function(ei){ei.SYNC="sync",ei.JOIN="join",ei.LEAVE="leave"}(ep||(ep={}));let RealtimePresence=class RealtimePresence{constructor(ei,eo){this.channel=ei,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};let ea=(null==eo?void 0:eo.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(ea.state,{},ei=>{let{onJoin:eo,onLeave:ea,onSync:es}=this.caller;this.joinRef=this.channel._joinRef(),this.state=RealtimePresence.syncState(this.state,ei,eo,ea),this.pendingDiffs.forEach(ei=>{this.state=RealtimePresence.syncDiff(this.state,ei,eo,ea)}),this.pendingDiffs=[],es()}),this.channel._on(ea.diff,{},ei=>{let{onJoin:eo,onLeave:ea,onSync:es}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(ei):(this.state=RealtimePresence.syncDiff(this.state,ei,eo,ea),es())}),this.onJoin((ei,eo,ea)=>{this.channel._trigger("presence",{event:"join",key:ei,currentPresences:eo,newPresences:ea})}),this.onLeave((ei,eo,ea)=>{this.channel._trigger("presence",{event:"leave",key:ei,currentPresences:eo,leftPresences:ea})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(ei,eo,ea,es){let eu=this.cloneDeep(ei),ec=this.transformState(eo),ed={},ef={};return this.map(eu,(ei,eo)=>{ec[ei]||(ef[ei]=eo)}),this.map(ec,(ei,eo)=>{let ea=eu[ei];if(ea){let es=eo.map(ei=>ei.presence_ref),eu=ea.map(ei=>ei.presence_ref),ec=eo.filter(ei=>0>eu.indexOf(ei.presence_ref)),eh=ea.filter(ei=>0>es.indexOf(ei.presence_ref));ec.length>0&&(ed[ei]=ec),eh.length>0&&(ef[ei]=eh)}else ed[ei]=eo}),this.syncDiff(eu,{joins:ed,leaves:ef},ea,es)}static syncDiff(ei,eo,ea,es){let{joins:eu,leaves:ec}={joins:this.transformState(eo.joins),leaves:this.transformState(eo.leaves)};return ea||(ea=()=>{}),es||(es=()=>{}),this.map(eu,(eo,es)=>{var eu;let ec=null!==(eu=ei[eo])&&void 0!==eu?eu:[];if(ei[eo]=this.cloneDeep(es),ec.length>0){let ea=ei[eo].map(ei=>ei.presence_ref),es=ec.filter(ei=>0>ea.indexOf(ei.presence_ref));ei[eo].unshift(...es)}ea(eo,ec,es)}),this.map(ec,(eo,ea)=>{let eu=ei[eo];if(!eu)return;let ec=ea.map(ei=>ei.presence_ref);eu=eu.filter(ei=>0>ec.indexOf(ei.presence_ref)),ei[eo]=eu,es(eo,eu,ea),0===eu.length&&delete ei[eo]}),ei}static map(ei,eo){return Object.getOwnPropertyNames(ei).map(ea=>eo(ea,ei[ea]))}static transformState(ei){return Object.getOwnPropertyNames(ei=this.cloneDeep(ei)).reduce((eo,ea)=>{let es=ei[ea];return"metas"in es?eo[ea]=es.metas.map(ei=>(ei.presence_ref=ei.phx_ref,delete ei.phx_ref,delete ei.phx_ref_prev,ei)):eo[ea]=es,eo},{})}static cloneDeep(ei){return JSON.parse(JSON.stringify(ei))}onJoin(ei){this.caller.onJoin=ei}onLeave(ei){this.caller.onLeave=ei}onSync(ei){this.caller.onSync=ei}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}};!function(ei){ei.abstime="abstime",ei.bool="bool",ei.date="date",ei.daterange="daterange",ei.float4="float4",ei.float8="float8",ei.int2="int2",ei.int4="int4",ei.int4range="int4range",ei.int8="int8",ei.int8range="int8range",ei.json="json",ei.jsonb="jsonb",ei.money="money",ei.numeric="numeric",ei.oid="oid",ei.reltime="reltime",ei.text="text",ei.time="time",ei.timestamp="timestamp",ei.timestamptz="timestamptz",ei.timetz="timetz",ei.tsrange="tsrange",ei.tstzrange="tstzrange"}(em||(em={}));let convertChangeData=(ei,eo,ea={})=>{var es;let eu=null!==(es=ea.skipTypes)&&void 0!==es?es:[];return Object.keys(eo).reduce((ea,es)=>(ea[es]=convertColumn(es,ei,eo,eu),ea),{})},convertColumn=(ei,eo,ea,es)=>{let eu=eo.find(eo=>eo.name===ei),ec=null==eu?void 0:eu.type,ed=ea[ei];return ec&&!es.includes(ec)?convertCell(ec,ed):noop(ed)},convertCell=(ei,eo)=>{if("_"===ei.charAt(0)){let ea=ei.slice(1,ei.length);return toArray(eo,ea)}switch(ei){case em.bool:return toBoolean(eo);case em.float4:case em.float8:case em.int2:case em.int4:case em.int8:case em.numeric:case em.oid:return toNumber(eo);case em.json:case em.jsonb:return toJson(eo);case em.timestamp:return toTimestampString(eo);case em.abstime:case em.date:case em.daterange:case em.int4range:case em.int8range:case em.money:case em.reltime:case em.text:case em.time:case em.timestamptz:case em.timetz:case em.tsrange:case em.tstzrange:default:return noop(eo)}},noop=ei=>ei,toBoolean=ei=>{switch(ei){case"t":return!0;case"f":return!1;default:return ei}},toNumber=ei=>{if("string"==typeof ei){let eo=parseFloat(ei);if(!Number.isNaN(eo))return eo}return ei},toJson=ei=>{if("string"==typeof ei)try{return JSON.parse(ei)}catch(ei){console.log(`JSON parse error: ${ei}`)}return ei},toArray=(ei,eo)=>{if("string"!=typeof ei)return ei;let ea=ei.length-1,es=ei[ea],eu=ei[0];if("{"===eu&&"}"===es){let es;let eu=ei.slice(1,ea);try{es=JSON.parse("["+eu+"]")}catch(ei){es=eu?eu.split(","):[]}return es.map(ei=>convertCell(eo,ei))}return ei},toTimestampString=ei=>"string"==typeof ei?ei.replace(" ","T"):ei;!function(ei){ei.ALL="*",ei.INSERT="INSERT",ei.UPDATE="UPDATE",ei.DELETE="DELETE"}(eg||(eg={})),function(ei){ei.BROADCAST="broadcast",ei.PRESENCE="presence",ei.POSTGRES_CHANGES="postgres_changes"}(eb||(eb={})),function(ei){ei.SUBSCRIBED="SUBSCRIBED",ei.TIMED_OUT="TIMED_OUT",ei.CLOSED="CLOSED",ei.CHANNEL_ERROR="CHANNEL_ERROR"}(ey||(ey={}));let RealtimeChannel=class RealtimeChannel{constructor(ei,eo={config:{}},ea){this.topic=ei,this.params=eo,this.socket=ea,this.bindings={},this.state=ec.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=ei.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},eo.config),this.timeout=this.socket.timeout,this.joinPush=new Push(this,ed.join,this.params,this.timeout),this.rejoinTimer=new Timer(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=ec.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(ei=>ei.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=ec.closed,this.socket._remove(this)}),this._onError(ei=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,ei),this.state=ec.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=ec.errored,this.rejoinTimer.scheduleTimeout())}),this._on(ed.reply,{},(ei,eo)=>{this._trigger(this._replyEventName(eo),ei)}),this.presence=new RealtimePresence(this),this.broadcastEndpointURL=this._broadcastEndpointURL()}subscribe(ei,eo=this.timeout){var ea,es;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{let{config:{broadcast:eu,presence:ec}}=this.params;this._onError(eo=>ei&&ei("CHANNEL_ERROR",eo)),this._onClose(()=>ei&&ei("CLOSED"));let ed={},ef={broadcast:eu,presence:ec,postgres_changes:null!==(es=null===(ea=this.bindings.postgres_changes)||void 0===ea?void 0:ea.map(ei=>ei.filter))&&void 0!==es?es:[]};this.socket.accessToken&&(ed.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:ef},ed)),this.joinedOnce=!0,this._rejoin(eo),this.joinPush.receive("ok",({postgres_changes:eo})=>{var ea;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),void 0===eo){ei&&ei("SUBSCRIBED");return}{let es=this.bindings.postgres_changes,eu=null!==(ea=null==es?void 0:es.length)&&void 0!==ea?ea:0,ec=[];for(let ea=0;ea<eu;ea++){let eu=es[ea],{filter:{event:ed,schema:ef,table:eh,filter:ep}}=eu,em=eo&&eo[ea];if(em&&em.event===ed&&em.schema===ef&&em.table===eh&&em.filter===ep)ec.push(Object.assign(Object.assign({},eu),{id:em.id}));else{this.unsubscribe(),ei&&ei("CHANNEL_ERROR",Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=ec,ei&&ei("SUBSCRIBED");return}}).receive("error",eo=>{ei&&ei("CHANNEL_ERROR",Error(JSON.stringify(Object.values(eo).join(", ")||"error")))}).receive("timeout",()=>{ei&&ei("TIMED_OUT")})}return this}presenceState(){return this.presence.state}async track(ei,eo={}){return await this.send({type:"presence",event:"track",payload:ei},eo.timeout||this.timeout)}async untrack(ei={}){return await this.send({type:"presence",event:"untrack"},ei)}on(ei,eo,ea){return this._on(ei,eo,ea)}async send(ei,eo={}){var ea,es;if(this._canPush()||"broadcast"!==ei.type)return new Promise(ea=>{var es,eu,ec;let ed=this._push(ei.type,ei,eo.timeout||this.timeout);"broadcast"!==ei.type||(null===(ec=null===(eu=null===(es=this.params)||void 0===es?void 0:es.config)||void 0===eu?void 0:eu.broadcast)||void 0===ec?void 0:ec.ack)||ea("ok"),ed.receive("ok",()=>ea("ok")),ed.receive("timeout",()=>ea("timed out"))});{let{event:eu,payload:ec}=ei,ed={method:"POST",headers:{apikey:null!==(ea=this.socket.apiKey)&&void 0!==ea?ea:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:eu,payload:ec}]})};try{let ei=await this._fetchWithTimeout(this.broadcastEndpointURL,ed,null!==(es=eo.timeout)&&void 0!==es?es:this.timeout);if(ei.ok)return"ok";return"error"}catch(ei){if("AbortError"===ei.name)return"timed out";return"error"}}}updateJoinPayload(ei){this.joinPush.updatePayload(ei)}unsubscribe(ei=this.timeout){this.state=ec.leaving;let onClose=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(ed.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(eo=>{let ea=new Push(this,ed.leave,{},ei);ea.receive("ok",()=>{onClose(),eo("ok")}).receive("timeout",()=>{onClose(),eo("timed out")}).receive("error",()=>{eo("error")}),ea.send(),this._canPush()||ea.trigger("ok",{})})}_broadcastEndpointURL(){let ei=this.socket.endPoint;return(ei=(ei=ei.replace(/^ws/i,"http")).replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,"")).replace(/\/+$/,"")+"/api/broadcast"}async _fetchWithTimeout(ei,eo,ea){let es=new AbortController,eu=setTimeout(()=>es.abort(),ea),ec=await this.socket.fetch(ei,Object.assign(Object.assign({},eo),{signal:es.signal}));return clearTimeout(eu),ec}_push(ei,eo,ea=this.timeout){if(!this.joinedOnce)throw`tried to push '${ei}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let es=new Push(this,ei,eo,ea);return this._canPush()?es.send():(es.startTimeout(),this.pushBuffer.push(es)),es}_onMessage(ei,eo,ea){return eo}_isMember(ei){return this.topic===ei}_joinRef(){return this.joinPush.ref}_trigger(ei,eo,ea){var es,eu;let ec=ei.toLocaleLowerCase(),{close:ef,error:eh,leave:ep,join:em}=ed,eg=[ef,eh,ep,em];if(ea&&eg.indexOf(ec)>=0&&ea!==this._joinRef())return;let eb=this._onMessage(ec,eo,ea);if(eo&&!eb)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(ec)?null===(es=this.bindings.postgres_changes)||void 0===es||es.filter(ei=>{var eo,ea,es;return(null===(eo=ei.filter)||void 0===eo?void 0:eo.event)==="*"||(null===(es=null===(ea=ei.filter)||void 0===ea?void 0:ea.event)||void 0===es?void 0:es.toLocaleLowerCase())===ec}).map(ei=>ei.callback(eb,ea)):null===(eu=this.bindings[ec])||void 0===eu||eu.filter(ei=>{var ea,es,eu,ed,ef,eh;if(!["broadcast","presence","postgres_changes"].includes(ec))return ei.type.toLocaleLowerCase()===ec;if("id"in ei){let ec=ei.id,ed=null===(ea=ei.filter)||void 0===ea?void 0:ea.event;return ec&&(null===(es=eo.ids)||void 0===es?void 0:es.includes(ec))&&("*"===ed||(null==ed?void 0:ed.toLocaleLowerCase())===(null===(eu=eo.data)||void 0===eu?void 0:eu.type.toLocaleLowerCase()))}{let ea=null===(ef=null===(ed=null==ei?void 0:ei.filter)||void 0===ed?void 0:ed.event)||void 0===ef?void 0:ef.toLocaleLowerCase();return"*"===ea||ea===(null===(eh=null==eo?void 0:eo.event)||void 0===eh?void 0:eh.toLocaleLowerCase())}}).map(ei=>{if("object"==typeof eb&&"ids"in eb){let ei=eb.data,{schema:eo,table:ea,commit_timestamp:es,type:eu,errors:ec}=ei,ed={schema:eo,table:ea,commit_timestamp:es,eventType:eu,new:{},old:{},errors:ec};eb=Object.assign(Object.assign({},ed),this._getPayloadRecords(ei))}ei.callback(eb,ea)})}_isClosed(){return this.state===ec.closed}_isJoined(){return this.state===ec.joined}_isJoining(){return this.state===ec.joining}_isLeaving(){return this.state===ec.leaving}_replyEventName(ei){return`chan_reply_${ei}`}_on(ei,eo,ea){let es=ei.toLocaleLowerCase(),eu={type:es,filter:eo,callback:ea};return this.bindings[es]?this.bindings[es].push(eu):this.bindings[es]=[eu],this}_off(ei,eo){let ea=ei.toLocaleLowerCase();return this.bindings[ea]=this.bindings[ea].filter(ei=>{var es;return!((null===(es=ei.type)||void 0===es?void 0:es.toLocaleLowerCase())===ea&&RealtimeChannel.isEqual(ei.filter,eo))}),this}static isEqual(ei,eo){if(Object.keys(ei).length!==Object.keys(eo).length)return!1;for(let ea in ei)if(ei[ea]!==eo[ea])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(ei){this._on(ed.close,{},ei)}_onError(ei){this._on(ed.error,{},eo=>ei(eo))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(ei=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=ec.joining,this.joinPush.resend(ei))}_getPayloadRecords(ei){let eo={new:{},old:{}};return("INSERT"===ei.type||"UPDATE"===ei.type)&&(eo.new=convertChangeData(ei.columns,ei.record)),("UPDATE"===ei.type||"DELETE"===ei.type)&&(eo.old=convertChangeData(ei.columns,ei.old_record)),eo}};let RealtimeClient_noop=()=>{},eA="undefined"!=typeof WebSocket;let RealtimeClient=class RealtimeClient{constructor(ei,eo){var es;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.headers=ek,this.params={},this.timeout=eC,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=RealtimeClient_noop,this.conn=null,this.sendBuffer=[],this.serializer=new Serializer,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=ei=>{let eo;return eo=ei||("undefined"==typeof fetch?(...ei)=>Promise.resolve().then(ea.t.bind(ea,89743,23)).then(({default:eo})=>eo(...ei)):fetch),(...ei)=>eo(...ei)},this.endPoint=`${ei}/${ef.websocket}`,(null==eo?void 0:eo.transport)?this.transport=eo.transport:this.transport=null,(null==eo?void 0:eo.params)&&(this.params=eo.params),(null==eo?void 0:eo.headers)&&(this.headers=Object.assign(Object.assign({},this.headers),eo.headers)),(null==eo?void 0:eo.timeout)&&(this.timeout=eo.timeout),(null==eo?void 0:eo.logger)&&(this.logger=eo.logger),(null==eo?void 0:eo.heartbeatIntervalMs)&&(this.heartbeatIntervalMs=eo.heartbeatIntervalMs);let eu=null===(es=null==eo?void 0:eo.params)||void 0===es?void 0:es.apikey;eu&&(this.accessToken=eu,this.apiKey=eu),this.reconnectAfterMs=(null==eo?void 0:eo.reconnectAfterMs)?eo.reconnectAfterMs:ei=>[1e3,2e3,5e3,1e4][ei-1]||1e4,this.encode=(null==eo?void 0:eo.encode)?eo.encode:(ei,eo)=>eo(JSON.stringify(ei)),this.decode=(null==eo?void 0:eo.decode)?eo.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new Timer(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(null==eo?void 0:eo.fetch)}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});return}if(eA){this.conn=new WebSocket(this._endPointURL()),this.setupConnection();return}this.conn=new WSWebSocketDummy(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),ea.e(7026).then(ea.t.bind(ea,57026,23)).then(({default:ei})=>{this.conn=new ei(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}disconnect(ei,eo){this.conn&&(this.conn.onclose=function(){},ei?this.conn.close(ei,null!=eo?eo:""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(ei){let eo=await ei.unsubscribe();return 0===this.channels.length&&this.disconnect(),eo}async removeAllChannels(){let ei=await Promise.all(this.channels.map(ei=>ei.unsubscribe()));return this.disconnect(),ei}log(ei,eo,ea){this.logger(ei,eo,ea)}connectionState(){switch(this.conn&&this.conn.readyState){case eu.connecting:return eh.Connecting;case eu.open:return eh.Open;case eu.closing:return eh.Closing;default:return eh.Closed}}isConnected(){return this.connectionState()===eh.Open}channel(ei,eo={config:{}}){let ea=new RealtimeChannel(`realtime:${ei}`,eo,this);return this.channels.push(ea),ea}push(ei){let{topic:eo,event:ea,payload:es,ref:eu}=ei,callback=()=>{this.encode(ei,ei=>{var eo;null===(eo=this.conn)||void 0===eo||eo.send(ei)})};this.log("push",`${eo} ${ea} (${eu})`,es),this.isConnected()?callback():this.sendBuffer.push(callback)}setAuth(ei){this.accessToken=ei,this.channels.forEach(eo=>{ei&&eo.updateJoinPayload({access_token:ei}),eo.joinedOnce&&eo._isJoined()&&eo._push(ed.access_token,{access_token:ei})})}_makeRef(){let ei=this.ref+1;return ei===this.ref?this.ref=0:this.ref=ei,this.ref.toString()}_leaveOpenTopic(ei){let eo=this.channels.find(eo=>eo.topic===ei&&(eo._isJoined()||eo._isJoining()));eo&&(this.log("transport",`leaving duplicate topic "${ei}"`),eo.unsubscribe())}_remove(ei){this.channels=this.channels.filter(eo=>eo._joinRef()!==ei._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=ei=>this._onConnError(ei),this.conn.onmessage=ei=>this._onConnMessage(ei),this.conn.onclose=ei=>this._onConnClose(ei))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:eT}))}_onConnMessage(ei){this.decode(ei.data,ei=>{let{topic:eo,event:ea,payload:es,ref:eu}=ei;(eu&&eu===this.pendingHeartbeatRef||ea===(null==es?void 0:es.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${es.status||""} ${eo} ${ea} ${eu&&"("+eu+")"||""}`,es),this.channels.filter(ei=>ei._isMember(eo)).forEach(ei=>ei._trigger(ea,es,eu)),this.stateChangeCallbacks.message.forEach(eo=>eo(ei))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(ei=>ei())}_onConnClose(ei){this.log("transport","close",ei),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(eo=>eo(ei))}_onConnError(ei){this.log("transport",ei.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(eo=>eo(ei))}_triggerChanError(){this.channels.forEach(ei=>ei._trigger(ed.error))}_appendParams(ei,eo){if(0===Object.keys(eo).length)return ei;let ea=ei.match(/\?/)?"&":"?",es=new URLSearchParams(eo);return`${ei}${ea}${es}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(ei=>ei()),this.sendBuffer=[])}_sendHeartbeat(){var ei;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),null===(ei=this.conn)||void 0===ei||ei.close(e_,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}};let WSWebSocketDummy=class WSWebSocketDummy{constructor(ei,eo,ea){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=eu.connecting,this.send=()=>{},this.url=null,this.url=ei,this.close=ea.close}};let StorageError=class StorageError extends Error{constructor(ei){super(ei),this.__isStorageError=!0,this.name="StorageError"}};function isStorageError(ei){return"object"==typeof ei&&null!==ei&&"__isStorageError"in ei}let StorageApiError=class StorageApiError extends StorageError{constructor(ei,eo){super(ei),this.name="StorageApiError",this.status=eo}toJSON(){return{name:this.name,message:this.message,status:this.status}}};let StorageUnknownError=class StorageUnknownError extends StorageError{constructor(ei,eo){super(ei),this.name="StorageUnknownError",this.originalError=eo}};var helpers_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let helpers_resolveFetch=ei=>{let eo;return eo=ei||("undefined"==typeof fetch?(...ei)=>Promise.resolve().then(ea.t.bind(ea,89743,23)).then(({default:eo})=>eo(...ei)):fetch),(...ei)=>eo(...ei)},resolveResponse=()=>helpers_awaiter(void 0,void 0,void 0,function*(){return"undefined"==typeof Response?(yield Promise.resolve().then(ea.t.bind(ea,89743,23))).Response:Response});var fetch_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let _getErrorMessage=ei=>ei.msg||ei.message||ei.error_description||ei.error||JSON.stringify(ei),handleError=(ei,eo)=>fetch_awaiter(void 0,void 0,void 0,function*(){let ea=yield resolveResponse();ei instanceof ea?ei.json().then(ea=>{eo(new StorageApiError(_getErrorMessage(ea),ei.status||500))}).catch(ei=>{eo(new StorageUnknownError(_getErrorMessage(ei),ei))}):eo(new StorageUnknownError(_getErrorMessage(ei),ei))}),_getRequestParams=(ei,eo,ea,es)=>{let eu={method:ei,headers:(null==eo?void 0:eo.headers)||{}};return"GET"===ei?eu:(eu.headers=Object.assign({"Content-Type":"application/json"},null==eo?void 0:eo.headers),eu.body=JSON.stringify(es),Object.assign(Object.assign({},eu),ea))};function _handleRequest(ei,eo,ea,es,eu,ec){return fetch_awaiter(this,void 0,void 0,function*(){return new Promise((ed,ef)=>{ei(ea,_getRequestParams(eo,es,eu,ec)).then(ei=>{if(!ei.ok)throw ei;return(null==es?void 0:es.noResolveJson)?ei:ei.json()}).then(ei=>ed(ei)).catch(ei=>handleError(ei,ef))})})}function get(ei,eo,ea,es){return fetch_awaiter(this,void 0,void 0,function*(){return _handleRequest(ei,"GET",eo,ea,es)})}function post(ei,eo,ea,es,eu){return fetch_awaiter(this,void 0,void 0,function*(){return _handleRequest(ei,"POST",eo,es,eu,ea)})}function put(ei,eo,ea,es,eu){return fetch_awaiter(this,void 0,void 0,function*(){return _handleRequest(ei,"PUT",eo,es,eu,ea)})}function remove(ei,eo,ea,es,eu){return fetch_awaiter(this,void 0,void 0,function*(){return _handleRequest(ei,"DELETE",eo,es,eu,ea)})}var StorageFileApi_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let eO={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},eM={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};let StorageFileApi=class StorageFileApi{constructor(ei,eo={},ea,es){this.url=ei,this.headers=eo,this.bucketId=ea,this.fetch=helpers_resolveFetch(es)}uploadOrUpdate(ei,eo,ea,es){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let eu;let ec=Object.assign(Object.assign({},eM),es),ed=Object.assign(Object.assign({},this.headers),"POST"===ei&&{"x-upsert":String(ec.upsert)});"undefined"!=typeof Blob&&ea instanceof Blob?((eu=new FormData).append("cacheControl",ec.cacheControl),eu.append("",ea)):"undefined"!=typeof FormData&&ea instanceof FormData?(eu=ea).append("cacheControl",ec.cacheControl):(eu=ea,ed["cache-control"]=`max-age=${ec.cacheControl}`,ed["content-type"]=ec.contentType);let ef=this._removeEmptyFolders(eo),eh=this._getFinalPath(ef),ep=yield this.fetch(`${this.url}/object/${eh}`,Object.assign({method:ei,body:eu,headers:ed},(null==ec?void 0:ec.duplex)?{duplex:ec.duplex}:{}));if(ep.ok)return{data:{path:ef},error:null};{let ei=yield ep.json();return{data:null,error:ei}}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}upload(ei,eo,ea){return StorageFileApi_awaiter(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",ei,eo,ea)})}uploadToSignedUrl(ei,eo,ea,es){return StorageFileApi_awaiter(this,void 0,void 0,function*(){let eu=this._removeEmptyFolders(ei),ec=this._getFinalPath(eu),ed=new URL(this.url+`/object/upload/sign/${ec}`);ed.searchParams.set("token",eo);try{let ei;let eo=Object.assign({upsert:eM.upsert},es),ec=Object.assign(Object.assign({},this.headers),{"x-upsert":String(eo.upsert)});"undefined"!=typeof Blob&&ea instanceof Blob?((ei=new FormData).append("cacheControl",eo.cacheControl),ei.append("",ea)):"undefined"!=typeof FormData&&ea instanceof FormData?(ei=ea).append("cacheControl",eo.cacheControl):(ei=ea,ec["cache-control"]=`max-age=${eo.cacheControl}`,ec["content-type"]=eo.contentType);let ef=yield this.fetch(ed.toString(),{method:"PUT",body:ei,headers:ec});if(ef.ok)return{data:{path:eu},error:null};{let ei=yield ef.json();return{data:null,error:ei}}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}createSignedUploadUrl(ei){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let eo=this._getFinalPath(ei),ea=yield post(this.fetch,`${this.url}/object/upload/sign/${eo}`,{},{headers:this.headers}),es=new URL(this.url+ea.url),eu=es.searchParams.get("token");if(!eu)throw new StorageError("No token returned by API");return{data:{signedUrl:es.toString(),path:ei,token:eu},error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}update(ei,eo,ea){return StorageFileApi_awaiter(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",ei,eo,ea)})}move(ei,eo){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let ea=yield post(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:ei,destinationKey:eo},{headers:this.headers});return{data:ea,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}copy(ei,eo){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let ea=yield post(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:ei,destinationKey:eo},{headers:this.headers});return{data:{path:ea.Key},error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}createSignedUrl(ei,eo,ea){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let es=this._getFinalPath(ei),eu=yield post(this.fetch,`${this.url}/object/sign/${es}`,Object.assign({expiresIn:eo},(null==ea?void 0:ea.transform)?{transform:ea.transform}:{}),{headers:this.headers}),ec=(null==ea?void 0:ea.download)?`&download=${!0===ea.download?"":ea.download}`:"",ed=encodeURI(`${this.url}${eu.signedURL}${ec}`);return{data:eu={signedUrl:ed},error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}createSignedUrls(ei,eo,ea){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let es=yield post(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:eo,paths:ei},{headers:this.headers}),eu=(null==ea?void 0:ea.download)?`&download=${!0===ea.download?"":ea.download}`:"";return{data:es.map(ei=>Object.assign(Object.assign({},ei),{signedUrl:ei.signedURL?encodeURI(`${this.url}${ei.signedURL}${eu}`):null})),error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}download(ei,eo){return StorageFileApi_awaiter(this,void 0,void 0,function*(){let ea=void 0!==(null==eo?void 0:eo.transform),es=ea?"render/image/authenticated":"object",eu=this.transformOptsToQueryString((null==eo?void 0:eo.transform)||{}),ec=eu?`?${eu}`:"";try{let eo=this._getFinalPath(ei),ea=yield get(this.fetch,`${this.url}/${es}/${eo}${ec}`,{headers:this.headers,noResolveJson:!0}),eu=yield ea.blob();return{data:eu,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}getPublicUrl(ei,eo){let ea=this._getFinalPath(ei),es=[],eu=(null==eo?void 0:eo.download)?`download=${!0===eo.download?"":eo.download}`:"";""!==eu&&es.push(eu);let ec=void 0!==(null==eo?void 0:eo.transform),ed=ec?"render/image":"object",ef=this.transformOptsToQueryString((null==eo?void 0:eo.transform)||{});""!==ef&&es.push(ef);let eh=es.join("&");return""!==eh&&(eh=`?${eh}`),{data:{publicUrl:encodeURI(`${this.url}/${ed}/public/${ea}${eh}`)}}}remove(ei){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let eo=yield remove(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:ei},{headers:this.headers});return{data:eo,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}list(ei,eo,ea){return StorageFileApi_awaiter(this,void 0,void 0,function*(){try{let es=Object.assign(Object.assign(Object.assign({},eO),eo),{prefix:ei||""}),eu=yield post(this.fetch,`${this.url}/object/list/${this.bucketId}`,es,{headers:this.headers},ea);return{data:eu,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}_getFinalPath(ei){return`${this.bucketId}/${ei}`}_removeEmptyFolders(ei){return ei.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(ei){let eo=[];return ei.width&&eo.push(`width=${ei.width}`),ei.height&&eo.push(`height=${ei.height}`),ei.resize&&eo.push(`resize=${ei.resize}`),ei.format&&eo.push(`format=${ei.format}`),ei.quality&&eo.push(`quality=${ei.quality}`),eo.join("&")}};let eR="2.5.4",ej={"X-Client-Info":`storage-js/${eR}`};var StorageBucketApi_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let StorageBucketApi=class StorageBucketApi{constructor(ei,eo={},ea){this.url=ei,this.headers=Object.assign(Object.assign({},ej),eo),this.fetch=helpers_resolveFetch(ea)}listBuckets(){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let ei=yield get(this.fetch,`${this.url}/bucket`,{headers:this.headers});return{data:ei,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}getBucket(ei){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let eo=yield get(this.fetch,`${this.url}/bucket/${ei}`,{headers:this.headers});return{data:eo,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}createBucket(ei,eo={public:!1}){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let ea=yield post(this.fetch,`${this.url}/bucket`,{id:ei,name:ei,public:eo.public,file_size_limit:eo.fileSizeLimit,allowed_mime_types:eo.allowedMimeTypes},{headers:this.headers});return{data:ea,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}updateBucket(ei,eo){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let ea=yield put(this.fetch,`${this.url}/bucket/${ei}`,{id:ei,name:ei,public:eo.public,file_size_limit:eo.fileSizeLimit,allowed_mime_types:eo.allowedMimeTypes},{headers:this.headers});return{data:ea,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}emptyBucket(ei){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let eo=yield post(this.fetch,`${this.url}/bucket/${ei}/empty`,{},{headers:this.headers});return{data:eo,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}deleteBucket(ei){return StorageBucketApi_awaiter(this,void 0,void 0,function*(){try{let eo=yield remove(this.fetch,`${this.url}/bucket/${ei}`,{},{headers:this.headers});return{data:eo,error:null}}catch(ei){if(isStorageError(ei))return{data:null,error:ei};throw ei}})}};let StorageClient=class StorageClient extends StorageBucketApi{constructor(ei,eo={},ea){super(ei,eo,ea)}from(ei){return new StorageFileApi(this.url,this.headers,ei,this.fetch)}};let eN="2.39.3",eL="";eL="undefined"!=typeof Deno?"deno":"undefined"!=typeof document?"web":"undefined"!=typeof navigator&&"ReactNative"===navigator.product?"react-native":"node";let eD={"X-Client-Info":`supabase-js-${eL}/${eN}`};var lib_fetch_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let fetch_resolveFetch=ei=>{let eo;return eo=ei||("undefined"==typeof fetch?ex():fetch),(...ei)=>eo(...ei)},resolveHeadersConstructor=()=>"undefined"==typeof Headers?ew.Headers:Headers,fetchWithAuth=(ei,eo,ea)=>{let es=fetch_resolveFetch(ea),eu=resolveHeadersConstructor();return(ea,ec)=>lib_fetch_awaiter(void 0,void 0,void 0,function*(){var ed;let ef=null!==(ed=yield eo())&&void 0!==ed?ed:ei,eh=new eu(null==ec?void 0:ec.headers);return eh.has("apikey")||eh.set("apikey",ei),eh.has("Authorization")||eh.set("Authorization",`Bearer ${ef}`),es(ea,Object.assign(Object.assign({},ec),{headers:eh}))})};function stripTrailingSlash(ei){return ei.replace(/\/$/,"")}function applySettingDefaults(ei,eo){let{db:ea,auth:es,realtime:eu,global:ec}=ei,{db:ed,auth:ef,realtime:eh,global:ep}=eo;return{db:Object.assign(Object.assign({},ed),ea),auth:Object.assign(Object.assign({},ef),es),realtime:Object.assign(Object.assign({},eh),eu),global:Object.assign(Object.assign({},ep),ec)}}function expiresAt(ei){let eo=Math.round(Date.now()/1e3);return eo+ei}function helpers_uuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(ei){let eo=16*Math.random()|0,ea="x"==ei?eo:3&eo|8;return ea.toString(16)})}let helpers_isBrowser=()=>"undefined"!=typeof document,eI={tested:!1,writable:!1},supportsLocalStorage=()=>{if(!helpers_isBrowser())return!1;try{if("object"!=typeof globalThis.localStorage)return!1}catch(ei){return!1}if(eI.tested)return eI.writable;let ei=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(ei,ei),globalThis.localStorage.removeItem(ei),eI.tested=!0,eI.writable=!0}catch(ei){eI.tested=!0,eI.writable=!1}return eI.writable};function parseParametersFromURL(ei){let eo={},ea=new URL(ei);if(ea.hash&&"#"===ea.hash[0])try{let ei=new URLSearchParams(ea.hash.substring(1));ei.forEach((ei,ea)=>{eo[ea]=ei})}catch(ei){}return ea.searchParams.forEach((ei,ea)=>{eo[ea]=ei}),eo}let lib_helpers_resolveFetch=ei=>{let eo;return eo=ei||("undefined"==typeof fetch?(...ei)=>Promise.resolve().then(ea.t.bind(ea,89743,23)).then(({default:eo})=>eo(...ei)):fetch),(...ei)=>eo(...ei)},looksLikeFetchResponse=ei=>"object"==typeof ei&&null!==ei&&"status"in ei&&"ok"in ei&&"json"in ei&&"function"==typeof ei.json,setItemAsync=async(ei,eo,ea)=>{await ei.setItem(eo,JSON.stringify(ea))},getItemAsync=async(ei,eo)=>{let ea=await ei.getItem(eo);if(!ea)return null;try{return JSON.parse(ea)}catch(ei){return ea}},removeItemAsync=async(ei,eo)=>{await ei.removeItem(eo)};function decodeBase64URL(ei){let eo,ea,es,eu,ec,ed,ef;let eh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ep="",em=0;for(ei=ei.replace("-","+").replace("_","/");em<ei.length;)eu=eh.indexOf(ei.charAt(em++)),ec=eh.indexOf(ei.charAt(em++)),ed=eh.indexOf(ei.charAt(em++)),ef=eh.indexOf(ei.charAt(em++)),eo=eu<<2|ec>>4,ea=(15&ec)<<4|ed>>2,es=(3&ed)<<6|ef,ep+=String.fromCharCode(eo),64!=ed&&0!=ea&&(ep+=String.fromCharCode(ea)),64!=ef&&0!=es&&(ep+=String.fromCharCode(es));return ep}let Deferred=class Deferred{constructor(){this.promise=new Deferred.promiseConstructor((ei,eo)=>{this.resolve=ei,this.reject=eo})}};function decodeJWTPayload(ei){let eo=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,ea=ei.split(".");if(3!==ea.length)throw Error("JWT is not valid: not a JWT structure");if(!eo.test(ea[1]))throw Error("JWT is not valid: payload is not in base64url format");let es=ea[1];return JSON.parse(decodeBase64URL(es))}async function sleep(ei){return await new Promise(eo=>{setTimeout(()=>eo(null),ei)})}function retryable(ei,eo){let ea=new Promise((ea,es)=>{(async()=>{for(let eu=0;eu<1/0;eu++)try{let es=await ei(eu);if(!eo(eu,null,es)){ea(es);return}}catch(ei){if(!eo(eu,ei)){es(ei);return}}})()});return ea}function dec2hex(ei){return("0"+ei.toString(16)).substr(-2)}function generatePKCEVerifier(){let ei=56,eo=new Uint32Array(ei);if("undefined"==typeof crypto){let eo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",ea=eo.length,es="";for(let eu=0;eu<ei;eu++)es+=eo.charAt(Math.floor(Math.random()*ea));return es}return crypto.getRandomValues(eo),Array.from(eo,dec2hex).join("")}async function sha256(ei){let eo=new TextEncoder,ea=eo.encode(ei),es=await crypto.subtle.digest("SHA-256",ea),eu=new Uint8Array(es);return Array.from(eu).map(ei=>String.fromCharCode(ei)).join("")}function base64urlencode(ei){return btoa(ei).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function generatePKCEChallenge(ei){let eo="undefined"!=typeof crypto&&void 0!==crypto.subtle&&"undefined"!=typeof TextEncoder;if(!eo)return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),ei;let ea=await sha256(ei);return base64urlencode(ea)}Deferred.promiseConstructor=Promise;let AuthError=class AuthError extends Error{constructor(ei,eo){super(ei),this.__isAuthError=!0,this.name="AuthError",this.status=eo}};function isAuthError(ei){return"object"==typeof ei&&null!==ei&&"__isAuthError"in ei}let AuthApiError=class AuthApiError extends AuthError{constructor(ei,eo){super(ei,eo),this.name="AuthApiError",this.status=eo}toJSON(){return{name:this.name,message:this.message,status:this.status}}};function isAuthApiError(ei){return isAuthError(ei)&&"AuthApiError"===ei.name}let AuthUnknownError=class AuthUnknownError extends AuthError{constructor(ei,eo){super(ei),this.name="AuthUnknownError",this.originalError=eo}};let CustomAuthError=class CustomAuthError extends AuthError{constructor(ei,eo,ea){super(ei),this.name=eo,this.status=ea}toJSON(){return{name:this.name,message:this.message,status:this.status}}};let AuthSessionMissingError=class AuthSessionMissingError extends CustomAuthError{constructor(){super("Auth session missing!","AuthSessionMissingError",400)}};let AuthInvalidTokenResponseError=class AuthInvalidTokenResponseError extends CustomAuthError{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500)}};let AuthInvalidCredentialsError=class AuthInvalidCredentialsError extends CustomAuthError{constructor(ei){super(ei,"AuthInvalidCredentialsError",400)}};let AuthImplicitGrantRedirectError=class AuthImplicitGrantRedirectError extends CustomAuthError{constructor(ei,eo=null){super(ei,"AuthImplicitGrantRedirectError",500),this.details=null,this.details=eo}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}};let AuthPKCEGrantCodeExchangeError=class AuthPKCEGrantCodeExchangeError extends CustomAuthError{constructor(ei,eo=null){super(ei,"AuthPKCEGrantCodeExchangeError",500),this.details=null,this.details=eo}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}};let AuthRetryableFetchError=class AuthRetryableFetchError extends CustomAuthError{constructor(ei,eo){super(ei,"AuthRetryableFetchError",eo)}};function isAuthRetryableFetchError(ei){return isAuthError(ei)&&"AuthRetryableFetchError"===ei.name}let AuthWeakPasswordError=class AuthWeakPasswordError extends CustomAuthError{constructor(ei,eo,ea){super(ei,"AuthWeakPasswordError",eo),this.reasons=ea}};var __rest=function(ei,eo){var ea={};for(var es in ei)Object.prototype.hasOwnProperty.call(ei,es)&&0>eo.indexOf(es)&&(ea[es]=ei[es]);if(null!=ei&&"function"==typeof Object.getOwnPropertySymbols)for(var eu=0,es=Object.getOwnPropertySymbols(ei);eu<es.length;eu++)0>eo.indexOf(es[eu])&&Object.prototype.propertyIsEnumerable.call(ei,es[eu])&&(ea[es[eu]]=ei[es[eu]]);return ea};let fetch_getErrorMessage=ei=>ei.msg||ei.message||ei.error_description||ei.error||JSON.stringify(ei),ez=[502,503,504];async function fetch_handleError(ei){let eo;if(!looksLikeFetchResponse(ei))throw new AuthRetryableFetchError(fetch_getErrorMessage(ei),0);if(ez.includes(ei.status))throw new AuthRetryableFetchError(fetch_getErrorMessage(ei),ei.status);try{eo=await ei.json()}catch(ei){throw new AuthUnknownError(fetch_getErrorMessage(ei),ei)}if("object"==typeof eo&&eo&&"object"==typeof eo.weak_password&&eo.weak_password&&Array.isArray(eo.weak_password.reasons)&&eo.weak_password.reasons.length&&eo.weak_password.reasons.reduce((ei,eo)=>ei&&"string"==typeof eo,!0))throw new AuthWeakPasswordError(fetch_getErrorMessage(eo),ei.status,eo.weak_password.reasons);throw new AuthApiError(fetch_getErrorMessage(eo),ei.status||500)}let fetch_getRequestParams=(ei,eo,ea,es)=>{let eu={method:ei,headers:(null==eo?void 0:eo.headers)||{}};return"GET"===ei?eu:(eu.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},null==eo?void 0:eo.headers),eu.body=JSON.stringify(es),Object.assign(Object.assign({},eu),ea))};async function _request(ei,eo,ea,es){var eu;let ec=Object.assign({},null==es?void 0:es.headers);(null==es?void 0:es.jwt)&&(ec.Authorization=`Bearer ${es.jwt}`);let ed=null!==(eu=null==es?void 0:es.query)&&void 0!==eu?eu:{};(null==es?void 0:es.redirectTo)&&(ed.redirect_to=es.redirectTo);let ef=Object.keys(ed).length?"?"+new URLSearchParams(ed).toString():"",eh=await fetch_handleRequest(ei,eo,ea+ef,{headers:ec,noResolveJson:null==es?void 0:es.noResolveJson},{},null==es?void 0:es.body);return(null==es?void 0:es.xform)?null==es?void 0:es.xform(eh):{data:Object.assign({},eh),error:null}}async function fetch_handleRequest(ei,eo,ea,es,eu,ec){let ed;let ef=fetch_getRequestParams(eo,es,eu,ec);try{ed=await ei(ea,ef)}catch(ei){throw console.error(ei),new AuthRetryableFetchError(fetch_getErrorMessage(ei),0)}if(ed.ok||await fetch_handleError(ed),null==es?void 0:es.noResolveJson)return ed;try{return await ed.json()}catch(ei){await fetch_handleError(ei)}}function _sessionResponse(ei){var eo;let ea=null;hasSession(ei)&&(ea=Object.assign({},ei),ei.expires_at||(ea.expires_at=expiresAt(ei.expires_in)));let es=null!==(eo=ei.user)&&void 0!==eo?eo:ei;return{data:{session:ea,user:es},error:null}}function _sessionResponsePassword(ei){let eo=_sessionResponse(ei);return!eo.error&&ei.weak_password&&"object"==typeof ei.weak_password&&Array.isArray(ei.weak_password.reasons)&&ei.weak_password.reasons.length&&ei.weak_password.message&&"string"==typeof ei.weak_password.message&&ei.weak_password.reasons.reduce((ei,eo)=>ei&&"string"==typeof eo,!0)&&(eo.data.weak_password=ei.weak_password),eo}function _userResponse(ei){var eo;let ea=null!==(eo=ei.user)&&void 0!==eo?eo:ei;return{data:{user:ea},error:null}}function _ssoResponse(ei){return{data:ei,error:null}}function _generateLinkResponse(ei){let{action_link:eo,email_otp:ea,hashed_token:es,redirect_to:eu,verification_type:ec}=ei,ed=__rest(ei,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),ef={action_link:eo,email_otp:ea,hashed_token:es,redirect_to:eu,verification_type:ec},eh=Object.assign({},ed);return{data:{properties:ef,user:eh},error:null}}function _noResolveJsonResponse(ei){return ei}function hasSession(ei){return ei.access_token&&ei.refresh_token&&ei.expires_in}var GoTrueAdminApi_rest=function(ei,eo){var ea={};for(var es in ei)Object.prototype.hasOwnProperty.call(ei,es)&&0>eo.indexOf(es)&&(ea[es]=ei[es]);if(null!=ei&&"function"==typeof Object.getOwnPropertySymbols)for(var eu=0,es=Object.getOwnPropertySymbols(ei);eu<es.length;eu++)0>eo.indexOf(es[eu])&&Object.prototype.propertyIsEnumerable.call(ei,es[eu])&&(ea[es[eu]]=ei[es[eu]]);return ea};let GoTrueAdminApi_GoTrueAdminApi=class GoTrueAdminApi_GoTrueAdminApi{constructor({url:ei="",headers:eo={},fetch:ea}){this.url=ei,this.headers=eo,this.fetch=lib_helpers_resolveFetch(ea),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(ei,eo="global"){try{return await _request(this.fetch,"POST",`${this.url}/logout?scope=${eo}`,{headers:this.headers,jwt:ei,noResolveJson:!0}),{data:null,error:null}}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async inviteUserByEmail(ei,eo={}){try{return await _request(this.fetch,"POST",`${this.url}/invite`,{body:{email:ei,data:eo.data},headers:this.headers,redirectTo:eo.redirectTo,xform:_userResponse})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async generateLink(ei){try{let{options:eo}=ei,ea=GoTrueAdminApi_rest(ei,["options"]),es=Object.assign(Object.assign({},ea),eo);return"newEmail"in ea&&(es.new_email=null==ea?void 0:ea.newEmail,delete es.newEmail),await _request(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:es,headers:this.headers,xform:_generateLinkResponse,redirectTo:null==eo?void 0:eo.redirectTo})}catch(ei){if(isAuthError(ei))return{data:{properties:null,user:null},error:ei};throw ei}}async createUser(ei){try{return await _request(this.fetch,"POST",`${this.url}/admin/users`,{body:ei,headers:this.headers,xform:_userResponse})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async listUsers(ei){var eo,ea,es,eu,ec,ed,ef;try{let eh={nextPage:null,lastPage:0,total:0},ep=await _request(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:null!==(ea=null===(eo=null==ei?void 0:ei.page)||void 0===eo?void 0:eo.toString())&&void 0!==ea?ea:"",per_page:null!==(eu=null===(es=null==ei?void 0:ei.perPage)||void 0===es?void 0:es.toString())&&void 0!==eu?eu:""},xform:_noResolveJsonResponse});if(ep.error)throw ep.error;let em=await ep.json(),eg=null!==(ec=ep.headers.get("x-total-count"))&&void 0!==ec?ec:0,eb=null!==(ef=null===(ed=ep.headers.get("link"))||void 0===ed?void 0:ed.split(","))&&void 0!==ef?ef:[];return eb.length>0&&(eb.forEach(ei=>{let eo=parseInt(ei.split(";")[0].split("=")[1].substring(0,1)),ea=JSON.parse(ei.split(";")[1].split("=")[1]);eh[`${ea}Page`]=eo}),eh.total=parseInt(eg)),{data:Object.assign(Object.assign({},em),eh),error:null}}catch(ei){if(isAuthError(ei))return{data:{users:[]},error:ei};throw ei}}async getUserById(ei){try{return await _request(this.fetch,"GET",`${this.url}/admin/users/${ei}`,{headers:this.headers,xform:_userResponse})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async updateUserById(ei,eo){try{return await _request(this.fetch,"PUT",`${this.url}/admin/users/${ei}`,{body:eo,headers:this.headers,xform:_userResponse})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async deleteUser(ei,eo=!1){try{return await _request(this.fetch,"DELETE",`${this.url}/admin/users/${ei}`,{headers:this.headers,body:{should_soft_delete:eo},xform:_userResponse})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async _listFactors(ei){try{let{data:eo,error:ea}=await _request(this.fetch,"GET",`${this.url}/admin/users/${ei.userId}/factors`,{headers:this.headers,xform:ei=>({data:{factors:ei},error:null})});return{data:eo,error:ea}}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async _deleteFactor(ei){try{let eo=await _request(this.fetch,"DELETE",`${this.url}/admin/users/${ei.userId}/factors/${ei.id}`,{headers:this.headers});return{data:eo,error:null}}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}};let eB="0.0.0",eF="http://localhost:9999",eH="supabase.auth.token",eU={"X-Client-Info":`gotrue-js/${eB}`},eV=10,eX={getItem:ei=>supportsLocalStorage()?globalThis.localStorage.getItem(ei):null,setItem:(ei,eo)=>{supportsLocalStorage()&&globalThis.localStorage.setItem(ei,eo)},removeItem:ei=>{supportsLocalStorage()&&globalThis.localStorage.removeItem(ei)}};function memoryLocalStorageAdapter(ei={}){return{getItem:eo=>ei[eo]||null,setItem:(eo,ea)=>{ei[eo]=ea},removeItem:eo=>{delete ei[eo]}}}function polyfillGlobalThis(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(ei){"undefined"!=typeof self&&(self.globalThis=self)}}let eq={debug:!!(globalThis&&supportsLocalStorage()&&globalThis.localStorage&&"true"===globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug"))};let LockAcquireTimeoutError=class LockAcquireTimeoutError extends Error{constructor(ei){super(ei),this.isAcquireTimeout=!0}};let NavigatorLockAcquireTimeoutError=class NavigatorLockAcquireTimeoutError extends LockAcquireTimeoutError{};async function navigatorLock(ei,eo,ea){eq.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",ei,eo);let es=new globalThis.AbortController;return eo>0&&setTimeout(()=>{es.abort(),eq.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",ei)},eo),await globalThis.navigator.locks.request(ei,0===eo?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:es.signal},async es=>{if(es){eq.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",ei,es.name);try{return await ea()}finally{eq.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",ei,es.name)}}else{if(0===eo)throw eq.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",ei),new NavigatorLockAcquireTimeoutError(`Acquiring an exclusive Navigator LockManager lock "${ei}" immediately failed`);if(eq.debug)try{let ei=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(ei,null,"  "))}catch(ei){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",ei)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await ea()}})}polyfillGlobalThis();let e$={url:eF,storageKey:eH,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:eU,flowType:"implicit",debug:!1},eW=3e4,eK=3;async function lockNoOp(ei,eo,ea){return await ea()}let GoTrueClient_GoTrueClient=class GoTrueClient_GoTrueClient{constructor(ei){var eo,ea;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=GoTrueClient_GoTrueClient.nextInstanceID,GoTrueClient_GoTrueClient.nextInstanceID+=1,this.instanceID>0&&helpers_isBrowser()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");let es=Object.assign(Object.assign({},e$),ei);if(this.logDebugMessages=!!es.debug,"function"==typeof es.debug&&(this.logger=es.debug),this.persistSession=es.persistSession,this.storageKey=es.storageKey,this.autoRefreshToken=es.autoRefreshToken,this.admin=new GoTrueAdminApi_GoTrueAdminApi({url:es.url,headers:es.headers,fetch:es.fetch}),this.url=es.url,this.headers=es.headers,this.fetch=lib_helpers_resolveFetch(es.fetch),this.lock=es.lock||lockNoOp,this.detectSessionInUrl=es.detectSessionInUrl,this.flowType=es.flowType,es.lock?this.lock=es.lock:helpers_isBrowser()&&(null===(eo=null==globalThis?void 0:globalThis.navigator)||void 0===eo?void 0:eo.locks)?this.lock=navigatorLock:this.lock=lockNoOp,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?es.storage?this.storage=es.storage:supportsLocalStorage()?this.storage=eX:(this.memoryStorage={},this.storage=memoryLocalStorageAdapter(this.memoryStorage)):(this.memoryStorage={},this.storage=memoryLocalStorageAdapter(this.memoryStorage)),helpers_isBrowser()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(ei){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",ei)}null===(ea=this.broadcastChannel)||void 0===ea||ea.addEventListener("message",async ei=>{this._debug("received broadcast notification from other tab or client",ei),await this._notifyAllSubscribers(ei.data.event,ei.data.session,!1)})}this.initialize()}_debug(...ei){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${eB}) ${new Date().toISOString()}`,...ei),this}async initialize(){return this.initializePromise||(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))()),await this.initializePromise}async _initialize(){try{let ei=!!helpers_isBrowser()&&await this._isPKCEFlow();if(this._debug("#_initialize()","begin","is PKCE flow",ei),ei||this.detectSessionInUrl&&this._isImplicitGrantFlow()){let{data:eo,error:ea}=await this._getSessionFromURL(ei);if(ea){if(this._debug("#_initialize()","error detecting session from URL",ea),(null==ea?void 0:ea.message)==="Identity is already linked"||(null==ea?void 0:ea.message)==="Identity is already linked to another user")return{error:ea};return await this._removeSession(),{error:ea}}let{session:es,redirectType:eu}=eo;return this._debug("#_initialize()","detected session in URL",es,"redirect type",eu),await this._saveSession(es),setTimeout(async()=>{"recovery"===eu?await this._notifyAllSubscribers("PASSWORD_RECOVERY",es):await this._notifyAllSubscribers("SIGNED_IN",es)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(ei){if(isAuthError(ei))return{error:ei};return{error:new AuthUnknownError("Unexpected error during initialization",ei)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signUp(ei){var eo,ea,es;try{let eu;if(await this._removeSession(),"email"in ei){let{email:ea,password:es,options:ec}=ei,ed=null,ef=null;if("pkce"===this.flowType){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,ei),ed=await generatePKCEChallenge(ei),ef=ei===ed?"plain":"s256"}eu=await _request(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:null==ec?void 0:ec.emailRedirectTo,body:{email:ea,password:es,data:null!==(eo=null==ec?void 0:ec.data)&&void 0!==eo?eo:{},gotrue_meta_security:{captcha_token:null==ec?void 0:ec.captchaToken},code_challenge:ed,code_challenge_method:ef},xform:_sessionResponse})}else if("phone"in ei){let{phone:eo,password:ec,options:ed}=ei;eu=await _request(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:eo,password:ec,data:null!==(ea=null==ed?void 0:ed.data)&&void 0!==ea?ea:{},channel:null!==(es=null==ed?void 0:ed.channel)&&void 0!==es?es:"sms",gotrue_meta_security:{captcha_token:null==ed?void 0:ed.captchaToken}},xform:_sessionResponse})}else throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a password");let{data:ec,error:ed}=eu;if(ed||!ec)return{data:{user:null,session:null},error:ed};let ef=ec.session,eh=ec.user;return ec.session&&(await this._saveSession(ec.session),await this._notifyAllSubscribers("SIGNED_IN",ef)),{data:{user:eh,session:ef},error:null}}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async signInWithPassword(ei){try{let eo;if(await this._removeSession(),"email"in ei){let{email:ea,password:es,options:eu}=ei;eo=await _request(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:ea,password:es,gotrue_meta_security:{captcha_token:null==eu?void 0:eu.captchaToken}},xform:_sessionResponsePassword})}else if("phone"in ei){let{phone:ea,password:es,options:eu}=ei;eo=await _request(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:ea,password:es,gotrue_meta_security:{captcha_token:null==eu?void 0:eu.captchaToken}},xform:_sessionResponsePassword})}else throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a password");let{data:ea,error:es}=eo;if(es)return{data:{user:null,session:null},error:es};if(!ea||!ea.session||!ea.user)return{data:{user:null,session:null},error:new AuthInvalidTokenResponseError};return ea.session&&(await this._saveSession(ea.session),await this._notifyAllSubscribers("SIGNED_IN",ea.session)),{data:Object.assign({user:ea.user,session:ea.session},ea.weak_password?{weakPassword:ea.weak_password}:null),error:es}}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async signInWithOAuth(ei){var eo,ea,es,eu;return await this._removeSession(),await this._handleProviderSignIn(ei.provider,{redirectTo:null===(eo=ei.options)||void 0===eo?void 0:eo.redirectTo,scopes:null===(ea=ei.options)||void 0===ea?void 0:ea.scopes,queryParams:null===(es=ei.options)||void 0===es?void 0:es.queryParams,skipBrowserRedirect:null===(eu=ei.options)||void 0===eu?void 0:eu.skipBrowserRedirect})}async exchangeCodeForSession(ei){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(ei))}async _exchangeCodeForSession(ei){let eo=await getItemAsync(this.storage,`${this.storageKey}-code-verifier`),[ea,es]=(null!=eo?eo:"").split("/"),{data:eu,error:ec}=await _request(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:ei,code_verifier:ea},xform:_sessionResponse});return(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),ec)?{data:{user:null,session:null,redirectType:null},error:ec}:eu&&eu.session&&eu.user?(eu.session&&(await this._saveSession(eu.session),await this._notifyAllSubscribers("SIGNED_IN",eu.session)),{data:Object.assign(Object.assign({},eu),{redirectType:null!=es?es:null}),error:ec}):{data:{user:null,session:null,redirectType:null},error:new AuthInvalidTokenResponseError}}async signInWithIdToken(ei){await this._removeSession();try{let{options:eo,provider:ea,token:es,access_token:eu,nonce:ec}=ei,ed=await _request(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:ea,id_token:es,access_token:eu,nonce:ec,gotrue_meta_security:{captcha_token:null==eo?void 0:eo.captchaToken}},xform:_sessionResponse}),{data:ef,error:eh}=ed;if(eh)return{data:{user:null,session:null},error:eh};if(!ef||!ef.session||!ef.user)return{data:{user:null,session:null},error:new AuthInvalidTokenResponseError};return ef.session&&(await this._saveSession(ef.session),await this._notifyAllSubscribers("SIGNED_IN",ef.session)),{data:ef,error:eh}}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async signInWithOtp(ei){var eo,ea,es,eu,ec;try{if(await this._removeSession(),"email"in ei){let{email:es,options:eu}=ei,ec=null,ed=null;if("pkce"===this.flowType){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,ei),ec=await generatePKCEChallenge(ei),ed=ei===ec?"plain":"s256"}let{error:ef}=await _request(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:es,data:null!==(eo=null==eu?void 0:eu.data)&&void 0!==eo?eo:{},create_user:null===(ea=null==eu?void 0:eu.shouldCreateUser)||void 0===ea||ea,gotrue_meta_security:{captcha_token:null==eu?void 0:eu.captchaToken},code_challenge:ec,code_challenge_method:ed},redirectTo:null==eu?void 0:eu.emailRedirectTo});return{data:{user:null,session:null},error:ef}}if("phone"in ei){let{phone:eo,options:ea}=ei,{data:ed,error:ef}=await _request(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:eo,data:null!==(es=null==ea?void 0:ea.data)&&void 0!==es?es:{},create_user:null===(eu=null==ea?void 0:ea.shouldCreateUser)||void 0===eu||eu,gotrue_meta_security:{captcha_token:null==ea?void 0:ea.captchaToken},channel:null!==(ec=null==ea?void 0:ea.channel)&&void 0!==ec?ec:"sms"}});return{data:{user:null,session:null,messageId:null==ed?void 0:ed.message_id},error:ef}}throw new AuthInvalidCredentialsError("You must provide either an email or phone number.")}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async verifyOtp(ei){var eo,ea;try{let es,eu;"email_change"!==ei.type&&"phone_change"!==ei.type&&await this._removeSession(),"options"in ei&&(es=null===(eo=ei.options)||void 0===eo?void 0:eo.redirectTo,eu=null===(ea=ei.options)||void 0===ea?void 0:ea.captchaToken);let{data:ec,error:ed}=await _request(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},ei),{gotrue_meta_security:{captcha_token:eu}}),redirectTo:es,xform:_sessionResponse});if(ed)throw ed;if(!ec)throw Error("An error occurred on token verification.");let ef=ec.session,eh=ec.user;return(null==ef?void 0:ef.access_token)&&(await this._saveSession(ef),await this._notifyAllSubscribers("recovery"==ei.type?"PASSWORD_RECOVERY":"SIGNED_IN",ef)),{data:{user:eh,session:ef},error:null}}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async signInWithSSO(ei){var eo,ea,es;try{await this._removeSession();let eu=null,ec=null;if("pkce"===this.flowType){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,ei),eu=await generatePKCEChallenge(ei),ec=ei===eu?"plain":"s256"}return await _request(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in ei?{provider_id:ei.providerId}:null),"domain"in ei?{domain:ei.domain}:null),{redirect_to:null!==(ea=null===(eo=ei.options)||void 0===eo?void 0:eo.redirectTo)&&void 0!==ea?ea:void 0}),(null===(es=null==ei?void 0:ei.options)||void 0===es?void 0:es.captchaToken)?{gotrue_meta_security:{captcha_token:ei.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:eu,code_challenge_method:ec}),headers:this.headers,xform:_ssoResponse})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async ei=>{let{data:{session:eo},error:ea}=ei;if(ea)throw ea;if(!eo)throw new AuthSessionMissingError;let{error:es}=await _request(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:eo.access_token});return{data:{user:null,session:null},error:es}})}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async resend(ei){try{"email_change"!=ei.type&&"phone_change"!=ei.type&&await this._removeSession();let eo=`${this.url}/resend`;if("email"in ei){let{email:ea,type:es,options:eu}=ei,{error:ec}=await _request(this.fetch,"POST",eo,{headers:this.headers,body:{email:ea,type:es,gotrue_meta_security:{captcha_token:null==eu?void 0:eu.captchaToken}},redirectTo:null==eu?void 0:eu.emailRedirectTo});return{data:{user:null,session:null},error:ec}}if("phone"in ei){let{phone:ea,type:es,options:eu}=ei,{data:ec,error:ed}=await _request(this.fetch,"POST",eo,{headers:this.headers,body:{phone:ea,type:es,gotrue_meta_security:{captcha_token:null==eu?void 0:eu.captchaToken}}});return{data:{user:null,session:null,messageId:null==ec?void 0:ec.message_id},error:ed}}throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a type")}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async getSession(){return await this.initializePromise,this._acquireLock(-1,async()=>this._useSession(async ei=>ei))}async _acquireLock(ei,eo){this._debug("#_acquireLock","begin",ei);try{if(this.lockAcquired){let ei=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),ea=(async()=>(await ei,await eo()))();return this.pendingInLock.push((async()=>{try{await ea}catch(ei){}})()),ea}return await this.lock(`lock:${this.storageKey}`,ei,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;let ei=eo();for(this.pendingInLock.push((async()=>{try{await ei}catch(ei){}})()),await ei;this.pendingInLock.length;){let ei=[...this.pendingInLock];await Promise.all(ei),this.pendingInLock.splice(0,ei.length)}return await ei}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(ei){this._debug("#_useSession","begin");try{let eo=await this.__loadSession();return await ei(eo)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",Error().stack);try{let ei=null,eo=await getItemAsync(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",eo),null!==eo&&(this._isValidSession(eo)?ei=eo:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!ei)return{data:{session:null},error:null};let ea=!!ei.expires_at&&ei.expires_at<=Date.now()/1e3;if(this._debug("#__loadSession()",`session has${ea?"":" not"} expired`,"expires_at",ei.expires_at),!ea)return{data:{session:ei},error:null};let{session:es,error:eu}=await this._callRefreshToken(ei.refresh_token);if(eu)return{data:{session:null},error:eu};return{data:{session:es},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(ei){return ei?await this._getUser(ei):(await this.initializePromise,this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(ei){try{if(ei)return await _request(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:ei,xform:_userResponse});return await this._useSession(async ei=>{var eo,ea;let{data:es,error:eu}=ei;if(eu)throw eu;return await _request(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:null!==(ea=null===(eo=es.session)||void 0===eo?void 0:eo.access_token)&&void 0!==ea?ea:void 0,xform:_userResponse})})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}async updateUser(ei,eo={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(ei,eo))}async _updateUser(ei,eo={}){try{return await this._useSession(async ea=>{let{data:es,error:eu}=ea;if(eu)throw eu;if(!es.session)throw new AuthSessionMissingError;let ec=es.session,ed=null,ef=null;if("pkce"===this.flowType&&null!=ei.email){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,ei),ed=await generatePKCEChallenge(ei),ef=ei===ed?"plain":"s256"}let{data:eh,error:ep}=await _request(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:null==eo?void 0:eo.emailRedirectTo,body:Object.assign(Object.assign({},ei),{code_challenge:ed,code_challenge_method:ef}),jwt:ec.access_token,xform:_userResponse});if(ep)throw ep;return ec.user=eh.user,await this._saveSession(ec),await this._notifyAllSubscribers("USER_UPDATED",ec),{data:{user:ec.user},error:null}})}catch(ei){if(isAuthError(ei))return{data:{user:null},error:ei};throw ei}}_decodeJWT(ei){return decodeJWTPayload(ei)}async setSession(ei){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(ei))}async _setSession(ei){try{if(!ei.access_token||!ei.refresh_token)throw new AuthSessionMissingError;let eo=Date.now()/1e3,ea=eo,es=!0,eu=null,ec=decodeJWTPayload(ei.access_token);if(ec.exp&&(es=(ea=ec.exp)<=eo),es){let{session:eo,error:ea}=await this._callRefreshToken(ei.refresh_token);if(ea)return{data:{user:null,session:null},error:ea};if(!eo)return{data:{user:null,session:null},error:null};eu=eo}else{let{data:es,error:ec}=await this._getUser(ei.access_token);if(ec)throw ec;eu={access_token:ei.access_token,refresh_token:ei.refresh_token,user:es.user,token_type:"bearer",expires_in:ea-eo,expires_at:ea},await this._saveSession(eu),await this._notifyAllSubscribers("SIGNED_IN",eu)}return{data:{user:eu.user,session:eu},error:null}}catch(ei){if(isAuthError(ei))return{data:{session:null,user:null},error:ei};throw ei}}async refreshSession(ei){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(ei))}async _refreshSession(ei){try{return await this._useSession(async eo=>{var ea;if(!ei){let{data:es,error:eu}=eo;if(eu)throw eu;ei=null!==(ea=es.session)&&void 0!==ea?ea:void 0}if(!(null==ei?void 0:ei.refresh_token))throw new AuthSessionMissingError;let{session:es,error:eu}=await this._callRefreshToken(ei.refresh_token);return eu?{data:{user:null,session:null},error:eu}:es?{data:{user:es.user,session:es},error:null}:{data:{user:null,session:null},error:null}})}catch(ei){if(isAuthError(ei))return{data:{user:null,session:null},error:ei};throw ei}}async _getSessionFromURL(ei){try{if(!helpers_isBrowser())throw new AuthImplicitGrantRedirectError("No browser detected.");if("implicit"!==this.flowType||this._isImplicitGrantFlow()){if("pkce"==this.flowType&&!ei)throw new AuthPKCEGrantCodeExchangeError("Not a valid PKCE flow url.")}else throw new AuthImplicitGrantRedirectError("Not a valid implicit grant flow url.");let eo=parseParametersFromURL(window.location.href);if(ei){if(!eo.code)throw new AuthPKCEGrantCodeExchangeError("No code detected.");let{data:ei,error:ea}=await this._exchangeCodeForSession(eo.code);if(ea)throw ea;let es=new URL(window.location.href);return es.searchParams.delete("code"),window.history.replaceState(window.history.state,"",es.toString()),{data:{session:ei.session,redirectType:null},error:null}}if(eo.error||eo.error_description||eo.error_code)throw new AuthImplicitGrantRedirectError(eo.error_description||"Error in URL with unspecified error_description",{error:eo.error||"unspecified_error",code:eo.error_code||"unspecified_code"});let{provider_token:ea,provider_refresh_token:es,access_token:eu,refresh_token:ec,expires_in:ed,expires_at:ef,token_type:eh}=eo;if(!eu||!ed||!ec||!eh)throw new AuthImplicitGrantRedirectError("No session defined in URL");let ep=Math.round(Date.now()/1e3),em=parseInt(ed),eg=ep+em;ef&&(eg=parseInt(ef));let eb=eg-ep;1e3*eb<=eW&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${eb}s, should have been closer to ${em}s`);let ey=eg-em;ep-ey>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",ey,eg,ep):ep-ey<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",ey,eg,ep);let{data:ew,error:ex}=await this._getUser(eu);if(ex)throw ex;let eP={provider_token:ea,provider_refresh_token:es,access_token:eu,expires_in:em,expires_at:eg,refresh_token:ec,token_type:eh,user:ew.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:eP,redirectType:eo.type},error:null}}catch(ei){if(isAuthError(ei))return{data:{session:null,redirectType:null},error:ei};throw ei}}_isImplicitGrantFlow(){let ei=parseParametersFromURL(window.location.href);return!!(helpers_isBrowser()&&(ei.access_token||ei.error_description))}async _isPKCEFlow(){let ei=parseParametersFromURL(window.location.href),eo=await getItemAsync(this.storage,`${this.storageKey}-code-verifier`);return!!(ei.code&&eo)}async signOut(ei={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(ei))}async _signOut({scope:ei}={scope:"global"}){return await this._useSession(async eo=>{var ea;let{data:es,error:eu}=eo;if(eu)return{error:eu};let ec=null===(ea=es.session)||void 0===ea?void 0:ea.access_token;if(ec){let{error:eo}=await this.admin.signOut(ec,ei);if(eo&&!(isAuthApiError(eo)&&(404===eo.status||401===eo.status)))return{error:eo}}return"others"!==ei&&(await this._removeSession(),await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}})}onAuthStateChange(ei){let eo=helpers_uuid(),ea={id:eo,callback:ei,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",eo),this.stateChangeEmitters.delete(eo)}};return this._debug("#onAuthStateChange()","registered callback with id",eo),this.stateChangeEmitters.set(eo,ea),(async()=>{await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(eo)})})(),{data:{subscription:ea}}}async _emitInitialSession(ei){return await this._useSession(async eo=>{var ea,es;try{let{data:{session:es},error:eu}=eo;if(eu)throw eu;await (null===(ea=this.stateChangeEmitters.get(ei))||void 0===ea?void 0:ea.callback("INITIAL_SESSION",es)),this._debug("INITIAL_SESSION","callback id",ei,"session",es)}catch(eo){await (null===(es=this.stateChangeEmitters.get(ei))||void 0===es?void 0:es.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",ei,"error",eo),console.error(eo)}})}async resetPasswordForEmail(ei,eo={}){let ea=null,es=null;if("pkce"===this.flowType){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,`${ei}/PASSWORD_RECOVERY`),ea=await generatePKCEChallenge(ei),es=ei===ea?"plain":"s256"}try{return await _request(this.fetch,"POST",`${this.url}/recover`,{body:{email:ei,code_challenge:ea,code_challenge_method:es,gotrue_meta_security:{captcha_token:eo.captchaToken}},headers:this.headers,redirectTo:eo.redirectTo})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async getUserIdentities(){var ei;try{let{data:eo,error:ea}=await this.getUser();if(ea)throw ea;return{data:{identities:null!==(ei=eo.user.identities)&&void 0!==ei?ei:[]},error:null}}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async linkIdentity(ei){var eo;try{let{data:ea,error:es}=await this._useSession(async eo=>{var ea,es,eu,ec,ed;let{data:ef,error:eh}=eo;if(eh)throw eh;let ep=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,ei.provider,{redirectTo:null===(ea=ei.options)||void 0===ea?void 0:ea.redirectTo,scopes:null===(es=ei.options)||void 0===es?void 0:es.scopes,queryParams:null===(eu=ei.options)||void 0===eu?void 0:eu.queryParams,skipBrowserRedirect:!0});return await _request(this.fetch,"GET",ep,{headers:this.headers,jwt:null!==(ed=null===(ec=ef.session)||void 0===ec?void 0:ec.access_token)&&void 0!==ed?ed:void 0})});if(es)throw es;return!helpers_isBrowser()||(null===(eo=ei.options)||void 0===eo?void 0:eo.skipBrowserRedirect)||window.location.assign(null==ea?void 0:ea.url),{data:{provider:ei.provider,url:null==ea?void 0:ea.url},error:null}}catch(eo){if(isAuthError(eo))return{data:{provider:ei.provider,url:null},error:eo};throw eo}}async unlinkIdentity(ei){try{return await this._useSession(async eo=>{var ea,es;let{data:eu,error:ec}=eo;if(ec)throw ec;return await _request(this.fetch,"DELETE",`${this.url}/user/identities/${ei.identity_id}`,{headers:this.headers,jwt:null!==(es=null===(ea=eu.session)||void 0===ea?void 0:ea.access_token)&&void 0!==es?es:void 0})})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async _refreshAccessToken(ei){let eo=`#_refreshAccessToken(${ei.substring(0,5)}...)`;this._debug(eo,"begin");try{let ea=Date.now();return await retryable(async ea=>(await sleep(200*ea),this._debug(eo,"refreshing attempt",ea),await _request(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:ei},headers:this.headers,xform:_sessionResponse})),(ei,eo,es)=>es&&es.error&&isAuthRetryableFetchError(es.error)&&Date.now()+(ei+1)*200-ea<eW)}catch(ei){if(this._debug(eo,"error",ei),isAuthError(ei))return{data:{session:null,user:null},error:ei};throw ei}finally{this._debug(eo,"end")}}_isValidSession(ei){let eo="object"==typeof ei&&null!==ei&&"access_token"in ei&&"refresh_token"in ei&&"expires_at"in ei;return eo}async _handleProviderSignIn(ei,eo){let ea=await this._getUrlForProvider(`${this.url}/authorize`,ei,{redirectTo:eo.redirectTo,scopes:eo.scopes,queryParams:eo.queryParams});return this._debug("#_handleProviderSignIn()","provider",ei,"options",eo,"url",ea),helpers_isBrowser()&&!eo.skipBrowserRedirect&&window.location.assign(ea),{data:{provider:ei,url:ea},error:null}}async _recoverAndRefresh(){var ei;let eo="#_recoverAndRefresh()";this._debug(eo,"begin");try{let ea=await getItemAsync(this.storage,this.storageKey);if(this._debug(eo,"session from storage",ea),!this._isValidSession(ea)){this._debug(eo,"session is not valid"),null!==ea&&await this._removeSession();return}let es=Math.round(Date.now()/1e3),eu=(null!==(ei=ea.expires_at)&&void 0!==ei?ei:1/0)<es+eV;if(this._debug(eo,`session has${eu?"":" not"} expired with margin of ${eV}s`),eu){if(this.autoRefreshToken&&ea.refresh_token){let{error:ei}=await this._callRefreshToken(ea.refresh_token);ei&&(console.error(ei),isAuthRetryableFetchError(ei)||(this._debug(eo,"refresh failed with a non-retryable error, removing the session",ei),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",ea)}catch(ei){this._debug(eo,"error",ei),console.error(ei);return}finally{this._debug(eo,"end")}}async _callRefreshToken(ei){var eo,ea;if(!ei)throw new AuthSessionMissingError;if(this.refreshingDeferred)return this.refreshingDeferred.promise;let es=`#_callRefreshToken(${ei.substring(0,5)}...)`;this._debug(es,"begin");try{this.refreshingDeferred=new Deferred;let{data:eo,error:ea}=await this._refreshAccessToken(ei);if(ea)throw ea;if(!eo.session)throw new AuthSessionMissingError;await this._saveSession(eo.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",eo.session);let es={session:eo.session,error:null};return this.refreshingDeferred.resolve(es),es}catch(ei){if(this._debug(es,"error",ei),isAuthError(ei)){let ea={session:null,error:ei};return isAuthRetryableFetchError(ei)||(await this._removeSession(),await this._notifyAllSubscribers("SIGNED_OUT",null)),null===(eo=this.refreshingDeferred)||void 0===eo||eo.resolve(ea),ea}throw null===(ea=this.refreshingDeferred)||void 0===ea||ea.reject(ei),ei}finally{this.refreshingDeferred=null,this._debug(es,"end")}}async _notifyAllSubscribers(ei,eo,ea=!0){let es=`#_notifyAllSubscribers(${ei})`;this._debug(es,"begin",eo,`broadcast = ${ea}`);try{this.broadcastChannel&&ea&&this.broadcastChannel.postMessage({event:ei,session:eo});let es=[],eu=Array.from(this.stateChangeEmitters.values()).map(async ea=>{try{await ea.callback(ei,eo)}catch(ei){es.push(ei)}});if(await Promise.all(eu),es.length>0){for(let ei=0;ei<es.length;ei+=1)console.error(es[ei]);throw es[0]}}finally{this._debug(es,"end")}}async _saveSession(ei){this._debug("#_saveSession()",ei),await setItemAsync(this.storage,this.storageKey,ei)}async _removeSession(){this._debug("#_removeSession()"),await removeItemAsync(this.storage,this.storageKey)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");let ei=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{ei&&helpers_isBrowser()&&(null==window?void 0:window.removeEventListener)&&window.removeEventListener("visibilitychange",ei)}catch(ei){console.error("removing visibilitychange callback failed",ei)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");let ei=setInterval(()=>this._autoRefreshTokenTick(),eW);this.autoRefreshTicker=ei,ei&&"object"==typeof ei&&"function"==typeof ei.unref?ei.unref():"undefined"!=typeof Deno&&"function"==typeof Deno.unrefTimer&&Deno.unrefTimer(ei),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");let ei=this.autoRefreshTicker;this.autoRefreshTicker=null,ei&&clearInterval(ei)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{let ei=Date.now();try{return await this._useSession(async eo=>{let{data:{session:ea}}=eo;if(!ea||!ea.refresh_token||!ea.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}let es=Math.floor((1e3*ea.expires_at-ei)/eW);this._debug("#_autoRefreshTokenTick()",`access token expires in ${es} ticks, a tick lasts ${eW}ms, refresh threshold is ${eK} ticks`),es<=eK&&await this._callRefreshToken(ea.refresh_token)})}catch(ei){console.error("Auto refresh tick failed with error. This is likely a transient error.",ei)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(ei){if(ei.isAcquireTimeout||ei instanceof LockAcquireTimeoutError)this._debug("auto refresh token tick lock not available");else throw ei}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!helpers_isBrowser()||!(null==window?void 0:window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),null==window||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(ei){console.error("_handleVisibilityChange",ei)}}async _onVisibilityChanged(ei){let eo=`#_onVisibilityChanged(${ei})`;this._debug(eo,"visibilityState",document.visibilityState),"visible"===document.visibilityState?(this.autoRefreshToken&&this._startAutoRefresh(),ei||(await this.initializePromise,await this._acquireLock(-1,async()=>{if("visible"!==document.visibilityState){this._debug(eo,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):"hidden"===document.visibilityState&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(ei,eo,ea){let es=[`provider=${encodeURIComponent(eo)}`];if((null==ea?void 0:ea.redirectTo)&&es.push(`redirect_to=${encodeURIComponent(ea.redirectTo)}`),(null==ea?void 0:ea.scopes)&&es.push(`scopes=${encodeURIComponent(ea.scopes)}`),"pkce"===this.flowType){let ei=generatePKCEVerifier();await setItemAsync(this.storage,`${this.storageKey}-code-verifier`,ei);let eo=await generatePKCEChallenge(ei),ea=ei===eo?"plain":"s256";this._debug("PKCE","code verifier",`${ei.substring(0,5)}...`,"code challenge",eo,"method",ea);let eu=new URLSearchParams({code_challenge:`${encodeURIComponent(eo)}`,code_challenge_method:`${encodeURIComponent(ea)}`});es.push(eu.toString())}if(null==ea?void 0:ea.queryParams){let ei=new URLSearchParams(ea.queryParams);es.push(ei.toString())}return(null==ea?void 0:ea.skipBrowserRedirect)&&es.push(`skip_http_redirect=${ea.skipBrowserRedirect}`),`${ei}?${es.join("&")}`}async _unenroll(ei){try{return await this._useSession(async eo=>{var ea;let{data:es,error:eu}=eo;return eu?{data:null,error:eu}:await _request(this.fetch,"DELETE",`${this.url}/factors/${ei.factorId}`,{headers:this.headers,jwt:null===(ea=null==es?void 0:es.session)||void 0===ea?void 0:ea.access_token})})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async _enroll(ei){try{return await this._useSession(async eo=>{var ea,es;let{data:eu,error:ec}=eo;if(ec)return{data:null,error:ec};let{data:ed,error:ef}=await _request(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:ei.friendlyName,factor_type:ei.factorType,issuer:ei.issuer},headers:this.headers,jwt:null===(ea=null==eu?void 0:eu.session)||void 0===ea?void 0:ea.access_token});return ef?{data:null,error:ef}:((null===(es=null==ed?void 0:ed.totp)||void 0===es?void 0:es.qr_code)&&(ed.totp.qr_code=`data:image/svg+xml;utf-8,${ed.totp.qr_code}`),{data:ed,error:null})})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}}async _verify(ei){return this._acquireLock(-1,async()=>{try{return await this._useSession(async eo=>{var ea;let{data:es,error:eu}=eo;if(eu)return{data:null,error:eu};let{data:ec,error:ed}=await _request(this.fetch,"POST",`${this.url}/factors/${ei.factorId}/verify`,{body:{code:ei.code,challenge_id:ei.challengeId},headers:this.headers,jwt:null===(ea=null==es?void 0:es.session)||void 0===ea?void 0:ea.access_token});return ed?{data:null,error:ed}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+ec.expires_in},ec)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",ec),{data:ec,error:ed})})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}})}async _challenge(ei){return this._acquireLock(-1,async()=>{try{return await this._useSession(async eo=>{var ea;let{data:es,error:eu}=eo;return eu?{data:null,error:eu}:await _request(this.fetch,"POST",`${this.url}/factors/${ei.factorId}/challenge`,{headers:this.headers,jwt:null===(ea=null==es?void 0:es.session)||void 0===ea?void 0:ea.access_token})})}catch(ei){if(isAuthError(ei))return{data:null,error:ei};throw ei}})}async _challengeAndVerify(ei){let{data:eo,error:ea}=await this._challenge({factorId:ei.factorId});return ea?{data:null,error:ea}:await this._verify({factorId:ei.factorId,challengeId:eo.id,code:ei.code})}async _listFactors(){let{data:{user:ei},error:eo}=await this.getUser();if(eo)return{data:null,error:eo};let ea=(null==ei?void 0:ei.factors)||[],es=ea.filter(ei=>"totp"===ei.factor_type&&"verified"===ei.status);return{data:{all:ea,totp:es},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async ei=>{var eo,ea;let{data:{session:es},error:eu}=ei;if(eu)return{data:null,error:eu};if(!es)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};let ec=this._decodeJWT(es.access_token),ed=null;ec.aal&&(ed=ec.aal);let ef=ed,eh=null!==(ea=null===(eo=es.user.factors)||void 0===eo?void 0:eo.filter(ei=>"verified"===ei.status))&&void 0!==ea?ea:[];eh.length>0&&(ef="aal2");let ep=ec.amr||[];return{data:{currentLevel:ed,nextLevel:ef,currentAuthenticationMethods:ep},error:null}}))}};GoTrueClient_GoTrueClient.nextInstanceID=0;let SupabaseAuthClient=class SupabaseAuthClient extends GoTrueClient_GoTrueClient{constructor(ei){super(ei)}};var SupabaseClient_awaiter=function(ei,eo,ea,es){function adopt(ei){return ei instanceof ea?ei:new ea(function(eo){eo(ei)})}return new(ea||(ea=Promise))(function(ea,eu){function fulfilled(ei){try{step(es.next(ei))}catch(ei){eu(ei)}}function rejected(ei){try{step(es.throw(ei))}catch(ei){eu(ei)}}function step(ei){ei.done?ea(ei.value):adopt(ei.value).then(fulfilled,rejected)}step((es=es.apply(ei,eo||[])).next())})};let eG={headers:eD},eZ={schema:"public"},eJ={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},eY={};let SupabaseClient=class SupabaseClient{constructor(ei,eo,ea){var es,eu,ec,ed,ef,eh,ep,em;if(this.supabaseUrl=ei,this.supabaseKey=eo,this.from=ei=>this.rest.from(ei),this.schema=ei=>this.rest.schema(ei),this.rpc=(ei,eo={},ea)=>this.rest.rpc(ei,eo,ea),!ei)throw Error("supabaseUrl is required.");if(!eo)throw Error("supabaseKey is required.");let eg=stripTrailingSlash(ei);this.realtimeUrl=`${eg}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${eg}/auth/v1`,this.storageUrl=`${eg}/storage/v1`,this.functionsUrl=`${eg}/functions/v1`;let eb=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,ey={db:eZ,realtime:eY,auth:Object.assign(Object.assign({},eJ),{storageKey:eb}),global:eG},ew=applySettingDefaults(null!=ea?ea:{},ey);this.storageKey=null!==(eu=null===(es=ew.auth)||void 0===es?void 0:es.storageKey)&&void 0!==eu?eu:"",this.headers=null!==(ed=null===(ec=ew.global)||void 0===ec?void 0:ec.headers)&&void 0!==ed?ed:{},this.auth=this._initSupabaseAuthClient(null!==(ef=ew.auth)&&void 0!==ef?ef:{},this.headers,null===(eh=ew.global)||void 0===eh?void 0:eh.fetch),this.fetch=fetchWithAuth(eo,this._getAccessToken.bind(this),null===(ep=ew.global)||void 0===ep?void 0:ep.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},ew.realtime)),this.rest=new PostgrestClient(`${eg}/rest/v1`,{headers:this.headers,schema:null===(em=ew.db)||void 0===em?void 0:em.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new FunctionsClient(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new StorageClient(this.storageUrl,this.headers,this.fetch)}channel(ei,eo={config:{}}){return this.realtime.channel(ei,eo)}getChannels(){return this.realtime.getChannels()}removeChannel(ei){return this.realtime.removeChannel(ei)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var ei,eo;return SupabaseClient_awaiter(this,void 0,void 0,function*(){let{data:ea}=yield this.auth.getSession();return null!==(eo=null===(ei=ea.session)||void 0===ei?void 0:ei.access_token)&&void 0!==eo?eo:null})}_initSupabaseAuthClient({autoRefreshToken:ei,persistSession:eo,detectSessionInUrl:ea,storage:es,storageKey:eu,flowType:ec,debug:ed},ef,eh){let ep={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new SupabaseAuthClient({url:this.authUrl,headers:Object.assign(Object.assign({},ep),ef),storageKey:eu,autoRefreshToken:ei,persistSession:eo,detectSessionInUrl:ea,storage:es,flowType:ec,debug:ed,fetch:eh})}_initRealtimeClient(ei){return new RealtimeClient(this.realtimeUrl,Object.assign(Object.assign({},ei),{params:Object.assign({apikey:this.supabaseKey},null==ei?void 0:ei.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((ei,eo)=>{this._handleTokenChanged(ei,"CLIENT",null==eo?void 0:eo.access_token)})}_handleTokenChanged(ei,eo,ea){("TOKEN_REFRESHED"===ei||"SIGNED_IN"===ei)&&this.changedAccessToken!==ea?(this.realtime.setAuth(null!=ea?ea:null),this.changedAccessToken=ea):"SIGNED_OUT"===ei&&(this.realtime.setAuth(this.supabaseKey),"STORAGE"==eo&&this.auth.signOut(),this.changedAccessToken=void 0)}};let module_createClient=(ei,eo,ea)=>new SupabaseClient(ei,eo,ea),eQ="0.4.0";var e0=ea(76489);function utils_helpers_isBrowser(){return"undefined"!=typeof window&&void 0!==window.document}let e1={path:"/",sameSite:"lax",httpOnly:!1,maxAge:31536e6},e3=3180,e8=/^(.*)[.](0|[1-9][0-9]*)$/;function isChunkLike(ei,eo){if(ei===eo)return!0;let ea=ei.match(e8);return!!ea&&ea[1]===eo}function createChunks(ei,eo,ea){let es=ea??e3,eu=encodeURIComponent(eo);if(eu.length<=es)return[{name:ei,value:eo}];let ec=[];for(;eu.length>0;){let ei=eu.slice(0,es),eo=ei.lastIndexOf("%");eo>es-3&&(ei=ei.slice(0,eo));let ea="";for(;ei.length>0;)try{ea=decodeURIComponent(ei);break}catch(eo){if(eo instanceof URIError&&"%"===ei.at(-3)&&ei.length>3)ei=ei.slice(0,ei.length-3);else throw eo}ec.push(ea),eu=eu.slice(ei.length)}return ec.map((eo,ea)=>({name:`${ei}.${ea}`,value:eo}))}async function combineChunks(ei,eo){let ea=await eo(ei);if(ea)return ea;let es=[];for(let ea=0;;ea++){let eu=`${ei}.${ea}`,ec=await eo(eu);if(!ec)break;es.push(ec)}return es.length>0?es.join(""):null}let e6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),e5=" 	\n\r=".split(""),e4=(()=>{let ei=Array(128);for(let eo=0;eo<ei.length;eo+=1)ei[eo]=-1;for(let eo=0;eo<e5.length;eo+=1)ei[e5[eo].charCodeAt(0)]=-2;for(let eo=0;eo<e6.length;eo+=1)ei[e6[eo].charCodeAt(0)]=eo;return ei})();function stringToBase64URL(ei){let eo=[],ea=0,es=0,emitter=ei=>{for(ea=ea<<8|ei,es+=8;es>=6;){let ei=ea>>es-6&63;eo.push(e6[ei]),es-=6}};if(stringToUTF8(ei,emitter),es>0)for(ea<<=6-es,es=6;es>=6;){let ei=ea>>es-6&63;eo.push(e6[ei]),es-=6}return eo.join("")}function stringFromBase64URL(ei){let eo=[],emit=ei=>{eo.push(String.fromCodePoint(ei))},ea={utf8seq:0,codepoint:0},es=0,eu=0;for(let eo=0;eo<ei.length;eo+=1){let ec=ei.charCodeAt(eo),ed=e4[ec];if(ed>-1)for(es=es<<6|ed,eu+=6;eu>=8;)stringFromUTF8(es>>eu-8&255,ea,emit),eu-=8;else if(-2===ed)continue;else throw Error(`Invalid Base64-URL character "${ei.at(eo)}" at position ${eo}`)}return eo.join("")}function codepointToUTF8(ei,eo){if(ei<=127){eo(ei);return}if(ei<=2047){eo(192|ei>>6),eo(128|63&ei);return}if(ei<=65535){eo(224|ei>>12),eo(128|ei>>6&63),eo(128|63&ei);return}if(ei<=1114111){eo(240|ei>>18),eo(128|ei>>12&63),eo(128|ei>>6&63),eo(128|63&ei);return}throw Error(`Unrecognized Unicode codepoint: ${ei.toString(16)}`)}function stringToUTF8(ei,eo){for(let ea=0;ea<ei.length;ea+=1){let es=ei.charCodeAt(ea);if(es>55295&&es<=56319){let eo=(es-55296)*1024&65535,eu=ei.charCodeAt(ea+1)-56320&65535;es=(eu|eo)+65536,ea+=1}codepointToUTF8(es,eo)}}function stringFromUTF8(ei,eo,ea){if(0===eo.utf8seq){if(ei<=127){ea(ei);return}for(let ea=1;ea<6;ea+=1)if((ei>>7-ea&1)==0){eo.utf8seq=ea;break}if(2===eo.utf8seq)eo.codepoint=31&ei;else if(3===eo.utf8seq)eo.codepoint=15&ei;else if(4===eo.utf8seq)eo.codepoint=7&ei;else throw Error("Invalid UTF-8 sequence");eo.utf8seq-=1}else if(eo.utf8seq>0){if(ei<=127)throw Error("Invalid UTF-8 sequence");eo.codepoint=eo.codepoint<<6|63&ei,eo.utf8seq-=1,0===eo.utf8seq&&ea(eo.codepoint)}}let e7="base64-";function cookies_createStorageFromOptions(ei,eo){let ea,es;let eu=ei.cookies??null,ec=ei.cookieEncoding,ed={},ef={};if(eu){if("get"in eu){let getWithHints=async ei=>{let eo=ei.flatMap(ei=>[ei,...Array.from({length:5}).map((eo,ea)=>`${ei}.${ea}`)]),ea=[];for(let ei=0;ei<eo.length;ei+=1){let es=await eu.get(eo[ei]);(es||"string"==typeof es)&&ea.push({name:eo[ei],value:es})}return ea};if(ea=async ei=>await getWithHints(ei),"set"in eu&&"remove"in eu)es=async ei=>{for(let eo=0;eo<ei.length;eo+=1){let{name:ea,value:es,options:ec}=ei[eo];es?await eu.set(ea,es,ec):await eu.remove(ea,ec)}};else if(eo)es=async()=>{console.warn("@supabase/ssr: createServerClient was configured without set and remove cookie methods, but the client needs to set cookies. This can lead to issues such as random logouts, early session termination or increased token refresh requests. If in NextJS, check your middleware.ts file, route handlers and server actions for correctness. Consider switching to the getAll and setAll cookie methods instead of get, set and remove which are deprecated and can be difficult to use correctly.")};else throw Error("@supabase/ssr: createBrowserClient requires configuring a getAll and setAll cookie method (deprecated: alternatively both get, set and remove can be used)")}else if("getAll"in eu){if(ea=async()=>await eu.getAll(),"setAll"in eu)es=eu.setAll;else if(eo)es=async()=>{console.warn("@supabase/ssr: createServerClient was configured without the setAll cookie method, but the client needs to set cookies. This can lead to issues such as random logouts, early session termination or increased token refresh requests. If in NextJS, check your middleware.ts file, route handlers and server actions for correctness.")};else throw Error("@supabase/ssr: createBrowserClient requires configuring both getAll and setAll cookie methods (deprecated: alternatively both get, set and remove can be used)")}else throw Error(`@supabase/ssr: ${eo?"createServerClient":"createBrowserClient"} requires configuring getAll and setAll cookie methods (deprecated: alternatively use get, set and remove).${utils_helpers_isBrowser()?" As this is called in a browser runtime, consider removing the cookies option object to use the document.cookie API automatically.":""}`)}else if(!eo&&utils_helpers_isBrowser()){let noHintGetAll=()=>{let ei=(0,e0.Q)(document.cookie);return Object.keys(ei).map(eo=>({name:eo,value:ei[eo]}))};ea=()=>noHintGetAll(),es=ei=>{ei.forEach(({name:ei,value:eo,options:ea})=>{document.cookie=(0,e0.q)(ei,eo,ea)})}}else if(eo)throw Error("@supabase/ssr: createServerClient must be initialized with cookie options that specify getAll and setAll functions (deprecated, not recommended: alternatively use get, set and remove)");else ea=()=>[],es=()=>{throw Error("@supabase/ssr: createBrowserClient in non-browser runtimes (including Next.js pre-rendering mode) was not initialized cookie options that specify getAll and setAll functions (deprecated: alternatively use get, set and remove), but they were needed")};return eo?{getAll:ea,setAll:es,setItems:ed,removedItems:ef,storage:{isServer:!0,getItem:async ei=>{if("string"==typeof ed[ei])return ed[ei];if(ef[ei])return null;let eo=await ea([ei]),es=await combineChunks(ei,async ei=>{let ea=eo?.find(({name:eo})=>eo===ei)||null;return ea?ea.value:null});if(!es)return null;let eu=es;return es.startsWith(e7)&&(eu=stringFromBase64URL(es.substring(e7.length))),eu},setItem:async(eo,eu)=>{eo.endsWith("-code-verifier")&&await cookies_applyServerStorage({getAll:ea,setAll:es,setItems:{[eo]:eu},removedItems:{}},{cookieOptions:ei?.cookieOptions??null,cookieEncoding:ec}),ed[eo]=eu,delete ef[eo]},removeItem:async ei=>{delete ed[ei],ef[ei]=!0}}}:{getAll:ea,setAll:es,setItems:ed,removedItems:ef,storage:{isServer:!1,getItem:async ei=>{let eo=await ea([ei]),es=await combineChunks(ei,async ei=>{let ea=eo?.find(({name:eo})=>eo===ei)||null;return ea?ea.value:null});if(!es)return null;let eu=es;return es.startsWith(e7)&&(eu=stringFromBase64URL(es.substring(e7.length))),eu},setItem:async(eo,eu)=>{let ed=await ea([eo]),ef=ed?.map(({name:ei})=>ei)||[],eh=new Set(ef.filter(ei=>isChunkLike(ei,eo))),ep=eu;"base64url"===ec&&(ep=e7+stringToBase64URL(eu));let em=createChunks(eo,ep);em.forEach(({name:ei})=>{eh.delete(ei)});let eg={...e1,...ei?.cookieOptions,maxAge:0},eb={...e1,...ei?.cookieOptions,maxAge:e1.maxAge};delete eg.name,delete eb.name;let ey=[...[...eh].map(ei=>({name:ei,value:"",options:eg})),...em.map(({name:ei,value:eo})=>({name:ei,value:eo,options:eb}))];ey.length>0&&await es(ey)},removeItem:async eo=>{let eu=await ea([eo]),ec=eu?.map(({name:ei})=>ei)||[],ed=ec.filter(ei=>isChunkLike(ei,eo)),ef={...e1,...ei?.cookieOptions,maxAge:0};delete ef.name,ed.length>0&&await es(ed.map(ei=>({name:ei,value:"",options:ef})))}}}}async function cookies_applyServerStorage({getAll:ei,setAll:eo,setItems:ea,removedItems:es},eu){let ec=eu.cookieEncoding,ed=eu.cookieOptions??null,ef=await ei([...ea?Object.keys(ea):[],...es?Object.keys(es):[]]),eh=ef?.map(({name:ei})=>ei)||[],ep=Object.keys(es).flatMap(ei=>eh.filter(eo=>isChunkLike(eo,ei))),em=Object.keys(ea).flatMap(ei=>{let eo=new Set(eh.filter(eo=>isChunkLike(eo,ei))),es=ea[ei];"base64url"===ec&&(es=e7+stringToBase64URL(es));let eu=createChunks(ei,es);return eu.forEach(ei=>{eo.delete(ei.name)}),ep.push(...eo),eu}),eg={...e1,...ed,maxAge:0},eb={...e1,...ed,maxAge:e1.maxAge};delete eg.name,delete eb.name,await eo([...ep.map(ei=>({name:ei,value:"",options:eg})),...em.map(({name:ei,value:eo})=>({name:ei,value:eo,options:eb}))])}function createBrowserClient(ei,eo,ea){let eu=ea?.isSingleton===!0||(!ea||!("isSingleton"in ea))&&utils_helpers_isBrowser();if(eu&&es)return es;if(!ei||!eo)throw Error(`@supabase/ssr: Your project's URL and API key are required to create a Supabase client!

Check your Supabase project's API settings to find these values

https://supabase.com/dashboard/project/_/settings/api`);let{storage:ec}=cookies_createStorageFromOptions({...ea,cookieEncoding:ea?.cookieEncoding??"base64url"},!1),ed=module_createClient(ei,eo,{...ea,global:{...ea?.global,headers:{...ea?.global?.headers,"X-Client-Info":`supabase-ssr/${eQ}`}},auth:{...ea?.auth,...ea?.cookieOptions?.name?{storageKey:ea.cookieOptions.name}:null,flowType:"pkce",autoRefreshToken:utils_helpers_isBrowser(),detectSessionInUrl:utils_helpers_isBrowser(),persistSession:!0,storage:ec}});return eu&&(es=ed),ed}let e9="https://rsisyxsqcazwtssgsvax.supabase.co",tr="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InJzaXN5eHNxY2F6d3Rzc2dzdmF4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTY5NjIxNDQsImV4cCI6MjAzMjUzODE0NH0.HG7sFQxJ6k0BoGLVaStY3lZ9hwZnj2l5U-3ORndendE";if(!e9)throw Error("Missing Supabase url");if(!tr)throw Error("Missing Supabase key");let tn=createBrowserClient(e9,tr)},60394:function(ei,eo,ea){"use strict";var es=ea(40672),eu=ea(13908),ec=ea(9815);let AccountApi=class AccountApi extends eu.Z{async removeMemberFromAccount(ei){let{accountId:eo,userId:ea}=ei;return ec.x1.delete("".concat(this.resourcePath,"/").concat(eo,"/user"),ea)}async sendInvite(ei){let{email:eo,accountId:ea,accountRoleId:eu=es.M.MEMBER}=ei;return ec.x1.post("".concat(this.resourcePath,"/").concat(ea,"/user"),{email:eo,accountRoleId:eu})}async getAccountUsers(ei){let{signal:eo}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ec.x1.get(this.resourcePath,"".concat(ei,"/users"),{signal:eo})}async switchAccount(ei){return ec.x1.post("".concat(this.resourcePath,"/").concat(ei))}async patchAccount(ei){let{accountId:eo,data:ea}=ei;return ec.x1.patch(this.resourcePath,eo,ea)}constructor(){super(),this.resourcePath="account"}};let ed=new AccountApi;eo.Z=ed},13908:function(ei,eo){"use strict";let BaseApi=class BaseApi{getNestedPath(ei){if(!this.parentPath||!ei)throw Error("Parent path or resource ID is missing");return"".concat(this.parentPath,"/").concat(ei,"/").concat(this.asChildPath||this.resourcePath)}constructor(ei){this.resourcePath="",this.asChildPath="",this.parentPath=ei}};eo.Z=BaseApi},9815:function(ei,eo,ea){"use strict";ea.d(eo,{LT:function(){return buildPath},Sl:function(){return ApiClient},wU:function(){return getHeaders},x1:function(){return ec}});var es=ea(87066),eu=ea(34145);function handleResponse(ei){return ei.data}let buildPath=ei=>ei.filter(Boolean).join("/"),getHeaders=ei=>{let{token:eo}=ei;return eo?{headers:{Authorization:"Bearer ".concat(eo)}}:{}};let ApiClient=class ApiClient{setAuthorizationHeader(ei){if(!this.axiosInstance)throw Error("Axios instance is not initialized");if(!ei)throw Error("Token is required for setting auth header");this.axiosInstance.defaults.headers.common.Authorization="Bearer ".concat(ei)}async getAll(ei){let eo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ea=await this.axiosInstance.get(ei,eo);return handleResponse(ea)}async get(ei,eo){let ea=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},es=await this.axiosInstance.get(buildPath([ei,eo]),ea);return handleResponse(es)}async post(ei,eo){let ea=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},es=await this.axiosInstance.post(ei,eo,ea);return handleResponse(es)}async put(ei,eo,ea){let es=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},eu=await this.axiosInstance.put(buildPath([ei,eo]),ea,es);return handleResponse(eu)}async patch(ei,eo,ea){let es=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},eu=await this.axiosInstance.patch(buildPath([ei,eo]),ea,es);return handleResponse(eu)}async delete(ei,eo){let ea=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},es=await this.axiosInstance.delete(buildPath([ei,eo]),ea);return handleResponse(es)}constructor(ei){if(!ei)throw Error("Base URL is required for API client");let eo=es.Z.create({baseURL:ei});eo.defaults.headers.common["Content-Type"]="application/json",this.axiosInstance=eo}};let ec=new ApiClient(eu.T5)},31890:function(ei,eo,ea){"use strict";var es=ea(34145),eu=ea(13908),ec=ea(9815);let DocumentsApi=class DocumentsApi extends eu.Z{async getById(ei){let{signal:eo,...ea}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ec.x1.get(this.resourcePath,"".concat(ei,"/lean"),{signal:eo,...(0,ec.wU)(ea)})}async uploadDocumenFiles(ei){return ec.x1.post("".concat(this.resourcePath,"/upload/batch"),ei)}async runInfoExtraction(ei){let{documentId:eo,fields:ea}=ei;return ec.x1.post("".concat(this.resourcePath,"/").concat(eo,"/extract-info"),ea)}async patchDocument(ei){let{documentId:eo,...ea}=ei;return ec.x1.patch(this.resourcePath,eo,ea)}async exportToCsv(ei){let{params:eo,payload:ea}=ei;return ec.x1.post("".concat(this.resourcePath,"/export/csv"),ea,{params:eo,responseType:"blob"})}constructor(){super(),this.resourcePath=es.jV}};let ed=new DocumentsApi;eo.Z=ed},76653:function(ei,eo,ea){"use strict";ea.d(eo,{R7:function(){return ep},b0:function(){return em},Oj:function(){return eh}});var es=ea(15103);let eu=Symbol("RESET"),isPromiseLike=ei=>"function"==typeof(null==ei?void 0:ei.then);function createJSONStorage(ei=()=>{try{return window.localStorage}catch(ei){"undefined"!=typeof window&&console.warn(ei);return}},eo){let ea,es;let eu={getItem:(eu,ec)=>{var ed,ef;let parse=ei=>{if(ea!==(ei=ei||"")){try{es=JSON.parse(ei,null==eo?void 0:eo.reviver)}catch(ei){return ec}ea=ei}return es},eh=null!=(ef=null==(ed=ei())?void 0:ed.getItem(eu))?ef:null;return isPromiseLike(eh)?eh.then(parse):parse(eh)},setItem:(ea,es)=>{var eu;return null==(eu=ei())?void 0:eu.setItem(ea,JSON.stringify(es,null==eo?void 0:eo.replacer))},removeItem:eo=>{var ea;return null==(ea=ei())?void 0:ea.removeItem(eo)}};return"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(eu.subscribe=(eo,ea,es)=>{if(!(ei() instanceof window.Storage))return()=>{};let storageEventCallback=eu=>{if(eu.storageArea===ei()&&eu.key===eo){let ei;try{ei=JSON.parse(eu.newValue||"")}catch(eo){ei=es}ea(ei)}};return window.addEventListener("storage",storageEventCallback),()=>{window.removeEventListener("storage",storageEventCallback)}}),eu}let ec=createJSONStorage();function atomWithStorage(ei,eo,ea=ec,ed){let ef=null==ed?void 0:ed.getOnInit,eh=(0,es.cn)(ef?ea.getItem(ei,eo):eo);eh.debugPrivate=!0,eh.onMount=es=>{let eu;return es(ea.getItem(ei,eo)),ea.subscribe&&(eu=ea.subscribe(ei,es,eo)),eu};let ep=(0,es.cn)(ei=>ei(eh),(es,ec,ed)=>{let ef="function"==typeof ed?ed(es(eh)):ed;return ef===eu?(ec(eh,eo),ea.removeItem(ei)):ef instanceof Promise?ef.then(eo=>(ec(eh,eo),ea.setItem(ei,eo))):(ec(eh,ef),ea.setItem(ei,ef))});return ep}var ed=ea(28421),ef=ea(55405);let eh=atomWithStorage("".concat(ed.ct,"theme"),ef.S.Light),ep=(0,es.cn)(!1),em=(0,es.cn)(!1)},48136:function(ei,eo,ea){"use strict";ea.d(eo,{c:function(){return ed}});var es=ea(85893),eu=ea(15103),ec=ea(48583);let ed=(0,eu.MT)(),AtomGlobalProvider=ei=>{let{children:eo}=ei;return(0,es.jsx)(ec.zt,{store:ed,children:eo})};eo.Z=AtomGlobalProvider},56097:function(ei,eo,ea){"use strict";function r(ei){var eo,ea,es="";if("string"==typeof ei||"number"==typeof ei)es+=ei;else if("object"==typeof ei){if(Array.isArray(ei)){var eu=ei.length;for(eo=0;eo<eu;eo++)ei[eo]&&(ea=r(ei[eo]))&&(es&&(es+=" "),es+=ea)}else for(ea in ei)ei[ea]&&(es&&(es+=" "),es+=ea)}return es}ea.d(eo,{cn:function(){return cn},_:function(){return cnConcat}});var dist_clsx=function(){for(var ei,eo,ea=0,es="",eu=arguments.length;ea<eu;ea++)(ei=arguments[ea])&&(eo=r(ei))&&(es&&(es+=" "),es+=eo);return es},es=ea(98388);let eu=["small","medium","large"],ec={extend:{theme:{opacity:["disabled"],spacing:["divider"],borderWidth:eu,borderRadius:eu},classGroups:{shadow:[{shadow:eu}],"font-size":[{text:["tiny",...eu]}],"bg-image":["bg-stripe-gradient"]}}},ed=(0,es.q7)(ec);function cnConcat(){for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return dist_clsx(eo)}function cn(){for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return ed(dist_clsx(eo))}},32745:function(ei,eo,ea){"use strict";function formatFilename(ei){if(!ei)return;let eo=ei.split(".");return eo.slice(0,eo.length-1).join(".")}function toPx(ei){return"".concat(ei,"px")}function getInitials(ei){return ei.split(" ").slice(0,2).map(ei=>ei[0]).join("").toUpperCase()}ea.d(eo,{M4:function(){return formatFilename},Qm:function(){return getInitials},aR:function(){return toPx},a_:function(){return snakeToTitleCase},jK:function(){return getCurrencySymbol},xG:function(){return formatCurrency}});let snakeToTitleCase=ei=>ei?ei.split("_").map(ei=>ei.charAt(0).toUpperCase()+ei.slice(1).toLowerCase()).join(" "):"",formatCurrency=(ei,eo)=>Intl.NumberFormat("en-US",{currency:eo,style:"currency",minimumFractionDigits:0}).format(ei),getCurrencySymbol=function(ei){let eo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return 0..toLocaleString(eo,{style:"currency",currency:ei,minimumFractionDigits:0,maximumFractionDigits:0}).replace(/\d/g,"").trim()}},78687:function(ei,eo,ea){"use strict";ea.d(eo,{C:function(){return asyncNoop},Z:function(){return noop}});let asyncNoop=async()=>{},noop=()=>{}},42474:function(ei,eo,ea){var es="/",eu=ea(48764).Buffer,ec=ea(34155);!function(){var eo={7160:function(ei,eo,ea){var es=eo;es.bignum=ea(711),es.define=ea(495).define,es.base=ea(853),es.constants=ea(7335),es.decoders=ea(6701),es.encoders=ea(3418)},495:function(ei,eo,ea){var es=ea(7160),eu=ea(3782);function Entity(ei,eo){this.name=ei,this.body=eo,this.decoders={},this.encoders={}}eo.define=function(ei,eo){return new Entity(ei,eo)},Entity.prototype._createNamed=function(ei){var eo;try{eo=ea(6144).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(ei){eo=function(ei){this._initNamed(ei)}}return eu(eo,ei),eo.prototype._initNamed=function(eo){ei.call(this,eo)},new eo(this)},Entity.prototype._getDecoder=function(ei){return ei=ei||"der",this.decoders.hasOwnProperty(ei)||(this.decoders[ei]=this._createNamed(es.decoders[ei])),this.decoders[ei]},Entity.prototype.decode=function(ei,eo,ea){return this._getDecoder(eo).decode(ei,ea)},Entity.prototype._getEncoder=function(ei){return ei=ei||"der",this.encoders.hasOwnProperty(ei)||(this.encoders[ei]=this._createNamed(es.encoders[ei])),this.encoders[ei]},Entity.prototype.encode=function(ei,eo,ea){return this._getEncoder(eo).encode(ei,ea)}},6483:function(ei,eo,ea){var es=ea(3782),eu=ea(853).Reporter,ec=ea(4300).Buffer;function DecoderBuffer(ei,eo){if(eu.call(this,eo),!ec.isBuffer(ei)){this.error("Input not Buffer");return}this.base=ei,this.offset=0,this.length=ei.length}function EncoderBuffer(ei,eo){if(Array.isArray(ei))this.length=0,this.value=ei.map(function(ei){return ei instanceof EncoderBuffer||(ei=new EncoderBuffer(ei,eo)),this.length+=ei.length,ei},this);else if("number"==typeof ei){if(!(0<=ei&&ei<=255))return eo.error("non-byte EncoderBuffer value");this.value=ei,this.length=1}else if("string"==typeof ei)this.value=ei,this.length=ec.byteLength(ei);else{if(!ec.isBuffer(ei))return eo.error("Unsupported type: "+typeof ei);this.value=ei,this.length=ei.length}}es(DecoderBuffer,eu),eo.C=DecoderBuffer,DecoderBuffer.prototype.save=function(){return{offset:this.offset,reporter:eu.prototype.save.call(this)}},DecoderBuffer.prototype.restore=function(ei){var eo=new DecoderBuffer(this.base);return eo.offset=ei.offset,eo.length=this.offset,this.offset=ei.offset,eu.prototype.restore.call(this,ei.reporter),eo},DecoderBuffer.prototype.isEmpty=function(){return this.offset===this.length},DecoderBuffer.prototype.readUInt8=function(ei){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(ei||"DecoderBuffer overrun")},DecoderBuffer.prototype.skip=function(ei,eo){if(!(this.offset+ei<=this.length))return this.error(eo||"DecoderBuffer overrun");var ea=new DecoderBuffer(this.base);return ea._reporterState=this._reporterState,ea.offset=this.offset,ea.length=this.offset+ei,this.offset+=ei,ea},DecoderBuffer.prototype.raw=function(ei){return this.base.slice(ei?ei.offset:this.offset,this.length)},eo.R=EncoderBuffer,EncoderBuffer.prototype.join=function(ei,eo){return ei||(ei=new ec(this.length)),eo||(eo=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(ea){ea.join(ei,eo),eo+=ea.length}):("number"==typeof this.value?ei[eo]=this.value:"string"==typeof this.value?ei.write(this.value,eo):ec.isBuffer(this.value)&&this.value.copy(ei,eo),eo+=this.length)),ei}},853:function(ei,eo,ea){var es=eo;es.Reporter=ea(1293).b,es.DecoderBuffer=ea(6483).C,es.EncoderBuffer=ea(6483).R,es.Node=ea(9374)},9374:function(ei,eo,ea){var es=ea(853).Reporter,eu=ea(853).EncoderBuffer,ec=ea(853).DecoderBuffer,ed=ea(3523),ef=["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"],eh=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(ef),ep=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Node(ei,eo){var ea={};this._baseState=ea,ea.enc=ei,ea.parent=eo||null,ea.children=null,ea.tag=null,ea.args=null,ea.reverseArgs=null,ea.choice=null,ea.optional=!1,ea.any=!1,ea.obj=!1,ea.use=null,ea.useDecoder=null,ea.key=null,ea.default=null,ea.explicit=null,ea.implicit=null,ea.contains=null,ea.parent||(ea.children=[],this._wrap())}ei.exports=Node;var em=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function(){var ei=this._baseState,eo={};em.forEach(function(ea){eo[ea]=ei[ea]});var ea=new this.constructor(eo.parent);return ea._baseState=eo,ea},Node.prototype._wrap=function(){var ei=this._baseState;eh.forEach(function(eo){this[eo]=function(){var ea=new this.constructor(this);return ei.children.push(ea),ea[eo].apply(ea,arguments)}},this)},Node.prototype._init=function(ei){var eo=this._baseState;ed(null===eo.parent),ei.call(this),eo.children=eo.children.filter(function(ei){return ei._baseState.parent===this},this),ed.equal(eo.children.length,1,"Root node can have only one child")},Node.prototype._useArgs=function(ei){var eo=this._baseState,ea=ei.filter(function(ei){return ei instanceof this.constructor},this);ei=ei.filter(function(ei){return!(ei instanceof this.constructor)},this),0!==ea.length&&(ed(null===eo.children),eo.children=ea,ea.forEach(function(ei){ei._baseState.parent=this},this)),0!==ei.length&&(ed(null===eo.args),eo.args=ei,eo.reverseArgs=ei.map(function(ei){if("object"!=typeof ei||ei.constructor!==Object)return ei;var eo={};return Object.keys(ei).forEach(function(ea){ea==(0|ea)&&(ea|=0),eo[ei[ea]]=ea}),eo}))},ep.forEach(function(ei){Node.prototype[ei]=function(){throw Error(ei+" not implemented for encoding: "+this._baseState.enc)}}),ef.forEach(function(ei){Node.prototype[ei]=function(){var eo=this._baseState,ea=Array.prototype.slice.call(arguments);return ed(null===eo.tag),eo.tag=ei,this._useArgs(ea),this}}),Node.prototype.use=function(ei){ed(ei);var eo=this._baseState;return ed(null===eo.use),eo.use=ei,this},Node.prototype.optional=function(){return this._baseState.optional=!0,this},Node.prototype.def=function(ei){var eo=this._baseState;return ed(null===eo.default),eo.default=ei,eo.optional=!0,this},Node.prototype.explicit=function(ei){var eo=this._baseState;return ed(null===eo.explicit&&null===eo.implicit),eo.explicit=ei,this},Node.prototype.implicit=function(ei){var eo=this._baseState;return ed(null===eo.explicit&&null===eo.implicit),eo.implicit=ei,this},Node.prototype.obj=function(){var ei=this._baseState,eo=Array.prototype.slice.call(arguments);return ei.obj=!0,0!==eo.length&&this._useArgs(eo),this},Node.prototype.key=function(ei){var eo=this._baseState;return ed(null===eo.key),eo.key=ei,this},Node.prototype.any=function(){return this._baseState.any=!0,this},Node.prototype.choice=function(ei){var eo=this._baseState;return ed(null===eo.choice),eo.choice=ei,this._useArgs(Object.keys(ei).map(function(eo){return ei[eo]})),this},Node.prototype.contains=function(ei){var eo=this._baseState;return ed(null===eo.use),eo.contains=ei,this},Node.prototype._decode=function(ei,eo){var ea,es=this._baseState;if(null===es.parent)return ei.wrapResult(es.children[0]._decode(ei,eo));var eu=es.default,ed=!0,ef=null;if(null!==es.key&&(ef=ei.enterKey(es.key)),es.optional){var eh=null;if(null!==es.explicit?eh=es.explicit:null!==es.implicit?eh=es.implicit:null!==es.tag&&(eh=es.tag),null!==eh||es.any){if(ed=this._peekTag(ei,eh,es.any),ei.isError(ed))return ed}else{var ep=ei.save();try{null===es.choice?this._decodeGeneric(es.tag,ei,eo):this._decodeChoice(ei,eo),ed=!0}catch(ei){ed=!1}ei.restore(ep)}}if(es.obj&&ed&&(ea=ei.enterObject()),ed){if(null!==es.explicit){var em=this._decodeTag(ei,es.explicit);if(ei.isError(em))return em;ei=em}var eg=ei.offset;if(null===es.use&&null===es.choice){if(es.any)var ep=ei.save();var eb=this._decodeTag(ei,null!==es.implicit?es.implicit:es.tag,es.any);if(ei.isError(eb))return eb;es.any?eu=ei.raw(ep):ei=eb}if(eo&&eo.track&&null!==es.tag&&eo.track(ei.path(),eg,ei.length,"tagged"),eo&&eo.track&&null!==es.tag&&eo.track(ei.path(),ei.offset,ei.length,"content"),es.any||(eu=null===es.choice?this._decodeGeneric(es.tag,ei,eo):this._decodeChoice(ei,eo)),ei.isError(eu))return eu;if(es.any||null!==es.choice||null===es.children||es.children.forEach(function(ea){ea._decode(ei,eo)}),es.contains&&("octstr"===es.tag||"bitstr"===es.tag)){var ey=new ec(eu);eu=this._getUse(es.contains,ei._reporterState.obj)._decode(ey,eo)}}return es.obj&&ed&&(eu=ei.leaveObject(ea)),null!==es.key&&(null!==eu||!0===ed)?ei.leaveKey(ef,es.key,eu):null!==ef&&ei.exitKey(ef),eu},Node.prototype._decodeGeneric=function(ei,eo,ea){var es=this._baseState;if("seq"===ei||"set"===ei)return null;if("seqof"===ei||"setof"===ei)return this._decodeList(eo,ei,es.args[0],ea);if(/str$/.test(ei))return this._decodeStr(eo,ei,ea);if("objid"===ei&&es.args)return this._decodeObjid(eo,es.args[0],es.args[1],ea);if("objid"===ei)return this._decodeObjid(eo,null,null,ea);if("gentime"===ei||"utctime"===ei)return this._decodeTime(eo,ei,ea);if("null_"===ei)return this._decodeNull(eo,ea);if("bool"===ei)return this._decodeBool(eo,ea);else if("objDesc"===ei)return this._decodeStr(eo,ei,ea);else if("int"===ei||"enum"===ei)return this._decodeInt(eo,es.args&&es.args[0],ea);return null!==es.use?this._getUse(es.use,eo._reporterState.obj)._decode(eo,ea):eo.error("unknown tag: "+ei)},Node.prototype._getUse=function(ei,eo){var ea=this._baseState;return ea.useDecoder=this._use(ei,eo),ed(null===ea.useDecoder._baseState.parent),ea.useDecoder=ea.useDecoder._baseState.children[0],ea.implicit!==ea.useDecoder._baseState.implicit&&(ea.useDecoder=ea.useDecoder.clone(),ea.useDecoder._baseState.implicit=ea.implicit),ea.useDecoder},Node.prototype._decodeChoice=function(ei,eo){var ea=this._baseState,es=null,eu=!1;return(Object.keys(ea.choice).some(function(ec){var ed=ei.save(),ef=ea.choice[ec];try{var eh=ef._decode(ei,eo);if(ei.isError(eh))return!1;es={type:ec,value:eh},eu=!0}catch(eo){return ei.restore(ed),!1}return!0},this),eu)?es:ei.error("Choice not matched")},Node.prototype._createEncoderBuffer=function(ei){return new eu(ei,this.reporter)},Node.prototype._encode=function(ei,eo,ea){var es=this._baseState;if(null===es.default||es.default!==ei){var eu=this._encodeValue(ei,eo,ea);if(void 0!==eu&&!this._skipDefault(eu,eo,ea))return eu}},Node.prototype._encodeValue=function(ei,eo,ea){var eu,ec=this._baseState;if(null===ec.parent)return ec.children[0]._encode(ei,eo||new es);var eu=null;if(this.reporter=eo,ec.optional&&void 0===ei){if(null===ec.default)return;ei=ec.default}var ed=null,ef=!1;if(ec.any)eu=this._createEncoderBuffer(ei);else if(ec.choice)eu=this._encodeChoice(ei,eo);else if(ec.contains)ed=this._getUse(ec.contains,ea)._encode(ei,eo),ef=!0;else if(ec.children)ed=ec.children.map(function(ea){if("null_"===ea._baseState.tag)return ea._encode(null,eo,ei);if(null===ea._baseState.key)return eo.error("Child should have a key");var es=eo.enterKey(ea._baseState.key);if("object"!=typeof ei)return eo.error("Child expected, but input is not object");var eu=ea._encode(ei[ea._baseState.key],eo,ei);return eo.leaveKey(es),eu},this).filter(function(ei){return ei}),ed=this._createEncoderBuffer(ed);else if("seqof"===ec.tag||"setof"===ec.tag){if(!(ec.args&&1===ec.args.length))return eo.error("Too many args for : "+ec.tag);if(!Array.isArray(ei))return eo.error("seqof/setof, but data is not Array");var eh=this.clone();eh._baseState.implicit=null,ed=this._createEncoderBuffer(ei.map(function(ea){var es=this._baseState;return this._getUse(es.args[0],ei)._encode(ea,eo)},eh))}else null!==ec.use?eu=this._getUse(ec.use,ea)._encode(ei,eo):(ed=this._encodePrimitive(ec.tag,ei),ef=!0);if(!ec.any&&null===ec.choice){var ep=null!==ec.implicit?ec.implicit:ec.tag,em=null===ec.implicit?"universal":"context";null===ep?null===ec.use&&eo.error("Tag could be omitted only for .use()"):null===ec.use&&(eu=this._encodeComposite(ep,ef,em,ed))}return null!==ec.explicit&&(eu=this._encodeComposite(ec.explicit,!1,"context",eu)),eu},Node.prototype._encodeChoice=function(ei,eo){var ea=this._baseState,es=ea.choice[ei.type];return es||ed(!1,ei.type+" not found in "+JSON.stringify(Object.keys(ea.choice))),es._encode(ei.value,eo)},Node.prototype._encodePrimitive=function(ei,eo){var ea=this._baseState;if(/str$/.test(ei))return this._encodeStr(eo,ei);if("objid"===ei&&ea.args)return this._encodeObjid(eo,ea.reverseArgs[0],ea.args[1]);if("objid"===ei)return this._encodeObjid(eo,null,null);if("gentime"===ei||"utctime"===ei)return this._encodeTime(eo,ei);if("null_"===ei)return this._encodeNull();if("int"===ei||"enum"===ei)return this._encodeInt(eo,ea.args&&ea.reverseArgs[0]);if("bool"===ei)return this._encodeBool(eo);else if("objDesc"===ei)return this._encodeStr(eo,ei);else throw Error("Unsupported tag: "+ei)},Node.prototype._isNumstr=function(ei){return/^[0-9 ]*$/.test(ei)},Node.prototype._isPrintstr=function(ei){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(ei)}},1293:function(ei,eo,ea){var es=ea(3782);function Reporter(ei){this._reporterState={obj:null,path:[],options:ei||{},errors:[]}}function ReporterError(ei,eo){this.path=ei,this.rethrow(eo)}eo.b=Reporter,Reporter.prototype.isError=function(ei){return ei instanceof ReporterError},Reporter.prototype.save=function(){var ei=this._reporterState;return{obj:ei.obj,pathLen:ei.path.length}},Reporter.prototype.restore=function(ei){var eo=this._reporterState;eo.obj=ei.obj,eo.path=eo.path.slice(0,ei.pathLen)},Reporter.prototype.enterKey=function(ei){return this._reporterState.path.push(ei)},Reporter.prototype.exitKey=function(ei){var eo=this._reporterState;eo.path=eo.path.slice(0,ei-1)},Reporter.prototype.leaveKey=function(ei,eo,ea){var es=this._reporterState;this.exitKey(ei),null!==es.obj&&(es.obj[eo]=ea)},Reporter.prototype.path=function(){return this._reporterState.path.join("/")},Reporter.prototype.enterObject=function(){var ei=this._reporterState,eo=ei.obj;return ei.obj={},eo},Reporter.prototype.leaveObject=function(ei){var eo=this._reporterState,ea=eo.obj;return eo.obj=ei,ea},Reporter.prototype.error=function(ei){var eo,ea=this._reporterState,es=ei instanceof ReporterError;if(eo=es?ei:new ReporterError(ea.path.map(function(ei){return"["+JSON.stringify(ei)+"]"}).join(""),ei.message||ei,ei.stack),!ea.options.partial)throw eo;return es||ea.errors.push(eo),eo},Reporter.prototype.wrapResult=function(ei){var eo=this._reporterState;return eo.options.partial?{result:this.isError(ei)?null:ei,errors:eo.errors}:ei},es(ReporterError,Error),ReporterError.prototype.rethrow=function(ei){if(this.message=ei+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,ReporterError),!this.stack)try{throw Error(this.message)}catch(ei){this.stack=ei.stack}return this}},9791:function(ei,eo,ea){var es=ea(7335);eo.tagClass={0:"universal",1:"application",2:"context",3:"private"},eo.tagClassByName=es._reverse(eo.tagClass),eo.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"},eo.tagByName=es._reverse(eo.tag)},7335:function(ei,eo,ea){var es=eo;es._reverse=function(ei){var eo={};return Object.keys(ei).forEach(function(ea){(0|ea)==ea&&(ea|=0),eo[ei[ea]]=ea}),eo},es.der=ea(9791)},2259:function(ei,eo,ea){var es=ea(3782),eu=ea(7160),ec=eu.base,ed=eu.bignum,ef=eu.constants.der;function DERDecoder(ei){this.enc="der",this.name=ei.name,this.entity=ei,this.tree=new DERNode,this.tree._init(ei.body)}function DERNode(ei){ec.Node.call(this,"der",ei)}function derDecodeTag(ei,eo){var ea=ei.readUInt8(eo);if(ei.isError(ea))return ea;var es=ef.tagClass[ea>>6],eu=(32&ea)==0;if((31&ea)==31){var ec=ea;for(ea=0;(128&ec)==128;){if(ec=ei.readUInt8(eo),ei.isError(ec))return ec;ea<<=7,ea|=127&ec}}else ea&=31;var ed=ef.tag[ea];return{cls:es,primitive:eu,tag:ea,tagStr:ed}}function derDecodeLen(ei,eo,ea){var es=ei.readUInt8(ea);if(ei.isError(es))return es;if(!eo&&128===es)return null;if((128&es)==0)return es;var eu=127&es;if(eu>4)return ei.error("length octect is too long");es=0;for(var ec=0;ec<eu;ec++){es<<=8;var ed=ei.readUInt8(ea);if(ei.isError(ed))return ed;es|=ed}return es}ei.exports=DERDecoder,DERDecoder.prototype.decode=function(ei,eo){return ei instanceof ec.DecoderBuffer||(ei=new ec.DecoderBuffer(ei,eo)),this.tree._decode(ei,eo)},es(DERNode,ec.Node),DERNode.prototype._peekTag=function(ei,eo,ea){if(ei.isEmpty())return!1;var es=ei.save(),eu=derDecodeTag(ei,'Failed to peek tag: "'+eo+'"');return ei.isError(eu)?eu:(ei.restore(es),eu.tag===eo||eu.tagStr===eo||eu.tagStr+"of"===eo||ea)},DERNode.prototype._decodeTag=function(ei,eo,ea){var es=derDecodeTag(ei,'Failed to decode tag of "'+eo+'"');if(ei.isError(es))return es;var eu=derDecodeLen(ei,es.primitive,'Failed to get length of "'+eo+'"');if(ei.isError(eu))return eu;if(!ea&&es.tag!==eo&&es.tagStr!==eo&&es.tagStr+"of"!==eo)return ei.error('Failed to match tag: "'+eo+'"');if(es.primitive||null!==eu)return ei.skip(eu,'Failed to match body of: "'+eo+'"');var ec=ei.save(),ed=this._skipUntilEnd(ei,'Failed to skip indefinite length body: "'+this.tag+'"');return ei.isError(ed)?ed:(eu=ei.offset-ec.offset,ei.restore(ec),ei.skip(eu,'Failed to match body of: "'+eo+'"'))},DERNode.prototype._skipUntilEnd=function(ei,eo){for(;;){var ea,es=derDecodeTag(ei,eo);if(ei.isError(es))return es;var eu=derDecodeLen(ei,es.primitive,eo);if(ei.isError(eu))return eu;if(ea=es.primitive||null!==eu?ei.skip(eu):this._skipUntilEnd(ei,eo),ei.isError(ea))return ea;if("end"===es.tagStr)break}},DERNode.prototype._decodeList=function(ei,eo,ea,es){for(var eu=[];!ei.isEmpty();){var ec=this._peekTag(ei,"end");if(ei.isError(ec))return ec;var ed=ea.decode(ei,"der",es);if(ei.isError(ed)&&ec)break;eu.push(ed)}return eu},DERNode.prototype._decodeStr=function(ei,eo){if("bitstr"===eo){var ea=ei.readUInt8();return ei.isError(ea)?ea:{unused:ea,data:ei.raw()}}if("bmpstr"===eo){var es=ei.raw();if(es.length%2==1)return ei.error("Decoding of string type: bmpstr length mismatch");for(var eu="",ec=0;ec<es.length/2;ec++)eu+=String.fromCharCode(es.readUInt16BE(2*ec));return eu}if("numstr"===eo){var ed=ei.raw().toString("ascii");return this._isNumstr(ed)?ed:ei.error("Decoding of string type: numstr unsupported characters")}if("octstr"===eo)return ei.raw();if("objDesc"===eo)return ei.raw();if("printstr"===eo){var ef=ei.raw().toString("ascii");return this._isPrintstr(ef)?ef:ei.error("Decoding of string type: printstr unsupported characters")}if(/str$/.test(eo))return ei.raw().toString();else return ei.error("Decoding of string type: "+eo+" unsupported")},DERNode.prototype._decodeObjid=function(ei,eo,ea){for(var es,eu=[],ec=0;!ei.isEmpty();){var ed=ei.readUInt8();ec<<=7,ec|=127&ed,(128&ed)==0&&(eu.push(ec),ec=0)}128&ed&&eu.push(ec);var ef=eu[0]/40|0,eh=eu[0]%40;if(es=ea?eu:[ef,eh].concat(eu.slice(1)),eo){var ep=eo[es.join(" ")];void 0===ep&&(ep=eo[es.join(".")]),void 0!==ep&&(es=ep)}return es},DERNode.prototype._decodeTime=function(ei,eo){var ea=ei.raw().toString();if("gentime"===eo)var es=0|ea.slice(0,4),eu=0|ea.slice(4,6),ec=0|ea.slice(6,8),ed=0|ea.slice(8,10),ef=0|ea.slice(10,12),eh=0|ea.slice(12,14);else{if("utctime"!==eo)return ei.error("Decoding "+eo+" time is not supported yet");var es=0|ea.slice(0,2),eu=0|ea.slice(2,4),ec=0|ea.slice(4,6),ed=0|ea.slice(6,8),ef=0|ea.slice(8,10),eh=0|ea.slice(10,12);es=es<70?2e3+es:1900+es}return Date.UTC(es,eu-1,ec,ed,ef,eh,0)},DERNode.prototype._decodeNull=function(ei){return null},DERNode.prototype._decodeBool=function(ei){var eo=ei.readUInt8();return ei.isError(eo)?eo:0!==eo},DERNode.prototype._decodeInt=function(ei,eo){var ea=ei.raw(),es=new ed(ea);return eo&&(es=eo[es.toString(10)]||es),es},DERNode.prototype._use=function(ei,eo){return"function"==typeof ei&&(ei=ei(eo)),ei._getDecoder("der").tree}},6701:function(ei,eo,ea){var es=eo;es.der=ea(2259),es.pem=ea(8527)},8527:function(ei,eo,ea){var es=ea(3782),eu=ea(4300).Buffer,ec=ea(2259);function PEMDecoder(ei){ec.call(this,ei),this.enc="pem"}es(PEMDecoder,ec),ei.exports=PEMDecoder,PEMDecoder.prototype.decode=function(ei,eo){for(var ea=ei.toString().split(/[\r\n]+/g),es=eo.label.toUpperCase(),ed=/^-----(BEGIN|END) ([^-]+)-----$/,ef=-1,eh=-1,ep=0;ep<ea.length;ep++){var em=ea[ep].match(ed);if(null!==em&&em[2]===es){if(-1===ef){if("BEGIN"!==em[1])break;ef=ep}else{if("END"!==em[1])break;eh=ep;break}}}if(-1===ef||-1===eh)throw Error("PEM section not found for: "+es);var eg=ea.slice(ef+1,eh).join("");eg.replace(/[^a-z0-9\+\/=]+/gi,"");var eb=new eu(eg,"base64");return ec.prototype.decode.call(this,eb,eo)}},7804:function(ei,eo,ea){var es=ea(3782),eu=ea(4300).Buffer,ec=ea(7160),ed=ec.base,ef=ec.constants.der;function DEREncoder(ei){this.enc="der",this.name=ei.name,this.entity=ei,this.tree=new DERNode,this.tree._init(ei.body)}function DERNode(ei){ed.Node.call(this,"der",ei)}function two(ei){return ei<10?"0"+ei:ei}function encodeTag(ei,eo,ea,es){var eu;if("seqof"===ei?ei="seq":"setof"===ei&&(ei="set"),ef.tagByName.hasOwnProperty(ei))eu=ef.tagByName[ei];else{if("number"!=typeof ei||(0|ei)!==ei)return es.error("Unknown tag: "+ei);eu=ei}return eu>=31?es.error("Multi-octet tag encoding unsupported"):(eo||(eu|=32),eu|=ef.tagClassByName[ea||"universal"]<<6)}ei.exports=DEREncoder,DEREncoder.prototype.encode=function(ei,eo){return this.tree._encode(ei,eo).join()},es(DERNode,ed.Node),DERNode.prototype._encodeComposite=function(ei,eo,ea,es){var ec=encodeTag(ei,eo,ea,this.reporter);if(es.length<128){var ed=new eu(2);return ed[0]=ec,ed[1]=es.length,this._createEncoderBuffer([ed,es])}for(var ef=1,eh=es.length;eh>=256;eh>>=8)ef++;var ed=new eu(2+ef);ed[0]=ec,ed[1]=128|ef;for(var eh=1+ef,ep=es.length;ep>0;eh--,ep>>=8)ed[eh]=255&ep;return this._createEncoderBuffer([ed,es])},DERNode.prototype._encodeStr=function(ei,eo){if("bitstr"===eo)return this._createEncoderBuffer([0|ei.unused,ei.data]);if("bmpstr"===eo){for(var ea=new eu(2*ei.length),es=0;es<ei.length;es++)ea.writeUInt16BE(ei.charCodeAt(es),2*es);return this._createEncoderBuffer(ea)}return"numstr"===eo?this._isNumstr(ei)?this._createEncoderBuffer(ei):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===eo?this._isPrintstr(ei)?this._createEncoderBuffer(ei):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(eo)?this._createEncoderBuffer(ei):"objDesc"===eo?this._createEncoderBuffer(ei):this.reporter.error("Encoding of string type: "+eo+" unsupported")},DERNode.prototype._encodeObjid=function(ei,eo,ea){if("string"==typeof ei){if(!eo)return this.reporter.error("string objid given, but no values map found");if(!eo.hasOwnProperty(ei))return this.reporter.error("objid not found in values map");ei=eo[ei].split(/[\s\.]+/g);for(var es=0;es<ei.length;es++)ei[es]|=0}else if(Array.isArray(ei)){ei=ei.slice();for(var es=0;es<ei.length;es++)ei[es]|=0}if(!Array.isArray(ei))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(ei));if(!ea){if(ei[1]>=40)return this.reporter.error("Second objid identifier OOB");ei.splice(0,2,40*ei[0]+ei[1])}for(var ec=0,es=0;es<ei.length;es++){var ed=ei[es];for(ec++;ed>=128;ed>>=7)ec++}for(var ef=new eu(ec),eh=ef.length-1,es=ei.length-1;es>=0;es--){var ed=ei[es];for(ef[eh--]=127&ed;(ed>>=7)>0;)ef[eh--]=128|127&ed}return this._createEncoderBuffer(ef)},DERNode.prototype._encodeTime=function(ei,eo){var ea,es=new Date(ei);return"gentime"===eo?ea=[two(es.getFullYear()),two(es.getUTCMonth()+1),two(es.getUTCDate()),two(es.getUTCHours()),two(es.getUTCMinutes()),two(es.getUTCSeconds()),"Z"].join(""):"utctime"===eo?ea=[two(es.getFullYear()%100),two(es.getUTCMonth()+1),two(es.getUTCDate()),two(es.getUTCHours()),two(es.getUTCMinutes()),two(es.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+eo+" time is not supported yet"),this._encodeStr(ea,"octstr")},DERNode.prototype._encodeNull=function(){return this._createEncoderBuffer("")},DERNode.prototype._encodeInt=function(ei,eo){if("string"==typeof ei){if(!eo)return this.reporter.error("String int or enum given, but no values map");if(!eo.hasOwnProperty(ei))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(ei));ei=eo[ei]}if("number"!=typeof ei&&!eu.isBuffer(ei)){var ea=ei.toArray();!ei.sign&&128&ea[0]&&ea.unshift(0),ei=new eu(ea)}if(eu.isBuffer(ei)){var es=ei.length;0===ei.length&&es++;var ec=new eu(es);return ei.copy(ec),0===ei.length&&(ec[0]=0),this._createEncoderBuffer(ec)}if(ei<128)return this._createEncoderBuffer(ei);if(ei<256)return this._createEncoderBuffer([0,ei]);for(var es=1,ed=ei;ed>=256;ed>>=8)es++;for(var ec=Array(es),ed=ec.length-1;ed>=0;ed--)ec[ed]=255&ei,ei>>=8;return 128&ec[0]&&ec.unshift(0),this._createEncoderBuffer(new eu(ec))},DERNode.prototype._encodeBool=function(ei){return this._createEncoderBuffer(ei?255:0)},DERNode.prototype._use=function(ei,eo){return"function"==typeof ei&&(ei=ei(eo)),ei._getEncoder("der").tree},DERNode.prototype._skipDefault=function(ei,eo,ea){var es,eu=this._baseState;if(null===eu.default)return!1;var ec=ei.join();if(void 0===eu.defaultBuffer&&(eu.defaultBuffer=this._encodeValue(eu.default,eo,ea).join()),ec.length!==eu.defaultBuffer.length)return!1;for(es=0;es<ec.length;es++)if(ec[es]!==eu.defaultBuffer[es])return!1;return!0}},3418:function(ei,eo,ea){var es=eo;es.der=ea(7804),es.pem=ea(1564)},1564:function(ei,eo,ea){var es=ea(3782),eu=ea(7804);function PEMEncoder(ei){eu.call(this,ei),this.enc="pem"}es(PEMEncoder,eu),ei.exports=PEMEncoder,PEMEncoder.prototype.encode=function(ei,eo){for(var ea=eu.prototype.encode.call(this,ei).toString("base64"),es=["-----BEGIN "+eo.label+"-----"],ec=0;ec<ea.length;ec+=64)es.push(ea.slice(ec,ec+64));return es.push("-----END "+eo.label+"-----"),es.join("\n")}},711:function(ei,eo,ea){!function(ei,eo){"use strict";function assert(ei,eo){if(!ei)throw Error(eo||"Assertion failed")}function inherits(ei,eo){ei.super_=eo;var TempCtor=function(){};TempCtor.prototype=eo.prototype,ei.prototype=new TempCtor,ei.prototype.constructor=ei}function BN(ei,eo,ea){if(BN.isBN(ei))return ei;this.negative=0,this.words=null,this.length=0,this.red=null,null!==ei&&(("le"===eo||"be"===eo)&&(ea=eo,eo=10),this._init(ei||0,eo||10,ea||"be"))}"object"==typeof ei?ei.exports=BN:eo.BN=BN,BN.BN=BN,BN.wordSize=26;try{es=ea(4300).Buffer}catch(ei){}function parseHex(ei,eo,ea){for(var es=0,eu=Math.min(ei.length,ea),ec=eo;ec<eu;ec++){var ed=ei.charCodeAt(ec)-48;es<<=4,ed>=49&&ed<=54?es|=ed-49+10:ed>=17&&ed<=22?es|=ed-17+10:es|=15&ed}return es}function parseBase(ei,eo,ea,es){for(var eu=0,ec=Math.min(ei.length,ea),ed=eo;ed<ec;ed++){var ef=ei.charCodeAt(ed)-48;eu*=es,ef>=49?eu+=ef-49+10:ef>=17?eu+=ef-17+10:eu+=ef}return eu}BN.isBN=function(ei){return ei instanceof BN||null!==ei&&"object"==typeof ei&&ei.constructor.wordSize===BN.wordSize&&Array.isArray(ei.words)},BN.max=function(ei,eo){return ei.cmp(eo)>0?ei:eo},BN.min=function(ei,eo){return 0>ei.cmp(eo)?ei:eo},BN.prototype._init=function(ei,eo,ea){if("number"==typeof ei)return this._initNumber(ei,eo,ea);if("object"==typeof ei)return this._initArray(ei,eo,ea);"hex"===eo&&(eo=16),assert(eo===(0|eo)&&eo>=2&&eo<=36);var es=0;"-"===(ei=ei.toString().replace(/\s+/g,""))[0]&&es++,16===eo?this._parseHex(ei,es):this._parseBase(ei,eo,es),"-"===ei[0]&&(this.negative=1),this.strip(),"le"===ea&&this._initArray(this.toArray(),eo,ea)},BN.prototype._initNumber=function(ei,eo,ea){ei<0&&(this.negative=1,ei=-ei),ei<67108864?(this.words=[67108863&ei],this.length=1):ei<4503599627370496?(this.words=[67108863&ei,ei/67108864&67108863],this.length=2):(assert(ei<9007199254740992),this.words=[67108863&ei,ei/67108864&67108863,1],this.length=3),"le"===ea&&this._initArray(this.toArray(),eo,ea)},BN.prototype._initArray=function(ei,eo,ea){if(assert("number"==typeof ei.length),ei.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(ei.length/3),this.words=Array(this.length);for(var es,eu,ec=0;ec<this.length;ec++)this.words[ec]=0;var ed=0;if("be"===ea)for(ec=ei.length-1,es=0;ec>=0;ec-=3)eu=ei[ec]|ei[ec-1]<<8|ei[ec-2]<<16,this.words[es]|=eu<<ed&67108863,this.words[es+1]=eu>>>26-ed&67108863,(ed+=24)>=26&&(ed-=26,es++);else if("le"===ea)for(ec=0,es=0;ec<ei.length;ec+=3)eu=ei[ec]|ei[ec+1]<<8|ei[ec+2]<<16,this.words[es]|=eu<<ed&67108863,this.words[es+1]=eu>>>26-ed&67108863,(ed+=24)>=26&&(ed-=26,es++);return this.strip()},BN.prototype._parseHex=function(ei,eo){this.length=Math.ceil((ei.length-eo)/6),this.words=Array(this.length);for(var ea,es,eu=0;eu<this.length;eu++)this.words[eu]=0;var ec=0;for(eu=ei.length-6,ea=0;eu>=eo;eu-=6)es=parseHex(ei,eu,eu+6),this.words[ea]|=es<<ec&67108863,this.words[ea+1]|=es>>>26-ec&4194303,(ec+=24)>=26&&(ec-=26,ea++);eu+6!==eo&&(es=parseHex(ei,eo,eu+6),this.words[ea]|=es<<ec&67108863,this.words[ea+1]|=es>>>26-ec&4194303),this.strip()},BN.prototype._parseBase=function(ei,eo,ea){this.words=[0],this.length=1;for(var es=0,eu=1;eu<=67108863;eu*=eo)es++;es--,eu=eu/eo|0;for(var ec=ei.length-ea,ed=ec%es,ef=Math.min(ec,ec-ed)+ea,eh=0,ep=ea;ep<ef;ep+=es)eh=parseBase(ei,ep,ep+es,eo),this.imuln(eu),this.words[0]+eh<67108864?this.words[0]+=eh:this._iaddn(eh);if(0!==ed){var em=1;for(eh=parseBase(ei,ep,ei.length,eo),ep=0;ep<ed;ep++)em*=eo;this.imuln(em),this.words[0]+eh<67108864?this.words[0]+=eh:this._iaddn(eh)}},BN.prototype.copy=function(ei){ei.words=Array(this.length);for(var eo=0;eo<this.length;eo++)ei.words[eo]=this.words[eo];ei.length=this.length,ei.negative=this.negative,ei.red=this.red},BN.prototype.clone=function(){var ei=new BN(null);return this.copy(ei),ei},BN.prototype._expand=function(ei){for(;this.length<ei;)this.words[this.length++]=0;return this},BN.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},BN.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},BN.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var es,eu=["","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"],ec=[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],ed=[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 toBitArray(ei){for(var eo=Array(ei.bitLength()),ea=0;ea<eo.length;ea++){var es=ea/26|0,eu=ea%26;eo[ea]=(ei.words[es]&1<<eu)>>>eu}return eo}function smallMulTo(ei,eo,ea){ea.negative=eo.negative^ei.negative;var es=ei.length+eo.length|0;ea.length=es,es=es-1|0;var eu=0|ei.words[0],ec=0|eo.words[0],ed=eu*ec,ef=67108863&ed,eh=ed/67108864|0;ea.words[0]=ef;for(var ep=1;ep<es;ep++){for(var em=eh>>>26,eg=67108863&eh,eb=Math.min(ep,eo.length-1),ey=Math.max(0,ep-ei.length+1);ey<=eb;ey++){var ew=ep-ey|0;em+=(ed=(eu=0|ei.words[ew])*(ec=0|eo.words[ey])+eg)/67108864|0,eg=67108863&ed}ea.words[ep]=0|eg,eh=0|em}return 0!==eh?ea.words[ep]=0|eh:ea.length--,ea.strip()}BN.prototype.toString=function(ei,eo){if(eo=0|eo||1,16===(ei=ei||10)||"hex"===ei){ea="";for(var ea,es=0,ef=0,eh=0;eh<this.length;eh++){var ep=this.words[eh],em=((ep<<es|ef)&16777215).toString(16);ea=0!=(ef=ep>>>24-es&16777215)||eh!==this.length-1?eu[6-em.length]+em+ea:em+ea,(es+=2)>=26&&(es-=26,eh--)}for(0!==ef&&(ea=ef.toString(16)+ea);ea.length%eo!=0;)ea="0"+ea;return 0!==this.negative&&(ea="-"+ea),ea}if(ei===(0|ei)&&ei>=2&&ei<=36){var eg=ec[ei],eb=ed[ei];ea="";var ey=this.clone();for(ey.negative=0;!ey.isZero();){var ew=ey.modn(eb).toString(ei);ea=(ey=ey.idivn(eb)).isZero()?ew+ea:eu[eg-ew.length]+ew+ea}for(this.isZero()&&(ea="0"+ea);ea.length%eo!=0;)ea="0"+ea;return 0!==this.negative&&(ea="-"+ea),ea}assert(!1,"Base should be between 2 and 36")},BN.prototype.toNumber=function(){var ei=this.words[0];return 2===this.length?ei+=67108864*this.words[1]:3===this.length&&1===this.words[2]?ei+=4503599627370496+67108864*this.words[1]:this.length>2&&assert(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-ei:ei},BN.prototype.toJSON=function(){return this.toString(16)},BN.prototype.toBuffer=function(ei,eo){return assert(void 0!==es),this.toArrayLike(es,ei,eo)},BN.prototype.toArray=function(ei,eo){return this.toArrayLike(Array,ei,eo)},BN.prototype.toArrayLike=function(ei,eo,ea){var es,eu,ec=this.byteLength(),ed=ea||Math.max(1,ec);assert(ec<=ed,"byte array longer than desired length"),assert(ed>0,"Requested array length <= 0"),this.strip();var ef="le"===eo,eh=new ei(ed),ep=this.clone();if(ef){for(eu=0;!ep.isZero();eu++)es=ep.andln(255),ep.iushrn(8),eh[eu]=es;for(;eu<ed;eu++)eh[eu]=0}else{for(eu=0;eu<ed-ec;eu++)eh[eu]=0;for(eu=0;!ep.isZero();eu++)es=ep.andln(255),ep.iushrn(8),eh[ed-eu-1]=es}return eh},Math.clz32?BN.prototype._countBits=function(ei){return 32-Math.clz32(ei)}:BN.prototype._countBits=function(ei){var eo=ei,ea=0;return eo>=4096&&(ea+=13,eo>>>=13),eo>=64&&(ea+=7,eo>>>=7),eo>=8&&(ea+=4,eo>>>=4),eo>=2&&(ea+=2,eo>>>=2),ea+eo},BN.prototype._zeroBits=function(ei){if(0===ei)return 26;var eo=ei,ea=0;return(8191&eo)==0&&(ea+=13,eo>>>=13),(127&eo)==0&&(ea+=7,eo>>>=7),(15&eo)==0&&(ea+=4,eo>>>=4),(3&eo)==0&&(ea+=2,eo>>>=2),(1&eo)==0&&ea++,ea},BN.prototype.bitLength=function(){var ei=this.words[this.length-1],eo=this._countBits(ei);return(this.length-1)*26+eo},BN.prototype.zeroBits=function(){if(this.isZero())return 0;for(var ei=0,eo=0;eo<this.length;eo++){var ea=this._zeroBits(this.words[eo]);if(ei+=ea,26!==ea)break}return ei},BN.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},BN.prototype.toTwos=function(ei){return 0!==this.negative?this.abs().inotn(ei).iaddn(1):this.clone()},BN.prototype.fromTwos=function(ei){return this.testn(ei-1)?this.notn(ei).iaddn(1).ineg():this.clone()},BN.prototype.isNeg=function(){return 0!==this.negative},BN.prototype.neg=function(){return this.clone().ineg()},BN.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},BN.prototype.iuor=function(ei){for(;this.length<ei.length;)this.words[this.length++]=0;for(var eo=0;eo<ei.length;eo++)this.words[eo]=this.words[eo]|ei.words[eo];return this.strip()},BN.prototype.ior=function(ei){return assert((this.negative|ei.negative)==0),this.iuor(ei)},BN.prototype.or=function(ei){return this.length>ei.length?this.clone().ior(ei):ei.clone().ior(this)},BN.prototype.uor=function(ei){return this.length>ei.length?this.clone().iuor(ei):ei.clone().iuor(this)},BN.prototype.iuand=function(ei){var eo;eo=this.length>ei.length?ei:this;for(var ea=0;ea<eo.length;ea++)this.words[ea]=this.words[ea]&ei.words[ea];return this.length=eo.length,this.strip()},BN.prototype.iand=function(ei){return assert((this.negative|ei.negative)==0),this.iuand(ei)},BN.prototype.and=function(ei){return this.length>ei.length?this.clone().iand(ei):ei.clone().iand(this)},BN.prototype.uand=function(ei){return this.length>ei.length?this.clone().iuand(ei):ei.clone().iuand(this)},BN.prototype.iuxor=function(ei){this.length>ei.length?(eo=this,ea=ei):(eo=ei,ea=this);for(var eo,ea,es=0;es<ea.length;es++)this.words[es]=eo.words[es]^ea.words[es];if(this!==eo)for(;es<eo.length;es++)this.words[es]=eo.words[es];return this.length=eo.length,this.strip()},BN.prototype.ixor=function(ei){return assert((this.negative|ei.negative)==0),this.iuxor(ei)},BN.prototype.xor=function(ei){return this.length>ei.length?this.clone().ixor(ei):ei.clone().ixor(this)},BN.prototype.uxor=function(ei){return this.length>ei.length?this.clone().iuxor(ei):ei.clone().iuxor(this)},BN.prototype.inotn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=0|Math.ceil(ei/26),ea=ei%26;this._expand(eo),ea>0&&eo--;for(var es=0;es<eo;es++)this.words[es]=67108863&~this.words[es];return ea>0&&(this.words[es]=~this.words[es]&67108863>>26-ea),this.strip()},BN.prototype.notn=function(ei){return this.clone().inotn(ei)},BN.prototype.setn=function(ei,eo){assert("number"==typeof ei&&ei>=0);var ea=ei/26|0,es=ei%26;return this._expand(ea+1),eo?this.words[ea]=this.words[ea]|1<<es:this.words[ea]=this.words[ea]&~(1<<es),this.strip()},BN.prototype.iadd=function(ei){if(0!==this.negative&&0===ei.negative)return this.negative=0,eo=this.isub(ei),this.negative^=1,this._normSign();if(0===this.negative&&0!==ei.negative)return ei.negative=0,eo=this.isub(ei),ei.negative=1,eo._normSign();this.length>ei.length?(ea=this,es=ei):(ea=ei,es=this);for(var eo,ea,es,eu=0,ec=0;ec<es.length;ec++)eo=(0|ea.words[ec])+(0|es.words[ec])+eu,this.words[ec]=67108863&eo,eu=eo>>>26;for(;0!==eu&&ec<ea.length;ec++)eo=(0|ea.words[ec])+eu,this.words[ec]=67108863&eo,eu=eo>>>26;if(this.length=ea.length,0!==eu)this.words[this.length]=eu,this.length++;else if(ea!==this)for(;ec<ea.length;ec++)this.words[ec]=ea.words[ec];return this},BN.prototype.add=function(ei){var eo;return 0!==ei.negative&&0===this.negative?(ei.negative=0,eo=this.sub(ei),ei.negative^=1,eo):0===ei.negative&&0!==this.negative?(this.negative=0,eo=ei.sub(this),this.negative=1,eo):this.length>ei.length?this.clone().iadd(ei):ei.clone().iadd(this)},BN.prototype.isub=function(ei){if(0!==ei.negative){ei.negative=0;var eo,ea,es=this.iadd(ei);return ei.negative=1,es._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(ei),this.negative=1,this._normSign();var eu=this.cmp(ei);if(0===eu)return this.negative=0,this.length=1,this.words[0]=0,this;eu>0?(eo=this,ea=ei):(eo=ei,ea=this);for(var ec=0,ed=0;ed<ea.length;ed++)ec=(es=(0|eo.words[ed])-(0|ea.words[ed])+ec)>>26,this.words[ed]=67108863&es;for(;0!==ec&&ed<eo.length;ed++)ec=(es=(0|eo.words[ed])+ec)>>26,this.words[ed]=67108863&es;if(0===ec&&ed<eo.length&&eo!==this)for(;ed<eo.length;ed++)this.words[ed]=eo.words[ed];return this.length=Math.max(this.length,ed),eo!==this&&(this.negative=1),this.strip()},BN.prototype.sub=function(ei){return this.clone().isub(ei)};var o=function(ei,eo,ea){var es,eu,ec,ed=ei.words,ef=eo.words,eh=ea.words,ep=0,em=0|ed[0],eg=8191&em,eb=em>>>13,ey=0|ed[1],ew=8191&ey,ex=ey>>>13,eP=0|ed[2],eS=8191&eP,eE=eP>>>13,ek=0|ed[3],eT=8191&ek,eC=ek>>>13,e_=0|ed[4],eA=8191&e_,eO=e_>>>13,eM=0|ed[5],eR=8191&eM,ej=eM>>>13,eN=0|ed[6],eL=8191&eN,eD=eN>>>13,eI=0|ed[7],ez=8191&eI,eB=eI>>>13,eF=0|ed[8],eH=8191&eF,eU=eF>>>13,eV=0|ed[9],eX=8191&eV,eq=eV>>>13,e$=0|ef[0],eW=8191&e$,eK=e$>>>13,eG=0|ef[1],eZ=8191&eG,eJ=eG>>>13,eY=0|ef[2],eQ=8191&eY,e0=eY>>>13,e1=0|ef[3],e3=8191&e1,e8=e1>>>13,e6=0|ef[4],e5=8191&e6,e4=e6>>>13,e7=0|ef[5],e9=8191&e7,tr=e7>>>13,tn=0|ef[6],ti=8191&tn,ta=tn>>>13,ts=0|ef[7],tl=8191&ts,tu=ts>>>13,tc=0|ef[8],td=8191&tc,tf=tc>>>13,th=0|ef[9],tp=8191&th,tm=th>>>13;ea.negative=ei.negative^eo.negative,ea.length=19;var tg=(ep+(es=Math.imul(eg,eW))|0)+((8191&(eu=(eu=Math.imul(eg,eK))+Math.imul(eb,eW)|0))<<13)|0;ep=((ec=Math.imul(eb,eK))+(eu>>>13)|0)+(tg>>>26)|0,tg&=67108863,es=Math.imul(ew,eW),eu=(eu=Math.imul(ew,eK))+Math.imul(ex,eW)|0,ec=Math.imul(ex,eK);var tb=(ep+(es=es+Math.imul(eg,eZ)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,eJ)|0)+Math.imul(eb,eZ)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,eJ)|0)+(eu>>>13)|0)+(tb>>>26)|0,tb&=67108863,es=Math.imul(eS,eW),eu=(eu=Math.imul(eS,eK))+Math.imul(eE,eW)|0,ec=Math.imul(eE,eK),es=es+Math.imul(ew,eZ)|0,eu=(eu=eu+Math.imul(ew,eJ)|0)+Math.imul(ex,eZ)|0,ec=ec+Math.imul(ex,eJ)|0;var ty=(ep+(es=es+Math.imul(eg,eQ)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e0)|0)+Math.imul(eb,eQ)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e0)|0)+(eu>>>13)|0)+(ty>>>26)|0,ty&=67108863,es=Math.imul(eT,eW),eu=(eu=Math.imul(eT,eK))+Math.imul(eC,eW)|0,ec=Math.imul(eC,eK),es=es+Math.imul(eS,eZ)|0,eu=(eu=eu+Math.imul(eS,eJ)|0)+Math.imul(eE,eZ)|0,ec=ec+Math.imul(eE,eJ)|0,es=es+Math.imul(ew,eQ)|0,eu=(eu=eu+Math.imul(ew,e0)|0)+Math.imul(ex,eQ)|0,ec=ec+Math.imul(ex,e0)|0;var tw=(ep+(es=es+Math.imul(eg,e3)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e8)|0)+Math.imul(eb,e3)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e8)|0)+(eu>>>13)|0)+(tw>>>26)|0,tw&=67108863,es=Math.imul(eA,eW),eu=(eu=Math.imul(eA,eK))+Math.imul(eO,eW)|0,ec=Math.imul(eO,eK),es=es+Math.imul(eT,eZ)|0,eu=(eu=eu+Math.imul(eT,eJ)|0)+Math.imul(eC,eZ)|0,ec=ec+Math.imul(eC,eJ)|0,es=es+Math.imul(eS,eQ)|0,eu=(eu=eu+Math.imul(eS,e0)|0)+Math.imul(eE,eQ)|0,ec=ec+Math.imul(eE,e0)|0,es=es+Math.imul(ew,e3)|0,eu=(eu=eu+Math.imul(ew,e8)|0)+Math.imul(ex,e3)|0,ec=ec+Math.imul(ex,e8)|0;var tx=(ep+(es=es+Math.imul(eg,e5)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e4)|0)+Math.imul(eb,e5)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e4)|0)+(eu>>>13)|0)+(tx>>>26)|0,tx&=67108863,es=Math.imul(eR,eW),eu=(eu=Math.imul(eR,eK))+Math.imul(ej,eW)|0,ec=Math.imul(ej,eK),es=es+Math.imul(eA,eZ)|0,eu=(eu=eu+Math.imul(eA,eJ)|0)+Math.imul(eO,eZ)|0,ec=ec+Math.imul(eO,eJ)|0,es=es+Math.imul(eT,eQ)|0,eu=(eu=eu+Math.imul(eT,e0)|0)+Math.imul(eC,eQ)|0,ec=ec+Math.imul(eC,e0)|0,es=es+Math.imul(eS,e3)|0,eu=(eu=eu+Math.imul(eS,e8)|0)+Math.imul(eE,e3)|0,ec=ec+Math.imul(eE,e8)|0,es=es+Math.imul(ew,e5)|0,eu=(eu=eu+Math.imul(ew,e4)|0)+Math.imul(ex,e5)|0,ec=ec+Math.imul(ex,e4)|0;var tP=(ep+(es=es+Math.imul(eg,e9)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tr)|0)+Math.imul(eb,e9)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tr)|0)+(eu>>>13)|0)+(tP>>>26)|0,tP&=67108863,es=Math.imul(eL,eW),eu=(eu=Math.imul(eL,eK))+Math.imul(eD,eW)|0,ec=Math.imul(eD,eK),es=es+Math.imul(eR,eZ)|0,eu=(eu=eu+Math.imul(eR,eJ)|0)+Math.imul(ej,eZ)|0,ec=ec+Math.imul(ej,eJ)|0,es=es+Math.imul(eA,eQ)|0,eu=(eu=eu+Math.imul(eA,e0)|0)+Math.imul(eO,eQ)|0,ec=ec+Math.imul(eO,e0)|0,es=es+Math.imul(eT,e3)|0,eu=(eu=eu+Math.imul(eT,e8)|0)+Math.imul(eC,e3)|0,ec=ec+Math.imul(eC,e8)|0,es=es+Math.imul(eS,e5)|0,eu=(eu=eu+Math.imul(eS,e4)|0)+Math.imul(eE,e5)|0,ec=ec+Math.imul(eE,e4)|0,es=es+Math.imul(ew,e9)|0,eu=(eu=eu+Math.imul(ew,tr)|0)+Math.imul(ex,e9)|0,ec=ec+Math.imul(ex,tr)|0;var tS=(ep+(es=es+Math.imul(eg,ti)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,ta)|0)+Math.imul(eb,ti)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,ta)|0)+(eu>>>13)|0)+(tS>>>26)|0,tS&=67108863,es=Math.imul(ez,eW),eu=(eu=Math.imul(ez,eK))+Math.imul(eB,eW)|0,ec=Math.imul(eB,eK),es=es+Math.imul(eL,eZ)|0,eu=(eu=eu+Math.imul(eL,eJ)|0)+Math.imul(eD,eZ)|0,ec=ec+Math.imul(eD,eJ)|0,es=es+Math.imul(eR,eQ)|0,eu=(eu=eu+Math.imul(eR,e0)|0)+Math.imul(ej,eQ)|0,ec=ec+Math.imul(ej,e0)|0,es=es+Math.imul(eA,e3)|0,eu=(eu=eu+Math.imul(eA,e8)|0)+Math.imul(eO,e3)|0,ec=ec+Math.imul(eO,e8)|0,es=es+Math.imul(eT,e5)|0,eu=(eu=eu+Math.imul(eT,e4)|0)+Math.imul(eC,e5)|0,ec=ec+Math.imul(eC,e4)|0,es=es+Math.imul(eS,e9)|0,eu=(eu=eu+Math.imul(eS,tr)|0)+Math.imul(eE,e9)|0,ec=ec+Math.imul(eE,tr)|0,es=es+Math.imul(ew,ti)|0,eu=(eu=eu+Math.imul(ew,ta)|0)+Math.imul(ex,ti)|0,ec=ec+Math.imul(ex,ta)|0;var tE=(ep+(es=es+Math.imul(eg,tl)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tu)|0)+Math.imul(eb,tl)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tu)|0)+(eu>>>13)|0)+(tE>>>26)|0,tE&=67108863,es=Math.imul(eH,eW),eu=(eu=Math.imul(eH,eK))+Math.imul(eU,eW)|0,ec=Math.imul(eU,eK),es=es+Math.imul(ez,eZ)|0,eu=(eu=eu+Math.imul(ez,eJ)|0)+Math.imul(eB,eZ)|0,ec=ec+Math.imul(eB,eJ)|0,es=es+Math.imul(eL,eQ)|0,eu=(eu=eu+Math.imul(eL,e0)|0)+Math.imul(eD,eQ)|0,ec=ec+Math.imul(eD,e0)|0,es=es+Math.imul(eR,e3)|0,eu=(eu=eu+Math.imul(eR,e8)|0)+Math.imul(ej,e3)|0,ec=ec+Math.imul(ej,e8)|0,es=es+Math.imul(eA,e5)|0,eu=(eu=eu+Math.imul(eA,e4)|0)+Math.imul(eO,e5)|0,ec=ec+Math.imul(eO,e4)|0,es=es+Math.imul(eT,e9)|0,eu=(eu=eu+Math.imul(eT,tr)|0)+Math.imul(eC,e9)|0,ec=ec+Math.imul(eC,tr)|0,es=es+Math.imul(eS,ti)|0,eu=(eu=eu+Math.imul(eS,ta)|0)+Math.imul(eE,ti)|0,ec=ec+Math.imul(eE,ta)|0,es=es+Math.imul(ew,tl)|0,eu=(eu=eu+Math.imul(ew,tu)|0)+Math.imul(ex,tl)|0,ec=ec+Math.imul(ex,tu)|0;var tk=(ep+(es=es+Math.imul(eg,td)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tf)|0)+Math.imul(eb,td)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tf)|0)+(eu>>>13)|0)+(tk>>>26)|0,tk&=67108863,es=Math.imul(eX,eW),eu=(eu=Math.imul(eX,eK))+Math.imul(eq,eW)|0,ec=Math.imul(eq,eK),es=es+Math.imul(eH,eZ)|0,eu=(eu=eu+Math.imul(eH,eJ)|0)+Math.imul(eU,eZ)|0,ec=ec+Math.imul(eU,eJ)|0,es=es+Math.imul(ez,eQ)|0,eu=(eu=eu+Math.imul(ez,e0)|0)+Math.imul(eB,eQ)|0,ec=ec+Math.imul(eB,e0)|0,es=es+Math.imul(eL,e3)|0,eu=(eu=eu+Math.imul(eL,e8)|0)+Math.imul(eD,e3)|0,ec=ec+Math.imul(eD,e8)|0,es=es+Math.imul(eR,e5)|0,eu=(eu=eu+Math.imul(eR,e4)|0)+Math.imul(ej,e5)|0,ec=ec+Math.imul(ej,e4)|0,es=es+Math.imul(eA,e9)|0,eu=(eu=eu+Math.imul(eA,tr)|0)+Math.imul(eO,e9)|0,ec=ec+Math.imul(eO,tr)|0,es=es+Math.imul(eT,ti)|0,eu=(eu=eu+Math.imul(eT,ta)|0)+Math.imul(eC,ti)|0,ec=ec+Math.imul(eC,ta)|0,es=es+Math.imul(eS,tl)|0,eu=(eu=eu+Math.imul(eS,tu)|0)+Math.imul(eE,tl)|0,ec=ec+Math.imul(eE,tu)|0,es=es+Math.imul(ew,td)|0,eu=(eu=eu+Math.imul(ew,tf)|0)+Math.imul(ex,td)|0,ec=ec+Math.imul(ex,tf)|0;var tT=(ep+(es=es+Math.imul(eg,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tm)|0)+Math.imul(eb,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tm)|0)+(eu>>>13)|0)+(tT>>>26)|0,tT&=67108863,es=Math.imul(eX,eZ),eu=(eu=Math.imul(eX,eJ))+Math.imul(eq,eZ)|0,ec=Math.imul(eq,eJ),es=es+Math.imul(eH,eQ)|0,eu=(eu=eu+Math.imul(eH,e0)|0)+Math.imul(eU,eQ)|0,ec=ec+Math.imul(eU,e0)|0,es=es+Math.imul(ez,e3)|0,eu=(eu=eu+Math.imul(ez,e8)|0)+Math.imul(eB,e3)|0,ec=ec+Math.imul(eB,e8)|0,es=es+Math.imul(eL,e5)|0,eu=(eu=eu+Math.imul(eL,e4)|0)+Math.imul(eD,e5)|0,ec=ec+Math.imul(eD,e4)|0,es=es+Math.imul(eR,e9)|0,eu=(eu=eu+Math.imul(eR,tr)|0)+Math.imul(ej,e9)|0,ec=ec+Math.imul(ej,tr)|0,es=es+Math.imul(eA,ti)|0,eu=(eu=eu+Math.imul(eA,ta)|0)+Math.imul(eO,ti)|0,ec=ec+Math.imul(eO,ta)|0,es=es+Math.imul(eT,tl)|0,eu=(eu=eu+Math.imul(eT,tu)|0)+Math.imul(eC,tl)|0,ec=ec+Math.imul(eC,tu)|0,es=es+Math.imul(eS,td)|0,eu=(eu=eu+Math.imul(eS,tf)|0)+Math.imul(eE,td)|0,ec=ec+Math.imul(eE,tf)|0;var tC=(ep+(es=es+Math.imul(ew,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(ew,tm)|0)+Math.imul(ex,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(ex,tm)|0)+(eu>>>13)|0)+(tC>>>26)|0,tC&=67108863,es=Math.imul(eX,eQ),eu=(eu=Math.imul(eX,e0))+Math.imul(eq,eQ)|0,ec=Math.imul(eq,e0),es=es+Math.imul(eH,e3)|0,eu=(eu=eu+Math.imul(eH,e8)|0)+Math.imul(eU,e3)|0,ec=ec+Math.imul(eU,e8)|0,es=es+Math.imul(ez,e5)|0,eu=(eu=eu+Math.imul(ez,e4)|0)+Math.imul(eB,e5)|0,ec=ec+Math.imul(eB,e4)|0,es=es+Math.imul(eL,e9)|0,eu=(eu=eu+Math.imul(eL,tr)|0)+Math.imul(eD,e9)|0,ec=ec+Math.imul(eD,tr)|0,es=es+Math.imul(eR,ti)|0,eu=(eu=eu+Math.imul(eR,ta)|0)+Math.imul(ej,ti)|0,ec=ec+Math.imul(ej,ta)|0,es=es+Math.imul(eA,tl)|0,eu=(eu=eu+Math.imul(eA,tu)|0)+Math.imul(eO,tl)|0,ec=ec+Math.imul(eO,tu)|0,es=es+Math.imul(eT,td)|0,eu=(eu=eu+Math.imul(eT,tf)|0)+Math.imul(eC,td)|0,ec=ec+Math.imul(eC,tf)|0;var t_=(ep+(es=es+Math.imul(eS,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eS,tm)|0)+Math.imul(eE,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eE,tm)|0)+(eu>>>13)|0)+(t_>>>26)|0,t_&=67108863,es=Math.imul(eX,e3),eu=(eu=Math.imul(eX,e8))+Math.imul(eq,e3)|0,ec=Math.imul(eq,e8),es=es+Math.imul(eH,e5)|0,eu=(eu=eu+Math.imul(eH,e4)|0)+Math.imul(eU,e5)|0,ec=ec+Math.imul(eU,e4)|0,es=es+Math.imul(ez,e9)|0,eu=(eu=eu+Math.imul(ez,tr)|0)+Math.imul(eB,e9)|0,ec=ec+Math.imul(eB,tr)|0,es=es+Math.imul(eL,ti)|0,eu=(eu=eu+Math.imul(eL,ta)|0)+Math.imul(eD,ti)|0,ec=ec+Math.imul(eD,ta)|0,es=es+Math.imul(eR,tl)|0,eu=(eu=eu+Math.imul(eR,tu)|0)+Math.imul(ej,tl)|0,ec=ec+Math.imul(ej,tu)|0,es=es+Math.imul(eA,td)|0,eu=(eu=eu+Math.imul(eA,tf)|0)+Math.imul(eO,td)|0,ec=ec+Math.imul(eO,tf)|0;var tA=(ep+(es=es+Math.imul(eT,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eT,tm)|0)+Math.imul(eC,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eC,tm)|0)+(eu>>>13)|0)+(tA>>>26)|0,tA&=67108863,es=Math.imul(eX,e5),eu=(eu=Math.imul(eX,e4))+Math.imul(eq,e5)|0,ec=Math.imul(eq,e4),es=es+Math.imul(eH,e9)|0,eu=(eu=eu+Math.imul(eH,tr)|0)+Math.imul(eU,e9)|0,ec=ec+Math.imul(eU,tr)|0,es=es+Math.imul(ez,ti)|0,eu=(eu=eu+Math.imul(ez,ta)|0)+Math.imul(eB,ti)|0,ec=ec+Math.imul(eB,ta)|0,es=es+Math.imul(eL,tl)|0,eu=(eu=eu+Math.imul(eL,tu)|0)+Math.imul(eD,tl)|0,ec=ec+Math.imul(eD,tu)|0,es=es+Math.imul(eR,td)|0,eu=(eu=eu+Math.imul(eR,tf)|0)+Math.imul(ej,td)|0,ec=ec+Math.imul(ej,tf)|0;var tO=(ep+(es=es+Math.imul(eA,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eA,tm)|0)+Math.imul(eO,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eO,tm)|0)+(eu>>>13)|0)+(tO>>>26)|0,tO&=67108863,es=Math.imul(eX,e9),eu=(eu=Math.imul(eX,tr))+Math.imul(eq,e9)|0,ec=Math.imul(eq,tr),es=es+Math.imul(eH,ti)|0,eu=(eu=eu+Math.imul(eH,ta)|0)+Math.imul(eU,ti)|0,ec=ec+Math.imul(eU,ta)|0,es=es+Math.imul(ez,tl)|0,eu=(eu=eu+Math.imul(ez,tu)|0)+Math.imul(eB,tl)|0,ec=ec+Math.imul(eB,tu)|0,es=es+Math.imul(eL,td)|0,eu=(eu=eu+Math.imul(eL,tf)|0)+Math.imul(eD,td)|0,ec=ec+Math.imul(eD,tf)|0;var tM=(ep+(es=es+Math.imul(eR,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eR,tm)|0)+Math.imul(ej,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(ej,tm)|0)+(eu>>>13)|0)+(tM>>>26)|0,tM&=67108863,es=Math.imul(eX,ti),eu=(eu=Math.imul(eX,ta))+Math.imul(eq,ti)|0,ec=Math.imul(eq,ta),es=es+Math.imul(eH,tl)|0,eu=(eu=eu+Math.imul(eH,tu)|0)+Math.imul(eU,tl)|0,ec=ec+Math.imul(eU,tu)|0,es=es+Math.imul(ez,td)|0,eu=(eu=eu+Math.imul(ez,tf)|0)+Math.imul(eB,td)|0,ec=ec+Math.imul(eB,tf)|0;var tR=(ep+(es=es+Math.imul(eL,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eL,tm)|0)+Math.imul(eD,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eD,tm)|0)+(eu>>>13)|0)+(tR>>>26)|0,tR&=67108863,es=Math.imul(eX,tl),eu=(eu=Math.imul(eX,tu))+Math.imul(eq,tl)|0,ec=Math.imul(eq,tu),es=es+Math.imul(eH,td)|0,eu=(eu=eu+Math.imul(eH,tf)|0)+Math.imul(eU,td)|0,ec=ec+Math.imul(eU,tf)|0;var tj=(ep+(es=es+Math.imul(ez,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(ez,tm)|0)+Math.imul(eB,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eB,tm)|0)+(eu>>>13)|0)+(tj>>>26)|0,tj&=67108863,es=Math.imul(eX,td),eu=(eu=Math.imul(eX,tf))+Math.imul(eq,td)|0,ec=Math.imul(eq,tf);var tN=(ep+(es=es+Math.imul(eH,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eH,tm)|0)+Math.imul(eU,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eU,tm)|0)+(eu>>>13)|0)+(tN>>>26)|0,tN&=67108863;var tL=(ep+(es=Math.imul(eX,tp))|0)+((8191&(eu=(eu=Math.imul(eX,tm))+Math.imul(eq,tp)|0))<<13)|0;return ep=((ec=Math.imul(eq,tm))+(eu>>>13)|0)+(tL>>>26)|0,tL&=67108863,eh[0]=tg,eh[1]=tb,eh[2]=ty,eh[3]=tw,eh[4]=tx,eh[5]=tP,eh[6]=tS,eh[7]=tE,eh[8]=tk,eh[9]=tT,eh[10]=tC,eh[11]=t_,eh[12]=tA,eh[13]=tO,eh[14]=tM,eh[15]=tR,eh[16]=tj,eh[17]=tN,eh[18]=tL,0!==ep&&(eh[19]=ep,ea.length++),ea};function bigMulTo(ei,eo,ea){ea.negative=eo.negative^ei.negative,ea.length=ei.length+eo.length;for(var es=0,eu=0,ec=0;ec<ea.length-1;ec++){var ed=eu;eu=0;for(var ef=67108863&es,eh=Math.min(ec,eo.length-1),ep=Math.max(0,ec-ei.length+1);ep<=eh;ep++){var em=ec-ep,eg=(0|ei.words[em])*(0|eo.words[ep]),eb=67108863&eg;ed=ed+(eg/67108864|0)|0,ef=67108863&(eb=eb+ef|0),eu+=(ed=ed+(eb>>>26)|0)>>>26,ed&=67108863}ea.words[ec]=ef,es=ed,ed=eu}return 0!==es?ea.words[ec]=es:ea.length--,ea.strip()}function jumboMulTo(ei,eo,ea){return(new FFTM).mulp(ei,eo,ea)}function FFTM(ei,eo){this.x=ei,this.y=eo}Math.imul||(o=smallMulTo),BN.prototype.mulTo=function(ei,eo){var ea=this.length+ei.length;return 10===this.length&&10===ei.length?o(this,ei,eo):ea<63?smallMulTo(this,ei,eo):ea<1024?bigMulTo(this,ei,eo):jumboMulTo(this,ei,eo)},FFTM.prototype.makeRBT=function(ei){for(var eo=Array(ei),ea=BN.prototype._countBits(ei)-1,es=0;es<ei;es++)eo[es]=this.revBin(es,ea,ei);return eo},FFTM.prototype.revBin=function(ei,eo,ea){if(0===ei||ei===ea-1)return ei;for(var es=0,eu=0;eu<eo;eu++)es|=(1&ei)<<eo-eu-1,ei>>=1;return es},FFTM.prototype.permute=function(ei,eo,ea,es,eu,ec){for(var ed=0;ed<ec;ed++)es[ed]=eo[ei[ed]],eu[ed]=ea[ei[ed]]},FFTM.prototype.transform=function(ei,eo,ea,es,eu,ec){this.permute(ec,ei,eo,ea,es,eu);for(var ed=1;ed<eu;ed<<=1)for(var ef=ed<<1,eh=Math.cos(2*Math.PI/ef),ep=Math.sin(2*Math.PI/ef),em=0;em<eu;em+=ef)for(var eg=eh,eb=ep,ey=0;ey<ed;ey++){var ew=ea[em+ey],ex=es[em+ey],eP=ea[em+ey+ed],eS=es[em+ey+ed],eE=eg*eP-eb*eS;eS=eg*eS+eb*eP,eP=eE,ea[em+ey]=ew+eP,es[em+ey]=ex+eS,ea[em+ey+ed]=ew-eP,es[em+ey+ed]=ex-eS,ey!==ef&&(eE=eh*eg-ep*eb,eb=eh*eb+ep*eg,eg=eE)}},FFTM.prototype.guessLen13b=function(ei,eo){var ea=1|Math.max(eo,ei),es=1&ea,eu=0;for(ea=ea/2|0;ea;ea>>>=1)eu++;return 1<<eu+1+es},FFTM.prototype.conjugate=function(ei,eo,ea){if(!(ea<=1))for(var es=0;es<ea/2;es++){var eu=ei[es];ei[es]=ei[ea-es-1],ei[ea-es-1]=eu,eu=eo[es],eo[es]=-eo[ea-es-1],eo[ea-es-1]=-eu}},FFTM.prototype.normalize13b=function(ei,eo){for(var ea=0,es=0;es<eo/2;es++){var eu=8192*Math.round(ei[2*es+1]/eo)+Math.round(ei[2*es]/eo)+ea;ei[es]=67108863&eu,ea=eu<67108864?0:eu/67108864|0}return ei},FFTM.prototype.convert13b=function(ei,eo,ea,es){for(var eu=0,ec=0;ec<eo;ec++)eu+=0|ei[ec],ea[2*ec]=8191&eu,eu>>>=13,ea[2*ec+1]=8191&eu,eu>>>=13;for(ec=2*eo;ec<es;++ec)ea[ec]=0;assert(0===eu),assert((-8192&eu)==0)},FFTM.prototype.stub=function(ei){for(var eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=0;return eo},FFTM.prototype.mulp=function(ei,eo,ea){var es=2*this.guessLen13b(ei.length,eo.length),eu=this.makeRBT(es),ec=this.stub(es),ed=Array(es),ef=Array(es),eh=Array(es),ep=Array(es),em=Array(es),eg=Array(es),eb=ea.words;eb.length=es,this.convert13b(ei.words,ei.length,ed,es),this.convert13b(eo.words,eo.length,ep,es),this.transform(ed,ec,ef,eh,es,eu),this.transform(ep,ec,em,eg,es,eu);for(var ey=0;ey<es;ey++){var ew=ef[ey]*em[ey]-eh[ey]*eg[ey];eh[ey]=ef[ey]*eg[ey]+eh[ey]*em[ey],ef[ey]=ew}return this.conjugate(ef,eh,es),this.transform(ef,eh,eb,ec,es,eu),this.conjugate(eb,ec,es),this.normalize13b(eb,es),ea.negative=ei.negative^eo.negative,ea.length=ei.length+eo.length,ea.strip()},BN.prototype.mul=function(ei){var eo=new BN(null);return eo.words=Array(this.length+ei.length),this.mulTo(ei,eo)},BN.prototype.mulf=function(ei){var eo=new BN(null);return eo.words=Array(this.length+ei.length),jumboMulTo(this,ei,eo)},BN.prototype.imul=function(ei){return this.clone().mulTo(ei,this)},BN.prototype.imuln=function(ei){assert("number"==typeof ei),assert(ei<67108864);for(var eo=0,ea=0;ea<this.length;ea++){var es=(0|this.words[ea])*ei,eu=(67108863&es)+(67108863&eo);eo>>=26,eo+=(es/67108864|0)+(eu>>>26),this.words[ea]=67108863&eu}return 0!==eo&&(this.words[ea]=eo,this.length++),this},BN.prototype.muln=function(ei){return this.clone().imuln(ei)},BN.prototype.sqr=function(){return this.mul(this)},BN.prototype.isqr=function(){return this.imul(this.clone())},BN.prototype.pow=function(ei){var eo=toBitArray(ei);if(0===eo.length)return new BN(1);for(var ea=this,es=0;es<eo.length&&0===eo[es];es++,ea=ea.sqr());if(++es<eo.length)for(var eu=ea.sqr();es<eo.length;es++,eu=eu.sqr())0!==eo[es]&&(ea=ea.mul(eu));return ea},BN.prototype.iushln=function(ei){assert("number"==typeof ei&&ei>=0);var eo,ea=ei%26,es=(ei-ea)/26,eu=67108863>>>26-ea<<26-ea;if(0!==ea){var ec=0;for(eo=0;eo<this.length;eo++){var ed=this.words[eo]&eu,ef=(0|this.words[eo])-ed<<ea;this.words[eo]=ef|ec,ec=ed>>>26-ea}ec&&(this.words[eo]=ec,this.length++)}if(0!==es){for(eo=this.length-1;eo>=0;eo--)this.words[eo+es]=this.words[eo];for(eo=0;eo<es;eo++)this.words[eo]=0;this.length+=es}return this.strip()},BN.prototype.ishln=function(ei){return assert(0===this.negative),this.iushln(ei)},BN.prototype.iushrn=function(ei,eo,ea){assert("number"==typeof ei&&ei>=0),es=eo?(eo-eo%26)/26:0;var es,eu=ei%26,ec=Math.min((ei-eu)/26,this.length),ed=67108863^67108863>>>eu<<eu,ef=ea;if(es-=ec,es=Math.max(0,es),ef){for(var eh=0;eh<ec;eh++)ef.words[eh]=this.words[eh];ef.length=ec}if(0===ec);else if(this.length>ec)for(this.length-=ec,eh=0;eh<this.length;eh++)this.words[eh]=this.words[eh+ec];else this.words[0]=0,this.length=1;var ep=0;for(eh=this.length-1;eh>=0&&(0!==ep||eh>=es);eh--){var em=0|this.words[eh];this.words[eh]=ep<<26-eu|em>>>eu,ep=em&ed}return ef&&0!==ep&&(ef.words[ef.length++]=ep),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},BN.prototype.ishrn=function(ei,eo,ea){return assert(0===this.negative),this.iushrn(ei,eo,ea)},BN.prototype.shln=function(ei){return this.clone().ishln(ei)},BN.prototype.ushln=function(ei){return this.clone().iushln(ei)},BN.prototype.shrn=function(ei){return this.clone().ishrn(ei)},BN.prototype.ushrn=function(ei){return this.clone().iushrn(ei)},BN.prototype.testn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=ei%26,ea=(ei-eo)/26,es=1<<eo;return!(this.length<=ea)&&!!(this.words[ea]&es)},BN.prototype.imaskn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=ei%26,ea=(ei-eo)/26;if(assert(0===this.negative,"imaskn works only with positive numbers"),this.length<=ea)return this;if(0!==eo&&ea++,this.length=Math.min(ea,this.length),0!==eo){var es=67108863^67108863>>>eo<<eo;this.words[this.length-1]&=es}return this.strip()},BN.prototype.maskn=function(ei){return this.clone().imaskn(ei)},BN.prototype.iaddn=function(ei){return(assert("number"==typeof ei),assert(ei<67108864),ei<0)?this.isubn(-ei):0!==this.negative?(1===this.length&&(0|this.words[0])<ei?(this.words[0]=ei-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(ei),this.negative=1),this):this._iaddn(ei)},BN.prototype._iaddn=function(ei){this.words[0]+=ei;for(var eo=0;eo<this.length&&this.words[eo]>=67108864;eo++)this.words[eo]-=67108864,eo===this.length-1?this.words[eo+1]=1:this.words[eo+1]++;return this.length=Math.max(this.length,eo+1),this},BN.prototype.isubn=function(ei){if(assert("number"==typeof ei),assert(ei<67108864),ei<0)return this.iaddn(-ei);if(0!==this.negative)return this.negative=0,this.iaddn(ei),this.negative=1,this;if(this.words[0]-=ei,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var eo=0;eo<this.length&&this.words[eo]<0;eo++)this.words[eo]+=67108864,this.words[eo+1]-=1;return this.strip()},BN.prototype.addn=function(ei){return this.clone().iaddn(ei)},BN.prototype.subn=function(ei){return this.clone().isubn(ei)},BN.prototype.iabs=function(){return this.negative=0,this},BN.prototype.abs=function(){return this.clone().iabs()},BN.prototype._ishlnsubmul=function(ei,eo,ea){var es,eu,ec=ei.length+ea;this._expand(ec);var ed=0;for(es=0;es<ei.length;es++){eu=(0|this.words[es+ea])+ed;var ef=(0|ei.words[es])*eo;eu-=67108863&ef,ed=(eu>>26)-(ef/67108864|0),this.words[es+ea]=67108863&eu}for(;es<this.length-ea;es++)ed=(eu=(0|this.words[es+ea])+ed)>>26,this.words[es+ea]=67108863&eu;if(0===ed)return this.strip();for(assert(-1===ed),ed=0,es=0;es<this.length;es++)ed=(eu=-(0|this.words[es])+ed)>>26,this.words[es]=67108863&eu;return this.negative=1,this.strip()},BN.prototype._wordDiv=function(ei,eo){var ea,es=this.length-ei.length,eu=this.clone(),ec=ei,ed=0|ec.words[ec.length-1];0!=(es=26-this._countBits(ed))&&(ec=ec.ushln(es),eu.iushln(es),ed=0|ec.words[ec.length-1]);var ef=eu.length-ec.length;if("mod"!==eo){(ea=new BN(null)).length=ef+1,ea.words=Array(ea.length);for(var eh=0;eh<ea.length;eh++)ea.words[eh]=0}var ep=eu.clone()._ishlnsubmul(ec,1,ef);0===ep.negative&&(eu=ep,ea&&(ea.words[ef]=1));for(var em=ef-1;em>=0;em--){var eg=(0|eu.words[ec.length+em])*67108864+(0|eu.words[ec.length+em-1]);for(eg=Math.min(eg/ed|0,67108863),eu._ishlnsubmul(ec,eg,em);0!==eu.negative;)eg--,eu.negative=0,eu._ishlnsubmul(ec,1,em),eu.isZero()||(eu.negative^=1);ea&&(ea.words[em]=eg)}return ea&&ea.strip(),eu.strip(),"div"!==eo&&0!==es&&eu.iushrn(es),{div:ea||null,mod:eu}},BN.prototype.divmod=function(ei,eo,ea){var es,eu,ec;return(assert(!ei.isZero()),this.isZero())?{div:new BN(0),mod:new BN(0)}:0!==this.negative&&0===ei.negative?(ec=this.neg().divmod(ei,eo),"mod"!==eo&&(es=ec.div.neg()),"div"!==eo&&(eu=ec.mod.neg(),ea&&0!==eu.negative&&eu.iadd(ei)),{div:es,mod:eu}):0===this.negative&&0!==ei.negative?(ec=this.divmod(ei.neg(),eo),"mod"!==eo&&(es=ec.div.neg()),{div:es,mod:ec.mod}):(this.negative&ei.negative)!=0?(ec=this.neg().divmod(ei.neg(),eo),"div"!==eo&&(eu=ec.mod.neg(),ea&&0!==eu.negative&&eu.isub(ei)),{div:ec.div,mod:eu}):ei.length>this.length||0>this.cmp(ei)?{div:new BN(0),mod:this}:1===ei.length?"div"===eo?{div:this.divn(ei.words[0]),mod:null}:"mod"===eo?{div:null,mod:new BN(this.modn(ei.words[0]))}:{div:this.divn(ei.words[0]),mod:new BN(this.modn(ei.words[0]))}:this._wordDiv(ei,eo)},BN.prototype.div=function(ei){return this.divmod(ei,"div",!1).div},BN.prototype.mod=function(ei){return this.divmod(ei,"mod",!1).mod},BN.prototype.umod=function(ei){return this.divmod(ei,"mod",!0).mod},BN.prototype.divRound=function(ei){var eo=this.divmod(ei);if(eo.mod.isZero())return eo.div;var ea=0!==eo.div.negative?eo.mod.isub(ei):eo.mod,es=ei.ushrn(1),eu=ei.andln(1),ec=ea.cmp(es);return ec<0||1===eu&&0===ec?eo.div:0!==eo.div.negative?eo.div.isubn(1):eo.div.iaddn(1)},BN.prototype.modn=function(ei){assert(ei<=67108863);for(var eo=67108864%ei,ea=0,es=this.length-1;es>=0;es--)ea=(eo*ea+(0|this.words[es]))%ei;return ea},BN.prototype.idivn=function(ei){assert(ei<=67108863);for(var eo=0,ea=this.length-1;ea>=0;ea--){var es=(0|this.words[ea])+67108864*eo;this.words[ea]=es/ei|0,eo=es%ei}return this.strip()},BN.prototype.divn=function(ei){return this.clone().idivn(ei)},BN.prototype.egcd=function(ei){assert(0===ei.negative),assert(!ei.isZero());var eo=this,ea=ei.clone();eo=0!==eo.negative?eo.umod(ei):eo.clone();for(var es=new BN(1),eu=new BN(0),ec=new BN(0),ed=new BN(1),ef=0;eo.isEven()&&ea.isEven();)eo.iushrn(1),ea.iushrn(1),++ef;for(var eh=ea.clone(),ep=eo.clone();!eo.isZero();){for(var em=0,eg=1;(eo.words[0]&eg)==0&&em<26;++em,eg<<=1);if(em>0)for(eo.iushrn(em);em-- >0;)(es.isOdd()||eu.isOdd())&&(es.iadd(eh),eu.isub(ep)),es.iushrn(1),eu.iushrn(1);for(var eb=0,ey=1;(ea.words[0]&ey)==0&&eb<26;++eb,ey<<=1);if(eb>0)for(ea.iushrn(eb);eb-- >0;)(ec.isOdd()||ed.isOdd())&&(ec.iadd(eh),ed.isub(ep)),ec.iushrn(1),ed.iushrn(1);eo.cmp(ea)>=0?(eo.isub(ea),es.isub(ec),eu.isub(ed)):(ea.isub(eo),ec.isub(es),ed.isub(eu))}return{a:ec,b:ed,gcd:ea.iushln(ef)}},BN.prototype._invmp=function(ei){assert(0===ei.negative),assert(!ei.isZero());var eo,ea=this,es=ei.clone();ea=0!==ea.negative?ea.umod(ei):ea.clone();for(var eu=new BN(1),ec=new BN(0),ed=es.clone();ea.cmpn(1)>0&&es.cmpn(1)>0;){for(var ef=0,eh=1;(ea.words[0]&eh)==0&&ef<26;++ef,eh<<=1);if(ef>0)for(ea.iushrn(ef);ef-- >0;)eu.isOdd()&&eu.iadd(ed),eu.iushrn(1);for(var ep=0,em=1;(es.words[0]&em)==0&&ep<26;++ep,em<<=1);if(ep>0)for(es.iushrn(ep);ep-- >0;)ec.isOdd()&&ec.iadd(ed),ec.iushrn(1);ea.cmp(es)>=0?(ea.isub(es),eu.isub(ec)):(es.isub(ea),ec.isub(eu))}return 0>(eo=0===ea.cmpn(1)?eu:ec).cmpn(0)&&eo.iadd(ei),eo},BN.prototype.gcd=function(ei){if(this.isZero())return ei.abs();if(ei.isZero())return this.abs();var eo=this.clone(),ea=ei.clone();eo.negative=0,ea.negative=0;for(var es=0;eo.isEven()&&ea.isEven();es++)eo.iushrn(1),ea.iushrn(1);for(;;){for(;eo.isEven();)eo.iushrn(1);for(;ea.isEven();)ea.iushrn(1);var eu=eo.cmp(ea);if(eu<0){var ec=eo;eo=ea,ea=ec}else if(0===eu||0===ea.cmpn(1))break;eo.isub(ea)}return ea.iushln(es)},BN.prototype.invm=function(ei){return this.egcd(ei).a.umod(ei)},BN.prototype.isEven=function(){return(1&this.words[0])==0},BN.prototype.isOdd=function(){return(1&this.words[0])==1},BN.prototype.andln=function(ei){return this.words[0]&ei},BN.prototype.bincn=function(ei){assert("number"==typeof ei);var eo=ei%26,ea=(ei-eo)/26,es=1<<eo;if(this.length<=ea)return this._expand(ea+1),this.words[ea]|=es,this;for(var eu=es,ec=ea;0!==eu&&ec<this.length;ec++){var ed=0|this.words[ec];ed+=eu,eu=ed>>>26,ed&=67108863,this.words[ec]=ed}return 0!==eu&&(this.words[ec]=eu,this.length++),this},BN.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},BN.prototype.cmpn=function(ei){var eo,ea=ei<0;if(0!==this.negative&&!ea)return -1;if(0===this.negative&&ea)return 1;if(this.strip(),this.length>1)eo=1;else{ea&&(ei=-ei),assert(ei<=67108863,"Number is too big");var es=0|this.words[0];eo=es===ei?0:es<ei?-1:1}return 0!==this.negative?0|-eo:eo},BN.prototype.cmp=function(ei){if(0!==this.negative&&0===ei.negative)return -1;if(0===this.negative&&0!==ei.negative)return 1;var eo=this.ucmp(ei);return 0!==this.negative?0|-eo:eo},BN.prototype.ucmp=function(ei){if(this.length>ei.length)return 1;if(this.length<ei.length)return -1;for(var eo=0,ea=this.length-1;ea>=0;ea--){var es=0|this.words[ea],eu=0|ei.words[ea];if(es!==eu){es<eu?eo=-1:es>eu&&(eo=1);break}}return eo},BN.prototype.gtn=function(ei){return 1===this.cmpn(ei)},BN.prototype.gt=function(ei){return 1===this.cmp(ei)},BN.prototype.gten=function(ei){return this.cmpn(ei)>=0},BN.prototype.gte=function(ei){return this.cmp(ei)>=0},BN.prototype.ltn=function(ei){return -1===this.cmpn(ei)},BN.prototype.lt=function(ei){return -1===this.cmp(ei)},BN.prototype.lten=function(ei){return 0>=this.cmpn(ei)},BN.prototype.lte=function(ei){return 0>=this.cmp(ei)},BN.prototype.eqn=function(ei){return 0===this.cmpn(ei)},BN.prototype.eq=function(ei){return 0===this.cmp(ei)},BN.red=function(ei){return new Red(ei)},BN.prototype.toRed=function(ei){return assert(!this.red,"Already a number in reduction context"),assert(0===this.negative,"red works only with positives"),ei.convertTo(this)._forceRed(ei)},BN.prototype.fromRed=function(){return assert(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},BN.prototype._forceRed=function(ei){return this.red=ei,this},BN.prototype.forceRed=function(ei){return assert(!this.red,"Already a number in reduction context"),this._forceRed(ei)},BN.prototype.redAdd=function(ei){return assert(this.red,"redAdd works only with red numbers"),this.red.add(this,ei)},BN.prototype.redIAdd=function(ei){return assert(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,ei)},BN.prototype.redSub=function(ei){return assert(this.red,"redSub works only with red numbers"),this.red.sub(this,ei)},BN.prototype.redISub=function(ei){return assert(this.red,"redISub works only with red numbers"),this.red.isub(this,ei)},BN.prototype.redShl=function(ei){return assert(this.red,"redShl works only with red numbers"),this.red.shl(this,ei)},BN.prototype.redMul=function(ei){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,ei),this.red.mul(this,ei)},BN.prototype.redIMul=function(ei){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,ei),this.red.imul(this,ei)},BN.prototype.redSqr=function(){return assert(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},BN.prototype.redISqr=function(){return assert(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},BN.prototype.redSqrt=function(){return assert(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},BN.prototype.redInvm=function(){return assert(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},BN.prototype.redNeg=function(){return assert(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},BN.prototype.redPow=function(ei){return assert(this.red&&!ei.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,ei)};var ef={k256:null,p224:null,p192:null,p25519:null};function MPrime(ei,eo){this.name=ei,this.p=new BN(eo,16),this.n=this.p.bitLength(),this.k=new BN(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function P224(){MPrime.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function P192(){MPrime.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P25519(){MPrime.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Red(ei){if("string"==typeof ei){var eo=BN._prime(ei);this.m=eo.p,this.prime=eo}else assert(ei.gtn(1),"modulus must be greater than 1"),this.m=ei,this.prime=null}function Mont(ei){Red.call(this,ei),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new BN(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)}MPrime.prototype._tmp=function(){var ei=new BN(null);return ei.words=Array(Math.ceil(this.n/13)),ei},MPrime.prototype.ireduce=function(ei){var eo,ea=ei;do this.split(ea,this.tmp),eo=(ea=(ea=this.imulK(ea)).iadd(this.tmp)).bitLength();while(eo>this.n);var es=eo<this.n?-1:ea.ucmp(this.p);return 0===es?(ea.words[0]=0,ea.length=1):es>0?ea.isub(this.p):void 0!==ea.strip?ea.strip():ea._strip(),ea},MPrime.prototype.split=function(ei,eo){ei.iushrn(this.n,0,eo)},MPrime.prototype.imulK=function(ei){return ei.imul(this.k)},inherits(K256,MPrime),K256.prototype.split=function(ei,eo){for(var ea=4194303,es=Math.min(ei.length,9),eu=0;eu<es;eu++)eo.words[eu]=ei.words[eu];if(eo.length=es,ei.length<=9){ei.words[0]=0,ei.length=1;return}var ec=ei.words[9];for(eu=10,eo.words[eo.length++]=ec&ea;eu<ei.length;eu++){var ed=0|ei.words[eu];ei.words[eu-10]=(ed&ea)<<4|ec>>>22,ec=ed}ec>>>=22,ei.words[eu-10]=ec,0===ec&&ei.length>10?ei.length-=10:ei.length-=9},K256.prototype.imulK=function(ei){ei.words[ei.length]=0,ei.words[ei.length+1]=0,ei.length+=2;for(var eo=0,ea=0;ea<ei.length;ea++){var es=0|ei.words[ea];eo+=977*es,ei.words[ea]=67108863&eo,eo=64*es+(eo/67108864|0)}return 0===ei.words[ei.length-1]&&(ei.length--,0===ei.words[ei.length-1]&&ei.length--),ei},inherits(P224,MPrime),inherits(P192,MPrime),inherits(P25519,MPrime),P25519.prototype.imulK=function(ei){for(var eo=0,ea=0;ea<ei.length;ea++){var es=(0|ei.words[ea])*19+eo,eu=67108863&es;es>>>=26,ei.words[ea]=eu,eo=es}return 0!==eo&&(ei.words[ei.length++]=eo),ei},BN._prime=function(ei){var eo;if(ef[ei])return ef[ei];if("k256"===ei)eo=new K256;else if("p224"===ei)eo=new P224;else if("p192"===ei)eo=new P192;else if("p25519"===ei)eo=new P25519;else throw Error("Unknown prime "+ei);return ef[ei]=eo,eo},Red.prototype._verify1=function(ei){assert(0===ei.negative,"red works only with positives"),assert(ei.red,"red works only with red numbers")},Red.prototype._verify2=function(ei,eo){assert((ei.negative|eo.negative)==0,"red works only with positives"),assert(ei.red&&ei.red===eo.red,"red works only with red numbers")},Red.prototype.imod=function(ei){return this.prime?this.prime.ireduce(ei)._forceRed(this):ei.umod(this.m)._forceRed(this)},Red.prototype.neg=function(ei){return ei.isZero()?ei.clone():this.m.sub(ei)._forceRed(this)},Red.prototype.add=function(ei,eo){this._verify2(ei,eo);var ea=ei.add(eo);return ea.cmp(this.m)>=0&&ea.isub(this.m),ea._forceRed(this)},Red.prototype.iadd=function(ei,eo){this._verify2(ei,eo);var ea=ei.iadd(eo);return ea.cmp(this.m)>=0&&ea.isub(this.m),ea},Red.prototype.sub=function(ei,eo){this._verify2(ei,eo);var ea=ei.sub(eo);return 0>ea.cmpn(0)&&ea.iadd(this.m),ea._forceRed(this)},Red.prototype.isub=function(ei,eo){this._verify2(ei,eo);var ea=ei.isub(eo);return 0>ea.cmpn(0)&&ea.iadd(this.m),ea},Red.prototype.shl=function(ei,eo){return this._verify1(ei),this.imod(ei.ushln(eo))},Red.prototype.imul=function(ei,eo){return this._verify2(ei,eo),this.imod(ei.imul(eo))},Red.prototype.mul=function(ei,eo){return this._verify2(ei,eo),this.imod(ei.mul(eo))},Red.prototype.isqr=function(ei){return this.imul(ei,ei.clone())},Red.prototype.sqr=function(ei){return this.mul(ei,ei)},Red.prototype.sqrt=function(ei){if(ei.isZero())return ei.clone();var eo=this.m.andln(3);if(assert(eo%2==1),3===eo){var ea=this.m.add(new BN(1)).iushrn(2);return this.pow(ei,ea)}for(var es=this.m.subn(1),eu=0;!es.isZero()&&0===es.andln(1);)eu++,es.iushrn(1);assert(!es.isZero());var ec=new BN(1).toRed(this),ed=ec.redNeg(),ef=this.m.subn(1).iushrn(1),eh=this.m.bitLength();for(eh=new BN(2*eh*eh).toRed(this);0!==this.pow(eh,ef).cmp(ed);)eh.redIAdd(ed);for(var ep=this.pow(eh,es),em=this.pow(ei,es.addn(1).iushrn(1)),eg=this.pow(ei,es),eb=eu;0!==eg.cmp(ec);){for(var ey=eg,ew=0;0!==ey.cmp(ec);ew++)ey=ey.redSqr();assert(ew<eb);var ex=this.pow(ep,new BN(1).iushln(eb-ew-1));em=em.redMul(ex),ep=ex.redSqr(),eg=eg.redMul(ep),eb=ew}return em},Red.prototype.invm=function(ei){var eo=ei._invmp(this.m);return 0!==eo.negative?(eo.negative=0,this.imod(eo).redNeg()):this.imod(eo)},Red.prototype.pow=function(ei,eo){if(eo.isZero())return new BN(1).toRed(this);if(0===eo.cmpn(1))return ei.clone();var ea=4,es=Array(16);es[0]=new BN(1).toRed(this),es[1]=ei;for(var eu=2;eu<es.length;eu++)es[eu]=this.mul(es[eu-1],ei);var ec=es[0],ed=0,ef=0,eh=eo.bitLength()%26;for(0===eh&&(eh=26),eu=eo.length-1;eu>=0;eu--){for(var ep=eo.words[eu],em=eh-1;em>=0;em--){var eg=ep>>em&1;if(ec!==es[0]&&(ec=this.sqr(ec)),0===eg&&0===ed){ef=0;continue}ed<<=1,ed|=eg,(++ef===ea||0===eu&&0===em)&&(ec=this.mul(ec,es[ed]),ef=0,ed=0)}eh=26}return ec},Red.prototype.convertTo=function(ei){var eo=ei.umod(this.m);return eo===ei?eo.clone():eo},Red.prototype.convertFrom=function(ei){var eo=ei.clone();return eo.red=null,eo},BN.mont=function(ei){return new Mont(ei)},inherits(Mont,Red),Mont.prototype.convertTo=function(ei){return this.imod(ei.ushln(this.shift))},Mont.prototype.convertFrom=function(ei){var eo=this.imod(ei.mul(this.rinv));return eo.red=null,eo},Mont.prototype.imul=function(ei,eo){if(ei.isZero()||eo.isZero())return ei.words[0]=0,ei.length=1,ei;var ea=ei.imul(eo),es=ea.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),eu=ea.isub(es).iushrn(this.shift),ec=eu;return eu.cmp(this.m)>=0?ec=eu.isub(this.m):0>eu.cmpn(0)&&(ec=eu.iadd(this.m)),ec._forceRed(this)},Mont.prototype.mul=function(ei,eo){if(ei.isZero()||eo.isZero())return new BN(0)._forceRed(this);var ea=ei.mul(eo),es=ea.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),eu=ea.isub(es).iushrn(this.shift),ec=eu;return eu.cmp(this.m)>=0?ec=eu.isub(this.m):0>eu.cmpn(0)&&(ec=eu.iadd(this.m)),ec._forceRed(this)},Mont.prototype.invm=function(ei){return this.imod(ei._invmp(this.m).mul(this.r2))._forceRed(this)}}(ei=ea.nmd(ei),this)},1670:function(ei,eo,ea){!function(ei,eo){"use strict";function assert(ei,eo){if(!ei)throw Error(eo||"Assertion failed")}function inherits(ei,eo){ei.super_=eo;var TempCtor=function(){};TempCtor.prototype=eo.prototype,ei.prototype=new TempCtor,ei.prototype.constructor=ei}function BN(ei,eo,ea){if(BN.isBN(ei))return ei;this.negative=0,this.words=null,this.length=0,this.red=null,null!==ei&&(("le"===eo||"be"===eo)&&(ea=eo,eo=10),this._init(ei||0,eo||10,ea||"be"))}"object"==typeof ei?ei.exports=BN:eo.BN=BN,BN.BN=BN,BN.wordSize=26;try{es=ea(4300).Buffer}catch(ei){}function parseHex(ei,eo,ea){for(var es=0,eu=Math.min(ei.length,ea),ec=0,ed=eo;ed<eu;ed++){var ef,eh=ei.charCodeAt(ed)-48;es<<=4,es|=ef=eh>=49&&eh<=54?eh-49+10:eh>=17&&eh<=22?eh-17+10:eh,ec|=ef}return assert(!(240&ec),"Invalid character in "+ei),es}function parseBase(ei,eo,ea,es){for(var eu=0,ec=0,ed=Math.min(ei.length,ea),ef=eo;ef<ed;ef++){var eh=ei.charCodeAt(ef)-48;eu*=es,ec=eh>=49?eh-49+10:eh>=17?eh-17+10:eh,assert(eh>=0&&ec<es,"Invalid character"),eu+=ec}return eu}function move(ei,eo){ei.words=eo.words,ei.length=eo.length,ei.negative=eo.negative,ei.red=eo.red}function inspect(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}BN.isBN=function(ei){return ei instanceof BN||null!==ei&&"object"==typeof ei&&ei.constructor.wordSize===BN.wordSize&&Array.isArray(ei.words)},BN.max=function(ei,eo){return ei.cmp(eo)>0?ei:eo},BN.min=function(ei,eo){return 0>ei.cmp(eo)?ei:eo},BN.prototype._init=function(ei,eo,ea){if("number"==typeof ei)return this._initNumber(ei,eo,ea);if("object"==typeof ei)return this._initArray(ei,eo,ea);"hex"===eo&&(eo=16),assert(eo===(0|eo)&&eo>=2&&eo<=36);var es=0;"-"===(ei=ei.toString().replace(/\s+/g,""))[0]&&es++,16===eo?this._parseHex(ei,es):this._parseBase(ei,eo,es),"-"===ei[0]&&(this.negative=1),this._strip(),"le"===ea&&this._initArray(this.toArray(),eo,ea)},BN.prototype._initNumber=function(ei,eo,ea){ei<0&&(this.negative=1,ei=-ei),ei<67108864?(this.words=[67108863&ei],this.length=1):ei<4503599627370496?(this.words=[67108863&ei,ei/67108864&67108863],this.length=2):(assert(ei<9007199254740992),this.words=[67108863&ei,ei/67108864&67108863,1],this.length=3),"le"===ea&&this._initArray(this.toArray(),eo,ea)},BN.prototype._initArray=function(ei,eo,ea){if(assert("number"==typeof ei.length),ei.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(ei.length/3),this.words=Array(this.length);for(var es,eu,ec=0;ec<this.length;ec++)this.words[ec]=0;var ed=0;if("be"===ea)for(ec=ei.length-1,es=0;ec>=0;ec-=3)eu=ei[ec]|ei[ec-1]<<8|ei[ec-2]<<16,this.words[es]|=eu<<ed&67108863,this.words[es+1]=eu>>>26-ed&67108863,(ed+=24)>=26&&(ed-=26,es++);else if("le"===ea)for(ec=0,es=0;ec<ei.length;ec+=3)eu=ei[ec]|ei[ec+1]<<8|ei[ec+2]<<16,this.words[es]|=eu<<ed&67108863,this.words[es+1]=eu>>>26-ed&67108863,(ed+=24)>=26&&(ed-=26,es++);return this._strip()},BN.prototype._parseHex=function(ei,eo){this.length=Math.ceil((ei.length-eo)/6),this.words=Array(this.length);for(var ea,es,eu=0;eu<this.length;eu++)this.words[eu]=0;var ec=0;for(eu=ei.length-6,ea=0;eu>=eo;eu-=6)es=parseHex(ei,eu,eu+6),this.words[ea]|=es<<ec&67108863,this.words[ea+1]|=es>>>26-ec&4194303,(ec+=24)>=26&&(ec-=26,ea++);eu+6!==eo&&(es=parseHex(ei,eo,eu+6),this.words[ea]|=es<<ec&67108863,this.words[ea+1]|=es>>>26-ec&4194303),this._strip()},BN.prototype._parseBase=function(ei,eo,ea){this.words=[0],this.length=1;for(var es=0,eu=1;eu<=67108863;eu*=eo)es++;es--,eu=eu/eo|0;for(var ec=ei.length-ea,ed=ec%es,ef=Math.min(ec,ec-ed)+ea,eh=0,ep=ea;ep<ef;ep+=es)eh=parseBase(ei,ep,ep+es,eo),this.imuln(eu),this.words[0]+eh<67108864?this.words[0]+=eh:this._iaddn(eh);if(0!==ed){var em=1;for(eh=parseBase(ei,ep,ei.length,eo),ep=0;ep<ed;ep++)em*=eo;this.imuln(em),this.words[0]+eh<67108864?this.words[0]+=eh:this._iaddn(eh)}},BN.prototype.copy=function(ei){ei.words=Array(this.length);for(var eo=0;eo<this.length;eo++)ei.words[eo]=this.words[eo];ei.length=this.length,ei.negative=this.negative,ei.red=this.red},BN.prototype._move=function(ei){move(ei,this)},BN.prototype.clone=function(){var ei=new BN(null);return this.copy(ei),ei},BN.prototype._expand=function(ei){for(;this.length<ei;)this.words[this.length++]=0;return this},BN.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},BN.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?BN.prototype[Symbol.for("nodejs.util.inspect.custom")]=inspect:BN.prototype.inspect=inspect;var es,eu=["","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"],ec=[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],ed=[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];BN.prototype.toString=function(ei,eo){if(eo=0|eo||1,16===(ei=ei||10)||"hex"===ei){ea="";for(var ea,es=0,ef=0,eh=0;eh<this.length;eh++){var ep=this.words[eh],em=((ep<<es|ef)&16777215).toString(16);ea=0!=(ef=ep>>>24-es&16777215)||eh!==this.length-1?eu[6-em.length]+em+ea:em+ea,(es+=2)>=26&&(es-=26,eh--)}for(0!==ef&&(ea=ef.toString(16)+ea);ea.length%eo!=0;)ea="0"+ea;return 0!==this.negative&&(ea="-"+ea),ea}if(ei===(0|ei)&&ei>=2&&ei<=36){var eg=ec[ei],eb=ed[ei];ea="";var ey=this.clone();for(ey.negative=0;!ey.isZero();){var ew=ey.modrn(eb).toString(ei);ea=(ey=ey.idivn(eb)).isZero()?ew+ea:eu[eg-ew.length]+ew+ea}for(this.isZero()&&(ea="0"+ea);ea.length%eo!=0;)ea="0"+ea;return 0!==this.negative&&(ea="-"+ea),ea}assert(!1,"Base should be between 2 and 36")},BN.prototype.toNumber=function(){var ei=this.words[0];return 2===this.length?ei+=67108864*this.words[1]:3===this.length&&1===this.words[2]?ei+=4503599627370496+67108864*this.words[1]:this.length>2&&assert(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-ei:ei},BN.prototype.toJSON=function(){return this.toString(16,2)},es&&(BN.prototype.toBuffer=function(ei,eo){return this.toArrayLike(es,ei,eo)}),BN.prototype.toArray=function(ei,eo){return this.toArrayLike(Array,ei,eo)};var o=function(ei,eo){return ei.allocUnsafe?ei.allocUnsafe(eo):new ei(eo)};function toBitArray(ei){for(var eo=Array(ei.bitLength()),ea=0;ea<eo.length;ea++){var es=ea/26|0,eu=ea%26;eo[ea]=ei.words[es]>>>eu&1}return eo}function smallMulTo(ei,eo,ea){ea.negative=eo.negative^ei.negative;var es=ei.length+eo.length|0;ea.length=es,es=es-1|0;var eu=0|ei.words[0],ec=0|eo.words[0],ed=eu*ec,ef=67108863&ed,eh=ed/67108864|0;ea.words[0]=ef;for(var ep=1;ep<es;ep++){for(var em=eh>>>26,eg=67108863&eh,eb=Math.min(ep,eo.length-1),ey=Math.max(0,ep-ei.length+1);ey<=eb;ey++){var ew=ep-ey|0;em+=(ed=(eu=0|ei.words[ew])*(ec=0|eo.words[ey])+eg)/67108864|0,eg=67108863&ed}ea.words[ep]=0|eg,eh=0|em}return 0!==eh?ea.words[ep]=0|eh:ea.length--,ea._strip()}BN.prototype.toArrayLike=function(ei,eo,ea){this._strip();var es=this.byteLength(),eu=ea||Math.max(1,es);assert(es<=eu,"byte array longer than desired length"),assert(eu>0,"Requested array length <= 0");var ec=o(ei,eu);return this["_toArrayLike"+("le"===eo?"LE":"BE")](ec,es),ec},BN.prototype._toArrayLikeLE=function(ei,eo){for(var ea=0,es=0,eu=0,ec=0;eu<this.length;eu++){var ed=this.words[eu]<<ec|es;ei[ea++]=255&ed,ea<ei.length&&(ei[ea++]=ed>>8&255),ea<ei.length&&(ei[ea++]=ed>>16&255),6===ec?(ea<ei.length&&(ei[ea++]=ed>>24&255),es=0,ec=0):(es=ed>>>24,ec+=2)}if(ea<ei.length)for(ei[ea++]=es;ea<ei.length;)ei[ea++]=0},BN.prototype._toArrayLikeBE=function(ei,eo){for(var ea=ei.length-1,es=0,eu=0,ec=0;eu<this.length;eu++){var ed=this.words[eu]<<ec|es;ei[ea--]=255&ed,ea>=0&&(ei[ea--]=ed>>8&255),ea>=0&&(ei[ea--]=ed>>16&255),6===ec?(ea>=0&&(ei[ea--]=ed>>24&255),es=0,ec=0):(es=ed>>>24,ec+=2)}if(ea>=0)for(ei[ea--]=es;ea>=0;)ei[ea--]=0},Math.clz32?BN.prototype._countBits=function(ei){return 32-Math.clz32(ei)}:BN.prototype._countBits=function(ei){var eo=ei,ea=0;return eo>=4096&&(ea+=13,eo>>>=13),eo>=64&&(ea+=7,eo>>>=7),eo>=8&&(ea+=4,eo>>>=4),eo>=2&&(ea+=2,eo>>>=2),ea+eo},BN.prototype._zeroBits=function(ei){if(0===ei)return 26;var eo=ei,ea=0;return(8191&eo)==0&&(ea+=13,eo>>>=13),(127&eo)==0&&(ea+=7,eo>>>=7),(15&eo)==0&&(ea+=4,eo>>>=4),(3&eo)==0&&(ea+=2,eo>>>=2),(1&eo)==0&&ea++,ea},BN.prototype.bitLength=function(){var ei=this.words[this.length-1],eo=this._countBits(ei);return(this.length-1)*26+eo},BN.prototype.zeroBits=function(){if(this.isZero())return 0;for(var ei=0,eo=0;eo<this.length;eo++){var ea=this._zeroBits(this.words[eo]);if(ei+=ea,26!==ea)break}return ei},BN.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},BN.prototype.toTwos=function(ei){return 0!==this.negative?this.abs().inotn(ei).iaddn(1):this.clone()},BN.prototype.fromTwos=function(ei){return this.testn(ei-1)?this.notn(ei).iaddn(1).ineg():this.clone()},BN.prototype.isNeg=function(){return 0!==this.negative},BN.prototype.neg=function(){return this.clone().ineg()},BN.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},BN.prototype.iuor=function(ei){for(;this.length<ei.length;)this.words[this.length++]=0;for(var eo=0;eo<ei.length;eo++)this.words[eo]=this.words[eo]|ei.words[eo];return this._strip()},BN.prototype.ior=function(ei){return assert((this.negative|ei.negative)==0),this.iuor(ei)},BN.prototype.or=function(ei){return this.length>ei.length?this.clone().ior(ei):ei.clone().ior(this)},BN.prototype.uor=function(ei){return this.length>ei.length?this.clone().iuor(ei):ei.clone().iuor(this)},BN.prototype.iuand=function(ei){var eo;eo=this.length>ei.length?ei:this;for(var ea=0;ea<eo.length;ea++)this.words[ea]=this.words[ea]&ei.words[ea];return this.length=eo.length,this._strip()},BN.prototype.iand=function(ei){return assert((this.negative|ei.negative)==0),this.iuand(ei)},BN.prototype.and=function(ei){return this.length>ei.length?this.clone().iand(ei):ei.clone().iand(this)},BN.prototype.uand=function(ei){return this.length>ei.length?this.clone().iuand(ei):ei.clone().iuand(this)},BN.prototype.iuxor=function(ei){this.length>ei.length?(eo=this,ea=ei):(eo=ei,ea=this);for(var eo,ea,es=0;es<ea.length;es++)this.words[es]=eo.words[es]^ea.words[es];if(this!==eo)for(;es<eo.length;es++)this.words[es]=eo.words[es];return this.length=eo.length,this._strip()},BN.prototype.ixor=function(ei){return assert((this.negative|ei.negative)==0),this.iuxor(ei)},BN.prototype.xor=function(ei){return this.length>ei.length?this.clone().ixor(ei):ei.clone().ixor(this)},BN.prototype.uxor=function(ei){return this.length>ei.length?this.clone().iuxor(ei):ei.clone().iuxor(this)},BN.prototype.inotn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=0|Math.ceil(ei/26),ea=ei%26;this._expand(eo),ea>0&&eo--;for(var es=0;es<eo;es++)this.words[es]=67108863&~this.words[es];return ea>0&&(this.words[es]=~this.words[es]&67108863>>26-ea),this._strip()},BN.prototype.notn=function(ei){return this.clone().inotn(ei)},BN.prototype.setn=function(ei,eo){assert("number"==typeof ei&&ei>=0);var ea=ei/26|0,es=ei%26;return this._expand(ea+1),eo?this.words[ea]=this.words[ea]|1<<es:this.words[ea]=this.words[ea]&~(1<<es),this._strip()},BN.prototype.iadd=function(ei){if(0!==this.negative&&0===ei.negative)return this.negative=0,eo=this.isub(ei),this.negative^=1,this._normSign();if(0===this.negative&&0!==ei.negative)return ei.negative=0,eo=this.isub(ei),ei.negative=1,eo._normSign();this.length>ei.length?(ea=this,es=ei):(ea=ei,es=this);for(var eo,ea,es,eu=0,ec=0;ec<es.length;ec++)eo=(0|ea.words[ec])+(0|es.words[ec])+eu,this.words[ec]=67108863&eo,eu=eo>>>26;for(;0!==eu&&ec<ea.length;ec++)eo=(0|ea.words[ec])+eu,this.words[ec]=67108863&eo,eu=eo>>>26;if(this.length=ea.length,0!==eu)this.words[this.length]=eu,this.length++;else if(ea!==this)for(;ec<ea.length;ec++)this.words[ec]=ea.words[ec];return this},BN.prototype.add=function(ei){var eo;return 0!==ei.negative&&0===this.negative?(ei.negative=0,eo=this.sub(ei),ei.negative^=1,eo):0===ei.negative&&0!==this.negative?(this.negative=0,eo=ei.sub(this),this.negative=1,eo):this.length>ei.length?this.clone().iadd(ei):ei.clone().iadd(this)},BN.prototype.isub=function(ei){if(0!==ei.negative){ei.negative=0;var eo,ea,es=this.iadd(ei);return ei.negative=1,es._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(ei),this.negative=1,this._normSign();var eu=this.cmp(ei);if(0===eu)return this.negative=0,this.length=1,this.words[0]=0,this;eu>0?(eo=this,ea=ei):(eo=ei,ea=this);for(var ec=0,ed=0;ed<ea.length;ed++)ec=(es=(0|eo.words[ed])-(0|ea.words[ed])+ec)>>26,this.words[ed]=67108863&es;for(;0!==ec&&ed<eo.length;ed++)ec=(es=(0|eo.words[ed])+ec)>>26,this.words[ed]=67108863&es;if(0===ec&&ed<eo.length&&eo!==this)for(;ed<eo.length;ed++)this.words[ed]=eo.words[ed];return this.length=Math.max(this.length,ed),eo!==this&&(this.negative=1),this._strip()},BN.prototype.sub=function(ei){return this.clone().isub(ei)};var h=function(ei,eo,ea){var es,eu,ec,ed=ei.words,ef=eo.words,eh=ea.words,ep=0,em=0|ed[0],eg=8191&em,eb=em>>>13,ey=0|ed[1],ew=8191&ey,ex=ey>>>13,eP=0|ed[2],eS=8191&eP,eE=eP>>>13,ek=0|ed[3],eT=8191&ek,eC=ek>>>13,e_=0|ed[4],eA=8191&e_,eO=e_>>>13,eM=0|ed[5],eR=8191&eM,ej=eM>>>13,eN=0|ed[6],eL=8191&eN,eD=eN>>>13,eI=0|ed[7],ez=8191&eI,eB=eI>>>13,eF=0|ed[8],eH=8191&eF,eU=eF>>>13,eV=0|ed[9],eX=8191&eV,eq=eV>>>13,e$=0|ef[0],eW=8191&e$,eK=e$>>>13,eG=0|ef[1],eZ=8191&eG,eJ=eG>>>13,eY=0|ef[2],eQ=8191&eY,e0=eY>>>13,e1=0|ef[3],e3=8191&e1,e8=e1>>>13,e6=0|ef[4],e5=8191&e6,e4=e6>>>13,e7=0|ef[5],e9=8191&e7,tr=e7>>>13,tn=0|ef[6],ti=8191&tn,ta=tn>>>13,ts=0|ef[7],tl=8191&ts,tu=ts>>>13,tc=0|ef[8],td=8191&tc,tf=tc>>>13,th=0|ef[9],tp=8191&th,tm=th>>>13;ea.negative=ei.negative^eo.negative,ea.length=19;var tg=(ep+(es=Math.imul(eg,eW))|0)+((8191&(eu=(eu=Math.imul(eg,eK))+Math.imul(eb,eW)|0))<<13)|0;ep=((ec=Math.imul(eb,eK))+(eu>>>13)|0)+(tg>>>26)|0,tg&=67108863,es=Math.imul(ew,eW),eu=(eu=Math.imul(ew,eK))+Math.imul(ex,eW)|0,ec=Math.imul(ex,eK);var tb=(ep+(es=es+Math.imul(eg,eZ)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,eJ)|0)+Math.imul(eb,eZ)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,eJ)|0)+(eu>>>13)|0)+(tb>>>26)|0,tb&=67108863,es=Math.imul(eS,eW),eu=(eu=Math.imul(eS,eK))+Math.imul(eE,eW)|0,ec=Math.imul(eE,eK),es=es+Math.imul(ew,eZ)|0,eu=(eu=eu+Math.imul(ew,eJ)|0)+Math.imul(ex,eZ)|0,ec=ec+Math.imul(ex,eJ)|0;var ty=(ep+(es=es+Math.imul(eg,eQ)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e0)|0)+Math.imul(eb,eQ)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e0)|0)+(eu>>>13)|0)+(ty>>>26)|0,ty&=67108863,es=Math.imul(eT,eW),eu=(eu=Math.imul(eT,eK))+Math.imul(eC,eW)|0,ec=Math.imul(eC,eK),es=es+Math.imul(eS,eZ)|0,eu=(eu=eu+Math.imul(eS,eJ)|0)+Math.imul(eE,eZ)|0,ec=ec+Math.imul(eE,eJ)|0,es=es+Math.imul(ew,eQ)|0,eu=(eu=eu+Math.imul(ew,e0)|0)+Math.imul(ex,eQ)|0,ec=ec+Math.imul(ex,e0)|0;var tw=(ep+(es=es+Math.imul(eg,e3)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e8)|0)+Math.imul(eb,e3)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e8)|0)+(eu>>>13)|0)+(tw>>>26)|0,tw&=67108863,es=Math.imul(eA,eW),eu=(eu=Math.imul(eA,eK))+Math.imul(eO,eW)|0,ec=Math.imul(eO,eK),es=es+Math.imul(eT,eZ)|0,eu=(eu=eu+Math.imul(eT,eJ)|0)+Math.imul(eC,eZ)|0,ec=ec+Math.imul(eC,eJ)|0,es=es+Math.imul(eS,eQ)|0,eu=(eu=eu+Math.imul(eS,e0)|0)+Math.imul(eE,eQ)|0,ec=ec+Math.imul(eE,e0)|0,es=es+Math.imul(ew,e3)|0,eu=(eu=eu+Math.imul(ew,e8)|0)+Math.imul(ex,e3)|0,ec=ec+Math.imul(ex,e8)|0;var tx=(ep+(es=es+Math.imul(eg,e5)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,e4)|0)+Math.imul(eb,e5)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,e4)|0)+(eu>>>13)|0)+(tx>>>26)|0,tx&=67108863,es=Math.imul(eR,eW),eu=(eu=Math.imul(eR,eK))+Math.imul(ej,eW)|0,ec=Math.imul(ej,eK),es=es+Math.imul(eA,eZ)|0,eu=(eu=eu+Math.imul(eA,eJ)|0)+Math.imul(eO,eZ)|0,ec=ec+Math.imul(eO,eJ)|0,es=es+Math.imul(eT,eQ)|0,eu=(eu=eu+Math.imul(eT,e0)|0)+Math.imul(eC,eQ)|0,ec=ec+Math.imul(eC,e0)|0,es=es+Math.imul(eS,e3)|0,eu=(eu=eu+Math.imul(eS,e8)|0)+Math.imul(eE,e3)|0,ec=ec+Math.imul(eE,e8)|0,es=es+Math.imul(ew,e5)|0,eu=(eu=eu+Math.imul(ew,e4)|0)+Math.imul(ex,e5)|0,ec=ec+Math.imul(ex,e4)|0;var tP=(ep+(es=es+Math.imul(eg,e9)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tr)|0)+Math.imul(eb,e9)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tr)|0)+(eu>>>13)|0)+(tP>>>26)|0,tP&=67108863,es=Math.imul(eL,eW),eu=(eu=Math.imul(eL,eK))+Math.imul(eD,eW)|0,ec=Math.imul(eD,eK),es=es+Math.imul(eR,eZ)|0,eu=(eu=eu+Math.imul(eR,eJ)|0)+Math.imul(ej,eZ)|0,ec=ec+Math.imul(ej,eJ)|0,es=es+Math.imul(eA,eQ)|0,eu=(eu=eu+Math.imul(eA,e0)|0)+Math.imul(eO,eQ)|0,ec=ec+Math.imul(eO,e0)|0,es=es+Math.imul(eT,e3)|0,eu=(eu=eu+Math.imul(eT,e8)|0)+Math.imul(eC,e3)|0,ec=ec+Math.imul(eC,e8)|0,es=es+Math.imul(eS,e5)|0,eu=(eu=eu+Math.imul(eS,e4)|0)+Math.imul(eE,e5)|0,ec=ec+Math.imul(eE,e4)|0,es=es+Math.imul(ew,e9)|0,eu=(eu=eu+Math.imul(ew,tr)|0)+Math.imul(ex,e9)|0,ec=ec+Math.imul(ex,tr)|0;var tS=(ep+(es=es+Math.imul(eg,ti)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,ta)|0)+Math.imul(eb,ti)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,ta)|0)+(eu>>>13)|0)+(tS>>>26)|0,tS&=67108863,es=Math.imul(ez,eW),eu=(eu=Math.imul(ez,eK))+Math.imul(eB,eW)|0,ec=Math.imul(eB,eK),es=es+Math.imul(eL,eZ)|0,eu=(eu=eu+Math.imul(eL,eJ)|0)+Math.imul(eD,eZ)|0,ec=ec+Math.imul(eD,eJ)|0,es=es+Math.imul(eR,eQ)|0,eu=(eu=eu+Math.imul(eR,e0)|0)+Math.imul(ej,eQ)|0,ec=ec+Math.imul(ej,e0)|0,es=es+Math.imul(eA,e3)|0,eu=(eu=eu+Math.imul(eA,e8)|0)+Math.imul(eO,e3)|0,ec=ec+Math.imul(eO,e8)|0,es=es+Math.imul(eT,e5)|0,eu=(eu=eu+Math.imul(eT,e4)|0)+Math.imul(eC,e5)|0,ec=ec+Math.imul(eC,e4)|0,es=es+Math.imul(eS,e9)|0,eu=(eu=eu+Math.imul(eS,tr)|0)+Math.imul(eE,e9)|0,ec=ec+Math.imul(eE,tr)|0,es=es+Math.imul(ew,ti)|0,eu=(eu=eu+Math.imul(ew,ta)|0)+Math.imul(ex,ti)|0,ec=ec+Math.imul(ex,ta)|0;var tE=(ep+(es=es+Math.imul(eg,tl)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tu)|0)+Math.imul(eb,tl)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tu)|0)+(eu>>>13)|0)+(tE>>>26)|0,tE&=67108863,es=Math.imul(eH,eW),eu=(eu=Math.imul(eH,eK))+Math.imul(eU,eW)|0,ec=Math.imul(eU,eK),es=es+Math.imul(ez,eZ)|0,eu=(eu=eu+Math.imul(ez,eJ)|0)+Math.imul(eB,eZ)|0,ec=ec+Math.imul(eB,eJ)|0,es=es+Math.imul(eL,eQ)|0,eu=(eu=eu+Math.imul(eL,e0)|0)+Math.imul(eD,eQ)|0,ec=ec+Math.imul(eD,e0)|0,es=es+Math.imul(eR,e3)|0,eu=(eu=eu+Math.imul(eR,e8)|0)+Math.imul(ej,e3)|0,ec=ec+Math.imul(ej,e8)|0,es=es+Math.imul(eA,e5)|0,eu=(eu=eu+Math.imul(eA,e4)|0)+Math.imul(eO,e5)|0,ec=ec+Math.imul(eO,e4)|0,es=es+Math.imul(eT,e9)|0,eu=(eu=eu+Math.imul(eT,tr)|0)+Math.imul(eC,e9)|0,ec=ec+Math.imul(eC,tr)|0,es=es+Math.imul(eS,ti)|0,eu=(eu=eu+Math.imul(eS,ta)|0)+Math.imul(eE,ti)|0,ec=ec+Math.imul(eE,ta)|0,es=es+Math.imul(ew,tl)|0,eu=(eu=eu+Math.imul(ew,tu)|0)+Math.imul(ex,tl)|0,ec=ec+Math.imul(ex,tu)|0;var tk=(ep+(es=es+Math.imul(eg,td)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tf)|0)+Math.imul(eb,td)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tf)|0)+(eu>>>13)|0)+(tk>>>26)|0,tk&=67108863,es=Math.imul(eX,eW),eu=(eu=Math.imul(eX,eK))+Math.imul(eq,eW)|0,ec=Math.imul(eq,eK),es=es+Math.imul(eH,eZ)|0,eu=(eu=eu+Math.imul(eH,eJ)|0)+Math.imul(eU,eZ)|0,ec=ec+Math.imul(eU,eJ)|0,es=es+Math.imul(ez,eQ)|0,eu=(eu=eu+Math.imul(ez,e0)|0)+Math.imul(eB,eQ)|0,ec=ec+Math.imul(eB,e0)|0,es=es+Math.imul(eL,e3)|0,eu=(eu=eu+Math.imul(eL,e8)|0)+Math.imul(eD,e3)|0,ec=ec+Math.imul(eD,e8)|0,es=es+Math.imul(eR,e5)|0,eu=(eu=eu+Math.imul(eR,e4)|0)+Math.imul(ej,e5)|0,ec=ec+Math.imul(ej,e4)|0,es=es+Math.imul(eA,e9)|0,eu=(eu=eu+Math.imul(eA,tr)|0)+Math.imul(eO,e9)|0,ec=ec+Math.imul(eO,tr)|0,es=es+Math.imul(eT,ti)|0,eu=(eu=eu+Math.imul(eT,ta)|0)+Math.imul(eC,ti)|0,ec=ec+Math.imul(eC,ta)|0,es=es+Math.imul(eS,tl)|0,eu=(eu=eu+Math.imul(eS,tu)|0)+Math.imul(eE,tl)|0,ec=ec+Math.imul(eE,tu)|0,es=es+Math.imul(ew,td)|0,eu=(eu=eu+Math.imul(ew,tf)|0)+Math.imul(ex,td)|0,ec=ec+Math.imul(ex,tf)|0;var tT=(ep+(es=es+Math.imul(eg,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eg,tm)|0)+Math.imul(eb,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eb,tm)|0)+(eu>>>13)|0)+(tT>>>26)|0,tT&=67108863,es=Math.imul(eX,eZ),eu=(eu=Math.imul(eX,eJ))+Math.imul(eq,eZ)|0,ec=Math.imul(eq,eJ),es=es+Math.imul(eH,eQ)|0,eu=(eu=eu+Math.imul(eH,e0)|0)+Math.imul(eU,eQ)|0,ec=ec+Math.imul(eU,e0)|0,es=es+Math.imul(ez,e3)|0,eu=(eu=eu+Math.imul(ez,e8)|0)+Math.imul(eB,e3)|0,ec=ec+Math.imul(eB,e8)|0,es=es+Math.imul(eL,e5)|0,eu=(eu=eu+Math.imul(eL,e4)|0)+Math.imul(eD,e5)|0,ec=ec+Math.imul(eD,e4)|0,es=es+Math.imul(eR,e9)|0,eu=(eu=eu+Math.imul(eR,tr)|0)+Math.imul(ej,e9)|0,ec=ec+Math.imul(ej,tr)|0,es=es+Math.imul(eA,ti)|0,eu=(eu=eu+Math.imul(eA,ta)|0)+Math.imul(eO,ti)|0,ec=ec+Math.imul(eO,ta)|0,es=es+Math.imul(eT,tl)|0,eu=(eu=eu+Math.imul(eT,tu)|0)+Math.imul(eC,tl)|0,ec=ec+Math.imul(eC,tu)|0,es=es+Math.imul(eS,td)|0,eu=(eu=eu+Math.imul(eS,tf)|0)+Math.imul(eE,td)|0,ec=ec+Math.imul(eE,tf)|0;var tC=(ep+(es=es+Math.imul(ew,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(ew,tm)|0)+Math.imul(ex,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(ex,tm)|0)+(eu>>>13)|0)+(tC>>>26)|0,tC&=67108863,es=Math.imul(eX,eQ),eu=(eu=Math.imul(eX,e0))+Math.imul(eq,eQ)|0,ec=Math.imul(eq,e0),es=es+Math.imul(eH,e3)|0,eu=(eu=eu+Math.imul(eH,e8)|0)+Math.imul(eU,e3)|0,ec=ec+Math.imul(eU,e8)|0,es=es+Math.imul(ez,e5)|0,eu=(eu=eu+Math.imul(ez,e4)|0)+Math.imul(eB,e5)|0,ec=ec+Math.imul(eB,e4)|0,es=es+Math.imul(eL,e9)|0,eu=(eu=eu+Math.imul(eL,tr)|0)+Math.imul(eD,e9)|0,ec=ec+Math.imul(eD,tr)|0,es=es+Math.imul(eR,ti)|0,eu=(eu=eu+Math.imul(eR,ta)|0)+Math.imul(ej,ti)|0,ec=ec+Math.imul(ej,ta)|0,es=es+Math.imul(eA,tl)|0,eu=(eu=eu+Math.imul(eA,tu)|0)+Math.imul(eO,tl)|0,ec=ec+Math.imul(eO,tu)|0,es=es+Math.imul(eT,td)|0,eu=(eu=eu+Math.imul(eT,tf)|0)+Math.imul(eC,td)|0,ec=ec+Math.imul(eC,tf)|0;var t_=(ep+(es=es+Math.imul(eS,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eS,tm)|0)+Math.imul(eE,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eE,tm)|0)+(eu>>>13)|0)+(t_>>>26)|0,t_&=67108863,es=Math.imul(eX,e3),eu=(eu=Math.imul(eX,e8))+Math.imul(eq,e3)|0,ec=Math.imul(eq,e8),es=es+Math.imul(eH,e5)|0,eu=(eu=eu+Math.imul(eH,e4)|0)+Math.imul(eU,e5)|0,ec=ec+Math.imul(eU,e4)|0,es=es+Math.imul(ez,e9)|0,eu=(eu=eu+Math.imul(ez,tr)|0)+Math.imul(eB,e9)|0,ec=ec+Math.imul(eB,tr)|0,es=es+Math.imul(eL,ti)|0,eu=(eu=eu+Math.imul(eL,ta)|0)+Math.imul(eD,ti)|0,ec=ec+Math.imul(eD,ta)|0,es=es+Math.imul(eR,tl)|0,eu=(eu=eu+Math.imul(eR,tu)|0)+Math.imul(ej,tl)|0,ec=ec+Math.imul(ej,tu)|0,es=es+Math.imul(eA,td)|0,eu=(eu=eu+Math.imul(eA,tf)|0)+Math.imul(eO,td)|0,ec=ec+Math.imul(eO,tf)|0;var tA=(ep+(es=es+Math.imul(eT,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eT,tm)|0)+Math.imul(eC,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eC,tm)|0)+(eu>>>13)|0)+(tA>>>26)|0,tA&=67108863,es=Math.imul(eX,e5),eu=(eu=Math.imul(eX,e4))+Math.imul(eq,e5)|0,ec=Math.imul(eq,e4),es=es+Math.imul(eH,e9)|0,eu=(eu=eu+Math.imul(eH,tr)|0)+Math.imul(eU,e9)|0,ec=ec+Math.imul(eU,tr)|0,es=es+Math.imul(ez,ti)|0,eu=(eu=eu+Math.imul(ez,ta)|0)+Math.imul(eB,ti)|0,ec=ec+Math.imul(eB,ta)|0,es=es+Math.imul(eL,tl)|0,eu=(eu=eu+Math.imul(eL,tu)|0)+Math.imul(eD,tl)|0,ec=ec+Math.imul(eD,tu)|0,es=es+Math.imul(eR,td)|0,eu=(eu=eu+Math.imul(eR,tf)|0)+Math.imul(ej,td)|0,ec=ec+Math.imul(ej,tf)|0;var tO=(ep+(es=es+Math.imul(eA,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eA,tm)|0)+Math.imul(eO,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eO,tm)|0)+(eu>>>13)|0)+(tO>>>26)|0,tO&=67108863,es=Math.imul(eX,e9),eu=(eu=Math.imul(eX,tr))+Math.imul(eq,e9)|0,ec=Math.imul(eq,tr),es=es+Math.imul(eH,ti)|0,eu=(eu=eu+Math.imul(eH,ta)|0)+Math.imul(eU,ti)|0,ec=ec+Math.imul(eU,ta)|0,es=es+Math.imul(ez,tl)|0,eu=(eu=eu+Math.imul(ez,tu)|0)+Math.imul(eB,tl)|0,ec=ec+Math.imul(eB,tu)|0,es=es+Math.imul(eL,td)|0,eu=(eu=eu+Math.imul(eL,tf)|0)+Math.imul(eD,td)|0,ec=ec+Math.imul(eD,tf)|0;var tM=(ep+(es=es+Math.imul(eR,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eR,tm)|0)+Math.imul(ej,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(ej,tm)|0)+(eu>>>13)|0)+(tM>>>26)|0,tM&=67108863,es=Math.imul(eX,ti),eu=(eu=Math.imul(eX,ta))+Math.imul(eq,ti)|0,ec=Math.imul(eq,ta),es=es+Math.imul(eH,tl)|0,eu=(eu=eu+Math.imul(eH,tu)|0)+Math.imul(eU,tl)|0,ec=ec+Math.imul(eU,tu)|0,es=es+Math.imul(ez,td)|0,eu=(eu=eu+Math.imul(ez,tf)|0)+Math.imul(eB,td)|0,ec=ec+Math.imul(eB,tf)|0;var tR=(ep+(es=es+Math.imul(eL,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eL,tm)|0)+Math.imul(eD,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eD,tm)|0)+(eu>>>13)|0)+(tR>>>26)|0,tR&=67108863,es=Math.imul(eX,tl),eu=(eu=Math.imul(eX,tu))+Math.imul(eq,tl)|0,ec=Math.imul(eq,tu),es=es+Math.imul(eH,td)|0,eu=(eu=eu+Math.imul(eH,tf)|0)+Math.imul(eU,td)|0,ec=ec+Math.imul(eU,tf)|0;var tj=(ep+(es=es+Math.imul(ez,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(ez,tm)|0)+Math.imul(eB,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eB,tm)|0)+(eu>>>13)|0)+(tj>>>26)|0,tj&=67108863,es=Math.imul(eX,td),eu=(eu=Math.imul(eX,tf))+Math.imul(eq,td)|0,ec=Math.imul(eq,tf);var tN=(ep+(es=es+Math.imul(eH,tp)|0)|0)+((8191&(eu=(eu=eu+Math.imul(eH,tm)|0)+Math.imul(eU,tp)|0))<<13)|0;ep=((ec=ec+Math.imul(eU,tm)|0)+(eu>>>13)|0)+(tN>>>26)|0,tN&=67108863;var tL=(ep+(es=Math.imul(eX,tp))|0)+((8191&(eu=(eu=Math.imul(eX,tm))+Math.imul(eq,tp)|0))<<13)|0;return ep=((ec=Math.imul(eq,tm))+(eu>>>13)|0)+(tL>>>26)|0,tL&=67108863,eh[0]=tg,eh[1]=tb,eh[2]=ty,eh[3]=tw,eh[4]=tx,eh[5]=tP,eh[6]=tS,eh[7]=tE,eh[8]=tk,eh[9]=tT,eh[10]=tC,eh[11]=t_,eh[12]=tA,eh[13]=tO,eh[14]=tM,eh[15]=tR,eh[16]=tj,eh[17]=tN,eh[18]=tL,0!==ep&&(eh[19]=ep,ea.length++),ea};function bigMulTo(ei,eo,ea){ea.negative=eo.negative^ei.negative,ea.length=ei.length+eo.length;for(var es=0,eu=0,ec=0;ec<ea.length-1;ec++){var ed=eu;eu=0;for(var ef=67108863&es,eh=Math.min(ec,eo.length-1),ep=Math.max(0,ec-ei.length+1);ep<=eh;ep++){var em=ec-ep,eg=(0|ei.words[em])*(0|eo.words[ep]),eb=67108863&eg;ed=ed+(eg/67108864|0)|0,ef=67108863&(eb=eb+ef|0),eu+=(ed=ed+(eb>>>26)|0)>>>26,ed&=67108863}ea.words[ec]=ef,es=ed,ed=eu}return 0!==es?ea.words[ec]=es:ea.length--,ea._strip()}function jumboMulTo(ei,eo,ea){return bigMulTo(ei,eo,ea)}function FFTM(ei,eo){this.x=ei,this.y=eo}Math.imul||(h=smallMulTo),BN.prototype.mulTo=function(ei,eo){var ea=this.length+ei.length;return 10===this.length&&10===ei.length?h(this,ei,eo):ea<63?smallMulTo(this,ei,eo):ea<1024?bigMulTo(this,ei,eo):jumboMulTo(this,ei,eo)},FFTM.prototype.makeRBT=function(ei){for(var eo=Array(ei),ea=BN.prototype._countBits(ei)-1,es=0;es<ei;es++)eo[es]=this.revBin(es,ea,ei);return eo},FFTM.prototype.revBin=function(ei,eo,ea){if(0===ei||ei===ea-1)return ei;for(var es=0,eu=0;eu<eo;eu++)es|=(1&ei)<<eo-eu-1,ei>>=1;return es},FFTM.prototype.permute=function(ei,eo,ea,es,eu,ec){for(var ed=0;ed<ec;ed++)es[ed]=eo[ei[ed]],eu[ed]=ea[ei[ed]]},FFTM.prototype.transform=function(ei,eo,ea,es,eu,ec){this.permute(ec,ei,eo,ea,es,eu);for(var ed=1;ed<eu;ed<<=1)for(var ef=ed<<1,eh=Math.cos(2*Math.PI/ef),ep=Math.sin(2*Math.PI/ef),em=0;em<eu;em+=ef)for(var eg=eh,eb=ep,ey=0;ey<ed;ey++){var ew=ea[em+ey],ex=es[em+ey],eP=ea[em+ey+ed],eS=es[em+ey+ed],eE=eg*eP-eb*eS;eS=eg*eS+eb*eP,eP=eE,ea[em+ey]=ew+eP,es[em+ey]=ex+eS,ea[em+ey+ed]=ew-eP,es[em+ey+ed]=ex-eS,ey!==ef&&(eE=eh*eg-ep*eb,eb=eh*eb+ep*eg,eg=eE)}},FFTM.prototype.guessLen13b=function(ei,eo){var ea=1|Math.max(eo,ei),es=1&ea,eu=0;for(ea=ea/2|0;ea;ea>>>=1)eu++;return 1<<eu+1+es},FFTM.prototype.conjugate=function(ei,eo,ea){if(!(ea<=1))for(var es=0;es<ea/2;es++){var eu=ei[es];ei[es]=ei[ea-es-1],ei[ea-es-1]=eu,eu=eo[es],eo[es]=-eo[ea-es-1],eo[ea-es-1]=-eu}},FFTM.prototype.normalize13b=function(ei,eo){for(var ea=0,es=0;es<eo/2;es++){var eu=8192*Math.round(ei[2*es+1]/eo)+Math.round(ei[2*es]/eo)+ea;ei[es]=67108863&eu,ea=eu<67108864?0:eu/67108864|0}return ei},FFTM.prototype.convert13b=function(ei,eo,ea,es){for(var eu=0,ec=0;ec<eo;ec++)eu+=0|ei[ec],ea[2*ec]=8191&eu,eu>>>=13,ea[2*ec+1]=8191&eu,eu>>>=13;for(ec=2*eo;ec<es;++ec)ea[ec]=0;assert(0===eu),assert((-8192&eu)==0)},FFTM.prototype.stub=function(ei){for(var eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=0;return eo},FFTM.prototype.mulp=function(ei,eo,ea){var es=2*this.guessLen13b(ei.length,eo.length),eu=this.makeRBT(es),ec=this.stub(es),ed=Array(es),ef=Array(es),eh=Array(es),ep=Array(es),em=Array(es),eg=Array(es),eb=ea.words;eb.length=es,this.convert13b(ei.words,ei.length,ed,es),this.convert13b(eo.words,eo.length,ep,es),this.transform(ed,ec,ef,eh,es,eu),this.transform(ep,ec,em,eg,es,eu);for(var ey=0;ey<es;ey++){var ew=ef[ey]*em[ey]-eh[ey]*eg[ey];eh[ey]=ef[ey]*eg[ey]+eh[ey]*em[ey],ef[ey]=ew}return this.conjugate(ef,eh,es),this.transform(ef,eh,eb,ec,es,eu),this.conjugate(eb,ec,es),this.normalize13b(eb,es),ea.negative=ei.negative^eo.negative,ea.length=ei.length+eo.length,ea._strip()},BN.prototype.mul=function(ei){var eo=new BN(null);return eo.words=Array(this.length+ei.length),this.mulTo(ei,eo)},BN.prototype.mulf=function(ei){var eo=new BN(null);return eo.words=Array(this.length+ei.length),jumboMulTo(this,ei,eo)},BN.prototype.imul=function(ei){return this.clone().mulTo(ei,this)},BN.prototype.imuln=function(ei){var eo=ei<0;eo&&(ei=-ei),assert("number"==typeof ei),assert(ei<67108864);for(var ea=0,es=0;es<this.length;es++){var eu=(0|this.words[es])*ei,ec=(67108863&eu)+(67108863&ea);ea>>=26,ea+=(eu/67108864|0)+(ec>>>26),this.words[es]=67108863&ec}return 0!==ea&&(this.words[es]=ea,this.length++),eo?this.ineg():this},BN.prototype.muln=function(ei){return this.clone().imuln(ei)},BN.prototype.sqr=function(){return this.mul(this)},BN.prototype.isqr=function(){return this.imul(this.clone())},BN.prototype.pow=function(ei){var eo=toBitArray(ei);if(0===eo.length)return new BN(1);for(var ea=this,es=0;es<eo.length&&0===eo[es];es++,ea=ea.sqr());if(++es<eo.length)for(var eu=ea.sqr();es<eo.length;es++,eu=eu.sqr())0!==eo[es]&&(ea=ea.mul(eu));return ea},BN.prototype.iushln=function(ei){assert("number"==typeof ei&&ei>=0);var eo,ea=ei%26,es=(ei-ea)/26,eu=67108863>>>26-ea<<26-ea;if(0!==ea){var ec=0;for(eo=0;eo<this.length;eo++){var ed=this.words[eo]&eu,ef=(0|this.words[eo])-ed<<ea;this.words[eo]=ef|ec,ec=ed>>>26-ea}ec&&(this.words[eo]=ec,this.length++)}if(0!==es){for(eo=this.length-1;eo>=0;eo--)this.words[eo+es]=this.words[eo];for(eo=0;eo<es;eo++)this.words[eo]=0;this.length+=es}return this._strip()},BN.prototype.ishln=function(ei){return assert(0===this.negative),this.iushln(ei)},BN.prototype.iushrn=function(ei,eo,ea){assert("number"==typeof ei&&ei>=0),es=eo?(eo-eo%26)/26:0;var es,eu=ei%26,ec=Math.min((ei-eu)/26,this.length),ed=67108863^67108863>>>eu<<eu,ef=ea;if(es-=ec,es=Math.max(0,es),ef){for(var eh=0;eh<ec;eh++)ef.words[eh]=this.words[eh];ef.length=ec}if(0===ec);else if(this.length>ec)for(this.length-=ec,eh=0;eh<this.length;eh++)this.words[eh]=this.words[eh+ec];else this.words[0]=0,this.length=1;var ep=0;for(eh=this.length-1;eh>=0&&(0!==ep||eh>=es);eh--){var em=0|this.words[eh];this.words[eh]=ep<<26-eu|em>>>eu,ep=em&ed}return ef&&0!==ep&&(ef.words[ef.length++]=ep),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},BN.prototype.ishrn=function(ei,eo,ea){return assert(0===this.negative),this.iushrn(ei,eo,ea)},BN.prototype.shln=function(ei){return this.clone().ishln(ei)},BN.prototype.ushln=function(ei){return this.clone().iushln(ei)},BN.prototype.shrn=function(ei){return this.clone().ishrn(ei)},BN.prototype.ushrn=function(ei){return this.clone().iushrn(ei)},BN.prototype.testn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=ei%26,ea=(ei-eo)/26,es=1<<eo;return!(this.length<=ea)&&!!(this.words[ea]&es)},BN.prototype.imaskn=function(ei){assert("number"==typeof ei&&ei>=0);var eo=ei%26,ea=(ei-eo)/26;if(assert(0===this.negative,"imaskn works only with positive numbers"),this.length<=ea)return this;if(0!==eo&&ea++,this.length=Math.min(ea,this.length),0!==eo){var es=67108863^67108863>>>eo<<eo;this.words[this.length-1]&=es}return this._strip()},BN.prototype.maskn=function(ei){return this.clone().imaskn(ei)},BN.prototype.iaddn=function(ei){return(assert("number"==typeof ei),assert(ei<67108864),ei<0)?this.isubn(-ei):0!==this.negative?(1===this.length&&(0|this.words[0])<=ei?(this.words[0]=ei-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(ei),this.negative=1),this):this._iaddn(ei)},BN.prototype._iaddn=function(ei){this.words[0]+=ei;for(var eo=0;eo<this.length&&this.words[eo]>=67108864;eo++)this.words[eo]-=67108864,eo===this.length-1?this.words[eo+1]=1:this.words[eo+1]++;return this.length=Math.max(this.length,eo+1),this},BN.prototype.isubn=function(ei){if(assert("number"==typeof ei),assert(ei<67108864),ei<0)return this.iaddn(-ei);if(0!==this.negative)return this.negative=0,this.iaddn(ei),this.negative=1,this;if(this.words[0]-=ei,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var eo=0;eo<this.length&&this.words[eo]<0;eo++)this.words[eo]+=67108864,this.words[eo+1]-=1;return this._strip()},BN.prototype.addn=function(ei){return this.clone().iaddn(ei)},BN.prototype.subn=function(ei){return this.clone().isubn(ei)},BN.prototype.iabs=function(){return this.negative=0,this},BN.prototype.abs=function(){return this.clone().iabs()},BN.prototype._ishlnsubmul=function(ei,eo,ea){var es,eu,ec=ei.length+ea;this._expand(ec);var ed=0;for(es=0;es<ei.length;es++){eu=(0|this.words[es+ea])+ed;var ef=(0|ei.words[es])*eo;eu-=67108863&ef,ed=(eu>>26)-(ef/67108864|0),this.words[es+ea]=67108863&eu}for(;es<this.length-ea;es++)ed=(eu=(0|this.words[es+ea])+ed)>>26,this.words[es+ea]=67108863&eu;if(0===ed)return this._strip();for(assert(-1===ed),ed=0,es=0;es<this.length;es++)ed=(eu=-(0|this.words[es])+ed)>>26,this.words[es]=67108863&eu;return this.negative=1,this._strip()},BN.prototype._wordDiv=function(ei,eo){var ea,es=this.length-ei.length,eu=this.clone(),ec=ei,ed=0|ec.words[ec.length-1];0!=(es=26-this._countBits(ed))&&(ec=ec.ushln(es),eu.iushln(es),ed=0|ec.words[ec.length-1]);var ef=eu.length-ec.length;if("mod"!==eo){(ea=new BN(null)).length=ef+1,ea.words=Array(ea.length);for(var eh=0;eh<ea.length;eh++)ea.words[eh]=0}var ep=eu.clone()._ishlnsubmul(ec,1,ef);0===ep.negative&&(eu=ep,ea&&(ea.words[ef]=1));for(var em=ef-1;em>=0;em--){var eg=(0|eu.words[ec.length+em])*67108864+(0|eu.words[ec.length+em-1]);for(eg=Math.min(eg/ed|0,67108863),eu._ishlnsubmul(ec,eg,em);0!==eu.negative;)eg--,eu.negative=0,eu._ishlnsubmul(ec,1,em),eu.isZero()||(eu.negative^=1);ea&&(ea.words[em]=eg)}return ea&&ea._strip(),eu._strip(),"div"!==eo&&0!==es&&eu.iushrn(es),{div:ea||null,mod:eu}},BN.prototype.divmod=function(ei,eo,ea){var es,eu,ec;return(assert(!ei.isZero()),this.isZero())?{div:new BN(0),mod:new BN(0)}:0!==this.negative&&0===ei.negative?(ec=this.neg().divmod(ei,eo),"mod"!==eo&&(es=ec.div.neg()),"div"!==eo&&(eu=ec.mod.neg(),ea&&0!==eu.negative&&eu.iadd(ei)),{div:es,mod:eu}):0===this.negative&&0!==ei.negative?(ec=this.divmod(ei.neg(),eo),"mod"!==eo&&(es=ec.div.neg()),{div:es,mod:ec.mod}):(this.negative&ei.negative)!=0?(ec=this.neg().divmod(ei.neg(),eo),"div"!==eo&&(eu=ec.mod.neg(),ea&&0!==eu.negative&&eu.isub(ei)),{div:ec.div,mod:eu}):ei.length>this.length||0>this.cmp(ei)?{div:new BN(0),mod:this}:1===ei.length?"div"===eo?{div:this.divn(ei.words[0]),mod:null}:"mod"===eo?{div:null,mod:new BN(this.modrn(ei.words[0]))}:{div:this.divn(ei.words[0]),mod:new BN(this.modrn(ei.words[0]))}:this._wordDiv(ei,eo)},BN.prototype.div=function(ei){return this.divmod(ei,"div",!1).div},BN.prototype.mod=function(ei){return this.divmod(ei,"mod",!1).mod},BN.prototype.umod=function(ei){return this.divmod(ei,"mod",!0).mod},BN.prototype.divRound=function(ei){var eo=this.divmod(ei);if(eo.mod.isZero())return eo.div;var ea=0!==eo.div.negative?eo.mod.isub(ei):eo.mod,es=ei.ushrn(1),eu=ei.andln(1),ec=ea.cmp(es);return ec<0||1===eu&&0===ec?eo.div:0!==eo.div.negative?eo.div.isubn(1):eo.div.iaddn(1)},BN.prototype.modrn=function(ei){var eo=ei<0;eo&&(ei=-ei),assert(ei<=67108863);for(var ea=67108864%ei,es=0,eu=this.length-1;eu>=0;eu--)es=(ea*es+(0|this.words[eu]))%ei;return eo?-es:es},BN.prototype.modn=function(ei){return this.modrn(ei)},BN.prototype.idivn=function(ei){var eo=ei<0;eo&&(ei=-ei),assert(ei<=67108863);for(var ea=0,es=this.length-1;es>=0;es--){var eu=(0|this.words[es])+67108864*ea;this.words[es]=eu/ei|0,ea=eu%ei}return this._strip(),eo?this.ineg():this},BN.prototype.divn=function(ei){return this.clone().idivn(ei)},BN.prototype.egcd=function(ei){assert(0===ei.negative),assert(!ei.isZero());var eo=this,ea=ei.clone();eo=0!==eo.negative?eo.umod(ei):eo.clone();for(var es=new BN(1),eu=new BN(0),ec=new BN(0),ed=new BN(1),ef=0;eo.isEven()&&ea.isEven();)eo.iushrn(1),ea.iushrn(1),++ef;for(var eh=ea.clone(),ep=eo.clone();!eo.isZero();){for(var em=0,eg=1;(eo.words[0]&eg)==0&&em<26;++em,eg<<=1);if(em>0)for(eo.iushrn(em);em-- >0;)(es.isOdd()||eu.isOdd())&&(es.iadd(eh),eu.isub(ep)),es.iushrn(1),eu.iushrn(1);for(var eb=0,ey=1;(ea.words[0]&ey)==0&&eb<26;++eb,ey<<=1);if(eb>0)for(ea.iushrn(eb);eb-- >0;)(ec.isOdd()||ed.isOdd())&&(ec.iadd(eh),ed.isub(ep)),ec.iushrn(1),ed.iushrn(1);eo.cmp(ea)>=0?(eo.isub(ea),es.isub(ec),eu.isub(ed)):(ea.isub(eo),ec.isub(es),ed.isub(eu))}return{a:ec,b:ed,gcd:ea.iushln(ef)}},BN.prototype._invmp=function(ei){assert(0===ei.negative),assert(!ei.isZero());var eo,ea=this,es=ei.clone();ea=0!==ea.negative?ea.umod(ei):ea.clone();for(var eu=new BN(1),ec=new BN(0),ed=es.clone();ea.cmpn(1)>0&&es.cmpn(1)>0;){for(var ef=0,eh=1;(ea.words[0]&eh)==0&&ef<26;++ef,eh<<=1);if(ef>0)for(ea.iushrn(ef);ef-- >0;)eu.isOdd()&&eu.iadd(ed),eu.iushrn(1);for(var ep=0,em=1;(es.words[0]&em)==0&&ep<26;++ep,em<<=1);if(ep>0)for(es.iushrn(ep);ep-- >0;)ec.isOdd()&&ec.iadd(ed),ec.iushrn(1);ea.cmp(es)>=0?(ea.isub(es),eu.isub(ec)):(es.isub(ea),ec.isub(eu))}return 0>(eo=0===ea.cmpn(1)?eu:ec).cmpn(0)&&eo.iadd(ei),eo},BN.prototype.gcd=function(ei){if(this.isZero())return ei.abs();if(ei.isZero())return this.abs();var eo=this.clone(),ea=ei.clone();eo.negative=0,ea.negative=0;for(var es=0;eo.isEven()&&ea.isEven();es++)eo.iushrn(1),ea.iushrn(1);for(;;){for(;eo.isEven();)eo.iushrn(1);for(;ea.isEven();)ea.iushrn(1);var eu=eo.cmp(ea);if(eu<0){var ec=eo;eo=ea,ea=ec}else if(0===eu||0===ea.cmpn(1))break;eo.isub(ea)}return ea.iushln(es)},BN.prototype.invm=function(ei){return this.egcd(ei).a.umod(ei)},BN.prototype.isEven=function(){return(1&this.words[0])==0},BN.prototype.isOdd=function(){return(1&this.words[0])==1},BN.prototype.andln=function(ei){return this.words[0]&ei},BN.prototype.bincn=function(ei){assert("number"==typeof ei);var eo=ei%26,ea=(ei-eo)/26,es=1<<eo;if(this.length<=ea)return this._expand(ea+1),this.words[ea]|=es,this;for(var eu=es,ec=ea;0!==eu&&ec<this.length;ec++){var ed=0|this.words[ec];ed+=eu,eu=ed>>>26,ed&=67108863,this.words[ec]=ed}return 0!==eu&&(this.words[ec]=eu,this.length++),this},BN.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},BN.prototype.cmpn=function(ei){var eo,ea=ei<0;if(0!==this.negative&&!ea)return -1;if(0===this.negative&&ea)return 1;if(this._strip(),this.length>1)eo=1;else{ea&&(ei=-ei),assert(ei<=67108863,"Number is too big");var es=0|this.words[0];eo=es===ei?0:es<ei?-1:1}return 0!==this.negative?0|-eo:eo},BN.prototype.cmp=function(ei){if(0!==this.negative&&0===ei.negative)return -1;if(0===this.negative&&0!==ei.negative)return 1;var eo=this.ucmp(ei);return 0!==this.negative?0|-eo:eo},BN.prototype.ucmp=function(ei){if(this.length>ei.length)return 1;if(this.length<ei.length)return -1;for(var eo=0,ea=this.length-1;ea>=0;ea--){var es=0|this.words[ea],eu=0|ei.words[ea];if(es!==eu){es<eu?eo=-1:es>eu&&(eo=1);break}}return eo},BN.prototype.gtn=function(ei){return 1===this.cmpn(ei)},BN.prototype.gt=function(ei){return 1===this.cmp(ei)},BN.prototype.gten=function(ei){return this.cmpn(ei)>=0},BN.prototype.gte=function(ei){return this.cmp(ei)>=0},BN.prototype.ltn=function(ei){return -1===this.cmpn(ei)},BN.prototype.lt=function(ei){return -1===this.cmp(ei)},BN.prototype.lten=function(ei){return 0>=this.cmpn(ei)},BN.prototype.lte=function(ei){return 0>=this.cmp(ei)},BN.prototype.eqn=function(ei){return 0===this.cmpn(ei)},BN.prototype.eq=function(ei){return 0===this.cmp(ei)},BN.red=function(ei){return new Red(ei)},BN.prototype.toRed=function(ei){return assert(!this.red,"Already a number in reduction context"),assert(0===this.negative,"red works only with positives"),ei.convertTo(this)._forceRed(ei)},BN.prototype.fromRed=function(){return assert(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},BN.prototype._forceRed=function(ei){return this.red=ei,this},BN.prototype.forceRed=function(ei){return assert(!this.red,"Already a number in reduction context"),this._forceRed(ei)},BN.prototype.redAdd=function(ei){return assert(this.red,"redAdd works only with red numbers"),this.red.add(this,ei)},BN.prototype.redIAdd=function(ei){return assert(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,ei)},BN.prototype.redSub=function(ei){return assert(this.red,"redSub works only with red numbers"),this.red.sub(this,ei)},BN.prototype.redISub=function(ei){return assert(this.red,"redISub works only with red numbers"),this.red.isub(this,ei)},BN.prototype.redShl=function(ei){return assert(this.red,"redShl works only with red numbers"),this.red.shl(this,ei)},BN.prototype.redMul=function(ei){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,ei),this.red.mul(this,ei)},BN.prototype.redIMul=function(ei){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,ei),this.red.imul(this,ei)},BN.prototype.redSqr=function(){return assert(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},BN.prototype.redISqr=function(){return assert(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},BN.prototype.redSqrt=function(){return assert(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},BN.prototype.redInvm=function(){return assert(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},BN.prototype.redNeg=function(){return assert(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},BN.prototype.redPow=function(ei){return assert(this.red&&!ei.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,ei)};var ef={k256:null,p224:null,p192:null,p25519:null};function MPrime(ei,eo){this.name=ei,this.p=new BN(eo,16),this.n=this.p.bitLength(),this.k=new BN(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function P224(){MPrime.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function P192(){MPrime.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P25519(){MPrime.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Red(ei){if("string"==typeof ei){var eo=BN._prime(ei);this.m=eo.p,this.prime=eo}else assert(ei.gtn(1),"modulus must be greater than 1"),this.m=ei,this.prime=null}function Mont(ei){Red.call(this,ei),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new BN(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)}MPrime.prototype._tmp=function(){var ei=new BN(null);return ei.words=Array(Math.ceil(this.n/13)),ei},MPrime.prototype.ireduce=function(ei){var eo,ea=ei;do this.split(ea,this.tmp),eo=(ea=(ea=this.imulK(ea)).iadd(this.tmp)).bitLength();while(eo>this.n);var es=eo<this.n?-1:ea.ucmp(this.p);return 0===es?(ea.words[0]=0,ea.length=1):es>0?ea.isub(this.p):void 0!==ea.strip?ea.strip():ea._strip(),ea},MPrime.prototype.split=function(ei,eo){ei.iushrn(this.n,0,eo)},MPrime.prototype.imulK=function(ei){return ei.imul(this.k)},inherits(K256,MPrime),K256.prototype.split=function(ei,eo){for(var ea=4194303,es=Math.min(ei.length,9),eu=0;eu<es;eu++)eo.words[eu]=ei.words[eu];if(eo.length=es,ei.length<=9){ei.words[0]=0,ei.length=1;return}var ec=ei.words[9];for(eu=10,eo.words[eo.length++]=ec&ea;eu<ei.length;eu++){var ed=0|ei.words[eu];ei.words[eu-10]=(ed&ea)<<4|ec>>>22,ec=ed}ec>>>=22,ei.words[eu-10]=ec,0===ec&&ei.length>10?ei.length-=10:ei.length-=9},K256.prototype.imulK=function(ei){ei.words[ei.length]=0,ei.words[ei.length+1]=0,ei.length+=2;for(var eo=0,ea=0;ea<ei.length;ea++){var es=0|ei.words[ea];eo+=977*es,ei.words[ea]=67108863&eo,eo=64*es+(eo/67108864|0)}return 0===ei.words[ei.length-1]&&(ei.length--,0===ei.words[ei.length-1]&&ei.length--),ei},inherits(P224,MPrime),inherits(P192,MPrime),inherits(P25519,MPrime),P25519.prototype.imulK=function(ei){for(var eo=0,ea=0;ea<ei.length;ea++){var es=(0|ei.words[ea])*19+eo,eu=67108863&es;es>>>=26,ei.words[ea]=eu,eo=es}return 0!==eo&&(ei.words[ei.length++]=eo),ei},BN._prime=function(ei){var eo;if(ef[ei])return ef[ei];if("k256"===ei)eo=new K256;else if("p224"===ei)eo=new P224;else if("p192"===ei)eo=new P192;else if("p25519"===ei)eo=new P25519;else throw Error("Unknown prime "+ei);return ef[ei]=eo,eo},Red.prototype._verify1=function(ei){assert(0===ei.negative,"red works only with positives"),assert(ei.red,"red works only with red numbers")},Red.prototype._verify2=function(ei,eo){assert((ei.negative|eo.negative)==0,"red works only with positives"),assert(ei.red&&ei.red===eo.red,"red works only with red numbers")},Red.prototype.imod=function(ei){return this.prime?this.prime.ireduce(ei)._forceRed(this):(move(ei,ei.umod(this.m)._forceRed(this)),ei)},Red.prototype.neg=function(ei){return ei.isZero()?ei.clone():this.m.sub(ei)._forceRed(this)},Red.prototype.add=function(ei,eo){this._verify2(ei,eo);var ea=ei.add(eo);return ea.cmp(this.m)>=0&&ea.isub(this.m),ea._forceRed(this)},Red.prototype.iadd=function(ei,eo){this._verify2(ei,eo);var ea=ei.iadd(eo);return ea.cmp(this.m)>=0&&ea.isub(this.m),ea},Red.prototype.sub=function(ei,eo){this._verify2(ei,eo);var ea=ei.sub(eo);return 0>ea.cmpn(0)&&ea.iadd(this.m),ea._forceRed(this)},Red.prototype.isub=function(ei,eo){this._verify2(ei,eo);var ea=ei.isub(eo);return 0>ea.cmpn(0)&&ea.iadd(this.m),ea},Red.prototype.shl=function(ei,eo){return this._verify1(ei),this.imod(ei.ushln(eo))},Red.prototype.imul=function(ei,eo){return this._verify2(ei,eo),this.imod(ei.imul(eo))},Red.prototype.mul=function(ei,eo){return this._verify2(ei,eo),this.imod(ei.mul(eo))},Red.prototype.isqr=function(ei){return this.imul(ei,ei.clone())},Red.prototype.sqr=function(ei){return this.mul(ei,ei)},Red.prototype.sqrt=function(ei){if(ei.isZero())return ei.clone();var eo=this.m.andln(3);if(assert(eo%2==1),3===eo){var ea=this.m.add(new BN(1)).iushrn(2);return this.pow(ei,ea)}for(var es=this.m.subn(1),eu=0;!es.isZero()&&0===es.andln(1);)eu++,es.iushrn(1);assert(!es.isZero());var ec=new BN(1).toRed(this),ed=ec.redNeg(),ef=this.m.subn(1).iushrn(1),eh=this.m.bitLength();for(eh=new BN(2*eh*eh).toRed(this);0!==this.pow(eh,ef).cmp(ed);)eh.redIAdd(ed);for(var ep=this.pow(eh,es),em=this.pow(ei,es.addn(1).iushrn(1)),eg=this.pow(ei,es),eb=eu;0!==eg.cmp(ec);){for(var ey=eg,ew=0;0!==ey.cmp(ec);ew++)ey=ey.redSqr();assert(ew<eb);var ex=this.pow(ep,new BN(1).iushln(eb-ew-1));em=em.redMul(ex),ep=ex.redSqr(),eg=eg.redMul(ep),eb=ew}return em},Red.prototype.invm=function(ei){var eo=ei._invmp(this.m);return 0!==eo.negative?(eo.negative=0,this.imod(eo).redNeg()):this.imod(eo)},Red.prototype.pow=function(ei,eo){if(eo.isZero())return new BN(1).toRed(this);if(0===eo.cmpn(1))return ei.clone();var ea=4,es=Array(16);es[0]=new BN(1).toRed(this),es[1]=ei;for(var eu=2;eu<es.length;eu++)es[eu]=this.mul(es[eu-1],ei);var ec=es[0],ed=0,ef=0,eh=eo.bitLength()%26;for(0===eh&&(eh=26),eu=eo.length-1;eu>=0;eu--){for(var ep=eo.words[eu],em=eh-1;em>=0;em--){var eg=ep>>em&1;if(ec!==es[0]&&(ec=this.sqr(ec)),0===eg&&0===ed){ef=0;continue}ed<<=1,ed|=eg,(++ef===ea||0===eu&&0===em)&&(ec=this.mul(ec,es[ed]),ef=0,ed=0)}eh=26}return ec},Red.prototype.convertTo=function(ei){var eo=ei.umod(this.m);return eo===ei?eo.clone():eo},Red.prototype.convertFrom=function(ei){var eo=ei.clone();return eo.red=null,eo},BN.mont=function(ei){return new Mont(ei)},inherits(Mont,Red),Mont.prototype.convertTo=function(ei){return this.imod(ei.ushln(this.shift))},Mont.prototype.convertFrom=function(ei){var eo=this.imod(ei.mul(this.rinv));return eo.red=null,eo},Mont.prototype.imul=function(ei,eo){if(ei.isZero()||eo.isZero())return ei.words[0]=0,ei.length=1,ei;var ea=ei.imul(eo),es=ea.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),eu=ea.isub(es).iushrn(this.shift),ec=eu;return eu.cmp(this.m)>=0?ec=eu.isub(this.m):0>eu.cmpn(0)&&(ec=eu.iadd(this.m)),ec._forceRed(this)},Mont.prototype.mul=function(ei,eo){if(ei.isZero()||eo.isZero())return new BN(0)._forceRed(this);var ea=ei.mul(eo),es=ea.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),eu=ea.isub(es).iushrn(this.shift),ec=eu;return eu.cmp(this.m)>=0?ec=eu.isub(this.m):0>eu.cmpn(0)&&(ec=eu.iadd(this.m)),ec._forceRed(this)},Mont.prototype.invm=function(ei){return this.imod(ei._invmp(this.m).mul(this.r2))._forceRed(this)}}(ei=ea.nmd(ei),this)},3500:function(ei,eo,ea){var es;function Rand(ei){this.rand=ei}if(ei.exports=function(ei){return es||(es=new Rand(null)),es.generate(ei)},ei.exports.Rand=Rand,Rand.prototype.generate=function(ei){return this._rand(ei)},Rand.prototype._rand=function(ei){if(this.rand.getBytes)return this.rand.getBytes(ei);for(var eo=new Uint8Array(ei),ea=0;ea<eo.length;ea++)eo[ea]=this.rand.getByte();return eo},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?Rand.prototype._rand=function(ei){var eo=new Uint8Array(ei);return self.crypto.getRandomValues(eo),eo}:self.msCrypto&&self.msCrypto.getRandomValues?Rand.prototype._rand=function(ei){var eo=new Uint8Array(ei);return self.msCrypto.getRandomValues(eo),eo}:"object"==typeof window&&(Rand.prototype._rand=function(){throw Error("Not implemented yet")});else try{var eu=ea(6113);if("function"!=typeof eu.randomBytes)throw Error("Not supported");Rand.prototype._rand=function(ei){return eu.randomBytes(ei)}}catch(ei){}},1387:function(ei,eo,ea){var es=ea(6911).Buffer;function asUInt32Array(ei){es.isBuffer(ei)||(ei=es.from(ei));for(var eo=ei.length/4|0,ea=Array(eo),eu=0;eu<eo;eu++)ea[eu]=ei.readUInt32BE(4*eu);return ea}function scrubVec(ei){for(var eo=0;eo<ei.length;ei++)ei[eo]=0}function cryptBlock(ei,eo,ea,es,eu){for(var ec,ed,ef,eh,ep=ea[0],em=ea[1],eg=ea[2],eb=ea[3],ey=ei[0]^eo[0],ew=ei[1]^eo[1],ex=ei[2]^eo[2],eP=ei[3]^eo[3],eS=4,eE=1;eE<eu;eE++)ec=ep[ey>>>24]^em[ew>>>16&255]^eg[ex>>>8&255]^eb[255&eP]^eo[eS++],ed=ep[ew>>>24]^em[ex>>>16&255]^eg[eP>>>8&255]^eb[255&ey]^eo[eS++],ef=ep[ex>>>24]^em[eP>>>16&255]^eg[ey>>>8&255]^eb[255&ew]^eo[eS++],eh=ep[eP>>>24]^em[ey>>>16&255]^eg[ew>>>8&255]^eb[255&ex]^eo[eS++],ey=ec,ew=ed,ex=ef,eP=eh;return ec=(es[ey>>>24]<<24|es[ew>>>16&255]<<16|es[ex>>>8&255]<<8|es[255&eP])^eo[eS++],ed=(es[ew>>>24]<<24|es[ex>>>16&255]<<16|es[eP>>>8&255]<<8|es[255&ey])^eo[eS++],[ec>>>=0,ed>>>=0,ef=((es[ex>>>24]<<24|es[eP>>>16&255]<<16|es[ey>>>8&255]<<8|es[255&ew])^eo[eS++])>>>0,eh=((es[eP>>>24]<<24|es[ey>>>16&255]<<16|es[ew>>>8&255]<<8|es[255&ex])^eo[eS++])>>>0]}var eu=[0,1,2,4,8,16,32,64,128,27,54],ec=function(){for(var ei=Array(256),eo=0;eo<256;eo++)eo<128?ei[eo]=eo<<1:ei[eo]=eo<<1^283;for(var ea=[],es=[],eu=[[],[],[],[]],ec=[[],[],[],[]],ed=0,ef=0,eh=0;eh<256;++eh){var ep=ef^ef<<1^ef<<2^ef<<3^ef<<4;ep=ep>>>8^255&ep^99,ea[ed]=ep,es[ep]=ed;var em=ei[ed],eg=ei[em],eb=ei[eg],ey=257*ei[ep]^16843008*ep;eu[0][ed]=ey<<24|ey>>>8,eu[1][ed]=ey<<16|ey>>>16,eu[2][ed]=ey<<8|ey>>>24,eu[3][ed]=ey,ey=16843009*eb^65537*eg^257*em^16843008*ed,ec[0][ep]=ey<<24|ey>>>8,ec[1][ep]=ey<<16|ey>>>16,ec[2][ep]=ey<<8|ey>>>24,ec[3][ep]=ey,0===ed?ed=ef=1:(ed=em^ei[ei[ei[eb^em]]],ef^=ei[ei[ef]])}return{SBOX:ea,INV_SBOX:es,SUB_MIX:eu,INV_SUB_MIX:ec}}();function AES(ei){this._key=asUInt32Array(ei),this._reset()}AES.blockSize=16,AES.keySize=32,AES.prototype.blockSize=AES.blockSize,AES.prototype.keySize=AES.keySize,AES.prototype._reset=function(){for(var ei=this._key,eo=ei.length,ea=eo+6,es=(ea+1)*4,ed=[],ef=0;ef<eo;ef++)ed[ef]=ei[ef];for(ef=eo;ef<es;ef++){var eh=ed[ef-1];ef%eo==0?(eh=eh<<8|eh>>>24,eh=(ec.SBOX[eh>>>24]<<24|ec.SBOX[eh>>>16&255]<<16|ec.SBOX[eh>>>8&255]<<8|ec.SBOX[255&eh])^eu[ef/eo|0]<<24):eo>6&&ef%eo==4&&(eh=ec.SBOX[eh>>>24]<<24|ec.SBOX[eh>>>16&255]<<16|ec.SBOX[eh>>>8&255]<<8|ec.SBOX[255&eh]),ed[ef]=ed[ef-eo]^eh}for(var ep=[],em=0;em<es;em++){var eg=es-em,eb=ed[eg-(em%4?0:4)];em<4||eg<=4?ep[em]=eb:ep[em]=ec.INV_SUB_MIX[0][ec.SBOX[eb>>>24]]^ec.INV_SUB_MIX[1][ec.SBOX[eb>>>16&255]]^ec.INV_SUB_MIX[2][ec.SBOX[eb>>>8&255]]^ec.INV_SUB_MIX[3][ec.SBOX[255&eb]]}this._nRounds=ea,this._keySchedule=ed,this._invKeySchedule=ep},AES.prototype.encryptBlockRaw=function(ei){return cryptBlock(ei=asUInt32Array(ei),this._keySchedule,ec.SUB_MIX,ec.SBOX,this._nRounds)},AES.prototype.encryptBlock=function(ei){var eo=this.encryptBlockRaw(ei),ea=es.allocUnsafe(16);return ea.writeUInt32BE(eo[0],0),ea.writeUInt32BE(eo[1],4),ea.writeUInt32BE(eo[2],8),ea.writeUInt32BE(eo[3],12),ea},AES.prototype.decryptBlock=function(ei){var eo=(ei=asUInt32Array(ei))[1];ei[1]=ei[3],ei[3]=eo;var ea=cryptBlock(ei,this._invKeySchedule,ec.INV_SUB_MIX,ec.INV_SBOX,this._nRounds),eu=es.allocUnsafe(16);return eu.writeUInt32BE(ea[0],0),eu.writeUInt32BE(ea[3],4),eu.writeUInt32BE(ea[2],8),eu.writeUInt32BE(ea[1],12),eu},AES.prototype.scrub=function(){scrubVec(this._keySchedule),scrubVec(this._invKeySchedule),scrubVec(this._key)},ei.exports.AES=AES},6624:function(ei,eo,ea){var es=ea(1387),eu=ea(6911).Buffer,ec=ea(1043),ed=ea(3782),ef=ea(7225),eh=ea(4734),ep=ea(598);function xorTest(ei,eo){var ea=0;ei.length!==eo.length&&ea++;for(var es=Math.min(ei.length,eo.length),eu=0;eu<es;++eu)ea+=ei[eu]^eo[eu];return ea}function calcIv(ei,eo,ea){if(12===eo.length)return ei._finID=eu.concat([eo,eu.from([0,0,0,1])]),eu.concat([eo,eu.from([0,0,0,2])]);var es=new ef(ea),ec=eo.length,ed=ec%16;es.update(eo),ed&&(ed=16-ed,es.update(eu.alloc(ed,0))),es.update(eu.alloc(8,0));var eh=8*ec,em=eu.alloc(8);em.writeUIntBE(eh,0,8),es.update(em),ei._finID=es.state;var eg=eu.from(ei._finID);return ep(eg),eg}function StreamCipher(ei,eo,ea,ed){ec.call(this);var eh=eu.alloc(4,0);this._cipher=new es.AES(eo);var ep=this._cipher.encryptBlock(eh);this._ghash=new ef(ep),ea=calcIv(this,ea,ep),this._prev=eu.from(ea),this._cache=eu.allocUnsafe(0),this._secCache=eu.allocUnsafe(0),this._decrypt=ed,this._alen=0,this._len=0,this._mode=ei,this._authTag=null,this._called=!1}ed(StreamCipher,ec),StreamCipher.prototype._update=function(ei){if(!this._called&&this._alen){var eo=16-this._alen%16;eo<16&&(eo=eu.alloc(eo,0),this._ghash.update(eo))}this._called=!0;var ea=this._mode.encrypt(this,ei);return this._decrypt?this._ghash.update(ei):this._ghash.update(ea),this._len+=ei.length,ea},StreamCipher.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var ei=eh(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&xorTest(ei,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=ei,this._cipher.scrub()},StreamCipher.prototype.getAuthTag=function(){if(this._decrypt||!eu.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},StreamCipher.prototype.setAuthTag=function(ei){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=ei},StreamCipher.prototype.setAAD=function(ei){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(ei),this._alen+=ei.length},ei.exports=StreamCipher},6594:function(ei,eo,ea){var es=ea(2),eu=ea(2598),ec=ea(5866);function getCiphers(){return Object.keys(ec)}eo.createCipher=eo.Cipher=es.createCipher,eo.createCipheriv=eo.Cipheriv=es.createCipheriv,eo.createDecipher=eo.Decipher=eu.createDecipher,eo.createDecipheriv=eo.Decipheriv=eu.createDecipheriv,eo.listCiphers=eo.getCiphers=getCiphers},2598:function(ei,eo,ea){var es=ea(6624),eu=ea(6911).Buffer,ec=ea(6370),ed=ea(126),ef=ea(1043),eh=ea(1387),ep=ea(8368);function Decipher(ei,eo,ea){ef.call(this),this._cache=new Splitter,this._last=void 0,this._cipher=new eh.AES(eo),this._prev=eu.from(ea),this._mode=ei,this._autopadding=!0}function Splitter(){this.cache=eu.allocUnsafe(0)}function unpad(ei){var eo=ei[15];if(eo<1||eo>16)throw Error("unable to decrypt data");for(var ea=-1;++ea<eo;)if(ei[ea+(16-eo)]!==eo)throw Error("unable to decrypt data");if(16!==eo)return ei.slice(0,16-eo)}function createDecipheriv(ei,eo,ea){var ef=ec[ei.toLowerCase()];if(!ef)throw TypeError("invalid suite type");if("string"==typeof ea&&(ea=eu.from(ea)),"GCM"!==ef.mode&&ea.length!==ef.iv)throw TypeError("invalid iv length "+ea.length);if("string"==typeof eo&&(eo=eu.from(eo)),eo.length!==ef.key/8)throw TypeError("invalid key length "+eo.length);return"stream"===ef.type?new ed(ef.module,eo,ea,!0):"auth"===ef.type?new es(ef.module,eo,ea,!0):new Decipher(ef.module,eo,ea)}function createDecipher(ei,eo){var ea=ec[ei.toLowerCase()];if(!ea)throw TypeError("invalid suite type");var es=ep(eo,!1,ea.key,ea.iv);return createDecipheriv(ei,es.key,es.iv)}ea(3782)(Decipher,ef),Decipher.prototype._update=function(ei){this._cache.add(ei);for(var eo,ea,es=[];eo=this._cache.get(this._autopadding);)ea=this._mode.decrypt(this,eo),es.push(ea);return eu.concat(es)},Decipher.prototype._final=function(){var ei=this._cache.flush();if(this._autopadding)return unpad(this._mode.decrypt(this,ei));if(ei)throw Error("data not multiple of block length")},Decipher.prototype.setAutoPadding=function(ei){return this._autopadding=!!ei,this},Splitter.prototype.add=function(ei){this.cache=eu.concat([this.cache,ei])},Splitter.prototype.get=function(ei){var eo;if(ei){if(this.cache.length>16)return eo=this.cache.slice(0,16),this.cache=this.cache.slice(16),eo}else if(this.cache.length>=16)return eo=this.cache.slice(0,16),this.cache=this.cache.slice(16),eo;return null},Splitter.prototype.flush=function(){if(this.cache.length)return this.cache},eo.createDecipher=createDecipher,eo.createDecipheriv=createDecipheriv},2:function(ei,eo,ea){var es=ea(6370),eu=ea(6624),ec=ea(6911).Buffer,ed=ea(126),ef=ea(1043),eh=ea(1387),ep=ea(8368);function Cipher(ei,eo,ea){ef.call(this),this._cache=new Splitter,this._cipher=new eh.AES(eo),this._prev=ec.from(ea),this._mode=ei,this._autopadding=!0}ea(3782)(Cipher,ef),Cipher.prototype._update=function(ei){this._cache.add(ei);for(var eo,ea,es=[];eo=this._cache.get();)ea=this._mode.encrypt(this,eo),es.push(ea);return ec.concat(es)};var em=ec.alloc(16,16);function Splitter(){this.cache=ec.allocUnsafe(0)}function createCipheriv(ei,eo,ea){var ef=es[ei.toLowerCase()];if(!ef)throw TypeError("invalid suite type");if("string"==typeof eo&&(eo=ec.from(eo)),eo.length!==ef.key/8)throw TypeError("invalid key length "+eo.length);if("string"==typeof ea&&(ea=ec.from(ea)),"GCM"!==ef.mode&&ea.length!==ef.iv)throw TypeError("invalid iv length "+ea.length);return"stream"===ef.type?new ed(ef.module,eo,ea):"auth"===ef.type?new eu(ef.module,eo,ea):new Cipher(ef.module,eo,ea)}function createCipher(ei,eo){var ea=es[ei.toLowerCase()];if(!ea)throw TypeError("invalid suite type");var eu=ep(eo,!1,ea.key,ea.iv);return createCipheriv(ei,eu.key,eu.iv)}Cipher.prototype._final=function(){var ei=this._cache.flush();if(this._autopadding)return ei=this._mode.encrypt(this,ei),this._cipher.scrub(),ei;if(!ei.equals(em))throw this._cipher.scrub(),Error("data not multiple of block length")},Cipher.prototype.setAutoPadding=function(ei){return this._autopadding=!!ei,this},Splitter.prototype.add=function(ei){this.cache=ec.concat([this.cache,ei])},Splitter.prototype.get=function(){if(this.cache.length>15){var ei=this.cache.slice(0,16);return this.cache=this.cache.slice(16),ei}return null},Splitter.prototype.flush=function(){for(var ei=16-this.cache.length,eo=ec.allocUnsafe(ei),ea=-1;++ea<ei;)eo.writeUInt8(ei,ea);return ec.concat([this.cache,eo])},eo.createCipheriv=createCipheriv,eo.createCipher=createCipher},7225:function(ei,eo,ea){var es=ea(6911).Buffer,eu=es.alloc(16,0);function toArray(ei){return[ei.readUInt32BE(0),ei.readUInt32BE(4),ei.readUInt32BE(8),ei.readUInt32BE(12)]}function fromArray(ei){var eo=es.allocUnsafe(16);return eo.writeUInt32BE(ei[0]>>>0,0),eo.writeUInt32BE(ei[1]>>>0,4),eo.writeUInt32BE(ei[2]>>>0,8),eo.writeUInt32BE(ei[3]>>>0,12),eo}function GHASH(ei){this.h=ei,this.state=es.alloc(16,0),this.cache=es.allocUnsafe(0)}GHASH.prototype.ghash=function(ei){for(var eo=-1;++eo<ei.length;)this.state[eo]^=ei[eo];this._multiply()},GHASH.prototype._multiply=function(){for(var ei,eo,ea=toArray(this.h),es=[0,0,0,0],eu=-1;++eu<128;){for((this.state[~~(eu/8)]&1<<7-eu%8)!=0&&(es[0]^=ea[0],es[1]^=ea[1],es[2]^=ea[2],es[3]^=ea[3]),eo=(1&ea[3])!=0,ei=3;ei>0;ei--)ea[ei]=ea[ei]>>>1|(1&ea[ei-1])<<31;ea[0]=ea[0]>>>1,eo&&(ea[0]=-520093696^ea[0])}this.state=fromArray(es)},GHASH.prototype.update=function(ei){var eo;for(this.cache=es.concat([this.cache,ei]);this.cache.length>=16;)eo=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(eo)},GHASH.prototype.final=function(ei,eo){return this.cache.length&&this.ghash(es.concat([this.cache,eu],16)),this.ghash(fromArray([0,ei,0,eo])),this.state},ei.exports=GHASH},598:function(ei){function incr32(ei){for(var eo,ea=ei.length;ea--;)if(255===(eo=ei.readUInt8(ea)))ei.writeUInt8(0,ea);else{eo++,ei.writeUInt8(eo,ea);break}}ei.exports=incr32},9825:function(ei,eo,ea){var es=ea(4734);eo.encrypt=function(ei,eo){var ea=es(eo,ei._prev);return ei._prev=ei._cipher.encryptBlock(ea),ei._prev},eo.decrypt=function(ei,eo){var ea=ei._prev;return ei._prev=eo,es(ei._cipher.decryptBlock(eo),ea)}},321:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(4734);function encryptStart(ei,eo,ea){var ec=eo.length,ed=eu(eo,ei._cache);return ei._cache=ei._cache.slice(ec),ei._prev=es.concat([ei._prev,ea?eo:ed]),ed}eo.encrypt=function(ei,eo,ea){for(var eu,ec=es.allocUnsafe(0);eo.length;)if(0===ei._cache.length&&(ei._cache=ei._cipher.encryptBlock(ei._prev),ei._prev=es.allocUnsafe(0)),ei._cache.length<=eo.length)eu=ei._cache.length,ec=es.concat([ec,encryptStart(ei,eo.slice(0,eu),ea)]),eo=eo.slice(eu);else{ec=es.concat([ec,encryptStart(ei,eo,ea)]);break}return ec}},3147:function(ei,eo,ea){var es=ea(6911).Buffer;function encryptByte(ei,eo,ea){for(var es,eu,ec,ed=-1,ef=8,eh=0;++ed<ef;)es=ei._cipher.encryptBlock(ei._prev),eu=eo&1<<7-ed?128:0,eh+=(128&(ec=es[0]^eu))>>ed%8,ei._prev=shiftIn(ei._prev,ea?eu:ec);return eh}function shiftIn(ei,eo){var ea=ei.length,eu=-1,ec=es.allocUnsafe(ei.length);for(ei=es.concat([ei,es.from([eo])]);++eu<ea;)ec[eu]=ei[eu]<<1|ei[eu+1]>>7;return ec}eo.encrypt=function(ei,eo,ea){for(var eu=eo.length,ec=es.allocUnsafe(eu),ed=-1;++ed<eu;)ec[ed]=encryptByte(ei,eo[ed],ea);return ec}},2430:function(ei,eo,ea){var es=ea(6911).Buffer;function encryptByte(ei,eo,ea){var eu=ei._cipher.encryptBlock(ei._prev)[0]^eo;return ei._prev=es.concat([ei._prev.slice(1),es.from([ea?eo:eu])]),eu}eo.encrypt=function(ei,eo,ea){for(var eu=eo.length,ec=es.allocUnsafe(eu),ed=-1;++ed<eu;)ec[ed]=encryptByte(ei,eo[ed],ea);return ec}},3361:function(ei,eo,ea){var es=ea(4734),eu=ea(6911).Buffer,ec=ea(598);function getBlock(ei){var eo=ei._cipher.encryptBlockRaw(ei._prev);return ec(ei._prev),eo}var ed=16;eo.encrypt=function(ei,eo){var ea=Math.ceil(eo.length/ed),ec=ei._cache.length;ei._cache=eu.concat([ei._cache,eu.allocUnsafe(ea*ed)]);for(var ef=0;ef<ea;ef++){var eh=getBlock(ei),ep=ec+ef*ed;ei._cache.writeUInt32BE(eh[0],ep+0),ei._cache.writeUInt32BE(eh[1],ep+4),ei._cache.writeUInt32BE(eh[2],ep+8),ei._cache.writeUInt32BE(eh[3],ep+12)}var em=ei._cache.slice(0,eo.length);return ei._cache=ei._cache.slice(eo.length),es(eo,em)}},1590:function(ei,eo){eo.encrypt=function(ei,eo){return ei._cipher.encryptBlock(eo)},eo.decrypt=function(ei,eo){return ei._cipher.decryptBlock(eo)}},6370:function(ei,eo,ea){var es={ECB:ea(1590),CBC:ea(9825),CFB:ea(321),CFB8:ea(2430),CFB1:ea(3147),OFB:ea(3412),CTR:ea(3361),GCM:ea(3361)},eu=ea(5866);for(var ec in eu)eu[ec].module=es[eu[ec].mode];ei.exports=eu},3412:function(ei,eo,ea){var es=ea(4734);function getBlock(ei){return ei._prev=ei._cipher.encryptBlock(ei._prev),ei._prev}eo.encrypt=function(ei,eo){for(;ei._cache.length<eo.length;)ei._cache=eu.concat([ei._cache,getBlock(ei)]);var ea=ei._cache.slice(0,eo.length);return ei._cache=ei._cache.slice(eo.length),es(eo,ea)}},126:function(ei,eo,ea){var es=ea(1387),eu=ea(6911).Buffer,ec=ea(1043);function StreamCipher(ei,eo,ea,ed){ec.call(this),this._cipher=new es.AES(eo),this._prev=eu.from(ea),this._cache=eu.allocUnsafe(0),this._secCache=eu.allocUnsafe(0),this._decrypt=ed,this._mode=ei}ea(3782)(StreamCipher,ec),StreamCipher.prototype._update=function(ei){return this._mode.encrypt(this,ei,this._decrypt)},StreamCipher.prototype._final=function(){this._cipher.scrub()},ei.exports=StreamCipher},8996:function(ei,eo,ea){var es=ea(5238),eu=ea(6594),ec=ea(6370),ed=ea(6280),ef=ea(8368);function createCipher(ei,eo){if(ec[ei=ei.toLowerCase()])ea=ec[ei].key,es=ec[ei].iv;else if(ed[ei])ea=8*ed[ei].key,es=ed[ei].iv;else throw TypeError("invalid suite type");var ea,es,eu=ef(eo,!1,ea,es);return createCipheriv(ei,eu.key,eu.iv)}function createDecipher(ei,eo){if(ec[ei=ei.toLowerCase()])ea=ec[ei].key,es=ec[ei].iv;else if(ed[ei])ea=8*ed[ei].key,es=ed[ei].iv;else throw TypeError("invalid suite type");var ea,es,eu=ef(eo,!1,ea,es);return createDecipheriv(ei,eu.key,eu.iv)}function createCipheriv(ei,eo,ea){if(ec[ei=ei.toLowerCase()])return eu.createCipheriv(ei,eo,ea);if(ed[ei])return new es({key:eo,iv:ea,mode:ei});throw TypeError("invalid suite type")}function createDecipheriv(ei,eo,ea){if(ec[ei=ei.toLowerCase()])return eu.createDecipheriv(ei,eo,ea);if(ed[ei])return new es({key:eo,iv:ea,mode:ei,decrypt:!0});throw TypeError("invalid suite type")}function getCiphers(){return Object.keys(ed).concat(eu.getCiphers())}eo.createCipher=eo.Cipher=createCipher,eo.createCipheriv=eo.Cipheriv=createCipheriv,eo.createDecipher=eo.Decipher=createDecipher,eo.createDecipheriv=eo.Decipheriv=createDecipheriv,eo.listCiphers=eo.getCiphers=getCiphers},5238:function(ei,eo,ea){var es=ea(1043),eu=ea(9536),ec=ea(3782),ed=ea(6911).Buffer,ef={"des-ede3-cbc":eu.CBC.instantiate(eu.EDE),"des-ede3":eu.EDE,"des-ede-cbc":eu.CBC.instantiate(eu.EDE),"des-ede":eu.EDE,"des-cbc":eu.CBC.instantiate(eu.DES),"des-ecb":eu.DES};function DES(ei){es.call(this);var eo,ea=ei.mode.toLowerCase(),eu=ef[ea];eo=ei.decrypt?"decrypt":"encrypt";var ec=ei.key;ed.isBuffer(ec)||(ec=ed.from(ec)),("des-ede"===ea||"des-ede-cbc"===ea)&&(ec=ed.concat([ec,ec.slice(0,8)]));var eh=ei.iv;ed.isBuffer(eh)||(eh=ed.from(eh)),this._des=eu.create({key:ec,iv:eh,type:eo})}ef.des=ef["des-cbc"],ef.des3=ef["des-ede3-cbc"],ei.exports=DES,ec(DES,es),DES.prototype._update=function(ei){return ed.from(this._des.update(ei))},DES.prototype._final=function(){return ed.from(this._des.final())}},6280:function(ei,eo){eo["des-ecb"]={key:8,iv:0},eo["des-cbc"]=eo.des={key:8,iv:8},eo["des-ede3-cbc"]=eo.des3={key:24,iv:8},eo["des-ede3"]={key:24,iv:0},eo["des-ede-cbc"]={key:16,iv:8},eo["des-ede"]={key:16,iv:0}},7166:function(ei,eo,ea){var es=ea(711),ec=ea(7223);function blind(ei){var eo=getr(ei);return{blinder:eo.toRed(es.mont(ei.modulus)).redPow(new es(ei.publicExponent)).fromRed(),unblinder:eo.invm(ei.modulus)}}function crt(ei,eo){var ea=blind(eo),ec=eo.modulus.byteLength();es.mont(eo.modulus);var ed=new es(ei).mul(ea.blinder).umod(eo.modulus),ef=ed.toRed(es.mont(eo.prime1)),eh=ed.toRed(es.mont(eo.prime2)),ep=eo.coefficient,em=eo.prime1,eg=eo.prime2,eb=ef.redPow(eo.exponent1),ey=eh.redPow(eo.exponent2);eb=eb.fromRed(),ey=ey.fromRed();var ew=eb.isub(ey).imul(ep).umod(em);return ew.imul(eg),ey.iadd(ew),new eu(ey.imul(ea.unblinder).umod(eo.modulus).toArray(!1,ec))}function getr(ei){for(var eo=ei.modulus.byteLength(),ea=new es(ec(eo));ea.cmp(ei.modulus)>=0||!ea.umod(ei.prime1)||!ea.umod(ei.prime2);)ea=new es(ec(eo));return ea}ei.exports=crt,crt.getr=getr},9276:function(ei,eo,ea){ei.exports=ea(2908)},4078:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(9739),ec=ea(3726),ed=ea(3782),ef=ea(9807),eh=ea(4013),ep=ea(2908);function Sign(ei){ec.Writable.call(this);var eo=ep[ei];if(!eo)throw Error("Unknown message digest");this._hashType=eo.hash,this._hash=eu(eo.hash),this._tag=eo.id,this._signType=eo.sign}function Verify(ei){ec.Writable.call(this);var eo=ep[ei];if(!eo)throw Error("Unknown message digest");this._hash=eu(eo.hash),this._tag=eo.id,this._signType=eo.sign}function createSign(ei){return new Sign(ei)}function createVerify(ei){return new Verify(ei)}Object.keys(ep).forEach(function(ei){ep[ei].id=es.from(ep[ei].id,"hex"),ep[ei.toLowerCase()]=ep[ei]}),ed(Sign,ec.Writable),Sign.prototype._write=function(ei,eo,ea){this._hash.update(ei),ea()},Sign.prototype.update=function(ei,eo){return"string"==typeof ei&&(ei=es.from(ei,eo)),this._hash.update(ei),this},Sign.prototype.sign=function(ei,eo){this.end();var ea=ef(this._hash.digest(),ei,this._hashType,this._signType,this._tag);return eo?ea.toString(eo):ea},ed(Verify,ec.Writable),Verify.prototype._write=function(ei,eo,ea){this._hash.update(ei),ea()},Verify.prototype.update=function(ei,eo){return"string"==typeof ei&&(ei=es.from(ei,eo)),this._hash.update(ei),this},Verify.prototype.verify=function(ei,eo,ea){return"string"==typeof eo&&(eo=es.from(eo,ea)),this.end(),eh(eo,this._hash.digest(),ei,this._signType,this._tag)},ei.exports={Sign:createSign,Verify:createVerify,createSign:createSign,createVerify:createVerify}},9807:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(4873),ec=ea(7166),ed=ea(949).ec,ef=ea(1670),eh=ea(9902),ep=ea(9267);function sign(ei,eo,ea,eu,ed){var ef=eh(eo);if(ef.curve){if("ecdsa"!==eu&&"ecdsa/rsa"!==eu)throw Error("wrong private key type");return ecSign(ei,ef)}if("dsa"===ef.type){if("dsa"!==eu)throw Error("wrong private key type");return dsaSign(ei,ef,ea)}if("rsa"!==eu&&"ecdsa/rsa"!==eu)throw Error("wrong private key type");ei=es.concat([ed,ei]);for(var ep=ef.modulus.byteLength(),em=[0,1];ei.length+em.length+1<ep;)em.push(255);em.push(0);for(var eg=-1;++eg<ei.length;)em.push(ei[eg]);return ec(em,ef)}function ecSign(ei,eo){var ea=ep[eo.curve.join(".")];if(!ea)throw Error("unknown curve "+eo.curve.join("."));var eu=new ed(ea).keyFromPrivate(eo.privateKey).sign(ei);return es.from(eu.toDER())}function dsaSign(ei,eo,ea){for(var es,eu=eo.params.priv_key,ec=eo.params.p,ed=eo.params.q,eh=eo.params.g,ep=new ef(0),em=bits2int(ei,ed).mod(ed),eg=!1,eb=getKey(eu,ed,ei,ea);!1===eg;)ep=makeR(eh,es=makeKey(ed,eb,ea),ec,ed),0===(eg=es.invm(ed).imul(em.add(eu.mul(ep))).mod(ed)).cmpn(0)&&(eg=!1,ep=new ef(0));return toDER(ep,eg)}function toDER(ei,eo){ei=ei.toArray(),eo=eo.toArray(),128&ei[0]&&(ei=[0].concat(ei)),128&eo[0]&&(eo=[0].concat(eo));var ea=[48,ei.length+eo.length+4,2,ei.length];return ea=ea.concat(ei,[2,eo.length],eo),es.from(ea)}function getKey(ei,eo,ea,ec){if((ei=es.from(ei.toArray())).length<eo.byteLength()){var ed=es.alloc(eo.byteLength()-ei.length);ei=es.concat([ed,ei])}var ef=ea.length,eh=bits2octets(ea,eo),ep=es.alloc(ef);ep.fill(1);var em=es.alloc(ef);return em=eu(ec,em).update(ep).update(es.from([0])).update(ei).update(eh).digest(),ep=eu(ec,em).update(ep).digest(),em=eu(ec,em).update(ep).update(es.from([1])).update(ei).update(eh).digest(),ep=eu(ec,em).update(ep).digest(),{k:em,v:ep}}function bits2int(ei,eo){var ea=new ef(ei),es=(ei.length<<3)-eo.bitLength();return es>0&&ea.ishrn(es),ea}function bits2octets(ei,eo){ei=(ei=bits2int(ei,eo)).mod(eo);var ea=es.from(ei.toArray());if(ea.length<eo.byteLength()){var eu=es.alloc(eo.byteLength()-ea.length);ea=es.concat([eu,ea])}return ea}function makeKey(ei,eo,ea){var ec,ed;do{for(ec=es.alloc(0);8*ec.length<ei.bitLength();)eo.v=eu(ea,eo.k).update(eo.v).digest(),ec=es.concat([ec,eo.v]);ed=bits2int(ec,ei),eo.k=eu(ea,eo.k).update(eo.v).update(es.from([0])).digest(),eo.v=eu(ea,eo.k).update(eo.v).digest()}while(-1!==ed.cmp(ei));return ed}function makeR(ei,eo,ea,es){return ei.toRed(ef.mont(ea)).redPow(eo).fromRed().mod(es)}ei.exports=sign,ei.exports.getKey=getKey,ei.exports.makeKey=makeKey},4013:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(1670),ec=ea(949).ec,ed=ea(9902),ef=ea(9267);function verify(ei,eo,ea,ec,ef){var eh=ed(ea);if("ec"===eh.type){if("ecdsa"!==ec&&"ecdsa/rsa"!==ec)throw Error("wrong public key type");return ecVerify(ei,eo,eh)}if("dsa"===eh.type){if("dsa"!==ec)throw Error("wrong public key type");return dsaVerify(ei,eo,eh)}if("rsa"!==ec&&"ecdsa/rsa"!==ec)throw Error("wrong public key type");eo=es.concat([ef,eo]);for(var ep=eh.modulus.byteLength(),em=[1],eg=0;eo.length+em.length+2<ep;)em.push(255),eg++;em.push(0);for(var eb=-1;++eb<eo.length;)em.push(eo[eb]);em=es.from(em);var ey=eu.mont(eh.modulus);ei=(ei=new eu(ei).toRed(ey)).redPow(new eu(eh.publicExponent));var ew=eg<8?1:0;for(ep=Math.min((ei=es.from(ei.fromRed().toArray())).length,em.length),ei.length!==em.length&&(ew=1),eb=-1;++eb<ep;)ew|=ei[eb]^em[eb];return 0===ew}function ecVerify(ei,eo,ea){var es=ef[ea.data.algorithm.curve.join(".")];if(!es)throw Error("unknown curve "+ea.data.algorithm.curve.join("."));var eu=new ec(es),ed=ea.data.subjectPrivateKey.data;return eu.verify(eo,ei,ed)}function dsaVerify(ei,eo,ea){var es=ea.data.p,ec=ea.data.q,ef=ea.data.g,eh=ea.data.pub_key,ep=ed.signature.decode(ei,"der"),em=ep.s,eg=ep.r;checkValue(em,ec),checkValue(eg,ec);var eb=eu.mont(es),ey=em.invm(ec);return 0===ef.toRed(eb).redPow(new eu(eo).mul(ey).mod(ec)).fromRed().mul(eh.toRed(eb).redPow(eg.mul(ey).mod(ec)).fromRed()).mod(es).mod(ec).cmp(eg)}function checkValue(ei,eo){if(0>=ei.cmpn(0)||ei.cmp(eo)>=eo)throw Error("invalid sig")}ei.exports=verify},4734:function(ei){ei.exports=function(ei,eo){for(var ea=Math.min(ei.length,eo.length),es=new eu(ea),ec=0;ec<ea;++ec)es[ec]=ei[ec]^eo[ec];return es}},1043:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(2781).Transform,ec=ea(1576).StringDecoder;function CipherBase(ei){eu.call(this),this.hashMode="string"==typeof ei,this.hashMode?this[ei]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}ea(3782)(CipherBase,eu),CipherBase.prototype.update=function(ei,eo,ea){"string"==typeof ei&&(ei=es.from(ei,eo));var eu=this._update(ei);return this.hashMode?this:(ea&&(eu=this._toString(eu,ea)),eu)},CipherBase.prototype.setAutoPadding=function(){},CipherBase.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},CipherBase.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},CipherBase.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},CipherBase.prototype._transform=function(ei,eo,ea){var es;try{this.hashMode?this._update(ei):this.push(this._update(ei))}catch(ei){es=ei}finally{ea(es)}},CipherBase.prototype._flush=function(ei){var eo;try{this.push(this.__final())}catch(ei){eo=ei}ei(eo)},CipherBase.prototype._finalOrDigest=function(ei){var eo=this.__final()||es.alloc(0);return ei&&(eo=this._toString(eo,ei,!0)),eo},CipherBase.prototype._toString=function(ei,eo,ea){if(this._decoder||(this._decoder=new ec(eo),this._encoding=eo),this._encoding!==eo)throw Error("can't switch encodings");var es=this._decoder.write(ei);return ea&&(es+=this._decoder.end()),es},ei.exports=CipherBase},9942:function(ei,eo,ea){var es=ea(949),ec=ea(711);ei.exports=function(ei){return new ECDH(ei)};var ed={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 ECDH(ei){this.curveType=ed[ei],this.curveType||(this.curveType={name:ei}),this.curve=new es.ec(this.curveType.name),this.keys=void 0}function formatReturnValue(ei,eo,ea){Array.isArray(ei)||(ei=ei.toArray());var es=new eu(ei);if(ea&&es.length<ea){var ec=new eu(ea-es.length);ec.fill(0),es=eu.concat([ec,es])}return eo?es.toString(eo):es}ed.p224=ed.secp224r1,ed.p256=ed.secp256r1=ed.prime256v1,ed.p192=ed.secp192r1=ed.prime192v1,ed.p384=ed.secp384r1,ed.p521=ed.secp521r1,ECDH.prototype.generateKeys=function(ei,eo){return this.keys=this.curve.genKeyPair(),this.getPublicKey(ei,eo)},ECDH.prototype.computeSecret=function(ei,eo,ea){return eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo)),formatReturnValue(this.curve.keyFromPublic(ei).getPublic().mul(this.keys.getPrivate()).getX(),ea,this.curveType.byteLength)},ECDH.prototype.getPublicKey=function(ei,eo){var ea=this.keys.getPublic("compressed"===eo,!0);return"hybrid"===eo&&(ea[ea.length-1]%2?ea[0]=7:ea[0]=6),formatReturnValue(ea,ei)},ECDH.prototype.getPrivateKey=function(ei){return formatReturnValue(this.keys.getPrivate(),ei)},ECDH.prototype.setPublicKey=function(ei,eo){return eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo)),this.keys._importPublic(ei),this},ECDH.prototype.setPrivateKey=function(ei,eo){eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo));var ea=new ec(ei);return ea=ea.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(ea),this}},9739:function(ei,eo,ea){"use strict";var es=ea(3782),eu=ea(3533),ec=ea(3225),ed=ea(4371),ef=ea(1043);function Hash(ei){ef.call(this,"digest"),this._hash=ei}es(Hash,ef),Hash.prototype._update=function(ei){this._hash.update(ei)},Hash.prototype._final=function(){return this._hash.digest()},ei.exports=function(ei){return"md5"===(ei=ei.toLowerCase())?new eu:"rmd160"===ei||"ripemd160"===ei?new ec:new Hash(ed(ei))}},450:function(ei,eo,ea){var es=ea(3533);ei.exports=function(ei){return(new es).update(ei).digest()}},4873:function(ei,eo,ea){"use strict";var es=ea(3782),eu=ea(8119),ec=ea(1043),ed=ea(6911).Buffer,ef=ea(450),eh=ea(3225),ep=ea(4371),em=ed.alloc(128);function Hmac(ei,eo){ec.call(this,"digest"),"string"==typeof eo&&(eo=ed.from(eo));var ea="sha512"===ei||"sha384"===ei?128:64;this._alg=ei,this._key=eo,eo.length>ea?eo=("rmd160"===ei?new eh:ep(ei)).update(eo).digest():eo.length<ea&&(eo=ed.concat([eo,em],ea));for(var es=this._ipad=ed.allocUnsafe(ea),eu=this._opad=ed.allocUnsafe(ea),ef=0;ef<ea;ef++)es[ef]=54^eo[ef],eu[ef]=92^eo[ef];this._hash="rmd160"===ei?new eh:ep(ei),this._hash.update(es)}es(Hmac,ec),Hmac.prototype._update=function(ei){this._hash.update(ei)},Hmac.prototype._final=function(){var ei=this._hash.digest();return("rmd160"===this._alg?new eh:ep(this._alg)).update(this._opad).update(ei).digest()},ei.exports=function(ei,eo){return"rmd160"===(ei=ei.toLowerCase())||"ripemd160"===ei?new Hmac("rmd160",eo):"md5"===ei?new eu(ef,eo):new Hmac(ei,eo)}},8119:function(ei,eo,ea){"use strict";var es=ea(3782),eu=ea(6911).Buffer,ec=ea(1043),ed=eu.alloc(128),ef=64;function Hmac(ei,eo){ec.call(this,"digest"),"string"==typeof eo&&(eo=eu.from(eo)),this._alg=ei,this._key=eo,eo.length>ef?eo=ei(eo):eo.length<ef&&(eo=eu.concat([eo,ed],ef));for(var ea=this._ipad=eu.allocUnsafe(ef),es=this._opad=eu.allocUnsafe(ef),eh=0;eh<ef;eh++)ea[eh]=54^eo[eh],es[eh]=92^eo[eh];this._hash=[ea]}es(Hmac,ec),Hmac.prototype._update=function(ei){this._hash.push(ei)},Hmac.prototype._final=function(){var ei=this._alg(eu.concat(this._hash));return this._alg(eu.concat([this._opad,ei]))},ei.exports=Hmac},9536:function(ei,eo,ea){"use strict";eo.utils=ea(5334),eo.Cipher=ea(9876),eo.DES=ea(1016),eo.CBC=ea(8641),eo.EDE=ea(6159)},8641:function(ei,eo,ea){"use strict";var es=ea(3523),eu=ea(3782),ec={};function CBCState(ei){es.equal(ei.length,8,"Invalid IV length"),this.iv=Array(8);for(var eo=0;eo<this.iv.length;eo++)this.iv[eo]=ei[eo]}function instantiate(ei){function CBC(eo){ei.call(this,eo),this._cbcInit()}eu(CBC,ei);for(var eo=Object.keys(ec),ea=0;ea<eo.length;ea++){var es=eo[ea];CBC.prototype[es]=ec[es]}return CBC.create=function(ei){return new CBC(ei)},CBC}eo.instantiate=instantiate,ec._cbcInit=function(){var ei=new CBCState(this.options.iv);this._cbcState=ei},ec._update=function(ei,eo,ea,es){var eu=this._cbcState,ec=this.constructor.super_.prototype,ed=eu.iv;if("encrypt"===this.type){for(var ef=0;ef<this.blockSize;ef++)ed[ef]^=ei[eo+ef];ec._update.call(this,ed,0,ea,es);for(var ef=0;ef<this.blockSize;ef++)ed[ef]=ea[es+ef]}else{ec._update.call(this,ei,eo,ea,es);for(var ef=0;ef<this.blockSize;ef++)ea[es+ef]^=ed[ef];for(var ef=0;ef<this.blockSize;ef++)ed[ef]=ei[eo+ef]}}},9876:function(ei,eo,ea){"use strict";var es=ea(3523);function Cipher(ei){this.options=ei,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}ei.exports=Cipher,Cipher.prototype._init=function(){},Cipher.prototype.update=function(ei){return 0===ei.length?[]:"decrypt"===this.type?this._updateDecrypt(ei):this._updateEncrypt(ei)},Cipher.prototype._buffer=function(ei,eo){for(var ea=Math.min(this.buffer.length-this.bufferOff,ei.length-eo),es=0;es<ea;es++)this.buffer[this.bufferOff+es]=ei[eo+es];return this.bufferOff+=ea,ea},Cipher.prototype._flushBuffer=function(ei,eo){return this._update(this.buffer,0,ei,eo),this.bufferOff=0,this.blockSize},Cipher.prototype._updateEncrypt=function(ei){var eo=0,ea=0,es=Array(((this.bufferOff+ei.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(eo+=this._buffer(ei,eo),this.bufferOff===this.buffer.length&&(ea+=this._flushBuffer(es,ea)));for(var eu=ei.length-(ei.length-eo)%this.blockSize;eo<eu;eo+=this.blockSize)this._update(ei,eo,es,ea),ea+=this.blockSize;for(;eo<ei.length;eo++,this.bufferOff++)this.buffer[this.bufferOff]=ei[eo];return es},Cipher.prototype._updateDecrypt=function(ei){for(var eo=0,ea=0,es=Math.ceil((this.bufferOff+ei.length)/this.blockSize)-1,eu=Array(es*this.blockSize);es>0;es--)eo+=this._buffer(ei,eo),ea+=this._flushBuffer(eu,ea);return eo+=this._buffer(ei,eo),eu},Cipher.prototype.final=function(ei){var eo,ea;return(ei&&(eo=this.update(ei)),ea="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),eo)?eo.concat(ea):ea},Cipher.prototype._pad=function(ei,eo){if(0===eo)return!1;for(;eo<ei.length;)ei[eo++]=0;return!0},Cipher.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var ei=Array(this.blockSize);return this._update(this.buffer,0,ei,0),ei},Cipher.prototype._unpad=function(ei){return ei},Cipher.prototype._finalDecrypt=function(){es.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var ei=Array(this.blockSize);return this._flushBuffer(ei,0),this._unpad(ei)}},1016:function(ei,eo,ea){"use strict";var es=ea(3523),eu=ea(3782),ec=ea(5334),ed=ea(9876);function DESState(){this.tmp=[,,],this.keys=null}function DES(ei){ed.call(this,ei);var eo=new DESState;this._desState=eo,this.deriveKeys(eo,ei.key)}eu(DES,ed),ei.exports=DES,DES.create=function(ei){return new DES(ei)};var ef=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];DES.prototype.deriveKeys=function(ei,eo){ei.keys=Array(32),es.equal(eo.length,this.blockSize,"Invalid key length");var ea=ec.readUInt32BE(eo,0),eu=ec.readUInt32BE(eo,4);ec.pc1(ea,eu,ei.tmp,0),ea=ei.tmp[0],eu=ei.tmp[1];for(var ed=0;ed<ei.keys.length;ed+=2){var eh=ef[ed>>>1];ea=ec.r28shl(ea,eh),eu=ec.r28shl(eu,eh),ec.pc2(ea,eu,ei.keys,ed)}},DES.prototype._update=function(ei,eo,ea,es){var eu=this._desState,ed=ec.readUInt32BE(ei,eo),ef=ec.readUInt32BE(ei,eo+4);ec.ip(ed,ef,eu.tmp,0),ed=eu.tmp[0],ef=eu.tmp[1],"encrypt"===this.type?this._encrypt(eu,ed,ef,eu.tmp,0):this._decrypt(eu,ed,ef,eu.tmp,0),ed=eu.tmp[0],ef=eu.tmp[1],ec.writeUInt32BE(ea,ed,es),ec.writeUInt32BE(ea,ef,es+4)},DES.prototype._pad=function(ei,eo){for(var ea=ei.length-eo,es=eo;es<ei.length;es++)ei[es]=ea;return!0},DES.prototype._unpad=function(ei){for(var eo=ei[ei.length-1],ea=ei.length-eo;ea<ei.length;ea++)es.equal(ei[ea],eo);return ei.slice(0,ei.length-eo)},DES.prototype._encrypt=function(ei,eo,ea,es,eu){for(var ed=eo,ef=ea,eh=0;eh<ei.keys.length;eh+=2){var ep=ei.keys[eh],em=ei.keys[eh+1];ec.expand(ef,ei.tmp,0),ep^=ei.tmp[0],em^=ei.tmp[1];var eg=ec.substitute(ep,em),eb=ec.permute(eg),ey=ef;ef=(ed^eb)>>>0,ed=ey}ec.rip(ef,ed,es,eu)},DES.prototype._decrypt=function(ei,eo,ea,es,eu){for(var ed=ea,ef=eo,eh=ei.keys.length-2;eh>=0;eh-=2){var ep=ei.keys[eh],em=ei.keys[eh+1];ec.expand(ed,ei.tmp,0),ep^=ei.tmp[0],em^=ei.tmp[1];var eg=ec.substitute(ep,em),eb=ec.permute(eg),ey=ed;ed=(ef^eb)>>>0,ef=ey}ec.rip(ed,ef,es,eu)}},6159:function(ei,eo,ea){"use strict";var es=ea(3523),eu=ea(3782),ec=ea(9876),ed=ea(1016);function EDEState(ei,eo){es.equal(eo.length,24,"Invalid key length");var ea=eo.slice(0,8),eu=eo.slice(8,16),ec=eo.slice(16,24);"encrypt"===ei?this.ciphers=[ed.create({type:"encrypt",key:ea}),ed.create({type:"decrypt",key:eu}),ed.create({type:"encrypt",key:ec})]:this.ciphers=[ed.create({type:"decrypt",key:ec}),ed.create({type:"encrypt",key:eu}),ed.create({type:"decrypt",key:ea})]}function EDE(ei){ec.call(this,ei);var eo=new EDEState(this.type,this.options.key);this._edeState=eo}eu(EDE,ec),ei.exports=EDE,EDE.create=function(ei){return new EDE(ei)},EDE.prototype._update=function(ei,eo,ea,es){var eu=this._edeState;eu.ciphers[0]._update(ei,eo,ea,es),eu.ciphers[1]._update(ea,es,ea,es),eu.ciphers[2]._update(ea,es,ea,es)},EDE.prototype._pad=ed.prototype._pad,EDE.prototype._unpad=ed.prototype._unpad},5334:function(ei,eo){"use strict";eo.readUInt32BE=function(ei,eo){return(ei[0+eo]<<24|ei[1+eo]<<16|ei[2+eo]<<8|ei[3+eo])>>>0},eo.writeUInt32BE=function(ei,eo,ea){ei[0+ea]=eo>>>24,ei[1+ea]=eo>>>16&255,ei[2+ea]=eo>>>8&255,ei[3+ea]=255&eo},eo.ip=function(ei,eo,ea,es){for(var eu=0,ec=0,ed=6;ed>=0;ed-=2){for(var ef=0;ef<=24;ef+=8)eu<<=1,eu|=eo>>>ef+ed&1;for(var ef=0;ef<=24;ef+=8)eu<<=1,eu|=ei>>>ef+ed&1}for(var ed=6;ed>=0;ed-=2){for(var ef=1;ef<=25;ef+=8)ec<<=1,ec|=eo>>>ef+ed&1;for(var ef=1;ef<=25;ef+=8)ec<<=1,ec|=ei>>>ef+ed&1}ea[es+0]=eu>>>0,ea[es+1]=ec>>>0},eo.rip=function(ei,eo,ea,es){for(var eu=0,ec=0,ed=0;ed<4;ed++)for(var ef=24;ef>=0;ef-=8)eu<<=1,eu|=eo>>>ef+ed&1,eu<<=1,eu|=ei>>>ef+ed&1;for(var ed=4;ed<8;ed++)for(var ef=24;ef>=0;ef-=8)ec<<=1,ec|=eo>>>ef+ed&1,ec<<=1,ec|=ei>>>ef+ed&1;ea[es+0]=eu>>>0,ea[es+1]=ec>>>0},eo.pc1=function(ei,eo,ea,es){for(var eu=0,ec=0,ed=7;ed>=5;ed--){for(var ef=0;ef<=24;ef+=8)eu<<=1,eu|=eo>>ef+ed&1;for(var ef=0;ef<=24;ef+=8)eu<<=1,eu|=ei>>ef+ed&1}for(var ef=0;ef<=24;ef+=8)eu<<=1,eu|=eo>>ef+ed&1;for(var ed=1;ed<=3;ed++){for(var ef=0;ef<=24;ef+=8)ec<<=1,ec|=eo>>ef+ed&1;for(var ef=0;ef<=24;ef+=8)ec<<=1,ec|=ei>>ef+ed&1}for(var ef=0;ef<=24;ef+=8)ec<<=1,ec|=ei>>ef+ed&1;ea[es+0]=eu>>>0,ea[es+1]=ec>>>0},eo.r28shl=function(ei,eo){return ei<<eo&268435455|ei>>>28-eo};var ea=[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];eo.pc2=function(ei,eo,es,eu){for(var ec=0,ed=0,ef=ea.length>>>1,eh=0;eh<ef;eh++)ec<<=1,ec|=ei>>>ea[eh]&1;for(var eh=ef;eh<ea.length;eh++)ed<<=1,ed|=eo>>>ea[eh]&1;es[eu+0]=ec>>>0,es[eu+1]=ed>>>0},eo.expand=function(ei,eo,ea){var es=0,eu=0;es=(1&ei)<<5|ei>>>27;for(var ec=23;ec>=15;ec-=4)es<<=6,es|=ei>>>ec&63;for(var ec=11;ec>=3;ec-=4)eu|=ei>>>ec&63,eu<<=6;eu|=(31&ei)<<1|ei>>>31,eo[ea+0]=es>>>0,eo[ea+1]=eu>>>0};var es=[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];eo.substitute=function(ei,eo){for(var ea=0,eu=0;eu<4;eu++){var ec=ei>>>18-6*eu&63,ed=es[64*eu+ec];ea<<=4,ea|=ed}for(var eu=0;eu<4;eu++){var ec=eo>>>18-6*eu&63,ed=es[256+64*eu+ec];ea<<=4,ea|=ed}return ea>>>0};var eu=[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];eo.permute=function(ei){for(var eo=0,ea=0;ea<eu.length;ea++)eo<<=1,eo|=ei>>>eu[ea]&1;return eo>>>0},eo.padSplit=function(ei,eo,ea){for(var es=ei.toString(2);es.length<eo;)es="0"+es;for(var eu=[],ec=0;ec<eo;ec+=ea)eu.push(es.slice(ec,ec+ea));return eu.join(" ")}},6587:function(ei,eo,ea){var es=ea(296),ec=ea(7992),ed=ea(373);function getDiffieHellman(ei){var eo=new eu(ec[ei].prime,"hex"),ea=new eu(ec[ei].gen,"hex");return new ed(eo,ea)}var ef={binary:!0,hex:!0,base64:!0};function createDiffieHellman(ei,eo,ea,ec){return eu.isBuffer(eo)||void 0===ef[eo]?createDiffieHellman(ei,"binary",eo,ea):(eo=eo||"binary",ec=ec||"binary",ea=ea||new eu([2]),eu.isBuffer(ea)||(ea=new eu(ea,ec)),"number"==typeof ei)?new ed(es(ei,ea),ea,!0):(eu.isBuffer(ei)||(ei=new eu(ei,eo)),new ed(ei,ea,!0))}eo.DiffieHellmanGroup=eo.createDiffieHellmanGroup=eo.getDiffieHellman=getDiffieHellman,eo.createDiffieHellman=eo.DiffieHellman=createDiffieHellman},373:function(ei,eo,ea){var es=ea(711),ec=new(ea(1354)),ed=new es(24),ef=new es(11),eh=new es(10),ep=new es(3),em=new es(7),eg=ea(296),eb=ea(7223);function setPublicKey(ei,eo){return eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo)),this._pub=new es(ei),this}function setPrivateKey(ei,eo){return eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo)),this._priv=new es(ei),this}ei.exports=DH;var ey={};function checkPrime(ei,eo){var ea,es=eo.toString("hex"),eu=[es,ei.toString(16)].join("_");if(eu in ey)return ey[eu];var eb=0;if(ei.isEven()||!eg.simpleSieve||!eg.fermatTest(ei)||!ec.test(ei))return eb+=1,"02"===es||"05"===es?eb+=8:eb+=4,ey[eu]=eb,eb;switch(ec.test(ei.shrn(1))||(eb+=2),es){case"02":ei.mod(ed).cmp(ef)&&(eb+=8);break;case"05":(ea=ei.mod(eh)).cmp(ep)&&ea.cmp(em)&&(eb+=8);break;default:eb+=4}return ey[eu]=eb,eb}function DH(ei,eo,ea){this.setGenerator(eo),this.__prime=new es(ei),this._prime=es.mont(this.__prime),this._primeLen=ei.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,ea?(this.setPublicKey=setPublicKey,this.setPrivateKey=setPrivateKey):this._primeCode=8}function formatReturnValue(ei,eo){var ea=new eu(ei.toArray());return eo?ea.toString(eo):ea}Object.defineProperty(DH.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=checkPrime(this.__prime,this.__gen)),this._primeCode}}),DH.prototype.generateKeys=function(){return this._priv||(this._priv=new es(eb(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},DH.prototype.computeSecret=function(ei){var eo=(ei=(ei=new es(ei)).toRed(this._prime)).redPow(this._priv).fromRed(),ea=new eu(eo.toArray()),ec=this.getPrime();if(ea.length<ec.length){var ed=new eu(ec.length-ea.length);ed.fill(0),ea=eu.concat([ed,ea])}return ea},DH.prototype.getPublicKey=function(ei){return formatReturnValue(this._pub,ei)},DH.prototype.getPrivateKey=function(ei){return formatReturnValue(this._priv,ei)},DH.prototype.getPrime=function(ei){return formatReturnValue(this.__prime,ei)},DH.prototype.getGenerator=function(ei){return formatReturnValue(this._gen,ei)},DH.prototype.setGenerator=function(ei,eo){return eo=eo||"utf8",eu.isBuffer(ei)||(ei=new eu(ei,eo)),this.__gen=ei,this._gen=new es(ei),this}},296:function(ei,eo,ea){var es=ea(7223);ei.exports=findPrime,findPrime.simpleSieve=simpleSieve,findPrime.fermatTest=fermatTest;var eu=ea(711),ec=new eu(24),ed=new(ea(1354)),ef=new eu(1),eh=new eu(2),ep=new eu(5);new eu(16),new eu(8);var em=new eu(10),eg=new eu(3);new eu(7);var eb=new eu(11),ey=new eu(4);new eu(12);var ew=null;function _getPrimes(){if(null!==ew)return ew;var ei=1048576,eo=[];eo[0]=2;for(var ea=1,es=3;es<ei;es+=2){for(var eu=Math.ceil(Math.sqrt(es)),ec=0;ec<ea&&eo[ec]<=eu&&es%eo[ec]!=0;ec++);ea!==ec&&eo[ec]<=eu||(eo[ea++]=es)}return ew=eo,eo}function simpleSieve(ei){for(var eo=_getPrimes(),ea=0;ea<eo.length;ea++)if(0===ei.modn(eo[ea])){if(0!==ei.cmpn(eo[ea]))return!1;break}return!0}function fermatTest(ei){var eo=eu.mont(ei);return 0===eh.toRed(eo).redPow(ei.subn(1)).fromRed().cmpn(1)}function findPrime(ei,eo){var ea,ew;if(ei<16)return new eu(2===eo||5===eo?[140,123]:[140,39]);for(eo=new eu(eo);;){for(ea=new eu(es(Math.ceil(ei/8)));ea.bitLength()>ei;)ea.ishrn(1);if(ea.isEven()&&ea.iadd(ef),ea.testn(1)||ea.iadd(eh),eo.cmp(eh)){if(!eo.cmp(ep))for(;ea.mod(em).cmp(eg);)ea.iadd(ey)}else for(;ea.mod(ec).cmp(eb);)ea.iadd(ey);if(simpleSieve(ew=ea.shrn(1))&&simpleSieve(ea)&&fermatTest(ew)&&fermatTest(ea)&&ed.test(ew)&&ed.test(ea))return ea}}},949:function(ei,eo,ea){"use strict";var es=eo;es.version=ea(2531).i8,es.utils=ea(4401),es.rand=ea(3500),es.curve=ea(9359),es.curves=ea(6226),es.ec=ea(4088),es.eddsa=ea(8511)},2727:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(4401),ec=eu.getNAF,ed=eu.getJSF,ef=eu.assert;function BaseCurve(ei,eo){this.type=ei,this.p=new es(eo.p,16),this.red=eo.prime?es.red(eo.prime):es.mont(this.p),this.zero=new es(0).toRed(this.red),this.one=new es(1).toRed(this.red),this.two=new es(2).toRed(this.red),this.n=eo.n&&new es(eo.n,16),this.g=eo.g&&this.pointFromJSON(eo.g,eo.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var ea=this.n&&this.p.div(this.n);!ea||ea.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function BasePoint(ei,eo){this.curve=ei,this.type=eo,this.precomputed=null}ei.exports=BaseCurve,BaseCurve.prototype.point=function(){throw Error("Not implemented")},BaseCurve.prototype.validate=function(){throw Error("Not implemented")},BaseCurve.prototype._fixedNafMul=function(ei,eo){ef(ei.precomputed);var ea=ei._getDoubles(),es=ec(eo,1,this._bitLength),eu=(1<<ea.step+1)-(ea.step%2==0?2:1);eu/=3;for(var ed=[],eh=0;eh<es.length;eh+=ea.step){for(var ep=0,eo=eh+ea.step-1;eo>=eh;eo--)ep=(ep<<1)+es[eo];ed.push(ep)}for(var em=this.jpoint(null,null,null),eg=this.jpoint(null,null,null),eb=eu;eb>0;eb--){for(var eh=0;eh<ed.length;eh++){var ep=ed[eh];ep===eb?eg=eg.mixedAdd(ea.points[eh]):ep===-eb&&(eg=eg.mixedAdd(ea.points[eh].neg()))}em=em.add(eg)}return em.toP()},BaseCurve.prototype._wnafMul=function(ei,eo){var ea=4,es=ei._getNAFPoints(ea);ea=es.wnd;for(var eu=es.points,ed=ec(eo,ea,this._bitLength),eh=this.jpoint(null,null,null),ep=ed.length-1;ep>=0;ep--){for(var eo=0;ep>=0&&0===ed[ep];ep--)eo++;if(ep>=0&&eo++,eh=eh.dblp(eo),ep<0)break;var em=ed[ep];ef(0!==em),eh="affine"===ei.type?em>0?eh.mixedAdd(eu[em-1>>1]):eh.mixedAdd(eu[-em-1>>1].neg()):em>0?eh.add(eu[em-1>>1]):eh.add(eu[-em-1>>1].neg())}return"affine"===ei.type?eh.toP():eh},BaseCurve.prototype._wnafMulAdd=function(ei,eo,ea,es,eu){for(var ef=this._wnafT1,eh=this._wnafT2,ep=this._wnafT3,em=0,eg=0;eg<es;eg++){var eb=eo[eg],ey=eb._getNAFPoints(ei);ef[eg]=ey.wnd,eh[eg]=ey.points}for(var eg=es-1;eg>=1;eg-=2){var ew=eg-1,ex=eg;if(1!==ef[ew]||1!==ef[ex]){ep[ew]=ec(ea[ew],ef[ew],this._bitLength),ep[ex]=ec(ea[ex],ef[ex],this._bitLength),em=Math.max(ep[ew].length,em),em=Math.max(ep[ex].length,em);continue}var eP=[eo[ew],null,null,eo[ex]];0===eo[ew].y.cmp(eo[ex].y)?(eP[1]=eo[ew].add(eo[ex]),eP[2]=eo[ew].toJ().mixedAdd(eo[ex].neg())):0===eo[ew].y.cmp(eo[ex].y.redNeg())?(eP[1]=eo[ew].toJ().mixedAdd(eo[ex]),eP[2]=eo[ew].add(eo[ex].neg())):(eP[1]=eo[ew].toJ().mixedAdd(eo[ex]),eP[2]=eo[ew].toJ().mixedAdd(eo[ex].neg()));var eS=[-3,-1,-5,-7,0,7,5,1,3],eE=ed(ea[ew],ea[ex]);em=Math.max(eE[0].length,em),ep[ew]=Array(em),ep[ex]=Array(em);for(var ek=0;ek<em;ek++){var eT=0|eE[0][ek],eC=0|eE[1][ek];ep[ew][ek]=eS[(eT+1)*3+(eC+1)],ep[ex][ek]=0,eh[ew]=eP}}for(var e_=this.jpoint(null,null,null),eA=this._wnafT4,eg=em;eg>=0;eg--){for(var eO=0;eg>=0;){for(var eM=!0,ek=0;ek<es;ek++)eA[ek]=0|ep[ek][eg],0!==eA[ek]&&(eM=!1);if(!eM)break;eO++,eg--}if(eg>=0&&eO++,e_=e_.dblp(eO),eg<0)break;for(var ek=0;ek<es;ek++){var eb,eR=eA[ek];0!==eR&&(eR>0?eb=eh[ek][eR-1>>1]:eR<0&&(eb=eh[ek][-eR-1>>1].neg()),e_="affine"===eb.type?e_.mixedAdd(eb):e_.add(eb))}}for(var eg=0;eg<es;eg++)eh[eg]=null;return eu?e_:e_.toP()},BaseCurve.BasePoint=BasePoint,BasePoint.prototype.eq=function(){throw Error("Not implemented")},BasePoint.prototype.validate=function(){return this.curve.validate(this)},BaseCurve.prototype.decodePoint=function(ei,eo){ei=eu.toArray(ei,eo);var ea=this.p.byteLength();if((4===ei[0]||6===ei[0]||7===ei[0])&&ei.length-1==2*ea)return 6===ei[0]?ef(ei[ei.length-1]%2==0):7===ei[0]&&ef(ei[ei.length-1]%2==1),this.point(ei.slice(1,1+ea),ei.slice(1+ea,1+2*ea));if((2===ei[0]||3===ei[0])&&ei.length-1===ea)return this.pointFromX(ei.slice(1,1+ea),3===ei[0]);throw Error("Unknown point format")},BasePoint.prototype.encodeCompressed=function(ei){return this.encode(ei,!0)},BasePoint.prototype._encode=function(ei){var eo=this.curve.p.byteLength(),ea=this.getX().toArray("be",eo);return ei?[this.getY().isEven()?2:3].concat(ea):[4].concat(ea,this.getY().toArray("be",eo))},BasePoint.prototype.encode=function(ei,eo){return eu.encode(this._encode(eo),ei)},BasePoint.prototype.precompute=function(ei){if(this.precomputed)return this;var eo={doubles:null,naf:null,beta:null};return eo.naf=this._getNAFPoints(8),eo.doubles=this._getDoubles(4,ei),eo.beta=this._getBeta(),this.precomputed=eo,this},BasePoint.prototype._hasDoubles=function(ei){if(!this.precomputed)return!1;var eo=this.precomputed.doubles;return!!eo&&eo.points.length>=Math.ceil((ei.bitLength()+1)/eo.step)},BasePoint.prototype._getDoubles=function(ei,eo){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var ea=[this],es=this,eu=0;eu<eo;eu+=ei){for(var ec=0;ec<ei;ec++)es=es.dbl();ea.push(es)}return{step:ei,points:ea}},BasePoint.prototype._getNAFPoints=function(ei){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var eo=[this],ea=(1<<ei)-1,es=1===ea?null:this.dbl(),eu=1;eu<ea;eu++)eo[eu]=eo[eu-1].add(es);return{wnd:ei,points:eo}},BasePoint.prototype._getBeta=function(){return null},BasePoint.prototype.dblp=function(ei){for(var eo=this,ea=0;ea<ei;ea++)eo=eo.dbl();return eo}},2705:function(ei,eo,ea){"use strict";var es=ea(4401),eu=ea(711),ec=ea(3782),ed=ea(2727),ef=es.assert;function EdwardsCurve(ei){this.twisted=(0|ei.a)!=1,this.mOneA=this.twisted&&(0|ei.a)==-1,this.extended=this.mOneA,ed.call(this,"edwards",ei),this.a=new eu(ei.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new eu(ei.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new eu(ei.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),ef(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|ei.c)==1}function Point(ei,eo,ea,es,ec){ed.BasePoint.call(this,ei,"projective"),null===eo&&null===ea&&null===es?(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 eu(eo,16),this.y=new eu(ea,16),this.z=es?new eu(es,16):this.curve.one,this.t=ec&&new eu(ec,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()))))}ec(EdwardsCurve,ed),ei.exports=EdwardsCurve,EdwardsCurve.prototype._mulA=function(ei){return this.mOneA?ei.redNeg():this.a.redMul(ei)},EdwardsCurve.prototype._mulC=function(ei){return this.oneC?ei:this.c.redMul(ei)},EdwardsCurve.prototype.jpoint=function(ei,eo,ea,es){return this.point(ei,eo,ea,es)},EdwardsCurve.prototype.pointFromX=function(ei,eo){(ei=new eu(ei,16)).red||(ei=ei.toRed(this.red));var ea=ei.redSqr(),es=this.c2.redSub(this.a.redMul(ea)),ec=this.one.redSub(this.c2.redMul(this.d).redMul(ea)),ed=es.redMul(ec.redInvm()),ef=ed.redSqrt();if(0!==ef.redSqr().redSub(ed).cmp(this.zero))throw Error("invalid point");var eh=ef.fromRed().isOdd();return(eo&&!eh||!eo&&eh)&&(ef=ef.redNeg()),this.point(ei,ef)},EdwardsCurve.prototype.pointFromY=function(ei,eo){(ei=new eu(ei,16)).red||(ei=ei.toRed(this.red));var ea=ei.redSqr(),es=ea.redSub(this.c2),ec=ea.redMul(this.d).redMul(this.c2).redSub(this.a),ed=es.redMul(ec.redInvm());if(0===ed.cmp(this.zero)){if(!eo)return this.point(this.zero,ei);throw Error("invalid point")}var ef=ed.redSqrt();if(0!==ef.redSqr().redSub(ed).cmp(this.zero))throw Error("invalid point");return ef.fromRed().isOdd()!==eo&&(ef=ef.redNeg()),this.point(ef,ei)},EdwardsCurve.prototype.validate=function(ei){if(ei.isInfinity())return!0;ei.normalize();var eo=ei.x.redSqr(),ea=ei.y.redSqr(),es=eo.redMul(this.a).redAdd(ea),eu=this.c2.redMul(this.one.redAdd(this.d.redMul(eo).redMul(ea)));return 0===es.cmp(eu)},ec(Point,ed.BasePoint),EdwardsCurve.prototype.pointFromJSON=function(ei){return Point.fromJSON(this,ei)},EdwardsCurve.prototype.point=function(ei,eo,ea,es){return new Point(this,ei,eo,ea,es)},Point.fromJSON=function(ei,eo){return new Point(ei,eo[0],eo[1],eo[2])},Point.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)+">"},Point.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},Point.prototype._extDbl=function(){var ei=this.x.redSqr(),eo=this.y.redSqr(),ea=this.z.redSqr();ea=ea.redIAdd(ea);var es=this.curve._mulA(ei),eu=this.x.redAdd(this.y).redSqr().redISub(ei).redISub(eo),ec=es.redAdd(eo),ed=ec.redSub(ea),ef=es.redSub(eo),eh=eu.redMul(ed),ep=ec.redMul(ef),em=eu.redMul(ef),eg=ed.redMul(ec);return this.curve.point(eh,ep,eg,em)},Point.prototype._projDbl=function(){var ei,eo,ea,es=this.x.redAdd(this.y).redSqr(),eu=this.x.redSqr(),ec=this.y.redSqr();if(this.curve.twisted){var ed=this.curve._mulA(eu),ef=ed.redAdd(ec);if(this.zOne)ei=es.redSub(eu).redSub(ec).redMul(ef.redSub(this.curve.two)),eo=ef.redMul(ed.redSub(ec)),ea=ef.redSqr().redSub(ef).redSub(ef);else{var eh=this.z.redSqr(),ep=ef.redSub(eh).redISub(eh);ei=es.redSub(eu).redISub(ec).redMul(ep),eo=ef.redMul(ed.redSub(ec)),ea=ef.redMul(ep)}}else{var ed=eu.redAdd(ec),eh=this.curve._mulC(this.z).redSqr(),ep=ed.redSub(eh).redSub(eh);ei=this.curve._mulC(es.redISub(ed)).redMul(ep),eo=this.curve._mulC(ed).redMul(eu.redISub(ec)),ea=ed.redMul(ep)}return this.curve.point(ei,eo,ea)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(ei){var eo=this.y.redSub(this.x).redMul(ei.y.redSub(ei.x)),ea=this.y.redAdd(this.x).redMul(ei.y.redAdd(ei.x)),es=this.t.redMul(this.curve.dd).redMul(ei.t),eu=this.z.redMul(ei.z.redAdd(ei.z)),ec=ea.redSub(eo),ed=eu.redSub(es),ef=eu.redAdd(es),eh=ea.redAdd(eo),ep=ec.redMul(ed),em=ef.redMul(eh),eg=ec.redMul(eh),eb=ed.redMul(ef);return this.curve.point(ep,em,eb,eg)},Point.prototype._projAdd=function(ei){var eo,ea,es=this.z.redMul(ei.z),eu=es.redSqr(),ec=this.x.redMul(ei.x),ed=this.y.redMul(ei.y),ef=this.curve.d.redMul(ec).redMul(ed),eh=eu.redSub(ef),ep=eu.redAdd(ef),em=this.x.redAdd(this.y).redMul(ei.x.redAdd(ei.y)).redISub(ec).redISub(ed),eg=es.redMul(eh).redMul(em);return this.curve.twisted?(eo=es.redMul(ep).redMul(ed.redSub(this.curve._mulA(ec))),ea=eh.redMul(ep)):(eo=es.redMul(ep).redMul(ed.redSub(ec)),ea=this.curve._mulC(eh).redMul(ep)),this.curve.point(eg,eo,ea)},Point.prototype.add=function(ei){return this.isInfinity()?ei:ei.isInfinity()?this:this.curve.extended?this._extAdd(ei):this._projAdd(ei)},Point.prototype.mul=function(ei){return this._hasDoubles(ei)?this.curve._fixedNafMul(this,ei):this.curve._wnafMul(this,ei)},Point.prototype.mulAdd=function(ei,eo,ea){return this.curve._wnafMulAdd(1,[this,eo],[ei,ea],2,!1)},Point.prototype.jmulAdd=function(ei,eo,ea){return this.curve._wnafMulAdd(1,[this,eo],[ei,ea],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var ei=this.z.redInvm();return this.x=this.x.redMul(ei),this.y=this.y.redMul(ei),this.t&&(this.t=this.t.redMul(ei)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(ei){return this===ei||0===this.getX().cmp(ei.getX())&&0===this.getY().cmp(ei.getY())},Point.prototype.eqXToP=function(ei){var eo=ei.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(eo))return!0;for(var ea=ei.clone(),es=this.curve.redN.redMul(this.z);;){if(ea.iadd(this.curve.n),ea.cmp(this.curve.p)>=0)return!1;if(eo.redIAdd(es),0===this.x.cmp(eo))return!0}},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add},9359:function(ei,eo,ea){"use strict";var es=eo;es.base=ea(2727),es.short=ea(4720),es.mont=ea(6653),es.edwards=ea(2705)},6653:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(3782),ec=ea(2727),ed=ea(4401);function MontCurve(ei){ec.call(this,"mont",ei),this.a=new es(ei.a,16).toRed(this.red),this.b=new es(ei.b,16).toRed(this.red),this.i4=new es(4).toRed(this.red).redInvm(),this.two=new es(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function Point(ei,eo,ea){ec.BasePoint.call(this,ei,"projective"),null===eo&&null===ea?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new es(eo,16),this.z=new es(ea,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}eu(MontCurve,ec),ei.exports=MontCurve,MontCurve.prototype.validate=function(ei){var eo=ei.normalize().x,ea=eo.redSqr(),es=ea.redMul(eo).redAdd(ea.redMul(this.a)).redAdd(eo);return 0===es.redSqrt().redSqr().cmp(es)},eu(Point,ec.BasePoint),MontCurve.prototype.decodePoint=function(ei,eo){return this.point(ed.toArray(ei,eo),1)},MontCurve.prototype.point=function(ei,eo){return new Point(this,ei,eo)},MontCurve.prototype.pointFromJSON=function(ei){return Point.fromJSON(this,ei)},Point.prototype.precompute=function(){},Point.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point.fromJSON=function(ei,eo){return new Point(ei,eo[0],eo[1]||ei.one)},Point.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)+">"},Point.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},Point.prototype.dbl=function(){var ei=this.x.redAdd(this.z).redSqr(),eo=this.x.redSub(this.z).redSqr(),ea=ei.redSub(eo),es=ei.redMul(eo),eu=ea.redMul(eo.redAdd(this.curve.a24.redMul(ea)));return this.curve.point(es,eu)},Point.prototype.add=function(){throw Error("Not supported on Montgomery curve")},Point.prototype.diffAdd=function(ei,eo){var ea=this.x.redAdd(this.z),es=this.x.redSub(this.z),eu=ei.x.redAdd(ei.z),ec=ei.x.redSub(ei.z).redMul(ea),ed=eu.redMul(es),ef=eo.z.redMul(ec.redAdd(ed).redSqr()),eh=eo.x.redMul(ec.redISub(ed).redSqr());return this.curve.point(ef,eh)},Point.prototype.mul=function(ei){for(var eo=ei.clone(),ea=this,es=this.curve.point(null,null),eu=this,ec=[];0!==eo.cmpn(0);eo.iushrn(1))ec.push(eo.andln(1));for(var ed=ec.length-1;ed>=0;ed--)0===ec[ed]?(ea=ea.diffAdd(es,eu),es=es.dbl()):(es=ea.diffAdd(es,eu),ea=ea.dbl());return es},Point.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},Point.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},Point.prototype.eq=function(ei){return 0===this.getX().cmp(ei.getX())},Point.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4720:function(ei,eo,ea){"use strict";var es=ea(4401),eu=ea(711),ec=ea(3782),ed=ea(2727),ef=es.assert;function ShortCurve(ei){ed.call(this,"short",ei),this.a=new eu(ei.a,16).toRed(this.red),this.b=new eu(ei.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(ei),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function Point(ei,eo,ea,es){ed.BasePoint.call(this,ei,"affine"),null===eo&&null===ea?(this.x=null,this.y=null,this.inf=!0):(this.x=new eu(eo,16),this.y=new eu(ea,16),es&&(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 JPoint(ei,eo,ea,es){ed.BasePoint.call(this,ei,"jacobian"),null===eo&&null===ea&&null===es?(this.x=this.curve.one,this.y=this.curve.one,this.z=new eu(0)):(this.x=new eu(eo,16),this.y=new eu(ea,16),this.z=new eu(es,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}ec(ShortCurve,ed),ei.exports=ShortCurve,ShortCurve.prototype._getEndomorphism=function(ei){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(ei.beta)eo=new eu(ei.beta,16).toRed(this.red);else{var eo,ea,es,ec=this._getEndoRoots(this.p);eo=(eo=0>ec[0].cmp(ec[1])?ec[0]:ec[1]).toRed(this.red)}if(ei.lambda)ea=new eu(ei.lambda,16);else{var ed=this._getEndoRoots(this.n);0===this.g.mul(ed[0]).x.cmp(this.g.x.redMul(eo))?ea=ed[0]:(ea=ed[1],ef(0===this.g.mul(ea).x.cmp(this.g.x.redMul(eo))))}return es=ei.basis?ei.basis.map(function(ei){return{a:new eu(ei.a,16),b:new eu(ei.b,16)}}):this._getEndoBasis(ea),{beta:eo,lambda:ea,basis:es}}},ShortCurve.prototype._getEndoRoots=function(ei){var eo=ei===this.p?this.red:eu.mont(ei),ea=new eu(2).toRed(eo).redInvm(),es=ea.redNeg(),ec=new eu(3).toRed(eo).redNeg().redSqrt().redMul(ea);return[es.redAdd(ec).fromRed(),es.redSub(ec).fromRed()]},ShortCurve.prototype._getEndoBasis=function(ei){for(var eo,ea,es,ec,ed,ef,eh,ep,em,eg=this.n.ushrn(Math.floor(this.n.bitLength()/2)),eb=ei,ey=this.n.clone(),ew=new eu(1),ex=new eu(0),eP=new eu(0),eS=new eu(1),eE=0;0!==eb.cmpn(0);){var ek=ey.div(eb);ep=ey.sub(ek.mul(eb)),em=eP.sub(ek.mul(ew));var eT=eS.sub(ek.mul(ex));if(!es&&0>ep.cmp(eg))eo=eh.neg(),ea=ew,es=ep.neg(),ec=em;else if(es&&2==++eE)break;eh=ep,ey=eb,eb=ep,eP=ew,ew=em,eS=ex,ex=eT}ed=ep.neg(),ef=em;var eC=es.sqr().add(ec.sqr());return ed.sqr().add(ef.sqr()).cmp(eC)>=0&&(ed=eo,ef=ea),es.negative&&(es=es.neg(),ec=ec.neg()),ed.negative&&(ed=ed.neg(),ef=ef.neg()),[{a:es,b:ec},{a:ed,b:ef}]},ShortCurve.prototype._endoSplit=function(ei){var eo=this.endo.basis,ea=eo[0],es=eo[1],eu=es.b.mul(ei).divRound(this.n),ec=ea.b.neg().mul(ei).divRound(this.n),ed=eu.mul(ea.a),ef=ec.mul(es.a),eh=eu.mul(ea.b),ep=ec.mul(es.b);return{k1:ei.sub(ed).sub(ef),k2:eh.add(ep).neg()}},ShortCurve.prototype.pointFromX=function(ei,eo){(ei=new eu(ei,16)).red||(ei=ei.toRed(this.red));var ea=ei.redSqr().redMul(ei).redIAdd(ei.redMul(this.a)).redIAdd(this.b),es=ea.redSqrt();if(0!==es.redSqr().redSub(ea).cmp(this.zero))throw Error("invalid point");var ec=es.fromRed().isOdd();return(eo&&!ec||!eo&&ec)&&(es=es.redNeg()),this.point(ei,es)},ShortCurve.prototype.validate=function(ei){if(ei.inf)return!0;var eo=ei.x,ea=ei.y,es=this.a.redMul(eo),eu=eo.redSqr().redMul(eo).redIAdd(es).redIAdd(this.b);return 0===ea.redSqr().redISub(eu).cmpn(0)},ShortCurve.prototype._endoWnafMulAdd=function(ei,eo,ea){for(var es=this._endoWnafT1,eu=this._endoWnafT2,ec=0;ec<ei.length;ec++){var ed=this._endoSplit(eo[ec]),ef=ei[ec],eh=ef._getBeta();ed.k1.negative&&(ed.k1.ineg(),ef=ef.neg(!0)),ed.k2.negative&&(ed.k2.ineg(),eh=eh.neg(!0)),es[2*ec]=ef,es[2*ec+1]=eh,eu[2*ec]=ed.k1,eu[2*ec+1]=ed.k2}for(var ep=this._wnafMulAdd(1,es,eu,2*ec,ea),em=0;em<2*ec;em++)es[em]=null,eu[em]=null;return ep},ec(Point,ed.BasePoint),ShortCurve.prototype.point=function(ei,eo,ea){return new Point(this,ei,eo,ea)},ShortCurve.prototype.pointFromJSON=function(ei,eo){return Point.fromJSON(this,ei,eo)},Point.prototype._getBeta=function(){if(this.curve.endo){var ei=this.precomputed;if(ei&&ei.beta)return ei.beta;var eo=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(ei){var ea=this.curve,endoMul=function(ei){return ea.point(ei.x.redMul(ea.endo.beta),ei.y)};ei.beta=eo,eo.precomputed={beta:null,naf:ei.naf&&{wnd:ei.naf.wnd,points:ei.naf.points.map(endoMul)},doubles:ei.doubles&&{step:ei.doubles.step,points:ei.doubles.points.map(endoMul)}}}return eo}},Point.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]},Point.fromJSON=function(ei,eo,ea){"string"==typeof eo&&(eo=JSON.parse(eo));var es=ei.point(eo[0],eo[1],ea);if(!eo[2])return es;function obj2point(eo){return ei.point(eo[0],eo[1],ea)}var eu=eo[2];return es.precomputed={beta:null,doubles:eu.doubles&&{step:eu.doubles.step,points:[es].concat(eu.doubles.points.map(obj2point))},naf:eu.naf&&{wnd:eu.naf.wnd,points:[es].concat(eu.naf.points.map(obj2point))}},es},Point.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)+">"},Point.prototype.isInfinity=function(){return this.inf},Point.prototype.add=function(ei){if(this.inf)return ei;if(ei.inf)return this;if(this.eq(ei))return this.dbl();if(this.neg().eq(ei)||0===this.x.cmp(ei.x))return this.curve.point(null,null);var eo=this.y.redSub(ei.y);0!==eo.cmpn(0)&&(eo=eo.redMul(this.x.redSub(ei.x).redInvm()));var ea=eo.redSqr().redISub(this.x).redISub(ei.x),es=eo.redMul(this.x.redSub(ea)).redISub(this.y);return this.curve.point(ea,es)},Point.prototype.dbl=function(){if(this.inf)return this;var ei=this.y.redAdd(this.y);if(0===ei.cmpn(0))return this.curve.point(null,null);var eo=this.curve.a,ea=this.x.redSqr(),es=ei.redInvm(),eu=ea.redAdd(ea).redIAdd(ea).redIAdd(eo).redMul(es),ec=eu.redSqr().redISub(this.x.redAdd(this.x)),ed=eu.redMul(this.x.redSub(ec)).redISub(this.y);return this.curve.point(ec,ed)},Point.prototype.getX=function(){return this.x.fromRed()},Point.prototype.getY=function(){return this.y.fromRed()},Point.prototype.mul=function(ei){return(ei=new eu(ei,16),this.isInfinity())?this:this._hasDoubles(ei)?this.curve._fixedNafMul(this,ei):this.curve.endo?this.curve._endoWnafMulAdd([this],[ei]):this.curve._wnafMul(this,ei)},Point.prototype.mulAdd=function(ei,eo,ea){var es=[this,eo],eu=[ei,ea];return this.curve.endo?this.curve._endoWnafMulAdd(es,eu):this.curve._wnafMulAdd(1,es,eu,2)},Point.prototype.jmulAdd=function(ei,eo,ea){var es=[this,eo],eu=[ei,ea];return this.curve.endo?this.curve._endoWnafMulAdd(es,eu,!0):this.curve._wnafMulAdd(1,es,eu,2,!0)},Point.prototype.eq=function(ei){return this===ei||this.inf===ei.inf&&(this.inf||0===this.x.cmp(ei.x)&&0===this.y.cmp(ei.y))},Point.prototype.neg=function(ei){if(this.inf)return this;var eo=this.curve.point(this.x,this.y.redNeg());if(ei&&this.precomputed){var ea=this.precomputed,negate=function(ei){return ei.neg()};eo.precomputed={naf:ea.naf&&{wnd:ea.naf.wnd,points:ea.naf.points.map(negate)},doubles:ea.doubles&&{step:ea.doubles.step,points:ea.doubles.points.map(negate)}}}return eo},Point.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},ec(JPoint,ed.BasePoint),ShortCurve.prototype.jpoint=function(ei,eo,ea){return new JPoint(this,ei,eo,ea)},JPoint.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var ei=this.z.redInvm(),eo=ei.redSqr(),ea=this.x.redMul(eo),es=this.y.redMul(eo).redMul(ei);return this.curve.point(ea,es)},JPoint.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},JPoint.prototype.add=function(ei){if(this.isInfinity())return ei;if(ei.isInfinity())return this;var eo=ei.z.redSqr(),ea=this.z.redSqr(),es=this.x.redMul(eo),eu=ei.x.redMul(ea),ec=this.y.redMul(eo.redMul(ei.z)),ed=ei.y.redMul(ea.redMul(this.z)),ef=es.redSub(eu),eh=ec.redSub(ed);if(0===ef.cmpn(0))return 0!==eh.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var ep=ef.redSqr(),em=ep.redMul(ef),eg=es.redMul(ep),eb=eh.redSqr().redIAdd(em).redISub(eg).redISub(eg),ey=eh.redMul(eg.redISub(eb)).redISub(ec.redMul(em)),ew=this.z.redMul(ei.z).redMul(ef);return this.curve.jpoint(eb,ey,ew)},JPoint.prototype.mixedAdd=function(ei){if(this.isInfinity())return ei.toJ();if(ei.isInfinity())return this;var eo=this.z.redSqr(),ea=this.x,es=ei.x.redMul(eo),eu=this.y,ec=ei.y.redMul(eo).redMul(this.z),ed=ea.redSub(es),ef=eu.redSub(ec);if(0===ed.cmpn(0))return 0!==ef.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var eh=ed.redSqr(),ep=eh.redMul(ed),em=ea.redMul(eh),eg=ef.redSqr().redIAdd(ep).redISub(em).redISub(em),eb=ef.redMul(em.redISub(eg)).redISub(eu.redMul(ep)),ey=this.z.redMul(ed);return this.curve.jpoint(eg,eb,ey)},JPoint.prototype.dblp=function(ei){if(0===ei||this.isInfinity())return this;if(!ei)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var eo=this,ea=0;ea<ei;ea++)eo=eo.dbl();return eo}for(var es=this.curve.a,eu=this.curve.tinv,ec=this.x,ed=this.y,ef=this.z,eh=ef.redSqr().redSqr(),ep=ed.redAdd(ed),ea=0;ea<ei;ea++){var em=ec.redSqr(),eg=ep.redSqr(),eb=eg.redSqr(),ey=em.redAdd(em).redIAdd(em).redIAdd(es.redMul(eh)),ew=ec.redMul(eg),ex=ey.redSqr().redISub(ew.redAdd(ew)),eP=ew.redISub(ex),eS=ey.redMul(eP);eS=eS.redIAdd(eS).redISub(eb);var eE=ep.redMul(ef);ea+1<ei&&(eh=eh.redMul(eb)),ec=ex,ef=eE,ep=eS}return this.curve.jpoint(ec,ep.redMul(eu),ef)},JPoint.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},JPoint.prototype._zeroDbl=function(){if(this.zOne){var ei,eo,ea,es=this.x.redSqr(),eu=this.y.redSqr(),ec=eu.redSqr(),ed=this.x.redAdd(eu).redSqr().redISub(es).redISub(ec);ed=ed.redIAdd(ed);var ef=es.redAdd(es).redIAdd(es),eh=ef.redSqr().redISub(ed).redISub(ed),ep=ec.redIAdd(ec);ep=(ep=ep.redIAdd(ep)).redIAdd(ep),ei=eh,eo=ef.redMul(ed.redISub(eh)).redISub(ep),ea=this.y.redAdd(this.y)}else{var em=this.x.redSqr(),eg=this.y.redSqr(),eb=eg.redSqr(),ey=this.x.redAdd(eg).redSqr().redISub(em).redISub(eb);ey=ey.redIAdd(ey);var ew=em.redAdd(em).redIAdd(em),ex=ew.redSqr(),eP=eb.redIAdd(eb);eP=(eP=eP.redIAdd(eP)).redIAdd(eP),ei=ex.redISub(ey).redISub(ey),eo=ew.redMul(ey.redISub(ei)).redISub(eP),ea=(ea=this.y.redMul(this.z)).redIAdd(ea)}return this.curve.jpoint(ei,eo,ea)},JPoint.prototype._threeDbl=function(){if(this.zOne){var ei,eo,ea,es=this.x.redSqr(),eu=this.y.redSqr(),ec=eu.redSqr(),ed=this.x.redAdd(eu).redSqr().redISub(es).redISub(ec);ed=ed.redIAdd(ed);var ef=es.redAdd(es).redIAdd(es).redIAdd(this.curve.a),eh=ef.redSqr().redISub(ed).redISub(ed);ei=eh;var ep=ec.redIAdd(ec);ep=(ep=ep.redIAdd(ep)).redIAdd(ep),eo=ef.redMul(ed.redISub(eh)).redISub(ep),ea=this.y.redAdd(this.y)}else{var em=this.z.redSqr(),eg=this.y.redSqr(),eb=this.x.redMul(eg),ey=this.x.redSub(em).redMul(this.x.redAdd(em));ey=ey.redAdd(ey).redIAdd(ey);var ew=eb.redIAdd(eb),ex=(ew=ew.redIAdd(ew)).redAdd(ew);ei=ey.redSqr().redISub(ex),ea=this.y.redAdd(this.z).redSqr().redISub(eg).redISub(em);var eP=eg.redSqr();eP=(eP=(eP=eP.redIAdd(eP)).redIAdd(eP)).redIAdd(eP),eo=ey.redMul(ew.redISub(ei)).redISub(eP)}return this.curve.jpoint(ei,eo,ea)},JPoint.prototype._dbl=function(){var ei=this.curve.a,eo=this.x,ea=this.y,es=this.z,eu=es.redSqr().redSqr(),ec=eo.redSqr(),ed=ea.redSqr(),ef=ec.redAdd(ec).redIAdd(ec).redIAdd(ei.redMul(eu)),eh=eo.redAdd(eo),ep=(eh=eh.redIAdd(eh)).redMul(ed),em=ef.redSqr().redISub(ep.redAdd(ep)),eg=ep.redISub(em),eb=ed.redSqr();eb=(eb=(eb=eb.redIAdd(eb)).redIAdd(eb)).redIAdd(eb);var ey=ef.redMul(eg).redISub(eb),ew=ea.redAdd(ea).redMul(es);return this.curve.jpoint(em,ey,ew)},JPoint.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var ei=this.x.redSqr(),eo=this.y.redSqr(),ea=this.z.redSqr(),es=eo.redSqr(),eu=ei.redAdd(ei).redIAdd(ei),ec=eu.redSqr(),ed=this.x.redAdd(eo).redSqr().redISub(ei).redISub(es),ef=(ed=(ed=(ed=ed.redIAdd(ed)).redAdd(ed).redIAdd(ed)).redISub(ec)).redSqr(),eh=es.redIAdd(es);eh=(eh=(eh=eh.redIAdd(eh)).redIAdd(eh)).redIAdd(eh);var ep=eu.redIAdd(ed).redSqr().redISub(ec).redISub(ef).redISub(eh),em=eo.redMul(ep);em=(em=em.redIAdd(em)).redIAdd(em);var eg=this.x.redMul(ef).redISub(em);eg=(eg=eg.redIAdd(eg)).redIAdd(eg);var eb=this.y.redMul(ep.redMul(eh.redISub(ep)).redISub(ed.redMul(ef)));eb=(eb=(eb=eb.redIAdd(eb)).redIAdd(eb)).redIAdd(eb);var ey=this.z.redAdd(ed).redSqr().redISub(ea).redISub(ef);return this.curve.jpoint(eg,eb,ey)},JPoint.prototype.mul=function(ei,eo){return ei=new eu(ei,eo),this.curve._wnafMul(this,ei)},JPoint.prototype.eq=function(ei){if("affine"===ei.type)return this.eq(ei.toJ());if(this===ei)return!0;var eo=this.z.redSqr(),ea=ei.z.redSqr();if(0!==this.x.redMul(ea).redISub(ei.x.redMul(eo)).cmpn(0))return!1;var es=eo.redMul(this.z),eu=ea.redMul(ei.z);return 0===this.y.redMul(eu).redISub(ei.y.redMul(es)).cmpn(0)},JPoint.prototype.eqXToP=function(ei){var eo=this.z.redSqr(),ea=ei.toRed(this.curve.red).redMul(eo);if(0===this.x.cmp(ea))return!0;for(var es=ei.clone(),eu=this.curve.redN.redMul(eo);;){if(es.iadd(this.curve.n),es.cmp(this.curve.p)>=0)return!1;if(ea.redIAdd(eu),0===this.x.cmp(ea))return!0}},JPoint.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)+">"},JPoint.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},6226:function(ei,eo,ea){"use strict";var es,eu=eo,ec=ea(7028),ed=ea(9359),ef=ea(4401).assert;function PresetCurve(ei){"short"===ei.type?this.curve=new ed.short(ei):"edwards"===ei.type?this.curve=new ed.edwards(ei):this.curve=new ed.mont(ei),this.g=this.curve.g,this.n=this.curve.n,this.hash=ei.hash,ef(this.g.validate(),"Invalid curve"),ef(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function defineCurve(ei,eo){Object.defineProperty(eu,ei,{configurable:!0,enumerable:!0,get:function(){var ea=new PresetCurve(eo);return Object.defineProperty(eu,ei,{configurable:!0,enumerable:!0,value:ea}),ea}})}eu.PresetCurve=PresetCurve,defineCurve("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:ec.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),defineCurve("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:ec.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),defineCurve("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:ec.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),defineCurve("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:ec.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"]}),defineCurve("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:ec.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"]}),defineCurve("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:ec.sha256,gRed:!1,g:["9"]}),defineCurve("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:ec.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{es=ea(9702)}catch(ei){es=void 0}defineCurve("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:ec.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",es]})},4088:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(4910),ec=ea(4401),ed=ea(6226),ef=ea(3500),eh=ec.assert,ep=ea(4724),em=ea(7526);function EC(ei){if(!(this instanceof EC))return new EC(ei);"string"==typeof ei&&(eh(ed.hasOwnProperty(ei),"Unknown curve "+ei),ei=ed[ei]),ei instanceof ed.PresetCurve&&(ei={curve:ei}),this.curve=ei.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=ei.curve.g,this.g.precompute(ei.curve.n.bitLength()+1),this.hash=ei.hash||ei.curve.hash}ei.exports=EC,EC.prototype.keyPair=function(ei){return new ep(this,ei)},EC.prototype.keyFromPrivate=function(ei,eo){return ep.fromPrivate(this,ei,eo)},EC.prototype.keyFromPublic=function(ei,eo){return ep.fromPublic(this,ei,eo)},EC.prototype.genKeyPair=function(ei){ei||(ei={});for(var eo=new eu({hash:this.hash,pers:ei.pers,persEnc:ei.persEnc||"utf8",entropy:ei.entropy||ef(this.hash.hmacStrength),entropyEnc:ei.entropy&&ei.entropyEnc||"utf8",nonce:this.n.toArray()}),ea=this.n.byteLength(),ec=this.n.sub(new es(2));;){var ed=new es(eo.generate(ea));if(!(ed.cmp(ec)>0))return ed.iaddn(1),this.keyFromPrivate(ed)}},EC.prototype._truncateToN=function(ei,eo){var ea=8*ei.byteLength()-this.n.bitLength();return(ea>0&&(ei=ei.ushrn(ea)),!eo&&ei.cmp(this.n)>=0)?ei.sub(this.n):ei},EC.prototype.sign=function(ei,eo,ea,ec){"object"==typeof ea&&(ec=ea,ea=null),ec||(ec={}),eo=this.keyFromPrivate(eo,ea),ei=this._truncateToN(new es(ei,16));for(var ed=this.n.byteLength(),ef=eo.getPrivate().toArray("be",ed),eh=ei.toArray("be",ed),ep=new eu({hash:this.hash,entropy:ef,nonce:eh,pers:ec.pers,persEnc:ec.persEnc||"utf8"}),eg=this.n.sub(new es(1)),eb=0;;eb++){var ey=ec.k?ec.k(eb):new es(ep.generate(this.n.byteLength()));if(!(0>=(ey=this._truncateToN(ey,!0)).cmpn(1)||ey.cmp(eg)>=0)){var ew=this.g.mul(ey);if(!ew.isInfinity()){var ex=ew.getX(),eP=ex.umod(this.n);if(0!==eP.cmpn(0)){var eS=ey.invm(this.n).mul(eP.mul(eo.getPrivate()).iadd(ei));if(0!==(eS=eS.umod(this.n)).cmpn(0)){var eE=(ew.getY().isOdd()?1:0)|(0!==ex.cmp(eP)?2:0);return ec.canonical&&eS.cmp(this.nh)>0&&(eS=this.n.sub(eS),eE^=1),new em({r:eP,s:eS,recoveryParam:eE})}}}}}},EC.prototype.verify=function(ei,eo,ea,eu){ei=this._truncateToN(new es(ei,16)),ea=this.keyFromPublic(ea,eu);var ec=(eo=new em(eo,"hex")).r,ed=eo.s;if(0>ec.cmpn(1)||ec.cmp(this.n)>=0||0>ed.cmpn(1)||ed.cmp(this.n)>=0)return!1;var ef=ed.invm(this.n),eh=ef.mul(ei).umod(this.n),ep=ef.mul(ec).umod(this.n);if(!this.curve._maxwellTrick){var eg=this.g.mulAdd(eh,ea.getPublic(),ep);return!eg.isInfinity()&&0===eg.getX().umod(this.n).cmp(ec)}var eg=this.g.jmulAdd(eh,ea.getPublic(),ep);return!eg.isInfinity()&&eg.eqXToP(ec)},EC.prototype.recoverPubKey=function(ei,eo,ea,eu){eh((3&ea)===ea,"The recovery param is more than two bits"),eo=new em(eo,eu);var ec=this.n,ed=new es(ei),ef=eo.r,ep=eo.s,eg=1&ea,eb=ea>>1;if(ef.cmp(this.curve.p.umod(this.curve.n))>=0&&eb)throw Error("Unable to find sencond key candinate");ef=eb?this.curve.pointFromX(ef.add(this.curve.n),eg):this.curve.pointFromX(ef,eg);var ey=eo.r.invm(ec),ew=ec.sub(ed).mul(ey).umod(ec),ex=ep.mul(ey).umod(ec);return this.g.mulAdd(ew,ef,ex)},EC.prototype.getKeyRecoveryParam=function(ei,eo,ea,es){if(null!==(eo=new em(eo,es)).recoveryParam)return eo.recoveryParam;for(var eu,ec=0;ec<4;ec++){try{eu=this.recoverPubKey(ei,eo,ec)}catch(ei){continue}if(eu.eq(ea))return ec}throw Error("Unable to find valid recovery factor")}},4724:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(4401).assert;function KeyPair(ei,eo){this.ec=ei,this.priv=null,this.pub=null,eo.priv&&this._importPrivate(eo.priv,eo.privEnc),eo.pub&&this._importPublic(eo.pub,eo.pubEnc)}ei.exports=KeyPair,KeyPair.fromPublic=function(ei,eo,ea){return eo instanceof KeyPair?eo:new KeyPair(ei,{pub:eo,pubEnc:ea})},KeyPair.fromPrivate=function(ei,eo,ea){return eo instanceof KeyPair?eo:new KeyPair(ei,{priv:eo,privEnc:ea})},KeyPair.prototype.validate=function(){var ei=this.getPublic();return ei.isInfinity()?{result:!1,reason:"Invalid public key"}:ei.validate()?ei.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"}},KeyPair.prototype.getPublic=function(ei,eo){return("string"==typeof ei&&(eo=ei,ei=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),eo)?this.pub.encode(eo,ei):this.pub},KeyPair.prototype.getPrivate=function(ei){return"hex"===ei?this.priv.toString(16,2):this.priv},KeyPair.prototype._importPrivate=function(ei,eo){this.priv=new es(ei,eo||16),this.priv=this.priv.umod(this.ec.curve.n)},KeyPair.prototype._importPublic=function(ei,eo){if(ei.x||ei.y){"mont"===this.ec.curve.type?eu(ei.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&eu(ei.x&&ei.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(ei.x,ei.y);return}this.pub=this.ec.curve.decodePoint(ei,eo)},KeyPair.prototype.derive=function(ei){return ei.mul(this.priv).getX()},KeyPair.prototype.sign=function(ei,eo,ea){return this.ec.sign(ei,this,eo,ea)},KeyPair.prototype.verify=function(ei,eo){return this.ec.verify(ei,eo,this)},KeyPair.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7526:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(4401),ec=eu.assert;function Signature(ei,eo){if(ei instanceof Signature)return ei;this._importDER(ei,eo)||(ec(ei.r&&ei.s,"Signature without r or s"),this.r=new es(ei.r,16),this.s=new es(ei.s,16),void 0===ei.recoveryParam?this.recoveryParam=null:this.recoveryParam=ei.recoveryParam)}function Position(){this.place=0}function getLength(ei,eo){var ea=ei[eo.place++];if(!(128&ea))return ea;var es=15&ea;if(0===es||es>4)return!1;for(var eu=0,ec=0,ed=eo.place;ec<es;ec++,ed++)eu<<=8,eu|=ei[ed],eu>>>=0;return!(eu<=127)&&(eo.place=ed,eu)}function rmPadding(ei){for(var eo=0,ea=ei.length-1;!ei[eo]&&!(128&ei[eo+1])&&eo<ea;)eo++;return 0===eo?ei:ei.slice(eo)}function constructLength(ei,eo){if(eo<128){ei.push(eo);return}var ea=1+(Math.log(eo)/Math.LN2>>>3);for(ei.push(128|ea);--ea;)ei.push(eo>>>(ea<<3)&255);ei.push(eo)}ei.exports=Signature,Signature.prototype._importDER=function(ei,eo){ei=eu.toArray(ei,eo);var ea=new Position;if(48!==ei[ea.place++])return!1;var ec=getLength(ei,ea);if(!1===ec||ec+ea.place!==ei.length||2!==ei[ea.place++])return!1;var ed=getLength(ei,ea);if(!1===ed)return!1;var ef=ei.slice(ea.place,ed+ea.place);if(ea.place+=ed,2!==ei[ea.place++])return!1;var eh=getLength(ei,ea);if(!1===eh||ei.length!==eh+ea.place)return!1;var ep=ei.slice(ea.place,eh+ea.place);if(0===ef[0]){if(!(128&ef[1]))return!1;ef=ef.slice(1)}if(0===ep[0]){if(!(128&ep[1]))return!1;ep=ep.slice(1)}return this.r=new es(ef),this.s=new es(ep),this.recoveryParam=null,!0},Signature.prototype.toDER=function(ei){var eo=this.r.toArray(),ea=this.s.toArray();for(128&eo[0]&&(eo=[0].concat(eo)),128&ea[0]&&(ea=[0].concat(ea)),eo=rmPadding(eo),ea=rmPadding(ea);!ea[0]&&!(128&ea[1]);)ea=ea.slice(1);var es=[2];constructLength(es,eo.length),(es=es.concat(eo)).push(2),constructLength(es,ea.length);var ec=es.concat(ea),ed=[48];return constructLength(ed,ec.length),ed=ed.concat(ec),eu.encode(ed,ei)}},8511:function(ei,eo,ea){"use strict";var es=ea(7028),eu=ea(6226),ec=ea(4401),ed=ec.assert,ef=ec.parseBytes,eh=ea(9917),ep=ea(9314);function EDDSA(ei){if(ed("ed25519"===ei,"only tested with ed25519 so far"),!(this instanceof EDDSA))return new EDDSA(ei);var ei=eu[ei].curve;this.curve=ei,this.g=ei.g,this.g.precompute(ei.n.bitLength()+1),this.pointClass=ei.point().constructor,this.encodingLength=Math.ceil(ei.n.bitLength()/8),this.hash=es.sha512}ei.exports=EDDSA,EDDSA.prototype.sign=function(ei,eo){ei=ef(ei);var ea=this.keyFromSecret(eo),es=this.hashInt(ea.messagePrefix(),ei),eu=this.g.mul(es),ec=this.encodePoint(eu),ed=this.hashInt(ec,ea.pubBytes(),ei).mul(ea.priv()),eh=es.add(ed).umod(this.curve.n);return this.makeSignature({R:eu,S:eh,Rencoded:ec})},EDDSA.prototype.verify=function(ei,eo,ea){ei=ef(ei),eo=this.makeSignature(eo);var es=this.keyFromPublic(ea),eu=this.hashInt(eo.Rencoded(),es.pubBytes(),ei),ec=this.g.mul(eo.S());return eo.R().add(es.pub().mul(eu)).eq(ec)},EDDSA.prototype.hashInt=function(){for(var ei=this.hash(),eo=0;eo<arguments.length;eo++)ei.update(arguments[eo]);return ec.intFromLE(ei.digest()).umod(this.curve.n)},EDDSA.prototype.keyFromPublic=function(ei){return eh.fromPublic(this,ei)},EDDSA.prototype.keyFromSecret=function(ei){return eh.fromSecret(this,ei)},EDDSA.prototype.makeSignature=function(ei){return ei instanceof ep?ei:new ep(this,ei)},EDDSA.prototype.encodePoint=function(ei){var eo=ei.getY().toArray("le",this.encodingLength);return eo[this.encodingLength-1]|=ei.getX().isOdd()?128:0,eo},EDDSA.prototype.decodePoint=function(ei){var eo=(ei=ec.parseBytes(ei)).length-1,ea=ei.slice(0,eo).concat(-129&ei[eo]),es=(128&ei[eo])!=0,eu=ec.intFromLE(ea);return this.curve.pointFromY(eu,es)},EDDSA.prototype.encodeInt=function(ei){return ei.toArray("le",this.encodingLength)},EDDSA.prototype.decodeInt=function(ei){return ec.intFromLE(ei)},EDDSA.prototype.isPoint=function(ei){return ei instanceof this.pointClass}},9917:function(ei,eo,ea){"use strict";var es=ea(4401),eu=es.assert,ec=es.parseBytes,ed=es.cachedProperty;function KeyPair(ei,eo){this.eddsa=ei,this._secret=ec(eo.secret),ei.isPoint(eo.pub)?this._pub=eo.pub:this._pubBytes=ec(eo.pub)}KeyPair.fromPublic=function(ei,eo){return eo instanceof KeyPair?eo:new KeyPair(ei,{pub:eo})},KeyPair.fromSecret=function(ei,eo){return eo instanceof KeyPair?eo:new KeyPair(ei,{secret:eo})},KeyPair.prototype.secret=function(){return this._secret},ed(KeyPair,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),ed(KeyPair,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),ed(KeyPair,"privBytes",function(){var ei=this.eddsa,eo=this.hash(),ea=ei.encodingLength-1,es=eo.slice(0,ei.encodingLength);return es[0]&=248,es[ea]&=127,es[ea]|=64,es}),ed(KeyPair,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),ed(KeyPair,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),ed(KeyPair,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),KeyPair.prototype.sign=function(ei){return eu(this._secret,"KeyPair can only verify"),this.eddsa.sign(ei,this)},KeyPair.prototype.verify=function(ei,eo){return this.eddsa.verify(ei,eo,this)},KeyPair.prototype.getSecret=function(ei){return eu(this._secret,"KeyPair is public only"),es.encode(this.secret(),ei)},KeyPair.prototype.getPublic=function(ei){return es.encode(this.pubBytes(),ei)},ei.exports=KeyPair},9314:function(ei,eo,ea){"use strict";var es=ea(711),eu=ea(4401),ec=eu.assert,ed=eu.cachedProperty,ef=eu.parseBytes;function Signature(ei,eo){this.eddsa=ei,"object"!=typeof eo&&(eo=ef(eo)),Array.isArray(eo)&&(eo={R:eo.slice(0,ei.encodingLength),S:eo.slice(ei.encodingLength)}),ec(eo.R&&eo.S,"Signature without R or S"),ei.isPoint(eo.R)&&(this._R=eo.R),eo.S instanceof es&&(this._S=eo.S),this._Rencoded=Array.isArray(eo.R)?eo.R:eo.Rencoded,this._Sencoded=Array.isArray(eo.S)?eo.S:eo.Sencoded}ed(Signature,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),ed(Signature,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),ed(Signature,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),ed(Signature,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),Signature.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},Signature.prototype.toHex=function(){return eu.encode(this.toBytes(),"hex").toUpperCase()},ei.exports=Signature},9702:function(ei){ei.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(ei,eo,ea){"use strict";var es=eo,eu=ea(711),ec=ea(3523),ed=ea(6545);function getNAF(ei,eo,ea){var es=Array(Math.max(ei.bitLength(),ea)+1);es.fill(0);for(var eu=1<<eo+1,ec=ei.clone(),ed=0;ed<es.length;ed++){var ef,eh=ec.andln(eu-1);ec.isOdd()?(ef=eh>(eu>>1)-1?(eu>>1)-eh:eh,ec.isubn(ef)):ef=0,es[ed]=ef,ec.iushrn(1)}return es}function getJSF(ei,eo){var ea=[[],[]];ei=ei.clone(),eo=eo.clone();for(var es=0,eu=0;ei.cmpn(-es)>0||eo.cmpn(-eu)>0;){var ec,ed,ef=ei.andln(3)+es&3,eh=eo.andln(3)+eu&3;if(3===ef&&(ef=-1),3===eh&&(eh=-1),(1&ef)==0)ec=0;else{var ep=ei.andln(7)+es&7;ec=(3===ep||5===ep)&&2===eh?-ef:ef}if(ea[0].push(ec),(1&eh)==0)ed=0;else{var ep=eo.andln(7)+eu&7;ed=(3===ep||5===ep)&&2===ef?-eh:eh}ea[1].push(ed),2*es===ec+1&&(es=1-es),2*eu===ed+1&&(eu=1-eu),ei.iushrn(1),eo.iushrn(1)}return ea}function cachedProperty(ei,eo,ea){var es="_"+eo;ei.prototype[eo]=function(){return void 0!==this[es]?this[es]:this[es]=ea.call(this)}}function parseBytes(ei){return"string"==typeof ei?es.toArray(ei,"hex"):ei}function intFromLE(ei){return new eu(ei,"hex","le")}es.assert=ec,es.toArray=ed.toArray,es.zero2=ed.zero2,es.toHex=ed.toHex,es.encode=ed.encode,es.getNAF=getNAF,es.getJSF=getJSF,es.cachedProperty=cachedProperty,es.parseBytes=parseBytes,es.intFromLE=intFromLE},8368:function(ei,eo,ea){var es=ea(6911).Buffer,eu=ea(3533);function EVP_BytesToKey(ei,eo,ea,ec){if(es.isBuffer(ei)||(ei=es.from(ei,"binary")),eo&&(es.isBuffer(eo)||(eo=es.from(eo,"binary")),8!==eo.length))throw RangeError("salt should be Buffer with 8 byte length");for(var ed=ea/8,ef=es.alloc(ed),eh=es.alloc(ec||0),ep=es.alloc(0);ed>0||ec>0;){var em=new eu;em.update(ep),em.update(ei),eo&&em.update(eo),ep=em.digest();var eg=0;if(ed>0){var eb=ef.length-ed;eg=Math.min(ed,ep.length),ep.copy(ef,eb,0,eg),ed-=eg}if(eg<ep.length&&ec>0){var ey=eh.length-ec,ew=Math.min(ec,ep.length-eg);ep.copy(eh,ey,eg,eg+ew),ec-=ew}}return ep.fill(0),{key:ef,iv:eh}}ei.exports=EVP_BytesToKey},9029:function(ei,eo,ea){"use strict";var es=ea(6911).Buffer,eu=ea(3726).Transform;function throwIfNotStringOrBuffer(ei,eo){if(!es.isBuffer(ei)&&"string"!=typeof ei)throw TypeError(eo+" must be a string or a buffer")}function HashBase(ei){eu.call(this),this._block=es.allocUnsafe(ei),this._blockSize=ei,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}ea(3782)(HashBase,eu),HashBase.prototype._transform=function(ei,eo,ea){var es=null;try{this.update(ei,eo)}catch(ei){es=ei}ea(es)},HashBase.prototype._flush=function(ei){var eo=null;try{this.push(this.digest())}catch(ei){eo=ei}ei(eo)},HashBase.prototype.update=function(ei,eo){if(throwIfNotStringOrBuffer(ei,"Data"),this._finalized)throw Error("Digest already called");es.isBuffer(ei)||(ei=es.from(ei,eo));for(var ea=this._block,eu=0;this._blockOffset+ei.length-eu>=this._blockSize;){for(var ec=this._blockOffset;ec<this._blockSize;)ea[ec++]=ei[eu++];this._update(),this._blockOffset=0}for(;eu<ei.length;)ea[this._blockOffset++]=ei[eu++];for(var ed=0,ef=8*ei.length;ef>0;++ed)this._length[ed]+=ef,(ef=this._length[ed]/4294967296|0)>0&&(this._length[ed]-=4294967296*ef);return this},HashBase.prototype._update=function(){throw Error("_update is not implemented")},HashBase.prototype.digest=function(ei){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var eo=this._digest();void 0!==ei&&(eo=eo.toString(ei)),this._block.fill(0),this._blockOffset=0;for(var ea=0;ea<4;++ea)this._length[ea]=0;return eo},HashBase.prototype._digest=function(){throw Error("_digest is not implemented")},ei.exports=HashBase},7028:function(ei,eo,ea){var es=eo;es.utils=ea(263),es.common=ea(1330),es.sha=ea(301),es.ripemd=ea(3079),es.hmac=ea(3092),es.sha1=es.sha.sha1,es.sha256=es.sha.sha256,es.sha224=es.sha.sha224,es.sha384=es.sha.sha384,es.sha512=es.sha.sha512,es.ripemd160=es.ripemd.ripemd160},1330:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(3523);function BlockHash(){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}eo.BlockHash=BlockHash,BlockHash.prototype.update=function(ei,eo){if(ei=es.toArray(ei,eo),this.pending?this.pending=this.pending.concat(ei):this.pending=ei,this.pendingTotal+=ei.length,this.pending.length>=this._delta8){var ea=(ei=this.pending).length%this._delta8;this.pending=ei.slice(ei.length-ea,ei.length),0===this.pending.length&&(this.pending=null),ei=es.join32(ei,0,ei.length-ea,this.endian);for(var eu=0;eu<ei.length;eu+=this._delta32)this._update(ei,eu,eu+this._delta32)}return this},BlockHash.prototype.digest=function(ei){return this.update(this._pad()),eu(null===this.pending),this._digest(ei)},BlockHash.prototype._pad=function(){var ei=this.pendingTotal,eo=this._delta8,ea=eo-(ei+this.padLength)%eo,es=Array(ea+this.padLength);es[0]=128;for(var eu=1;eu<ea;eu++)es[eu]=0;if(ei<<=3,"big"===this.endian){for(var ec=8;ec<this.padLength;ec++)es[eu++]=0;es[eu++]=0,es[eu++]=0,es[eu++]=0,es[eu++]=0,es[eu++]=ei>>>24&255,es[eu++]=ei>>>16&255,es[eu++]=ei>>>8&255,es[eu++]=255&ei}else for(ec=8,es[eu++]=255&ei,es[eu++]=ei>>>8&255,es[eu++]=ei>>>16&255,es[eu++]=ei>>>24&255,es[eu++]=0,es[eu++]=0,es[eu++]=0,es[eu++]=0;ec<this.padLength;ec++)es[eu++]=0;return es}},3092:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(3523);function Hmac(ei,eo,ea){if(!(this instanceof Hmac))return new Hmac(ei,eo,ea);this.Hash=ei,this.blockSize=ei.blockSize/8,this.outSize=ei.outSize/8,this.inner=null,this.outer=null,this._init(es.toArray(eo,ea))}ei.exports=Hmac,Hmac.prototype._init=function(ei){ei.length>this.blockSize&&(ei=(new this.Hash).update(ei).digest()),eu(ei.length<=this.blockSize);for(var eo=ei.length;eo<this.blockSize;eo++)ei.push(0);for(eo=0;eo<ei.length;eo++)ei[eo]^=54;for(eo=0,this.inner=(new this.Hash).update(ei);eo<ei.length;eo++)ei[eo]^=106;this.outer=(new this.Hash).update(ei)},Hmac.prototype.update=function(ei,eo){return this.inner.update(ei,eo),this},Hmac.prototype.digest=function(ei){return this.outer.update(this.inner.digest()),this.outer.digest(ei)}},3079:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1330),ec=es.rotl32,ed=es.sum32,ef=es.sum32_3,eh=es.sum32_4,ep=eu.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;ep.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(ei,eo,ea,es){return ei<=15?eo^ea^es:ei<=31?eo&ea|~eo&es:ei<=47?(eo|~ea)^es:ei<=63?eo&es|ea&~es:eo^(ea|~es)}function K(ei){return ei<=15?0:ei<=31?1518500249:ei<=47?1859775393:ei<=63?2400959708:2840853838}function Kh(ei){return ei<=15?1352829926:ei<=31?1548603684:ei<=47?1836072691:ei<=63?2053994217:0}es.inherits(RIPEMD160,ep),eo.ripemd160=RIPEMD160,RIPEMD160.blockSize=512,RIPEMD160.outSize=160,RIPEMD160.hmacStrength=192,RIPEMD160.padLength=64,RIPEMD160.prototype._update=function(ei,eo){for(var ea=this.h[0],es=this.h[1],eu=this.h[2],ep=this.h[3],ew=this.h[4],ex=ea,eP=es,eS=eu,eE=ep,ek=ew,eT=0;eT<80;eT++){var eC=ed(ec(eh(ea,f(eT,es,eu,ep),ei[em[eT]+eo],K(eT)),eb[eT]),ew);ea=ew,ew=ep,ep=ec(eu,10),eu=es,es=eC,eC=ed(ec(eh(ex,f(79-eT,eP,eS,eE),ei[eg[eT]+eo],Kh(eT)),ey[eT]),ek),ex=ek,ek=eE,eE=ec(eS,10),eS=eP,eP=eC}eC=ef(this.h[1],eu,eE),this.h[1]=ef(this.h[2],ep,ek),this.h[2]=ef(this.h[3],ew,ex),this.h[3]=ef(this.h[4],ea,eP),this.h[4]=ef(this.h[0],es,eS),this.h[0]=eC},RIPEMD160.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h,"little"):es.split32(this.h,"little")};var em=[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],eg=[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],eb=[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],ey=[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(ei,eo,ea){"use strict";eo.sha1=ea(2742),eo.sha224=ea(7105),eo.sha256=ea(1525),eo.sha384=ea(9948),eo.sha512=ea(1319)},2742:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1330),ec=ea(2975),ed=es.rotl32,ef=es.sum32,eh=es.sum32_5,ep=ec.ft_1,em=eu.BlockHash,eg=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;em.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}es.inherits(SHA1,em),ei.exports=SHA1,SHA1.blockSize=512,SHA1.outSize=160,SHA1.hmacStrength=80,SHA1.padLength=64,SHA1.prototype._update=function(ei,eo){for(var ea=this.W,es=0;es<16;es++)ea[es]=ei[eo+es];for(;es<ea.length;es++)ea[es]=ed(ea[es-3]^ea[es-8]^ea[es-14]^ea[es-16],1);var eu=this.h[0],ec=this.h[1],em=this.h[2],eb=this.h[3],ey=this.h[4];for(es=0;es<ea.length;es++){var ew=~~(es/20),ex=eh(ed(eu,5),ep(ew,ec,em,eb),ey,ea[es],eg[ew]);ey=eb,eb=em,em=ed(ec,30),ec=eu,eu=ex}this.h[0]=ef(this.h[0],eu),this.h[1]=ef(this.h[1],ec),this.h[2]=ef(this.h[2],em),this.h[3]=ef(this.h[3],eb),this.h[4]=ef(this.h[4],ey)},SHA1.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h,"big"):es.split32(this.h,"big")}},7105:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1525);function SHA224(){if(!(this instanceof SHA224))return new SHA224;eu.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}es.inherits(SHA224,eu),ei.exports=SHA224,SHA224.blockSize=512,SHA224.outSize=224,SHA224.hmacStrength=192,SHA224.padLength=64,SHA224.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h.slice(0,7),"big"):es.split32(this.h.slice(0,7),"big")}},1525:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1330),ec=ea(2975),ed=ea(3523),ef=es.sum32,eh=es.sum32_4,ep=es.sum32_5,em=ec.ch32,eg=ec.maj32,eb=ec.s0_256,ey=ec.s1_256,ew=ec.g0_256,ex=ec.g1_256,eP=eu.BlockHash,eS=[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 SHA256(){if(!(this instanceof SHA256))return new SHA256;eP.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=eS,this.W=Array(64)}es.inherits(SHA256,eP),ei.exports=SHA256,SHA256.blockSize=512,SHA256.outSize=256,SHA256.hmacStrength=192,SHA256.padLength=64,SHA256.prototype._update=function(ei,eo){for(var ea=this.W,es=0;es<16;es++)ea[es]=ei[eo+es];for(;es<ea.length;es++)ea[es]=eh(ex(ea[es-2]),ea[es-7],ew(ea[es-15]),ea[es-16]);var eu=this.h[0],ec=this.h[1],eP=this.h[2],eS=this.h[3],eE=this.h[4],ek=this.h[5],eT=this.h[6],eC=this.h[7];for(ed(this.k.length===ea.length),es=0;es<ea.length;es++){var e_=ep(eC,ey(eE),em(eE,ek,eT),this.k[es],ea[es]),eA=ef(eb(eu),eg(eu,ec,eP));eC=eT,eT=ek,ek=eE,eE=ef(eS,e_),eS=eP,eP=ec,ec=eu,eu=ef(e_,eA)}this.h[0]=ef(this.h[0],eu),this.h[1]=ef(this.h[1],ec),this.h[2]=ef(this.h[2],eP),this.h[3]=ef(this.h[3],eS),this.h[4]=ef(this.h[4],eE),this.h[5]=ef(this.h[5],ek),this.h[6]=ef(this.h[6],eT),this.h[7]=ef(this.h[7],eC)},SHA256.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h,"big"):es.split32(this.h,"big")}},9948:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1319);function SHA384(){if(!(this instanceof SHA384))return new SHA384;eu.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}es.inherits(SHA384,eu),ei.exports=SHA384,SHA384.blockSize=1024,SHA384.outSize=384,SHA384.hmacStrength=192,SHA384.padLength=128,SHA384.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h.slice(0,12),"big"):es.split32(this.h.slice(0,12),"big")}},1319:function(ei,eo,ea){"use strict";var es=ea(263),eu=ea(1330),ec=ea(3523),ed=es.rotr64_hi,ef=es.rotr64_lo,eh=es.shr64_hi,ep=es.shr64_lo,em=es.sum64,eg=es.sum64_hi,eb=es.sum64_lo,ey=es.sum64_4_hi,ew=es.sum64_4_lo,ex=es.sum64_5_hi,eP=es.sum64_5_lo,eS=eu.BlockHash,eE=[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 SHA512(){if(!(this instanceof SHA512))return new SHA512;eS.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=eE,this.W=Array(160)}function ch64_hi(ei,eo,ea,es,eu){var ec=ei&ea^~ei&eu;return ec<0&&(ec+=4294967296),ec}function ch64_lo(ei,eo,ea,es,eu,ec){var ed=eo&es^~eo&ec;return ed<0&&(ed+=4294967296),ed}function maj64_hi(ei,eo,ea,es,eu){var ec=ei&ea^ei&eu^ea&eu;return ec<0&&(ec+=4294967296),ec}function maj64_lo(ei,eo,ea,es,eu,ec){var ed=eo&es^eo&ec^es&ec;return ed<0&&(ed+=4294967296),ed}function s0_512_hi(ei,eo){var ea=ed(ei,eo,28)^ed(eo,ei,2)^ed(eo,ei,7);return ea<0&&(ea+=4294967296),ea}function s0_512_lo(ei,eo){var ea=ef(ei,eo,28)^ef(eo,ei,2)^ef(eo,ei,7);return ea<0&&(ea+=4294967296),ea}function s1_512_hi(ei,eo){var ea=ed(ei,eo,14)^ed(ei,eo,18)^ed(eo,ei,9);return ea<0&&(ea+=4294967296),ea}function s1_512_lo(ei,eo){var ea=ef(ei,eo,14)^ef(ei,eo,18)^ef(eo,ei,9);return ea<0&&(ea+=4294967296),ea}function g0_512_hi(ei,eo){var ea=ed(ei,eo,1)^ed(ei,eo,8)^eh(ei,eo,7);return ea<0&&(ea+=4294967296),ea}function g0_512_lo(ei,eo){var ea=ef(ei,eo,1)^ef(ei,eo,8)^ep(ei,eo,7);return ea<0&&(ea+=4294967296),ea}function g1_512_hi(ei,eo){var ea=ed(ei,eo,19)^ed(eo,ei,29)^eh(ei,eo,6);return ea<0&&(ea+=4294967296),ea}function g1_512_lo(ei,eo){var ea=ef(ei,eo,19)^ef(eo,ei,29)^ep(ei,eo,6);return ea<0&&(ea+=4294967296),ea}es.inherits(SHA512,eS),ei.exports=SHA512,SHA512.blockSize=1024,SHA512.outSize=512,SHA512.hmacStrength=192,SHA512.padLength=128,SHA512.prototype._prepareBlock=function(ei,eo){for(var ea=this.W,es=0;es<32;es++)ea[es]=ei[eo+es];for(;es<ea.length;es+=2){var eu=g1_512_hi(ea[es-4],ea[es-3]),ec=g1_512_lo(ea[es-4],ea[es-3]),ed=ea[es-14],ef=ea[es-13],eh=g0_512_hi(ea[es-30],ea[es-29]),ep=g0_512_lo(ea[es-30],ea[es-29]),em=ea[es-32],eg=ea[es-31];ea[es]=ey(eu,ec,ed,ef,eh,ep,em,eg),ea[es+1]=ew(eu,ec,ed,ef,eh,ep,em,eg)}},SHA512.prototype._update=function(ei,eo){this._prepareBlock(ei,eo);var ea=this.W,es=this.h[0],eu=this.h[1],ed=this.h[2],ef=this.h[3],eh=this.h[4],ep=this.h[5],ey=this.h[6],ew=this.h[7],eS=this.h[8],eE=this.h[9],ek=this.h[10],eT=this.h[11],eC=this.h[12],e_=this.h[13],eA=this.h[14],eO=this.h[15];ec(this.k.length===ea.length);for(var eM=0;eM<ea.length;eM+=2){var eR=eA,ej=eO,eN=s1_512_hi(eS,eE),eL=s1_512_lo(eS,eE),eD=ch64_hi(eS,eE,ek,eT,eC,e_),eI=ch64_lo(eS,eE,ek,eT,eC,e_),ez=this.k[eM],eB=this.k[eM+1],eF=ea[eM],eH=ea[eM+1],eU=ex(eR,ej,eN,eL,eD,eI,ez,eB,eF,eH),eV=eP(eR,ej,eN,eL,eD,eI,ez,eB,eF,eH);eR=s0_512_hi(es,eu);var eX=eg(eR,ej=s0_512_lo(es,eu),eN=maj64_hi(es,eu,ed,ef,eh,ep),eL=maj64_lo(es,eu,ed,ef,eh,ep)),eq=eb(eR,ej,eN,eL);eA=eC,eO=e_,eC=ek,e_=eT,ek=eS,eT=eE,eS=eg(ey,ew,eU,eV),eE=eb(ew,ew,eU,eV),ey=eh,ew=ep,eh=ed,ep=ef,ed=es,ef=eu,es=eg(eU,eV,eX,eq),eu=eb(eU,eV,eX,eq)}em(this.h,0,es,eu),em(this.h,2,ed,ef),em(this.h,4,eh,ep),em(this.h,6,ey,ew),em(this.h,8,eS,eE),em(this.h,10,ek,eT),em(this.h,12,eC,e_),em(this.h,14,eA,eO)},SHA512.prototype._digest=function(ei){return"hex"===ei?es.toHex32(this.h,"big"):es.split32(this.h,"big")}},2975:function(ei,eo,ea){"use strict";var es=ea(263).rotr32;function ft_1(ei,eo,ea,es){return 0===ei?ch32(eo,ea,es):1===ei||3===ei?p32(eo,ea,es):2===ei?maj32(eo,ea,es):void 0}function ch32(ei,eo,ea){return ei&eo^~ei&ea}function maj32(ei,eo,ea){return ei&eo^ei&ea^eo&ea}function p32(ei,eo,ea){return ei^eo^ea}function s0_256(ei){return es(ei,2)^es(ei,13)^es(ei,22)}function s1_256(ei){return es(ei,6)^es(ei,11)^es(ei,25)}function g0_256(ei){return es(ei,7)^es(ei,18)^ei>>>3}function g1_256(ei){return es(ei,17)^es(ei,19)^ei>>>10}eo.ft_1=ft_1,eo.ch32=ch32,eo.maj32=maj32,eo.p32=p32,eo.s0_256=s0_256,eo.s1_256=s1_256,eo.g0_256=g0_256,eo.g1_256=g1_256},263:function(ei,eo,ea){"use strict";var es=ea(3523),eu=ea(3782);function isSurrogatePair(ei,eo){return(64512&ei.charCodeAt(eo))==55296&&!(eo<0)&&!(eo+1>=ei.length)&&(64512&ei.charCodeAt(eo+1))==56320}function toArray(ei,eo){if(Array.isArray(ei))return ei.slice();if(!ei)return[];var ea=[];if("string"==typeof ei){if(eo){if("hex"===eo)for((ei=ei.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(ei="0"+ei),eu=0;eu<ei.length;eu+=2)ea.push(parseInt(ei[eu]+ei[eu+1],16))}else for(var es=0,eu=0;eu<ei.length;eu++){var ec=ei.charCodeAt(eu);ec<128?ea[es++]=ec:(ec<2048?ea[es++]=ec>>6|192:(isSurrogatePair(ei,eu)?(ec=65536+((1023&ec)<<10)+(1023&ei.charCodeAt(++eu)),ea[es++]=ec>>18|240,ea[es++]=ec>>12&63|128):ea[es++]=ec>>12|224,ea[es++]=ec>>6&63|128),ea[es++]=63&ec|128)}}else for(eu=0;eu<ei.length;eu++)ea[eu]=0|ei[eu];return ea}function toHex(ei){for(var eo="",ea=0;ea<ei.length;ea++)eo+=zero2(ei[ea].toString(16));return eo}function htonl(ei){return(ei>>>24|ei>>>8&65280|ei<<8&16711680|(255&ei)<<24)>>>0}function toHex32(ei,eo){for(var ea="",es=0;es<ei.length;es++){var eu=ei[es];"little"===eo&&(eu=htonl(eu)),ea+=zero8(eu.toString(16))}return ea}function zero2(ei){return 1===ei.length?"0"+ei:ei}function zero8(ei){if(7===ei.length)return"0"+ei;if(6===ei.length)return"00"+ei;if(5===ei.length)return"000"+ei;if(4===ei.length)return"0000"+ei;if(3===ei.length)return"00000"+ei;if(2===ei.length)return"000000"+ei;if(1===ei.length)return"0000000"+ei;else return ei}function join32(ei,eo,ea,eu){var ec,ed=ea-eo;es(ed%4==0);for(var ef=Array(ed/4),eh=0,ep=eo;eh<ef.length;eh++,ep+=4)ec="big"===eu?ei[ep]<<24|ei[ep+1]<<16|ei[ep+2]<<8|ei[ep+3]:ei[ep+3]<<24|ei[ep+2]<<16|ei[ep+1]<<8|ei[ep],ef[eh]=ec>>>0;return ef}function split32(ei,eo){for(var ea=Array(4*ei.length),es=0,eu=0;es<ei.length;es++,eu+=4){var ec=ei[es];"big"===eo?(ea[eu]=ec>>>24,ea[eu+1]=ec>>>16&255,ea[eu+2]=ec>>>8&255,ea[eu+3]=255&ec):(ea[eu+3]=ec>>>24,ea[eu+2]=ec>>>16&255,ea[eu+1]=ec>>>8&255,ea[eu]=255&ec)}return ea}function rotr32(ei,eo){return ei>>>eo|ei<<32-eo}function rotl32(ei,eo){return ei<<eo|ei>>>32-eo}function sum32(ei,eo){return ei+eo>>>0}function sum32_3(ei,eo,ea){return ei+eo+ea>>>0}function sum32_4(ei,eo,ea,es){return ei+eo+ea+es>>>0}function sum32_5(ei,eo,ea,es,eu){return ei+eo+ea+es+eu>>>0}function sum64(ei,eo,ea,es){var eu=ei[eo],ec=es+ei[eo+1]>>>0,ed=(ec<es?1:0)+ea+eu;ei[eo]=ed>>>0,ei[eo+1]=ec}function sum64_hi(ei,eo,ea,es){return(eo+es>>>0<eo?1:0)+ei+ea>>>0}function sum64_lo(ei,eo,ea,es){return eo+es>>>0}function sum64_4_hi(ei,eo,ea,es,eu,ec,ed,ef){var eh,ep=eo;return ei+ea+eu+ed+(eh=0+((ep=ep+es>>>0)<eo?1:0)+((ep=ep+ec>>>0)<ec?1:0)+((ep=ep+ef>>>0)<ef?1:0))>>>0}function sum64_4_lo(ei,eo,ea,es,eu,ec,ed,ef){return eo+es+ec+ef>>>0}function sum64_5_hi(ei,eo,ea,es,eu,ec,ed,ef,eh,ep){var em,eg=eo;return ei+ea+eu+ed+eh+(em=0+((eg=eg+es>>>0)<eo?1:0)+((eg=eg+ec>>>0)<ec?1:0)+((eg=eg+ef>>>0)<ef?1:0)+((eg=eg+ep>>>0)<ep?1:0))>>>0}function sum64_5_lo(ei,eo,ea,es,eu,ec,ed,ef,eh,ep){return eo+es+ec+ef+ep>>>0}function rotr64_hi(ei,eo,ea){return(eo<<32-ea|ei>>>ea)>>>0}function rotr64_lo(ei,eo,ea){return(ei<<32-ea|eo>>>ea)>>>0}function shr64_hi(ei,eo,ea){return ei>>>ea}function shr64_lo(ei,eo,ea){return(ei<<32-ea|eo>>>ea)>>>0}eo.inherits=eu,eo.toArray=toArray,eo.toHex=toHex,eo.htonl=htonl,eo.toHex32=toHex32,eo.zero2=zero2,eo.zero8=zero8,eo.join32=join32,eo.split32=split32,eo.rotr32=rotr32,eo.rotl32=rotl32,eo.sum32=sum32,eo.sum32_3=sum32_3,eo.sum32_4=sum32_4,eo.sum32_5=sum32_5,eo.sum64=sum64,eo.sum64_hi=sum64_hi,eo.sum64_lo=sum64_lo,eo.sum64_4_hi=sum64_4_hi,eo.sum64_4_lo=sum64_4_lo,eo.sum64_5_hi=sum64_5_hi,eo.sum64_5_lo=sum64_5_lo,eo.rotr64_hi=rotr64_hi,eo.rotr64_lo=rotr64_lo,eo.shr64_hi=shr64_hi,eo.shr64_lo=shr64_lo},4910:function(ei,eo,ea){"use strict";var es=ea(7028),eu=ea(6545),ec=ea(3523);function HmacDRBG(ei){if(!(this instanceof HmacDRBG))return new HmacDRBG(ei);this.hash=ei.hash,this.predResist=!!ei.predResist,this.outLen=this.hash.outSize,this.minEntropy=ei.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var eo=eu.toArray(ei.entropy,ei.entropyEnc||"hex"),ea=eu.toArray(ei.nonce,ei.nonceEnc||"hex"),es=eu.toArray(ei.pers,ei.persEnc||"hex");ec(eo.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(eo,ea,es)}ei.exports=HmacDRBG,HmacDRBG.prototype._init=function(ei,eo,ea){var es=ei.concat(eo).concat(ea);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var eu=0;eu<this.V.length;eu++)this.K[eu]=0,this.V[eu]=1;this._update(es),this._reseed=1,this.reseedInterval=281474976710656},HmacDRBG.prototype._hmac=function(){return new es.hmac(this.hash,this.K)},HmacDRBG.prototype._update=function(ei){var eo=this._hmac().update(this.V).update([0]);ei&&(eo=eo.update(ei)),this.K=eo.digest(),this.V=this._hmac().update(this.V).digest(),ei&&(this.K=this._hmac().update(this.V).update([1]).update(ei).digest(),this.V=this._hmac().update(this.V).digest())},HmacDRBG.prototype.reseed=function(ei,eo,ea,es){"string"!=typeof eo&&(es=ea,ea=eo,eo=null),ei=eu.toArray(ei,eo),ea=eu.toArray(ea,es),ec(ei.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(ei.concat(ea||[])),this._reseed=1},HmacDRBG.prototype.generate=function(ei,eo,ea,es){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof eo&&(es=ea,ea=eo,eo=null),ea&&(ea=eu.toArray(ea,es||"hex"),this._update(ea));for(var ec=[];ec.length<ei;)this.V=this._hmac().update(this.V).digest(),ec=ec.concat(this.V);var ed=ec.slice(0,ei);return this._update(ea),this._reseed++,eu.encode(ed,eo)}},3782:function(ei){"function"==typeof Object.create?ei.exports=function(ei,eo){eo&&(ei.super_=eo,ei.prototype=Object.create(eo.prototype,{constructor:{value:ei,enumerable:!1,writable:!0,configurable:!0}}))}:ei.exports=function(ei,eo){if(eo){ei.super_=eo;var TempCtor=function(){};TempCtor.prototype=eo.prototype,ei.prototype=new TempCtor,ei.prototype.constructor=ei}}},3533:function(ei,eo,ea){"use strict";var es=ea(3782),eu=ea(9029),ec=ea(6911).Buffer,ed=Array(16);function MD5(){eu.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function rotl(ei,eo){return ei<<eo|ei>>>32-eo}function fnF(ei,eo,ea,es,eu,ec,ed){return rotl(ei+(eo&ea|~eo&es)+eu+ec|0,ed)+eo|0}function fnG(ei,eo,ea,es,eu,ec,ed){return rotl(ei+(eo&es|ea&~es)+eu+ec|0,ed)+eo|0}function fnH(ei,eo,ea,es,eu,ec,ed){return rotl(ei+(eo^ea^es)+eu+ec|0,ed)+eo|0}function fnI(ei,eo,ea,es,eu,ec,ed){return rotl(ei+(ea^(eo|~es))+eu+ec|0,ed)+eo|0}es(MD5,eu),MD5.prototype._update=function(){for(var ei=ed,eo=0;eo<16;++eo)ei[eo]=this._block.readInt32LE(4*eo);var ea=this._a,es=this._b,eu=this._c,ec=this._d;ea=fnF(ea,es,eu,ec,ei[0],3614090360,7),ec=fnF(ec,ea,es,eu,ei[1],3905402710,12),eu=fnF(eu,ec,ea,es,ei[2],606105819,17),es=fnF(es,eu,ec,ea,ei[3],3250441966,22),ea=fnF(ea,es,eu,ec,ei[4],4118548399,7),ec=fnF(ec,ea,es,eu,ei[5],1200080426,12),eu=fnF(eu,ec,ea,es,ei[6],2821735955,17),es=fnF(es,eu,ec,ea,ei[7],4249261313,22),ea=fnF(ea,es,eu,ec,ei[8],1770035416,7),ec=fnF(ec,ea,es,eu,ei[9],2336552879,12),eu=fnF(eu,ec,ea,es,ei[10],4294925233,17),es=fnF(es,eu,ec,ea,ei[11],2304563134,22),ea=fnF(ea,es,eu,ec,ei[12],1804603682,7),ec=fnF(ec,ea,es,eu,ei[13],4254626195,12),eu=fnF(eu,ec,ea,es,ei[14],2792965006,17),es=fnF(es,eu,ec,ea,ei[15],1236535329,22),ea=fnG(ea,es,eu,ec,ei[1],4129170786,5),ec=fnG(ec,ea,es,eu,ei[6],3225465664,9),eu=fnG(eu,ec,ea,es,ei[11],643717713,14),es=fnG(es,eu,ec,ea,ei[0],3921069994,20),ea=fnG(ea,es,eu,ec,ei[5],3593408605,5),ec=fnG(ec,ea,es,eu,ei[10],38016083,9),eu=fnG(eu,ec,ea,es,ei[15],3634488961,14),es=fnG(es,eu,ec,ea,ei[4],3889429448,20),ea=fnG(ea,es,eu,ec,ei[9],568446438,5),ec=fnG(ec,ea,es,eu,ei[14],3275163606,9),eu=fnG(eu,ec,ea,es,ei[3],4107603335,14),es=fnG(es,eu,ec,ea,ei[8],1163531501,20),ea=fnG(ea,es,eu,ec,ei[13],2850285829,5),ec=fnG(ec,ea,es,eu,ei[2],4243563512,9),eu=fnG(eu,ec,ea,es,ei[7],1735328473,14),es=fnG(es,eu,ec,ea,ei[12],2368359562,20),ea=fnH(ea,es,eu,ec,ei[5],4294588738,4),ec=fnH(ec,ea,es,eu,ei[8],2272392833,11),eu=fnH(eu,ec,ea,es,ei[11],1839030562,16),es=fnH(es,eu,ec,ea,ei[14],4259657740,23),ea=fnH(ea,es,eu,ec,ei[1],2763975236,4),ec=fnH(ec,ea,es,eu,ei[4],1272893353,11),eu=fnH(eu,ec,ea,es,ei[7],4139469664,16),es=fnH(es,eu,ec,ea,ei[10],3200236656,23),ea=fnH(ea,es,eu,ec,ei[13],681279174,4),ec=fnH(ec,ea,es,eu,ei[0],3936430074,11),eu=fnH(eu,ec,ea,es,ei[3],3572445317,16),es=fnH(es,eu,ec,ea,ei[6],76029189,23),ea=fnH(ea,es,eu,ec,ei[9],3654602809,4),ec=fnH(ec,ea,es,eu,ei[12],3873151461,11),eu=fnH(eu,ec,ea,es,ei[15],530742520,16),es=fnH(es,eu,ec,ea,ei[2],3299628645,23),ea=fnI(ea,es,eu,ec,ei[0],4096336452,6),ec=fnI(ec,ea,es,eu,ei[7],1126891415,10),eu=fnI(eu,ec,ea,es,ei[14],2878612391,15),es=fnI(es,eu,ec,ea,ei[5],4237533241,21),ea=fnI(ea,es,eu,ec,ei[12],1700485571,6),ec=fnI(ec,ea,es,eu,ei[3],2399980690,10),eu=fnI(eu,ec,ea,es,ei[10],4293915773,15),es=fnI(es,eu,ec,ea,ei[1],2240044497,21),ea=fnI(ea,es,eu,ec,ei[8],1873313359,6),ec=fnI(ec,ea,es,eu,ei[15],4264355552,10),eu=fnI(eu,ec,ea,es,ei[6],2734768916,15),es=fnI(es,eu,ec,ea,ei[13],1309151649,21),ea=fnI(ea,es,eu,ec,ei[4],4149444226,6),ec=fnI(ec,ea,es,eu,ei[11],3174756917,10),eu=fnI(eu,ec,ea,es,ei[2],718787259,15),es=fnI(es,eu,ec,ea,ei[9],3951481745,21),this._a=this._a+ea|0,this._b=this._b+es|0,this._c=this._c+eu|0,this._d=this._d+ec|0},MD5.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 ei=ec.allocUnsafe(16);return ei.writeInt32LE(this._a,0),ei.writeInt32LE(this._b,4),ei.writeInt32LE(this._c,8),ei.writeInt32LE(this._d,12),ei},ei.exports=MD5},1354:function(ei,eo,ea){var es=ea(711),eu=ea(3500);function MillerRabin(ei){this.rand=ei||new eu.Rand}ei.exports=MillerRabin,MillerRabin.create=function(ei){return new MillerRabin(ei)},MillerRabin.prototype._randbelow=function(ei){var eo=Math.ceil(ei.bitLength()/8);do var ea=new es(this.rand.generate(eo));while(ea.cmp(ei)>=0);return ea},MillerRabin.prototype._randrange=function(ei,eo){var ea=eo.sub(ei);return ei.add(this._randbelow(ea))},MillerRabin.prototype.test=function(ei,eo,ea){var eu=ei.bitLength(),ec=es.mont(ei),ed=new es(1).toRed(ec);eo||(eo=Math.max(1,eu/48|0));for(var ef=ei.subn(1),eh=0;!ef.testn(eh);eh++);for(var ep=ei.shrn(eh),em=ef.toRed(ec),eg=!0;eo>0;eo--){var eb=this._randrange(new es(2),ef);ea&&ea(eb);var ey=eb.toRed(ec).redPow(ep);if(0!==ey.cmp(ed)&&0!==ey.cmp(em)){for(var ew=1;ew<eh;ew++){if(0===(ey=ey.redSqr()).cmp(ed))return!1;if(0===ey.cmp(em))break}if(ew===eh)return!1}}return eg},MillerRabin.prototype.getDivisor=function(ei,eo){var ea=ei.bitLength(),eu=es.mont(ei),ec=new es(1).toRed(eu);eo||(eo=Math.max(1,ea/48|0));for(var ed=ei.subn(1),ef=0;!ed.testn(ef);ef++);for(var eh=ei.shrn(ef),ep=ed.toRed(eu);eo>0;eo--){var em=this._randrange(new es(2),ed),eg=ei.gcd(em);if(0!==eg.cmpn(1))return eg;var eb=em.toRed(eu).redPow(eh);if(0!==eb.cmp(ec)&&0!==eb.cmp(ep)){for(var ey=1;ey<ef;ey++){if(0===(eb=eb.redSqr()).cmp(ec))return eb.fromRed().subn(1).gcd(ei);if(0===eb.cmp(ep))break}if(ey===ef)return(eb=eb.redSqr()).fromRed().subn(1).gcd(ei)}}return!1}},3523:function(ei){function assert(ei,eo){if(!ei)throw Error(eo||"Assertion failed")}ei.exports=assert,assert.equal=function(ei,eo,ea){if(ei!=eo)throw Error(ea||"Assertion failed: "+ei+" != "+eo)}},6545:function(ei,eo){"use strict";var ea=eo;function toArray(ei,eo){if(Array.isArray(ei))return ei.slice();if(!ei)return[];var ea=[];if("string"!=typeof ei){for(var es=0;es<ei.length;es++)ea[es]=0|ei[es];return ea}if("hex"===eo){(ei=ei.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(ei="0"+ei);for(var es=0;es<ei.length;es+=2)ea.push(parseInt(ei[es]+ei[es+1],16))}else for(var es=0;es<ei.length;es++){var eu=ei.charCodeAt(es),ec=eu>>8,ed=255&eu;ec?ea.push(ec,ed):ea.push(ed)}return ea}function zero2(ei){return 1===ei.length?"0"+ei:ei}function toHex(ei){for(var eo="",ea=0;ea<ei.length;ea++)eo+=zero2(ei[ea].toString(16));return eo}ea.toArray=toArray,ea.zero2=zero2,ea.toHex=toHex,ea.encode=function(ei,eo){return"hex"===eo?toHex(ei):ei}},8687:function(ei,eo,ea){"use strict";var es=ea(7160);eo.certificate=ea(8782);var eu=es.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())});eo.RSAPrivateKey=eu;var ec=es.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});eo.RSAPublicKey=ec;var ed=es.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(ef),this.key("subjectPublicKey").bitstr())});eo.PublicKey=ed;var ef=es.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())}),eh=es.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(ef),this.key("subjectPrivateKey").octstr())});eo.PrivateKey=eh;var ep=es.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())});eo.EncryptedPrivateKey=ep;var em=es.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())});eo.DSAPrivateKey=em,eo.DSAparam=es.define("DSAparam",function(){this.int()});var eg=es.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(eb),this.key("publicKey").optional().explicit(1).bitstr())});eo.ECPrivateKey=eg;var eb=es.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});eo.signature=es.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},8782:function(ei,eo,ea){"use strict";var es=ea(7160),eu=es.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),ec=es.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),ed=es.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),ef=es.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(ed),this.key("subjectPublicKey").bitstr())}),eh=es.define("RelativeDistinguishedName",function(){this.setof(ec)}),ep=es.define("RDNSequence",function(){this.seqof(eh)}),em=es.define("Name",function(){this.choice({rdnSequence:this.use(ep)})}),eg=es.define("Validity",function(){this.seq().obj(this.key("notBefore").use(eu),this.key("notAfter").use(eu))}),eb=es.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),ey=es.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(ed),this.key("issuer").use(em),this.key("validity").use(eg),this.key("subject").use(em),this.key("subjectPublicKeyInfo").use(ef),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(eb).optional())}),ew=es.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(ey),this.key("signatureAlgorithm").use(ed),this.key("signatureValue").bitstr())});ei.exports=ew},6501:function(ei,eo,ea){var es=/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,eu=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,ec=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,ed=ea(8368),ef=ea(6594),eh=ea(6911).Buffer;ei.exports=function(ei,eo){var ea,ep=ei.toString(),em=ep.match(es);if(em){var eg="aes"+em[1],eb=eh.from(em[2],"hex"),ey=eh.from(em[3].replace(/[\r\n]/g,""),"base64"),ew=ed(eo,eb.slice(0,8),parseInt(em[1],10)).key,ex=[],eP=ef.createDecipheriv(eg,ew,eb);ex.push(eP.update(ey)),ex.push(eP.final()),ea=eh.concat(ex)}else{var eS=ep.match(ec);ea=new eh(eS[2].replace(/[\r\n]/g,""),"base64")}return{tag:ep.match(eu)[1],data:ea}}},9902:function(ei,eo,ea){var es=ea(8687),eu=ea(2510),ec=ea(6501),ed=ea(6594),ef=ea(4978),eh=ea(6911).Buffer;function parseKeys(ei){"object"!=typeof ei||eh.isBuffer(ei)||(eo=ei.passphrase,ei=ei.key),"string"==typeof ei&&(ei=eh.from(ei));var eo,ea,eu,ed=ec(ei,eo),ef=ed.tag,ep=ed.data;switch(ef){case"CERTIFICATE":eu=es.certificate.decode(ep,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(eu||(eu=es.PublicKey.decode(ep,"der")),ea=eu.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return es.RSAPublicKey.decode(eu.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return eu.subjectPrivateKey=eu.subjectPublicKey,{type:"ec",data:eu};case"1.2.840.10040.4.1":return eu.algorithm.params.pub_key=es.DSAparam.decode(eu.subjectPublicKey.data,"der"),{type:"dsa",data:eu.algorithm.params};default:throw Error("unknown key id "+ea)}throw Error("unknown key type "+ef);case"ENCRYPTED PRIVATE KEY":ep=decrypt(ep=es.EncryptedPrivateKey.decode(ep,"der"),eo);case"PRIVATE KEY":switch(ea=(eu=es.PrivateKey.decode(ep,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return es.RSAPrivateKey.decode(eu.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:eu.algorithm.curve,privateKey:es.ECPrivateKey.decode(eu.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return eu.algorithm.params.priv_key=es.DSAparam.decode(eu.subjectPrivateKey,"der"),{type:"dsa",params:eu.algorithm.params};default:throw Error("unknown key id "+ea)}throw Error("unknown key type "+ef);case"RSA PUBLIC KEY":return es.RSAPublicKey.decode(ep,"der");case"RSA PRIVATE KEY":return es.RSAPrivateKey.decode(ep,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:es.DSAPrivateKey.decode(ep,"der")};case"EC PRIVATE KEY":return{curve:(ep=es.ECPrivateKey.decode(ep,"der")).parameters.value,privateKey:ep.privateKey};default:throw Error("unknown key type "+ef)}}function decrypt(ei,eo){var ea=ei.algorithm.decrypt.kde.kdeparams.salt,es=parseInt(ei.algorithm.decrypt.kde.kdeparams.iters.toString(),10),ec=eu[ei.algorithm.decrypt.cipher.algo.join(".")],ep=ei.algorithm.decrypt.cipher.iv,em=ei.subjectPrivateKey,eg=parseInt(ec.split("-")[1],10)/8,eb=ef.pbkdf2Sync(eo,ea,es,eg,"sha1"),ey=ed.createDecipheriv(ec,eb,ep),ew=[];return ew.push(ey.update(em)),ew.push(ey.final()),eh.concat(ew)}ei.exports=parseKeys,parseKeys.signature=es.signature},4978:function(ei,eo,ea){var es=ea(6113),eu=ea(5349),ec=ea(7007),ed=ea(5407);function nativePBKDF2(ei,eo,ea,ef,eh,ep){if(eu(ea,ef),ei=ed(ei,ec,"Password"),eo=ed(eo,ec,"Salt"),"function"==typeof eh&&(ep=eh,eh="sha1"),"function"!=typeof ep)throw Error("No callback provided to pbkdf2");return es.pbkdf2(ei,eo,ea,ef,eh,ep)}function nativePBKDF2Sync(ei,eo,ea,ef,eh){return eu(ea,ef),ei=ed(ei,ec,"Password"),eo=ed(eo,ec,"Salt"),eh=eh||"sha1",es.pbkdf2Sync(ei,eo,ea,ef,eh)}es.pbkdf2Sync&&-1!==es.pbkdf2Sync.toString().indexOf("keylen, digest")?(eo.pbkdf2Sync=nativePBKDF2Sync,eo.pbkdf2=nativePBKDF2):(eo.pbkdf2Sync=ea(2127),eo.pbkdf2=ea(9601))},9601:function(ei,eo,es){var eu,ed=es(6911).Buffer,ef=es(5349),eh=es(7007),ep=es(2127),em=es(5407),eg=ea.g.crypto&&ea.g.crypto.subtle,eb={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"},ey=[];function checkNative(ei){if(ea.g.process&&!ea.g.process.browser||!eg||!eg.importKey||!eg.deriveBits)return Promise.resolve(!1);if(void 0!==ey[ei])return ey[ei];var eo=browserPbkdf2(eu=eu||ed.alloc(8),eu,10,128,ei).then(function(){return!0}).catch(function(){return!1});return ey[ei]=eo,eo}function browserPbkdf2(ei,eo,ea,es,eu){return eg.importKey("raw",ei,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ei){return eg.deriveBits({name:"PBKDF2",salt:eo,iterations:ea,hash:{name:eu}},ei,es<<3)}).then(function(ei){return ed.from(ei)})}function resolvePromise(ei,eo){ei.then(function(ei){ec.nextTick(function(){eo(null,ei)})},function(ei){ec.nextTick(function(){eo(ei)})})}ei.exports=function(ei,eo,es,eu,ed,eg){"function"==typeof ed&&(eg=ed,ed=void 0);var ey=eb[(ed=ed||"sha1").toLowerCase()];if(!ey||"function"!=typeof ea.g.Promise)return ec.nextTick(function(){var ea;try{ea=ep(ei,eo,es,eu,ed)}catch(ei){return eg(ei)}eg(null,ea)});if(ef(es,eu),ei=em(ei,eh,"Password"),eo=em(eo,eh,"Salt"),"function"!=typeof eg)throw Error("No callback provided to pbkdf2");resolvePromise(checkNative(ey).then(function(ea){return ea?browserPbkdf2(ei,eo,es,eu,ey):ep(ei,eo,es,eu,ed)}),eg)}},7007:function(ei){var eo;eo="utf-8",ei.exports=eo},5349:function(ei){var eo=1073741823;ei.exports=function(ei,ea){if("number"!=typeof ei)throw TypeError("Iterations not a number");if(ei<0)throw TypeError("Bad iterations");if("number"!=typeof ea)throw TypeError("Key length not a number");if(ea<0||ea>eo||ea!=ea)throw TypeError("Bad key length")}},2127:function(ei,eo,ea){var es={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},eu=ea(4873),ec=ea(6911).Buffer,ed=ea(5349),ef=ea(7007),eh=ea(5407);function pbkdf2(ei,eo,ea,ep,em){ed(ea,ep),ei=eh(ei,ef,"Password"),eo=eh(eo,ef,"Salt"),em=em||"sha1";var eg=ec.allocUnsafe(ep),eb=ec.allocUnsafe(eo.length+4);eo.copy(eb,0,0,eo.length);for(var ey=0,ew=es[em],ex=Math.ceil(ep/ew),eP=1;eP<=ex;eP++){eb.writeUInt32BE(eP,eo.length);for(var eS=eu(em,ei).update(eb).digest(),eE=eS,ek=1;ek<ea;ek++){eE=eu(em,ei).update(eE).digest();for(var eT=0;eT<ew;eT++)eS[eT]^=eE[eT]}eS.copy(eg,ey),ey+=ew}return eg}ei.exports=pbkdf2},5407:function(ei,eo,ea){var es=ea(6911).Buffer;ei.exports=function(ei,eo,ea){if(es.isBuffer(ei))return ei;if("string"==typeof ei)return es.from(ei,eo);if(ArrayBuffer.isView(ei))return es.from(ei.buffer);throw TypeError(ea+" must be a string, a Buffer, a typed array or a DataView")}},9783:function(ei,eo,ea){eo.publicEncrypt=ea(3995),eo.privateDecrypt=ea(4366),eo.privateEncrypt=function(ei,ea){return eo.publicEncrypt(ei,ea,!0)},eo.publicDecrypt=function(ei,ea){return eo.privateDecrypt(ei,ea,!0)}},5520:function(ei,eo,ea){var es=ea(9739),eu=ea(6911).Buffer;function i2ops(ei){var eo=eu.allocUnsafe(4);return eo.writeUInt32BE(ei,0),eo}ei.exports=function(ei,eo){for(var ea,ec=eu.alloc(0),ed=0;ec.length<eo;)ea=i2ops(ed++),ec=eu.concat([ec,es("sha1").update(ei).update(ea).digest()]);return ec.slice(0,eo)}},4366:function(ei,eo,ea){var es=ea(9902),eu=ea(5520),ec=ea(6386),ed=ea(711),ef=ea(7166),eh=ea(9739),ep=ea(1607),em=ea(6911).Buffer;function oaep(ei,eo){var ea=ei.modulus.byteLength(),es=eh("sha1").update(em.alloc(0)).digest(),ed=es.length;if(0!==eo[0])throw Error("decryption error");var ef=eo.slice(1,ed+1),ep=eo.slice(ed+1),eg=ec(ef,eu(ep,ed)),eb=ec(ep,eu(eg,ea-ed-1));if(compare(es,eb.slice(0,ed)))throw Error("decryption error");for(var ey=ed;0===eb[ey];)ey++;if(1!==eb[ey++])throw Error("decryption error");return eb.slice(ey)}function pkcs1(ei,eo,ea){for(var es=eo.slice(0,2),eu=2,ec=0;0!==eo[eu++];)if(eu>=eo.length){ec++;break}var ed=eo.slice(2,eu-1);if(("0002"!==es.toString("hex")&&!ea||"0001"!==es.toString("hex")&&ea)&&ec++,ed.length<8&&ec++,ec)throw Error("decryption error");return eo.slice(eu)}function compare(ei,eo){ei=em.from(ei),eo=em.from(eo);var ea=0,es=ei.length;ei.length!==eo.length&&(ea++,es=Math.min(ei.length,eo.length));for(var eu=-1;++eu<es;)ea+=ei[eu]^eo[eu];return ea}ei.exports=function(ei,eo,ea){eu=ei.padding?ei.padding:ea?1:4;var eu,ec,eh=es(ei),eg=eh.modulus.byteLength();if(eo.length>eg||new ed(eo).cmp(eh.modulus)>=0)throw Error("decryption error");ec=ea?ep(new ed(eo),eh):ef(eo,eh);var eb=em.alloc(eg-ec.length);if(ec=em.concat([eb,ec],eg),4===eu)return oaep(eh,ec);if(1===eu)return pkcs1(eh,ec,ea);if(3===eu)return ec;throw Error("unknown padding")}},3995:function(ei,eo,ea){var es=ea(9902),eu=ea(7223),ec=ea(9739),ed=ea(5520),ef=ea(6386),eh=ea(711),ep=ea(1607),em=ea(7166),eg=ea(6911).Buffer;function oaep(ei,eo){var ea=ei.modulus.byteLength(),es=eo.length,ep=ec("sha1").update(eg.alloc(0)).digest(),em=ep.length,eb=2*em;if(es>ea-eb-2)throw Error("message too long");var ey=eg.alloc(ea-es-eb-2),ew=ea-em-1,ex=eu(em),eP=ef(eg.concat([ep,ey,eg.alloc(1,1),eo],ew),ed(ex,ew)),eS=ef(ex,ed(eP,em));return new eh(eg.concat([eg.alloc(1),eS,eP],ea))}function pkcs1(ei,eo,ea){var es,eu=eo.length,ec=ei.modulus.byteLength();if(eu>ec-11)throw Error("message too long");return es=ea?eg.alloc(ec-eu-3,255):nonZero(ec-eu-3),new eh(eg.concat([eg.from([0,ea?1:2]),es,eg.alloc(1),eo],ec))}function nonZero(ei){for(var eo,ea=eg.allocUnsafe(ei),es=0,ec=eu(2*ei),ed=0;es<ei;)ed===ec.length&&(ec=eu(2*ei),ed=0),(eo=ec[ed++])&&(ea[es++]=eo);return ea}ei.exports=function(ei,eo,ea){eu=ei.padding?ei.padding:ea?1:4;var eu,ec,ed=es(ei);if(4===eu)ec=oaep(ed,eo);else if(1===eu)ec=pkcs1(ed,eo,ea);else if(3===eu){if((ec=new eh(eo)).cmp(ed.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return ea?em(ec,ed):ep(ec,ed)}},1607:function(ei,eo,ea){var es=ea(711),eu=ea(6911).Buffer;function withPublic(ei,eo){return eu.from(ei.toRed(es.mont(eo.modulus)).redPow(new es(eo.publicExponent)).fromRed().toArray())}ei.exports=withPublic},6386:function(ei){ei.exports=function(ei,eo){for(var ea=ei.length,es=-1;++es<ea;)ei[es]^=eo[es];return ei}},7223:function(ei,eo,es){"use strict";var eu=65536,ed=4294967295;function oldBrowser(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var ef=es(6911).Buffer,eh=ea.g.crypto||ea.g.msCrypto;function randomBytes(ei,eo){if(ei>ed)throw RangeError("requested too many random bytes");var ea=ef.allocUnsafe(ei);if(ei>0){if(ei>eu)for(var es=0;es<ei;es+=eu)eh.getRandomValues(ea.slice(es,es+eu));else eh.getRandomValues(ea)}return"function"==typeof eo?ec.nextTick(function(){eo(null,ea)}):ea}eh&&eh.getRandomValues?ei.exports=randomBytes:ei.exports=oldBrowser},6445:function(ei,eo,es){"use strict";function oldBrowser(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var eu=es(6911);es(7223);var ed=eu.Buffer,ef=eu.kMaxLength,eh=ea.g.crypto||ea.g.msCrypto,ep=4294967295;function assertOffset(ei,eo){if("number"!=typeof ei||ei!=ei)throw TypeError("offset must be a number");if(ei>ep||ei<0)throw TypeError("offset must be a uint32");if(ei>ef||ei>eo)throw RangeError("offset out of range")}function assertSize(ei,eo,ea){if("number"!=typeof ei||ei!=ei)throw TypeError("size must be a number");if(ei>ep||ei<0)throw TypeError("size must be a uint32");if(ei+eo>ea||ei>ef)throw RangeError("buffer too small")}function randomFill(ei,eo,es,eu){if(!ed.isBuffer(ei)&&!(ei instanceof ea.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof eo)eu=eo,eo=0,es=ei.length;else if("function"==typeof es)eu=es,es=ei.length-eo;else if("function"!=typeof eu)throw TypeError('"cb" argument must be a function');return assertOffset(eo,ei.length),assertSize(es,eo,ei.length),actualFill(ei,eo,es,eu)}function actualFill(ei,eo,ea,es){var eu=ei.buffer,ed=new Uint8Array(eu,eo,ea);if(eh.getRandomValues(ed),es){ec.nextTick(function(){es(null,ei)});return}return ei}function randomFillSync(ei,eo,es){if(void 0===eo&&(eo=0),!ed.isBuffer(ei)&&!(ei instanceof ea.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return assertOffset(eo,ei.length),void 0===es&&(es=ei.length-eo),assertSize(es,eo,ei.length),actualFill(ei,eo,es)}eh&&eh.getRandomValues?(eo.randomFill=randomFill,eo.randomFillSync=randomFillSync):(eo.randomFill=oldBrowser,eo.randomFillSync=oldBrowser)},4646:function(ei){"use strict";let eo={};function createErrorType(ei,ea,es){function getMessage(ei,eo,es){return"string"==typeof ea?ea:ea(ei,eo,es)}es||(es=Error);let NodeError=class NodeError extends es{constructor(ei,eo,ea){super(getMessage(ei,eo,ea))}};NodeError.prototype.name=es.name,NodeError.prototype.code=ei,eo[ei]=NodeError}function oneOf(ei,eo){if(!Array.isArray(ei))return`of ${eo} ${String(ei)}`;{let ea=ei.length;return(ei=ei.map(ei=>String(ei)),ea>2)?`one of ${eo} ${ei.slice(0,ea-1).join(", ")}, or `+ei[ea-1]:2===ea?`one of ${eo} ${ei[0]} or ${ei[1]}`:`of ${eo} ${ei[0]}`}}function startsWith(ei,eo,ea){return ei.substr(!ea||ea<0?0:+ea,eo.length)===eo}function endsWith(ei,eo,ea){return(void 0===ea||ea>ei.length)&&(ea=ei.length),ei.substring(ea-eo.length,ea)===eo}function includes(ei,eo,ea){return"number"!=typeof ea&&(ea=0),!(ea+eo.length>ei.length)&&-1!==ei.indexOf(eo,ea)}createErrorType("ERR_INVALID_OPT_VALUE",function(ei,eo){return'The value "'+eo+'" is invalid for option "'+ei+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(ei,eo,ea){let es,eu;if("string"==typeof eo&&startsWith(eo,"not ")?(es="must not be",eo=eo.replace(/^not /,"")):es="must be",endsWith(ei," argument"))eu=`The ${ei} ${es} ${oneOf(eo,"type")}`;else{let ea=includes(ei,".")?"property":"argument";eu=`The "${ei}" ${ea} ${es} ${oneOf(eo,"type")}`}return eu+`. Received type ${typeof ea}`},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(ei){return"The "+ei+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(ei){return"Cannot call "+ei+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(ei){return"Unknown encoding: "+ei},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ei.exports.q=eo},2403:function(ei,eo,ea){"use strict";var es=Object.keys||function(ei){var eo=[];for(var ea in ei)eo.push(ea);return eo};ei.exports=Duplex;var eu=ea(1709),ed=ea(7337);ea(3782)(Duplex,eu);for(var ef=es(ed.prototype),eh=0;eh<ef.length;eh++){var ep=ef[eh];Duplex.prototype[ep]||(Duplex.prototype[ep]=ed.prototype[ep])}function Duplex(ei){if(!(this instanceof Duplex))return new Duplex(ei);eu.call(this,ei),ed.call(this,ei),this.allowHalfOpen=!0,ei&&(!1===ei.readable&&(this.readable=!1),!1===ei.writable&&(this.writable=!1),!1===ei.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",onend)))}function onend(){this._writableState.ended||ec.nextTick(onEndNT,this)}function onEndNT(ei){ei.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(ei){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=ei,this._writableState.destroyed=ei)}})},7889:function(ei,eo,ea){"use strict";ei.exports=PassThrough;var es=ea(1170);function PassThrough(ei){if(!(this instanceof PassThrough))return new PassThrough(ei);es.call(this,ei)}ea(3782)(PassThrough,es),PassThrough.prototype._transform=function(ei,eo,ea){ea(null,ei)}},1709:function(ei,eo,es){"use strict";ei.exports=Readable,Readable.ReadableState=ReadableState,es(2361).EventEmitter;var eu,ed,ef,eh,ep,a=function(ei,eo){return ei.listeners(eo).length},em=es(4678),eg=es(4300).Buffer,eb=ea.g.Uint8Array||function(){};function _uint8ArrayToBuffer(ei){return eg.from(ei)}function _isUint8Array(ei){return eg.isBuffer(ei)||ei instanceof eb}var ey=es(3837);ed=ey&&ey.debuglog?ey.debuglog("stream"):function(){};var ew=es(4379),ex=es(7025),eP=es(6776).getHighWaterMark,eS=es(4646).q,eE=eS.ERR_INVALID_ARG_TYPE,ek=eS.ERR_STREAM_PUSH_AFTER_EOF,eT=eS.ERR_METHOD_NOT_IMPLEMENTED,eC=eS.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;es(3782)(Readable,em);var e_=ex.errorOrDestroy,eA=["error","close","destroy","pause","resume"];function prependListener(ei,eo,ea){if("function"==typeof ei.prependListener)return ei.prependListener(eo,ea);ei._events&&ei._events[eo]?Array.isArray(ei._events[eo])?ei._events[eo].unshift(ea):ei._events[eo]=[ea,ei._events[eo]]:ei.on(eo,ea)}function ReadableState(ei,eo,ea){eu=eu||es(2403),ei=ei||{},"boolean"!=typeof ea&&(ea=eo instanceof eu),this.objectMode=!!ei.objectMode,ea&&(this.objectMode=this.objectMode||!!ei.readableObjectMode),this.highWaterMark=eP(this,ei,"readableHighWaterMark",ea),this.buffer=new ew,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!==ei.emitClose,this.autoDestroy=!!ei.autoDestroy,this.destroyed=!1,this.defaultEncoding=ei.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ei.encoding&&(ef||(ef=es(3704).s),this.decoder=new ef(ei.encoding),this.encoding=ei.encoding)}function Readable(ei){if(eu=eu||es(2403),!(this instanceof Readable))return new Readable(ei);var eo=this instanceof eu;this._readableState=new ReadableState(ei,this,eo),this.readable=!0,ei&&("function"==typeof ei.read&&(this._read=ei.read),"function"==typeof ei.destroy&&(this._destroy=ei.destroy)),em.call(this)}function readableAddChunk(ei,eo,ea,es,eu){ed("readableAddChunk",eo);var ec,ef=ei._readableState;if(null===eo)ef.reading=!1,onEofChunk(ei,ef);else if(eu||(ec=chunkInvalid(ef,eo)),ec)e_(ei,ec);else if(ef.objectMode||eo&&eo.length>0){if("string"==typeof eo||ef.objectMode||Object.getPrototypeOf(eo)===eg.prototype||(eo=_uint8ArrayToBuffer(eo)),es)ef.endEmitted?e_(ei,new eC):addChunk(ei,ef,eo,!0);else if(ef.ended)e_(ei,new ek);else{if(ef.destroyed)return!1;ef.reading=!1,ef.decoder&&!ea?(eo=ef.decoder.write(eo),ef.objectMode||0!==eo.length?addChunk(ei,ef,eo,!1):maybeReadMore(ei,ef)):addChunk(ei,ef,eo,!1)}}else es||(ef.reading=!1,maybeReadMore(ei,ef));return!ef.ended&&(ef.length<ef.highWaterMark||0===ef.length)}function addChunk(ei,eo,ea,es){eo.flowing&&0===eo.length&&!eo.sync?(eo.awaitDrain=0,ei.emit("data",ea)):(eo.length+=eo.objectMode?1:ea.length,es?eo.buffer.unshift(ea):eo.buffer.push(ea),eo.needReadable&&emitReadable(ei)),maybeReadMore(ei,eo)}function chunkInvalid(ei,eo){var ea;return _isUint8Array(eo)||"string"==typeof eo||void 0===eo||ei.objectMode||(ea=new eE("chunk",["string","Buffer","Uint8Array"],eo)),ea}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ei){this._readableState&&(this._readableState.destroyed=ei)}}),Readable.prototype.destroy=ex.destroy,Readable.prototype._undestroy=ex.undestroy,Readable.prototype._destroy=function(ei,eo){eo(ei)},Readable.prototype.push=function(ei,eo){var ea,es=this._readableState;return es.objectMode?ea=!0:"string"==typeof ei&&((eo=eo||es.defaultEncoding)!==es.encoding&&(ei=eg.from(ei,eo),eo=""),ea=!0),readableAddChunk(this,ei,eo,!1,ea)},Readable.prototype.unshift=function(ei){return readableAddChunk(this,ei,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(ei){ef||(ef=es(3704).s);var eo=new ef(ei);this._readableState.decoder=eo,this._readableState.encoding=this._readableState.decoder.encoding;for(var ea=this._readableState.buffer.head,eu="";null!==ea;)eu+=eo.write(ea.data),ea=ea.next;return this._readableState.buffer.clear(),""!==eu&&this._readableState.buffer.push(eu),this._readableState.length=eu.length,this};var eO=1073741824;function computeNewHighWaterMark(ei){return ei>=eO?ei=eO:(ei--,ei|=ei>>>1,ei|=ei>>>2,ei|=ei>>>4,ei|=ei>>>8,ei|=ei>>>16,ei++),ei}function howMuchToRead(ei,eo){return ei<=0||0===eo.length&&eo.ended?0:eo.objectMode?1:ei!=ei?eo.flowing&&eo.length?eo.buffer.head.data.length:eo.length:(ei>eo.highWaterMark&&(eo.highWaterMark=computeNewHighWaterMark(ei)),ei<=eo.length)?ei:eo.ended?eo.length:(eo.needReadable=!0,0)}function onEofChunk(ei,eo){if(ed("onEofChunk"),!eo.ended){if(eo.decoder){var ea=eo.decoder.end();ea&&ea.length&&(eo.buffer.push(ea),eo.length+=eo.objectMode?1:ea.length)}eo.ended=!0,eo.sync?emitReadable(ei):(eo.needReadable=!1,eo.emittedReadable||(eo.emittedReadable=!0,emitReadable_(ei)))}}function emitReadable(ei){var eo=ei._readableState;ed("emitReadable",eo.needReadable,eo.emittedReadable),eo.needReadable=!1,eo.emittedReadable||(ed("emitReadable",eo.flowing),eo.emittedReadable=!0,ec.nextTick(emitReadable_,ei))}function emitReadable_(ei){var eo=ei._readableState;ed("emitReadable_",eo.destroyed,eo.length,eo.ended),!eo.destroyed&&(eo.length||eo.ended)&&(ei.emit("readable"),eo.emittedReadable=!1),eo.needReadable=!eo.flowing&&!eo.ended&&eo.length<=eo.highWaterMark,flow(ei)}function maybeReadMore(ei,eo){eo.readingMore||(eo.readingMore=!0,ec.nextTick(maybeReadMore_,ei,eo))}function maybeReadMore_(ei,eo){for(;!eo.reading&&!eo.ended&&(eo.length<eo.highWaterMark||eo.flowing&&0===eo.length);){var ea=eo.length;if(ed("maybeReadMore read 0"),ei.read(0),ea===eo.length)break}eo.readingMore=!1}function pipeOnDrain(ei){return function(){var eo=ei._readableState;ed("pipeOnDrain",eo.awaitDrain),eo.awaitDrain&&eo.awaitDrain--,0===eo.awaitDrain&&a(ei,"data")&&(eo.flowing=!0,flow(ei))}}function updateReadableListening(ei){var eo=ei._readableState;eo.readableListening=ei.listenerCount("readable")>0,eo.resumeScheduled&&!eo.paused?eo.flowing=!0:ei.listenerCount("data")>0&&ei.resume()}function nReadingNextTick(ei){ed("readable nexttick read 0"),ei.read(0)}function resume(ei,eo){eo.resumeScheduled||(eo.resumeScheduled=!0,ec.nextTick(resume_,ei,eo))}function resume_(ei,eo){ed("resume",eo.reading),eo.reading||ei.read(0),eo.resumeScheduled=!1,ei.emit("resume"),flow(ei),eo.flowing&&!eo.reading&&ei.read(0)}function flow(ei){var eo=ei._readableState;for(ed("flow",eo.flowing);eo.flowing&&null!==ei.read(););}function fromList(ei,eo){var ea;return 0===eo.length?null:(eo.objectMode?ea=eo.buffer.shift():!ei||ei>=eo.length?(ea=eo.decoder?eo.buffer.join(""):1===eo.buffer.length?eo.buffer.first():eo.buffer.concat(eo.length),eo.buffer.clear()):ea=eo.buffer.consume(ei,eo.decoder),ea)}function endReadable(ei){var eo=ei._readableState;ed("endReadable",eo.endEmitted),eo.endEmitted||(eo.ended=!0,ec.nextTick(endReadableNT,eo,ei))}function endReadableNT(ei,eo){if(ed("endReadableNT",ei.endEmitted,ei.length),!ei.endEmitted&&0===ei.length&&(ei.endEmitted=!0,eo.readable=!1,eo.emit("end"),ei.autoDestroy)){var ea=eo._writableState;(!ea||ea.autoDestroy&&ea.finished)&&eo.destroy()}}function indexOf(ei,eo){for(var ea=0,es=ei.length;ea<es;ea++)if(ei[ea]===eo)return ea;return -1}Readable.prototype.read=function(ei){ed("read",ei),ei=parseInt(ei,10);var eo,ea=this._readableState,es=ei;if(0!==ei&&(ea.emittedReadable=!1),0===ei&&ea.needReadable&&((0!==ea.highWaterMark?ea.length>=ea.highWaterMark:ea.length>0)||ea.ended))return ed("read: emitReadable",ea.length,ea.ended),0===ea.length&&ea.ended?endReadable(this):emitReadable(this),null;if(0===(ei=howMuchToRead(ei,ea))&&ea.ended)return 0===ea.length&&endReadable(this),null;var eu=ea.needReadable;return ed("need readable",eu),(0===ea.length||ea.length-ei<ea.highWaterMark)&&ed("length less than watermark",eu=!0),ea.ended||ea.reading?ed("reading or ended",eu=!1):eu&&(ed("do read"),ea.reading=!0,ea.sync=!0,0===ea.length&&(ea.needReadable=!0),this._read(ea.highWaterMark),ea.sync=!1,ea.reading||(ei=howMuchToRead(es,ea))),null===(eo=ei>0?fromList(ei,ea):null)?(ea.needReadable=ea.length<=ea.highWaterMark,ei=0):(ea.length-=ei,ea.awaitDrain=0),0===ea.length&&(ea.ended||(ea.needReadable=!0),es!==ei&&ea.ended&&endReadable(this)),null!==eo&&this.emit("data",eo),eo},Readable.prototype._read=function(ei){e_(this,new eT("_read()"))},Readable.prototype.pipe=function(ei,eo){var ea=this,es=this._readableState;switch(es.pipesCount){case 0:es.pipes=ei;break;case 1:es.pipes=[es.pipes,ei];break;default:es.pipes.push(ei)}es.pipesCount+=1,ed("pipe count=%d opts=%j",es.pipesCount,eo);var eu=eo&&!1===eo.end||ei===ec.stdout||ei===ec.stderr?unpipe:onend;function onunpipe(ei,eo){ed("onunpipe"),ei===ea&&eo&&!1===eo.hasUnpiped&&(eo.hasUnpiped=!0,cleanup())}function onend(){ed("onend"),ei.end()}es.endEmitted?ec.nextTick(eu):ea.once("end",eu),ei.on("unpipe",onunpipe);var ef=pipeOnDrain(ea);ei.on("drain",ef);var eh=!1;function cleanup(){ed("cleanup"),ei.removeListener("close",onclose),ei.removeListener("finish",onfinish),ei.removeListener("drain",ef),ei.removeListener("error",onerror),ei.removeListener("unpipe",onunpipe),ea.removeListener("end",onend),ea.removeListener("end",unpipe),ea.removeListener("data",ondata),eh=!0,es.awaitDrain&&(!ei._writableState||ei._writableState.needDrain)&&ef()}function ondata(eo){ed("ondata");var eu=ei.write(eo);ed("dest.write",eu),!1===eu&&((1===es.pipesCount&&es.pipes===ei||es.pipesCount>1&&-1!==indexOf(es.pipes,ei))&&!eh&&(ed("false write response, pause",es.awaitDrain),es.awaitDrain++),ea.pause())}function onerror(eo){ed("onerror",eo),unpipe(),ei.removeListener("error",onerror),0===a(ei,"error")&&e_(ei,eo)}function onclose(){ei.removeListener("finish",onfinish),unpipe()}function onfinish(){ed("onfinish"),ei.removeListener("close",onclose),unpipe()}function unpipe(){ed("unpipe"),ea.unpipe(ei)}return ea.on("data",ondata),prependListener(ei,"error",onerror),ei.once("close",onclose),ei.once("finish",onfinish),ei.emit("pipe",ea),es.flowing||(ed("pipe resume"),ea.resume()),ei},Readable.prototype.unpipe=function(ei){var eo=this._readableState,ea={hasUnpiped:!1};if(0===eo.pipesCount)return this;if(1===eo.pipesCount)return ei&&ei!==eo.pipes||(ei||(ei=eo.pipes),eo.pipes=null,eo.pipesCount=0,eo.flowing=!1,ei&&ei.emit("unpipe",this,ea)),this;if(!ei){var es=eo.pipes,eu=eo.pipesCount;eo.pipes=null,eo.pipesCount=0,eo.flowing=!1;for(var ec=0;ec<eu;ec++)es[ec].emit("unpipe",this,{hasUnpiped:!1});return this}var ed=indexOf(eo.pipes,ei);return -1===ed||(eo.pipes.splice(ed,1),eo.pipesCount-=1,1===eo.pipesCount&&(eo.pipes=eo.pipes[0]),ei.emit("unpipe",this,ea)),this},Readable.prototype.on=function(ei,eo){var ea=em.prototype.on.call(this,ei,eo),es=this._readableState;return"data"===ei?(es.readableListening=this.listenerCount("readable")>0,!1!==es.flowing&&this.resume()):"readable"!==ei||es.endEmitted||es.readableListening||(es.readableListening=es.needReadable=!0,es.flowing=!1,es.emittedReadable=!1,ed("on readable",es.length,es.reading),es.length?emitReadable(this):es.reading||ec.nextTick(nReadingNextTick,this)),ea},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(ei,eo){var ea=em.prototype.removeListener.call(this,ei,eo);return"readable"===ei&&ec.nextTick(updateReadableListening,this),ea},Readable.prototype.removeAllListeners=function(ei){var eo=em.prototype.removeAllListeners.apply(this,arguments);return("readable"===ei||void 0===ei)&&ec.nextTick(updateReadableListening,this),eo},Readable.prototype.resume=function(){var ei=this._readableState;return ei.flowing||(ed("resume"),ei.flowing=!ei.readableListening,resume(this,ei)),ei.paused=!1,this},Readable.prototype.pause=function(){return ed("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(ed("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(ei){var eo=this,ea=this._readableState,es=!1;for(var eu in ei.on("end",function(){if(ed("wrapped end"),ea.decoder&&!ea.ended){var ei=ea.decoder.end();ei&&ei.length&&eo.push(ei)}eo.push(null)}),ei.on("data",function(eu){ed("wrapped data"),ea.decoder&&(eu=ea.decoder.write(eu)),(!ea.objectMode||null!=eu)&&(ea.objectMode||eu&&eu.length)&&(eo.push(eu)||(es=!0,ei.pause()))}),ei)void 0===this[eu]&&"function"==typeof ei[eu]&&(this[eu]=function(eo){return function(){return ei[eo].apply(ei,arguments)}}(eu));for(var ec=0;ec<eA.length;ec++)ei.on(eA[ec],this.emit.bind(this,eA[ec]));return this._read=function(eo){ed("wrapped _read",eo),es&&(es=!1,ei.resume())},this},"function"==typeof Symbol&&(Readable.prototype[Symbol.asyncIterator]=function(){return void 0===eh&&(eh=es(6871)),eh(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ei){this._readableState&&(this._readableState.flowing=ei)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Readable.from=function(ei,eo){return void 0===ep&&(ep=es(9727)),ep(Readable,ei,eo)})},1170:function(ei,eo,ea){"use strict";ei.exports=Transform;var es=ea(4646).q,eu=es.ERR_METHOD_NOT_IMPLEMENTED,ec=es.ERR_MULTIPLE_CALLBACK,ed=es.ERR_TRANSFORM_ALREADY_TRANSFORMING,ef=es.ERR_TRANSFORM_WITH_LENGTH_0,eh=ea(2403);function afterTransform(ei,eo){var ea=this._transformState;ea.transforming=!1;var es=ea.writecb;if(null===es)return this.emit("error",new ec);ea.writechunk=null,ea.writecb=null,null!=eo&&this.push(eo),es(ei);var eu=this._readableState;eu.reading=!1,(eu.needReadable||eu.length<eu.highWaterMark)&&this._read(eu.highWaterMark)}function Transform(ei){if(!(this instanceof Transform))return new Transform(ei);eh.call(this,ei),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ei&&("function"==typeof ei.transform&&(this._transform=ei.transform),"function"==typeof ei.flush&&(this._flush=ei.flush)),this.on("prefinish",prefinish)}function prefinish(){var ei=this;"function"!=typeof this._flush||this._readableState.destroyed?done(this,null,null):this._flush(function(eo,ea){done(ei,eo,ea)})}function done(ei,eo,ea){if(eo)return ei.emit("error",eo);if(null!=ea&&ei.push(ea),ei._writableState.length)throw new ef;if(ei._transformState.transforming)throw new ed;return ei.push(null)}ea(3782)(Transform,eh),Transform.prototype.push=function(ei,eo){return this._transformState.needTransform=!1,eh.prototype.push.call(this,ei,eo)},Transform.prototype._transform=function(ei,eo,ea){ea(new eu("_transform()"))},Transform.prototype._write=function(ei,eo,ea){var es=this._transformState;if(es.writecb=ea,es.writechunk=ei,es.writeencoding=eo,!es.transforming){var eu=this._readableState;(es.needTransform||eu.needReadable||eu.length<eu.highWaterMark)&&this._read(eu.highWaterMark)}},Transform.prototype._read=function(ei){var eo=this._transformState;null===eo.writechunk||eo.transforming?eo.needTransform=!0:(eo.transforming=!0,this._transform(eo.writechunk,eo.writeencoding,eo.afterTransform))},Transform.prototype._destroy=function(ei,eo){eh.prototype._destroy.call(this,ei,function(ei){eo(ei)})}},7337:function(ei,eo,es){"use strict";function CorkedRequest(ei){var eo=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(eo,ei)}}ei.exports=Writable,Writable.WritableState=WritableState;var eu,ed,ef={deprecate:es(6769)},eh=es(4678),ep=es(4300).Buffer,em=ea.g.Uint8Array||function(){};function _uint8ArrayToBuffer(ei){return ep.from(ei)}function _isUint8Array(ei){return ep.isBuffer(ei)||ei instanceof em}var eg=es(7025),eb=es(6776).getHighWaterMark,ey=es(4646).q,ew=ey.ERR_INVALID_ARG_TYPE,ex=ey.ERR_METHOD_NOT_IMPLEMENTED,eP=ey.ERR_MULTIPLE_CALLBACK,eS=ey.ERR_STREAM_CANNOT_PIPE,eE=ey.ERR_STREAM_DESTROYED,ek=ey.ERR_STREAM_NULL_VALUES,eT=ey.ERR_STREAM_WRITE_AFTER_END,eC=ey.ERR_UNKNOWN_ENCODING,e_=eg.errorOrDestroy;function nop(){}function WritableState(ei,eo,ea){eu=eu||es(2403),ei=ei||{},"boolean"!=typeof ea&&(ea=eo instanceof eu),this.objectMode=!!ei.objectMode,ea&&(this.objectMode=this.objectMode||!!ei.writableObjectMode),this.highWaterMark=eb(this,ei,"writableHighWaterMark",ea),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ec=!1===ei.decodeStrings;this.decodeStrings=!ec,this.defaultEncoding=ei.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ei){onwrite(eo,ei)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==ei.emitClose,this.autoDestroy=!!ei.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(ei){var eo=this instanceof(eu=eu||es(2403));if(!eo&&!ed.call(Writable,this))return new Writable(ei);this._writableState=new WritableState(ei,this,eo),this.writable=!0,ei&&("function"==typeof ei.write&&(this._write=ei.write),"function"==typeof ei.writev&&(this._writev=ei.writev),"function"==typeof ei.destroy&&(this._destroy=ei.destroy),"function"==typeof ei.final&&(this._final=ei.final)),eh.call(this)}function writeAfterEnd(ei,eo){var ea=new eT;e_(ei,ea),ec.nextTick(eo,ea)}function validChunk(ei,eo,ea,es){var eu;return null===ea?eu=new ek:"string"==typeof ea||eo.objectMode||(eu=new ew("chunk",["string","Buffer"],ea)),!eu||(e_(ei,eu),ec.nextTick(es,eu),!1)}function decodeChunk(ei,eo,ea){return ei.objectMode||!1===ei.decodeStrings||"string"!=typeof eo||(eo=ep.from(eo,ea)),eo}function writeOrBuffer(ei,eo,ea,es,eu,ec){if(!ea){var ed=decodeChunk(eo,es,eu);es!==ed&&(ea=!0,eu="buffer",es=ed)}var ef=eo.objectMode?1:es.length;eo.length+=ef;var eh=eo.length<eo.highWaterMark;if(eh||(eo.needDrain=!0),eo.writing||eo.corked){var ep=eo.lastBufferedRequest;eo.lastBufferedRequest={chunk:es,encoding:eu,isBuf:ea,callback:ec,next:null},ep?ep.next=eo.lastBufferedRequest:eo.bufferedRequest=eo.lastBufferedRequest,eo.bufferedRequestCount+=1}else doWrite(ei,eo,!1,ef,es,eu,ec);return eh}function doWrite(ei,eo,ea,es,eu,ec,ed){eo.writelen=es,eo.writecb=ed,eo.writing=!0,eo.sync=!0,eo.destroyed?eo.onwrite(new eE("write")):ea?ei._writev(eu,eo.onwrite):ei._write(eu,ec,eo.onwrite),eo.sync=!1}function onwriteError(ei,eo,ea,es,eu){--eo.pendingcb,ea?(ec.nextTick(eu,es),ec.nextTick(finishMaybe,ei,eo),ei._writableState.errorEmitted=!0,e_(ei,es)):(eu(es),ei._writableState.errorEmitted=!0,e_(ei,es),finishMaybe(ei,eo))}function onwriteStateUpdate(ei){ei.writing=!1,ei.writecb=null,ei.length-=ei.writelen,ei.writelen=0}function onwrite(ei,eo){var ea=ei._writableState,es=ea.sync,eu=ea.writecb;if("function"!=typeof eu)throw new eP;if(onwriteStateUpdate(ea),eo)onwriteError(ei,ea,es,eo,eu);else{var ed=needFinish(ea)||ei.destroyed;ed||ea.corked||ea.bufferProcessing||!ea.bufferedRequest||clearBuffer(ei,ea),es?ec.nextTick(afterWrite,ei,ea,ed,eu):afterWrite(ei,ea,ed,eu)}}function afterWrite(ei,eo,ea,es){ea||onwriteDrain(ei,eo),eo.pendingcb--,es(),finishMaybe(ei,eo)}function onwriteDrain(ei,eo){0===eo.length&&eo.needDrain&&(eo.needDrain=!1,ei.emit("drain"))}function clearBuffer(ei,eo){eo.bufferProcessing=!0;var ea=eo.bufferedRequest;if(ei._writev&&ea&&ea.next){var es=Array(eo.bufferedRequestCount),eu=eo.corkedRequestsFree;eu.entry=ea;for(var ec=0,ed=!0;ea;)es[ec]=ea,ea.isBuf||(ed=!1),ea=ea.next,ec+=1;es.allBuffers=ed,doWrite(ei,eo,!0,eo.length,es,"",eu.finish),eo.pendingcb++,eo.lastBufferedRequest=null,eu.next?(eo.corkedRequestsFree=eu.next,eu.next=null):eo.corkedRequestsFree=new CorkedRequest(eo),eo.bufferedRequestCount=0}else{for(;ea;){var ef=ea.chunk,eh=ea.encoding,ep=ea.callback,em=eo.objectMode?1:ef.length;if(doWrite(ei,eo,!1,em,ef,eh,ep),ea=ea.next,eo.bufferedRequestCount--,eo.writing)break}null===ea&&(eo.lastBufferedRequest=null)}eo.bufferedRequest=ea,eo.bufferProcessing=!1}function needFinish(ei){return ei.ending&&0===ei.length&&null===ei.bufferedRequest&&!ei.finished&&!ei.writing}function callFinal(ei,eo){ei._final(function(ea){eo.pendingcb--,ea&&e_(ei,ea),eo.prefinished=!0,ei.emit("prefinish"),finishMaybe(ei,eo)})}function prefinish(ei,eo){eo.prefinished||eo.finalCalled||("function"!=typeof ei._final||eo.destroyed?(eo.prefinished=!0,ei.emit("prefinish")):(eo.pendingcb++,eo.finalCalled=!0,ec.nextTick(callFinal,ei,eo)))}function finishMaybe(ei,eo){var ea=needFinish(eo);if(ea&&(prefinish(ei,eo),0===eo.pendingcb&&(eo.finished=!0,ei.emit("finish"),eo.autoDestroy))){var es=ei._readableState;(!es||es.autoDestroy&&es.endEmitted)&&ei.destroy()}return ea}function endWritable(ei,eo,ea){eo.ending=!0,finishMaybe(ei,eo),ea&&(eo.finished?ec.nextTick(ea):ei.once("finish",ea)),eo.ended=!0,ei.writable=!1}function onCorkedFinish(ei,eo,ea){var es=ei.entry;for(ei.entry=null;es;){var eu=es.callback;eo.pendingcb--,eu(ea),es=es.next}eo.corkedRequestsFree.next=ei}es(3782)(Writable,eh),WritableState.prototype.getBuffer=function(){for(var ei=this.bufferedRequest,eo=[];ei;)eo.push(ei),ei=ei.next;return eo},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ef.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ei){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(ed=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(ei){return!!ed.call(this,ei)||this===Writable&&ei&&ei._writableState instanceof WritableState}})):ed=function(ei){return ei instanceof this},Writable.prototype.pipe=function(){e_(this,new eS)},Writable.prototype.write=function(ei,eo,ea){var es=this._writableState,eu=!1,ec=!es.objectMode&&_isUint8Array(ei);return ec&&!ep.isBuffer(ei)&&(ei=_uint8ArrayToBuffer(ei)),"function"==typeof eo&&(ea=eo,eo=null),ec?eo="buffer":eo||(eo=es.defaultEncoding),"function"!=typeof ea&&(ea=nop),es.ending?writeAfterEnd(this,ea):(ec||validChunk(this,es,ei,ea))&&(es.pendingcb++,eu=writeOrBuffer(this,es,ec,ei,eo,ea)),eu},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var ei=this._writableState;!ei.corked||(ei.corked--,ei.writing||ei.corked||ei.bufferProcessing||!ei.bufferedRequest||clearBuffer(this,ei))},Writable.prototype.setDefaultEncoding=function(ei){if("string"==typeof ei&&(ei=ei.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ei+"").toLowerCase())>-1))throw new eC(ei);return this._writableState.defaultEncoding=ei,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(ei,eo,ea){ea(new ex("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(ei,eo,ea){var es=this._writableState;return"function"==typeof ei?(ea=ei,ei=null,eo=null):"function"==typeof eo&&(ea=eo,eo=null),null!=ei&&this.write(ei,eo),es.corked&&(es.corked=1,this.uncork()),es.ending||endWritable(this,es,ea),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(ei){this._writableState&&(this._writableState.destroyed=ei)}}),Writable.prototype.destroy=eg.destroy,Writable.prototype._undestroy=eg.undestroy,Writable.prototype._destroy=function(ei,eo){eo(ei)}},6871:function(ei,eo,ea){"use strict";function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}var es,eu=ea(9698),ed=Symbol("lastResolve"),ef=Symbol("lastReject"),eh=Symbol("error"),ep=Symbol("ended"),em=Symbol("lastPromise"),eg=Symbol("handlePromise"),eb=Symbol("stream");function createIterResult(ei,eo){return{value:ei,done:eo}}function readAndResolve(ei){var eo=ei[ed];if(null!==eo){var ea=ei[eb].read();null!==ea&&(ei[em]=null,ei[ed]=null,ei[ef]=null,eo(createIterResult(ea,!1)))}}function onReadable(ei){ec.nextTick(readAndResolve,ei)}function wrapForNext(ei,eo){return function(ea,es){ei.then(function(){if(eo[ep]){ea(createIterResult(void 0,!0));return}eo[eg](ea,es)},es)}}var ey=Object.getPrototypeOf(function(){}),ew=Object.setPrototypeOf((_defineProperty(es={get stream(){return this[eb]},next:function(){var ei,eo=this,ea=this[eh];if(null!==ea)return Promise.reject(ea);if(this[ep])return Promise.resolve(createIterResult(void 0,!0));if(this[eb].destroyed)return new Promise(function(ei,ea){ec.nextTick(function(){eo[eh]?ea(eo[eh]):ei(createIterResult(void 0,!0))})});var es=this[em];if(es)ei=new Promise(wrapForNext(es,this));else{var eu=this[eb].read();if(null!==eu)return Promise.resolve(createIterResult(eu,!1));ei=new Promise(this[eg])}return this[em]=ei,ei}},Symbol.asyncIterator,function(){return this}),_defineProperty(es,"return",function(){var ei=this;return new Promise(function(eo,ea){ei[eb].destroy(null,function(ei){if(ei){ea(ei);return}eo(createIterResult(void 0,!0))})})}),es),ey),v=function(ei){var eo,ea=Object.create(ew,(_defineProperty(eo={},eb,{value:ei,writable:!0}),_defineProperty(eo,ed,{value:null,writable:!0}),_defineProperty(eo,ef,{value:null,writable:!0}),_defineProperty(eo,eh,{value:null,writable:!0}),_defineProperty(eo,ep,{value:ei._readableState.endEmitted,writable:!0}),_defineProperty(eo,eg,{value:function(ei,eo){var es=ea[eb].read();es?(ea[em]=null,ea[ed]=null,ea[ef]=null,ei(createIterResult(es,!1))):(ea[ed]=ei,ea[ef]=eo)},writable:!0}),eo));return ea[em]=null,eu(ei,function(ei){if(ei&&"ERR_STREAM_PREMATURE_CLOSE"!==ei.code){var eo=ea[ef];null!==eo&&(ea[em]=null,ea[ed]=null,ea[ef]=null,eo(ei)),ea[eh]=ei;return}var es=ea[ed];null!==es&&(ea[em]=null,ea[ed]=null,ea[ef]=null,es(createIterResult(void 0,!0))),ea[ep]=!0}),ei.on("readable",onReadable.bind(null,ea)),ea};ei.exports=v},4379:function(ei,eo,ea){"use strict";function ownKeys(ei,eo){var ea=Object.keys(ei);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(ei);eo&&(es=es.filter(function(eo){return Object.getOwnPropertyDescriptor(ei,eo).enumerable})),ea.push.apply(ea,es)}return ea}function _objectSpread(ei){for(var eo=1;eo<arguments.length;eo++){var ea=null!=arguments[eo]?arguments[eo]:{};eo%2?ownKeys(Object(ea),!0).forEach(function(eo){_defineProperty(ei,eo,ea[eo])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ei,Object.getOwnPropertyDescriptors(ea)):ownKeys(Object(ea)).forEach(function(eo){Object.defineProperty(ei,eo,Object.getOwnPropertyDescriptor(ea,eo))})}return ei}function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}function _classCallCheck(ei,eo){if(!(ei instanceof eo))throw TypeError("Cannot call a class as a function")}function _defineProperties(ei,eo){for(var ea=0;ea<eo.length;ea++){var es=eo[ea];es.enumerable=es.enumerable||!1,es.configurable=!0,"value"in es&&(es.writable=!0),Object.defineProperty(ei,es.key,es)}}function _createClass(ei,eo,ea){return eo&&_defineProperties(ei.prototype,eo),ea&&_defineProperties(ei,ea),ei}var es=ea(4300).Buffer,eu=ea(3837).inspect,ec=eu&&eu.custom||"inspect";function copyBuffer(ei,eo,ea){es.prototype.copy.call(ei,eo,ea)}ei.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return _createClass(BufferList,[{key:"push",value:function(ei){var eo={data:ei,next:null};this.length>0?this.tail.next=eo:this.head=eo,this.tail=eo,++this.length}},{key:"unshift",value:function(ei){var eo={data:ei,next:this.head};0===this.length&&(this.tail=eo),this.head=eo,++this.length}},{key:"shift",value:function(){if(0!==this.length){var ei=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,ei}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ei){if(0===this.length)return"";for(var eo=this.head,ea=""+eo.data;eo=eo.next;)ea+=ei+eo.data;return ea}},{key:"concat",value:function(ei){if(0===this.length)return es.alloc(0);for(var eo=es.allocUnsafe(ei>>>0),ea=this.head,eu=0;ea;)copyBuffer(ea.data,eo,eu),eu+=ea.data.length,ea=ea.next;return eo}},{key:"consume",value:function(ei,eo){var ea;return ei<this.head.data.length?(ea=this.head.data.slice(0,ei),this.head.data=this.head.data.slice(ei)):ea=ei===this.head.data.length?this.shift():eo?this._getString(ei):this._getBuffer(ei),ea}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ei){var eo=this.head,ea=1,es=eo.data;for(ei-=es.length;eo=eo.next;){var eu=eo.data,ec=ei>eu.length?eu.length:ei;if(ec===eu.length?es+=eu:es+=eu.slice(0,ei),0==(ei-=ec)){ec===eu.length?(++ea,eo.next?this.head=eo.next:this.head=this.tail=null):(this.head=eo,eo.data=eu.slice(ec));break}++ea}return this.length-=ea,es}},{key:"_getBuffer",value:function(ei){var eo=es.allocUnsafe(ei),ea=this.head,eu=1;for(ea.data.copy(eo),ei-=ea.data.length;ea=ea.next;){var ec=ea.data,ed=ei>ec.length?ec.length:ei;if(ec.copy(eo,eo.length-ei,0,ed),0==(ei-=ed)){ed===ec.length?(++eu,ea.next?this.head=ea.next:this.head=this.tail=null):(this.head=ea,ea.data=ec.slice(ed));break}++eu}return this.length-=eu,eo}},{key:ec,value:function(ei,eo){return eu(this,_objectSpread({},eo,{depth:0,customInspect:!1}))}}]),BufferList}()},7025:function(ei){"use strict";function destroy(ei,eo){var ea=this,es=this._readableState&&this._readableState.destroyed,eu=this._writableState&&this._writableState.destroyed;return es||eu?eo?eo(ei):ei&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ec.nextTick(emitErrorNT,this,ei)):ec.nextTick(emitErrorNT,this,ei)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ei||null,function(ei){!eo&&ei?ea._writableState?ea._writableState.errorEmitted?ec.nextTick(emitCloseNT,ea):(ea._writableState.errorEmitted=!0,ec.nextTick(emitErrorAndCloseNT,ea,ei)):ec.nextTick(emitErrorAndCloseNT,ea,ei):eo?(ec.nextTick(emitCloseNT,ea),eo(ei)):ec.nextTick(emitCloseNT,ea)})),this}function emitErrorAndCloseNT(ei,eo){emitErrorNT(ei,eo),emitCloseNT(ei)}function emitCloseNT(ei){(!ei._writableState||ei._writableState.emitClose)&&(!ei._readableState||ei._readableState.emitClose)&&ei.emit("close")}function undestroy(){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 emitErrorNT(ei,eo){ei.emit("error",eo)}function errorOrDestroy(ei,eo){var ea=ei._readableState,es=ei._writableState;ea&&ea.autoDestroy||es&&es.autoDestroy?ei.destroy(eo):ei.emit("error",eo)}ei.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},9698:function(ei,eo,ea){"use strict";var es=ea(4646).q.ERR_STREAM_PREMATURE_CLOSE;function once(ei){var eo=!1;return function(){if(!eo){eo=!0;for(var ea=arguments.length,es=Array(ea),eu=0;eu<ea;eu++)es[eu]=arguments[eu];ei.apply(this,es)}}}function noop(){}function isRequest(ei){return ei.setHeader&&"function"==typeof ei.abort}function eos(ei,eo,ea){if("function"==typeof eo)return eos(ei,null,eo);eo||(eo={}),ea=once(ea||noop);var eu=eo.readable||!1!==eo.readable&&ei.readable,ec=eo.writable||!1!==eo.writable&&ei.writable,s=function(){ei.writable||h()},ed=ei._writableState&&ei._writableState.finished,h=function(){ec=!1,ed=!0,eu||ea.call(ei)},ef=ei._readableState&&ei._readableState.endEmitted,d=function(){eu=!1,ef=!0,ec||ea.call(ei)},c=function(eo){ea.call(ei,eo)},l=function(){var eo;return eu&&!ef?(ei._readableState&&ei._readableState.ended||(eo=new es),ea.call(ei,eo)):ec&&!ed?(ei._writableState&&ei._writableState.ended||(eo=new es),ea.call(ei,eo)):void 0},p=function(){ei.req.on("finish",h)};return isRequest(ei)?(ei.on("complete",h),ei.on("abort",l),ei.req?p():ei.on("request",p)):ec&&!ei._writableState&&(ei.on("end",s),ei.on("close",s)),ei.on("end",d),ei.on("finish",h),!1!==eo.error&&ei.on("error",c),ei.on("close",l),function(){ei.removeListener("complete",h),ei.removeListener("abort",l),ei.removeListener("request",p),ei.req&&ei.req.removeListener("finish",h),ei.removeListener("end",s),ei.removeListener("close",s),ei.removeListener("finish",h),ei.removeListener("end",d),ei.removeListener("error",c),ei.removeListener("close",l)}}ei.exports=eos},9727:function(ei,eo,ea){"use strict";function asyncGeneratorStep(ei,eo,ea,es,eu,ec,ed){try{var ef=ei[ec](ed),eh=ef.value}catch(ei){ea(ei);return}ef.done?eo(eh):Promise.resolve(eh).then(es,eu)}function _asyncToGenerator(ei){return function(){var eo=this,ea=arguments;return new Promise(function(es,eu){var ec=ei.apply(eo,ea);function _next(ei){asyncGeneratorStep(ec,es,eu,_next,_throw,"next",ei)}function _throw(ei){asyncGeneratorStep(ec,es,eu,_next,_throw,"throw",ei)}_next(void 0)})}}function ownKeys(ei,eo){var ea=Object.keys(ei);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(ei);eo&&(es=es.filter(function(eo){return Object.getOwnPropertyDescriptor(ei,eo).enumerable})),ea.push.apply(ea,es)}return ea}function _objectSpread(ei){for(var eo=1;eo<arguments.length;eo++){var ea=null!=arguments[eo]?arguments[eo]:{};eo%2?ownKeys(Object(ea),!0).forEach(function(eo){_defineProperty(ei,eo,ea[eo])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ei,Object.getOwnPropertyDescriptors(ea)):ownKeys(Object(ea)).forEach(function(eo){Object.defineProperty(ei,eo,Object.getOwnPropertyDescriptor(ea,eo))})}return ei}function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}var es=ea(4646).q.ERR_INVALID_ARG_TYPE;function from(ei,eo,ea){if(eo&&"function"==typeof eo.next)eu=eo;else if(eo&&eo[Symbol.asyncIterator])eu=eo[Symbol.asyncIterator]();else if(eo&&eo[Symbol.iterator])eu=eo[Symbol.iterator]();else throw new es("iterable",["Iterable"],eo);var eu,ec=new ei(_objectSpread({objectMode:!0},ea)),ed=!1;function next(){return _next2.apply(this,arguments)}function _next2(){return(_next2=_asyncToGenerator(function*(){try{var ei=yield eu.next(),eo=ei.value;ei.done?ec.push(null):ec.push((yield eo))?next():ed=!1}catch(ei){ec.destroy(ei)}})).apply(this,arguments)}return ec._read=function(){ed||(ed=!0,next())},ec}ei.exports=from},8442:function(ei,eo,ea){"use strict";function once(ei){var eo=!1;return function(){eo||(eo=!0,ei.apply(void 0,arguments))}}var es,eu=ea(4646).q,ec=eu.ERR_MISSING_ARGS,ed=eu.ERR_STREAM_DESTROYED;function noop(ei){if(ei)throw ei}function isRequest(ei){return ei.setHeader&&"function"==typeof ei.abort}function destroyer(ei,eo,eu,ec){ec=once(ec);var ef=!1;ei.on("close",function(){ef=!0}),void 0===es&&(es=ea(9698)),es(ei,{readable:eo,writable:eu},function(ei){if(ei)return ec(ei);ef=!0,ec()});var eh=!1;return function(eo){if(!ef&&!eh){if(eh=!0,isRequest(ei))return ei.abort();if("function"==typeof ei.destroy)return ei.destroy();ec(eo||new ed("pipe"))}}}function call(ei){ei()}function pipe(ei,eo){return ei.pipe(eo)}function popCallback(ei){return ei.length&&"function"==typeof ei[ei.length-1]?ei.pop():noop}function pipeline(){for(var ei,eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];var eu=popCallback(ea);if(Array.isArray(ea[0])&&(ea=ea[0]),ea.length<2)throw new ec("streams");var ed=ea.map(function(eo,es){var ec=es<ea.length-1;return destroyer(eo,ec,es>0,function(eo){ei||(ei=eo),eo&&ed.forEach(call),ec||(ed.forEach(call),eu(ei))})});return ea.reduce(pipe)}ei.exports=pipeline},6776:function(ei,eo,ea){"use strict";var es=ea(4646).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(ei,eo,ea){return null!=ei.highWaterMark?ei.highWaterMark:eo?ei[ea]:null}function getHighWaterMark(ei,eo,ea,eu){var ec=highWaterMarkFrom(eo,eu,ea);if(null!=ec){if(!(isFinite(ec)&&Math.floor(ec)===ec)||ec<0){var ed=eu?ea:"highWaterMark";throw new es(ed,ec)}return Math.floor(ec)}return ei.objectMode?16:16384}ei.exports={getHighWaterMark:getHighWaterMark}},4678:function(ei,eo,ea){ei.exports=ea(2781)},3726:function(ei,eo,ea){var es=ea(2781);"disable"===ec.env.READABLE_STREAM&&es?(ei.exports=es.Readable,Object.assign(ei.exports,es),ei.exports.Stream=es):((eo=ei.exports=ea(1709)).Stream=es||eo,eo.Readable=eo,eo.Writable=ea(7337),eo.Duplex=ea(2403),eo.Transform=ea(1170),eo.PassThrough=ea(7889),eo.finished=ea(9698),eo.pipeline=ea(8442))},3225:function(ei,eo,ea){"use strict";var es=ea(4300).Buffer,eu=ea(3782),ec=ea(9029),ed=Array(16),ef=[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],eh=[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],ep=[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],em=[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],eg=[0,1518500249,1859775393,2400959708,2840853838],eb=[1352829926,1548603684,1836072691,2053994217,0];function RIPEMD160(){ec.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function rotl(ei,eo){return ei<<eo|ei>>>32-eo}function fn1(ei,eo,ea,es,eu,ec,ed,ef){return rotl(ei+(eo^ea^es)+ec+ed|0,ef)+eu|0}function fn2(ei,eo,ea,es,eu,ec,ed,ef){return rotl(ei+(eo&ea|~eo&es)+ec+ed|0,ef)+eu|0}function fn3(ei,eo,ea,es,eu,ec,ed,ef){return rotl(ei+((eo|~ea)^es)+ec+ed|0,ef)+eu|0}function fn4(ei,eo,ea,es,eu,ec,ed,ef){return rotl(ei+(eo&es|ea&~es)+ec+ed|0,ef)+eu|0}function fn5(ei,eo,ea,es,eu,ec,ed,ef){return rotl(ei+(eo^(ea|~es))+ec+ed|0,ef)+eu|0}eu(RIPEMD160,ec),RIPEMD160.prototype._update=function(){for(var ei,eo,ea=ed,es=0;es<16;++es)ea[es]=this._block.readInt32LE(4*es);for(var eu=0|this._a,ec=0|this._b,ey=0|this._c,ew=0|this._d,ex=0|this._e,eP=0|this._a,eS=0|this._b,eE=0|this._c,ek=0|this._d,eT=0|this._e,eC=0;eC<80;eC+=1)eC<16?(ei=fn1(eu,ec,ey,ew,ex,ea[ef[eC]],eg[0],ep[eC]),eo=fn5(eP,eS,eE,ek,eT,ea[eh[eC]],eb[0],em[eC])):eC<32?(ei=fn2(eu,ec,ey,ew,ex,ea[ef[eC]],eg[1],ep[eC]),eo=fn4(eP,eS,eE,ek,eT,ea[eh[eC]],eb[1],em[eC])):eC<48?(ei=fn3(eu,ec,ey,ew,ex,ea[ef[eC]],eg[2],ep[eC]),eo=fn3(eP,eS,eE,ek,eT,ea[eh[eC]],eb[2],em[eC])):eC<64?(ei=fn4(eu,ec,ey,ew,ex,ea[ef[eC]],eg[3],ep[eC]),eo=fn2(eP,eS,eE,ek,eT,ea[eh[eC]],eb[3],em[eC])):(ei=fn5(eu,ec,ey,ew,ex,ea[ef[eC]],eg[4],ep[eC]),eo=fn1(eP,eS,eE,ek,eT,ea[eh[eC]],eb[4],em[eC])),eu=ex,ex=ew,ew=rotl(ey,10),ey=ec,ec=ei,eP=eT,eT=ek,ek=rotl(eE,10),eE=eS,eS=eo;var e_=this._b+ey+ek|0;this._b=this._c+ew+eT|0,this._c=this._d+ex+eP|0,this._d=this._e+eu+eS|0,this._e=this._a+ec+eE|0,this._a=e_},RIPEMD160.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 ei=es.alloc?es.alloc(20):new es(20);return ei.writeInt32LE(this._a,0),ei.writeInt32LE(this._b,4),ei.writeInt32LE(this._c,8),ei.writeInt32LE(this._d,12),ei.writeInt32LE(this._e,16),ei},ei.exports=RIPEMD160},5055:function(ei,eo,ea){var es=ea(4300),eu=es.Buffer;function copyProps(ei,eo){for(var ea in ei)eo[ea]=ei[ea]}function SafeBuffer(ei,eo,ea){return eu(ei,eo,ea)}eu.from&&eu.alloc&&eu.allocUnsafe&&eu.allocUnsafeSlow?ei.exports=es:(copyProps(es,eo),eo.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(eu.prototype),copyProps(eu,SafeBuffer),SafeBuffer.from=function(ei,eo,ea){if("number"==typeof ei)throw TypeError("Argument must not be a number");return eu(ei,eo,ea)},SafeBuffer.alloc=function(ei,eo,ea){if("number"!=typeof ei)throw TypeError("Argument must be a number");var es=eu(ei);return void 0!==eo?"string"==typeof ea?es.fill(eo,ea):es.fill(eo):es.fill(0),es},SafeBuffer.allocUnsafe=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return eu(ei)},SafeBuffer.allocUnsafeSlow=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return es.SlowBuffer(ei)}},6911:function(ei,eo,ea){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var es=ea(4300),eu=es.Buffer;function copyProps(ei,eo){for(var ea in ei)eo[ea]=ei[ea]}function SafeBuffer(ei,eo,ea){return eu(ei,eo,ea)}eu.from&&eu.alloc&&eu.allocUnsafe&&eu.allocUnsafeSlow?ei.exports=es:(copyProps(es,eo),eo.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(eu.prototype),copyProps(eu,SafeBuffer),SafeBuffer.from=function(ei,eo,ea){if("number"==typeof ei)throw TypeError("Argument must not be a number");return eu(ei,eo,ea)},SafeBuffer.alloc=function(ei,eo,ea){if("number"!=typeof ei)throw TypeError("Argument must be a number");var es=eu(ei);return void 0!==eo?"string"==typeof ea?es.fill(eo,ea):es.fill(eo):es.fill(0),es},SafeBuffer.allocUnsafe=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return eu(ei)},SafeBuffer.allocUnsafeSlow=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return es.SlowBuffer(ei)}},2858:function(ei,eo,ea){var es=ea(6911).Buffer;function Hash(ei,eo){this._block=es.alloc(ei),this._finalSize=eo,this._blockSize=ei,this._len=0}Hash.prototype.update=function(ei,eo){"string"==typeof ei&&(eo=eo||"utf8",ei=es.from(ei,eo));for(var ea=this._block,eu=this._blockSize,ec=ei.length,ed=this._len,ef=0;ef<ec;){for(var eh=ed%eu,ep=Math.min(ec-ef,eu-eh),em=0;em<ep;em++)ea[eh+em]=ei[ef+em];ed+=ep,ef+=ep,ed%eu==0&&this._update(ea)}return this._len+=ec,this},Hash.prototype.digest=function(ei){var eo=this._len%this._blockSize;this._block[eo]=128,this._block.fill(0,eo+1),eo>=this._finalSize&&(this._update(this._block),this._block.fill(0));var ea=8*this._len;if(ea<=4294967295)this._block.writeUInt32BE(ea,this._blockSize-4);else{var es=(4294967295&ea)>>>0,eu=(ea-es)/4294967296;this._block.writeUInt32BE(eu,this._blockSize-8),this._block.writeUInt32BE(es,this._blockSize-4)}this._update(this._block);var ec=this._hash();return ei?ec.toString(ei):ec},Hash.prototype._update=function(){throw Error("_update must be implemented by subclass")},ei.exports=Hash},4371:function(ei,eo,ea){var es=ei.exports=function(ei){var eo=es[ei=ei.toLowerCase()];if(!eo)throw Error(ei+" is not supported (we accept pull requests)");return new eo};es.sha=ea(4018),es.sha1=ea(4179),es.sha224=ea(532),es.sha256=ea(1843),es.sha384=ea(7455),es.sha512=ea(9934)},4018:function(ei,eo,ea){var es=ea(3782),eu=ea(2858),ec=ea(6911).Buffer,ed=[1518500249,1859775393,-1894007588,-899497514],ef=Array(80);function Sha(){this.init(),this._w=ef,eu.call(this,64,56)}function rotl5(ei){return ei<<5|ei>>>27}function rotl30(ei){return ei<<30|ei>>>2}function ft(ei,eo,ea,es){return 0===ei?eo&ea|~eo&es:2===ei?eo&ea|eo&es|ea&es:eo^ea^es}es(Sha,eu),Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},Sha.prototype._update=function(ei){for(var eo=this._w,ea=0|this._a,es=0|this._b,eu=0|this._c,ec=0|this._d,ef=0|this._e,eh=0;eh<16;++eh)eo[eh]=ei.readInt32BE(4*eh);for(;eh<80;++eh)eo[eh]=eo[eh-3]^eo[eh-8]^eo[eh-14]^eo[eh-16];for(var ep=0;ep<80;++ep){var em=~~(ep/20),eg=rotl5(ea)+ft(em,es,eu,ec)+ef+eo[ep]+ed[em]|0;ef=ec,ec=eu,eu=rotl30(es),es=ea,ea=eg}this._a=ea+this._a|0,this._b=es+this._b|0,this._c=eu+this._c|0,this._d=ec+this._d|0,this._e=ef+this._e|0},Sha.prototype._hash=function(){var ei=ec.allocUnsafe(20);return ei.writeInt32BE(0|this._a,0),ei.writeInt32BE(0|this._b,4),ei.writeInt32BE(0|this._c,8),ei.writeInt32BE(0|this._d,12),ei.writeInt32BE(0|this._e,16),ei},ei.exports=Sha},4179:function(ei,eo,ea){var es=ea(3782),eu=ea(2858),ec=ea(6911).Buffer,ed=[1518500249,1859775393,-1894007588,-899497514],ef=Array(80);function Sha1(){this.init(),this._w=ef,eu.call(this,64,56)}function rotl1(ei){return ei<<1|ei>>>31}function rotl5(ei){return ei<<5|ei>>>27}function rotl30(ei){return ei<<30|ei>>>2}function ft(ei,eo,ea,es){return 0===ei?eo&ea|~eo&es:2===ei?eo&ea|eo&es|ea&es:eo^ea^es}es(Sha1,eu),Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},Sha1.prototype._update=function(ei){for(var eo=this._w,ea=0|this._a,es=0|this._b,eu=0|this._c,ec=0|this._d,ef=0|this._e,eh=0;eh<16;++eh)eo[eh]=ei.readInt32BE(4*eh);for(;eh<80;++eh)eo[eh]=rotl1(eo[eh-3]^eo[eh-8]^eo[eh-14]^eo[eh-16]);for(var ep=0;ep<80;++ep){var em=~~(ep/20),eg=rotl5(ea)+ft(em,es,eu,ec)+ef+eo[ep]+ed[em]|0;ef=ec,ec=eu,eu=rotl30(es),es=ea,ea=eg}this._a=ea+this._a|0,this._b=es+this._b|0,this._c=eu+this._c|0,this._d=ec+this._d|0,this._e=ef+this._e|0},Sha1.prototype._hash=function(){var ei=ec.allocUnsafe(20);return ei.writeInt32BE(0|this._a,0),ei.writeInt32BE(0|this._b,4),ei.writeInt32BE(0|this._c,8),ei.writeInt32BE(0|this._d,12),ei.writeInt32BE(0|this._e,16),ei},ei.exports=Sha1},532:function(ei,eo,ea){var es=ea(3782),eu=ea(1843),ec=ea(2858),ed=ea(6911).Buffer,ef=Array(64);function Sha224(){this.init(),this._w=ef,ec.call(this,64,56)}es(Sha224,eu),Sha224.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},Sha224.prototype._hash=function(){var ei=ed.allocUnsafe(28);return ei.writeInt32BE(this._a,0),ei.writeInt32BE(this._b,4),ei.writeInt32BE(this._c,8),ei.writeInt32BE(this._d,12),ei.writeInt32BE(this._e,16),ei.writeInt32BE(this._f,20),ei.writeInt32BE(this._g,24),ei},ei.exports=Sha224},1843:function(ei,eo,ea){var es=ea(3782),eu=ea(2858),ec=ea(6911).Buffer,ed=[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],ef=Array(64);function Sha256(){this.init(),this._w=ef,eu.call(this,64,56)}function ch(ei,eo,ea){return ea^ei&(eo^ea)}function maj(ei,eo,ea){return ei&eo|ea&(ei|eo)}function sigma0(ei){return(ei>>>2|ei<<30)^(ei>>>13|ei<<19)^(ei>>>22|ei<<10)}function sigma1(ei){return(ei>>>6|ei<<26)^(ei>>>11|ei<<21)^(ei>>>25|ei<<7)}function gamma0(ei){return(ei>>>7|ei<<25)^(ei>>>18|ei<<14)^ei>>>3}function gamma1(ei){return(ei>>>17|ei<<15)^(ei>>>19|ei<<13)^ei>>>10}es(Sha256,eu),Sha256.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},Sha256.prototype._update=function(ei){for(var eo=this._w,ea=0|this._a,es=0|this._b,eu=0|this._c,ec=0|this._d,ef=0|this._e,eh=0|this._f,ep=0|this._g,em=0|this._h,eg=0;eg<16;++eg)eo[eg]=ei.readInt32BE(4*eg);for(;eg<64;++eg)eo[eg]=gamma1(eo[eg-2])+eo[eg-7]+gamma0(eo[eg-15])+eo[eg-16]|0;for(var eb=0;eb<64;++eb){var ey=em+sigma1(ef)+ch(ef,eh,ep)+ed[eb]+eo[eb]|0,ew=sigma0(ea)+maj(ea,es,eu)|0;em=ep,ep=eh,eh=ef,ef=ec+ey|0,ec=eu,eu=es,es=ea,ea=ey+ew|0}this._a=ea+this._a|0,this._b=es+this._b|0,this._c=eu+this._c|0,this._d=ec+this._d|0,this._e=ef+this._e|0,this._f=eh+this._f|0,this._g=ep+this._g|0,this._h=em+this._h|0},Sha256.prototype._hash=function(){var ei=ec.allocUnsafe(32);return ei.writeInt32BE(this._a,0),ei.writeInt32BE(this._b,4),ei.writeInt32BE(this._c,8),ei.writeInt32BE(this._d,12),ei.writeInt32BE(this._e,16),ei.writeInt32BE(this._f,20),ei.writeInt32BE(this._g,24),ei.writeInt32BE(this._h,28),ei},ei.exports=Sha256},7455:function(ei,eo,ea){var es=ea(3782),eu=ea(9934),ec=ea(2858),ed=ea(6911).Buffer,ef=Array(160);function Sha384(){this.init(),this._w=ef,ec.call(this,128,112)}es(Sha384,eu),Sha384.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},Sha384.prototype._hash=function(){var ei=ed.allocUnsafe(48);function writeInt64BE(eo,ea,es){ei.writeInt32BE(eo,es),ei.writeInt32BE(ea,es+4)}return writeInt64BE(this._ah,this._al,0),writeInt64BE(this._bh,this._bl,8),writeInt64BE(this._ch,this._cl,16),writeInt64BE(this._dh,this._dl,24),writeInt64BE(this._eh,this._el,32),writeInt64BE(this._fh,this._fl,40),ei},ei.exports=Sha384},9934:function(ei,eo,ea){var es=ea(3782),eu=ea(2858),ec=ea(6911).Buffer,ed=[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],ef=Array(160);function Sha512(){this.init(),this._w=ef,eu.call(this,128,112)}function Ch(ei,eo,ea){return ea^ei&(eo^ea)}function maj(ei,eo,ea){return ei&eo|ea&(ei|eo)}function sigma0(ei,eo){return(ei>>>28|eo<<4)^(eo>>>2|ei<<30)^(eo>>>7|ei<<25)}function sigma1(ei,eo){return(ei>>>14|eo<<18)^(ei>>>18|eo<<14)^(eo>>>9|ei<<23)}function Gamma0(ei,eo){return(ei>>>1|eo<<31)^(ei>>>8|eo<<24)^ei>>>7}function Gamma0l(ei,eo){return(ei>>>1|eo<<31)^(ei>>>8|eo<<24)^(ei>>>7|eo<<25)}function Gamma1(ei,eo){return(ei>>>19|eo<<13)^(eo>>>29|ei<<3)^ei>>>6}function Gamma1l(ei,eo){return(ei>>>19|eo<<13)^(eo>>>29|ei<<3)^(ei>>>6|eo<<26)}function getCarry(ei,eo){return ei>>>0<eo>>>0?1:0}es(Sha512,eu),Sha512.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},Sha512.prototype._update=function(ei){for(var eo=this._w,ea=0|this._ah,es=0|this._bh,eu=0|this._ch,ec=0|this._dh,ef=0|this._eh,eh=0|this._fh,ep=0|this._gh,em=0|this._hh,eg=0|this._al,eb=0|this._bl,ey=0|this._cl,ew=0|this._dl,ex=0|this._el,eP=0|this._fl,eS=0|this._gl,eE=0|this._hl,ek=0;ek<32;ek+=2)eo[ek]=ei.readInt32BE(4*ek),eo[ek+1]=ei.readInt32BE(4*ek+4);for(;ek<160;ek+=2){var eT=eo[ek-30],eC=eo[ek-30+1],e_=Gamma0(eT,eC),eA=Gamma0l(eC,eT),eO=Gamma1(eT=eo[ek-4],eC=eo[ek-4+1]),eM=Gamma1l(eC,eT),eR=eo[ek-14],ej=eo[ek-14+1],eN=eo[ek-32],eL=eo[ek-32+1],eD=eA+ej|0,eI=e_+eR+getCarry(eD,eA)|0;eI=(eI=eI+eO+getCarry(eD=eD+eM|0,eM)|0)+eN+getCarry(eD=eD+eL|0,eL)|0,eo[ek]=eI,eo[ek+1]=eD}for(var ez=0;ez<160;ez+=2){eI=eo[ez],eD=eo[ez+1];var eB=maj(ea,es,eu),eF=maj(eg,eb,ey),eH=sigma0(ea,eg),eU=sigma0(eg,ea),eV=sigma1(ef,ex),eX=sigma1(ex,ef),eq=ed[ez],e$=ed[ez+1],eW=Ch(ef,eh,ep),eK=Ch(ex,eP,eS),eG=eE+eX|0,eZ=em+eV+getCarry(eG,eE)|0;eZ=(eZ=(eZ=eZ+eW+getCarry(eG=eG+eK|0,eK)|0)+eq+getCarry(eG=eG+e$|0,e$)|0)+eI+getCarry(eG=eG+eD|0,eD)|0;var eJ=eU+eF|0,eY=eH+eB+getCarry(eJ,eU)|0;em=ep,eE=eS,ep=eh,eS=eP,eh=ef,eP=ex,ef=ec+eZ+getCarry(ex=ew+eG|0,ew)|0,ec=eu,ew=ey,eu=es,ey=eb,es=ea,eb=eg,ea=eZ+eY+getCarry(eg=eG+eJ|0,eG)|0}this._al=this._al+eg|0,this._bl=this._bl+eb|0,this._cl=this._cl+ey|0,this._dl=this._dl+ew|0,this._el=this._el+ex|0,this._fl=this._fl+eP|0,this._gl=this._gl+eS|0,this._hl=this._hl+eE|0,this._ah=this._ah+ea+getCarry(this._al,eg)|0,this._bh=this._bh+es+getCarry(this._bl,eb)|0,this._ch=this._ch+eu+getCarry(this._cl,ey)|0,this._dh=this._dh+ec+getCarry(this._dl,ew)|0,this._eh=this._eh+ef+getCarry(this._el,ex)|0,this._fh=this._fh+eh+getCarry(this._fl,eP)|0,this._gh=this._gh+ep+getCarry(this._gl,eS)|0,this._hh=this._hh+em+getCarry(this._hl,eE)|0},Sha512.prototype._hash=function(){var ei=ec.allocUnsafe(64);function writeInt64BE(eo,ea,es){ei.writeInt32BE(eo,es),ei.writeInt32BE(ea,es+4)}return writeInt64BE(this._ah,this._al,0),writeInt64BE(this._bh,this._bl,8),writeInt64BE(this._ch,this._cl,16),writeInt64BE(this._dh,this._dl,24),writeInt64BE(this._eh,this._el,32),writeInt64BE(this._fh,this._fl,40),writeInt64BE(this._gh,this._gl,48),writeInt64BE(this._hh,this._hl,56),ei},ei.exports=Sha512},3704:function(ei,eo,ea){"use strict";var es=ea(5055).Buffer,eu=es.isEncoding||function(ei){switch((ei=""+ei)&&ei.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 _normalizeEncoding(ei){var eo;if(!ei)return"utf8";for(;;)switch(ei){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 ei;default:if(eo)return;ei=(""+ei).toLowerCase(),eo=!0}}function normalizeEncoding(ei){var eo=_normalizeEncoding(ei);if("string"!=typeof eo&&(es.isEncoding===eu||!eu(ei)))throw Error("Unknown encoding: "+ei);return eo||ei}function StringDecoder(ei){var eo;switch(this.encoding=normalizeEncoding(ei),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,eo=4;break;case"utf8":this.fillLast=utf8FillLast,eo=4;break;case"base64":this.text=base64Text,this.end=base64End,eo=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=es.allocUnsafe(eo)}function utf8CheckByte(ei){return ei<=127?0:ei>>5==6?2:ei>>4==14?3:ei>>3==30?4:ei>>6==2?-1:-2}function utf8CheckIncomplete(ei,eo,ea){var es=eo.length-1;if(es<ea)return 0;var eu=utf8CheckByte(eo[es]);return eu>=0?(eu>0&&(ei.lastNeed=eu-1),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(ei.lastNeed=eu-2),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(2===eu?eu=0:ei.lastNeed=eu-3),eu):0}function utf8CheckExtraBytes(ei,eo,ea){if((192&eo[0])!=128)return ei.lastNeed=0,"�";if(ei.lastNeed>1&&eo.length>1){if((192&eo[1])!=128)return ei.lastNeed=1,"�";if(ei.lastNeed>2&&eo.length>2&&(192&eo[2])!=128)return ei.lastNeed=2,"�"}}function utf8FillLast(ei){var eo=this.lastTotal-this.lastNeed,ea=utf8CheckExtraBytes(this,ei,eo);return void 0!==ea?ea:this.lastNeed<=ei.length?(ei.copy(this.lastChar,eo,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(ei.copy(this.lastChar,eo,0,ei.length),this.lastNeed-=ei.length)}function utf8Text(ei,eo){var ea=utf8CheckIncomplete(this,ei,eo);if(!this.lastNeed)return ei.toString("utf8",eo);this.lastTotal=ea;var es=ei.length-(ea-this.lastNeed);return ei.copy(this.lastChar,0,es),ei.toString("utf8",eo,es)}function utf8End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+"�":eo}function utf16Text(ei,eo){if((ei.length-eo)%2==0){var ea=ei.toString("utf16le",eo);if(ea){var es=ea.charCodeAt(ea.length-1);if(es>=55296&&es<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1],ea.slice(0,-1)}return ea}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ei[ei.length-1],ei.toString("utf16le",eo,ei.length-1)}function utf16End(ei){var eo=ei&&ei.length?this.write(ei):"";if(this.lastNeed){var ea=this.lastTotal-this.lastNeed;return eo+this.lastChar.toString("utf16le",0,ea)}return eo}function base64Text(ei,eo){var ea=(ei.length-eo)%3;return 0===ea?ei.toString("base64",eo):(this.lastNeed=3-ea,this.lastTotal=3,1===ea?this.lastChar[0]=ei[ei.length-1]:(this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1]),ei.toString("base64",eo,ei.length-ea))}function base64End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+this.lastChar.toString("base64",0,3-this.lastNeed):eo}function simpleWrite(ei){return ei.toString(this.encoding)}function simpleEnd(ei){return ei&&ei.length?this.write(ei):""}eo.s=StringDecoder,StringDecoder.prototype.write=function(ei){var eo,ea;if(0===ei.length)return"";if(this.lastNeed){if(void 0===(eo=this.fillLast(ei)))return"";ea=this.lastNeed,this.lastNeed=0}else ea=0;return ea<ei.length?eo?eo+this.text(ei,ea):this.text(ei,ea):eo||""},StringDecoder.prototype.end=utf8End,StringDecoder.prototype.text=utf8Text,StringDecoder.prototype.fillLast=function(ei){if(this.lastNeed<=ei.length)return ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ei.length),this.lastNeed-=ei.length}},6769:function(ei){function deprecate(ei,eo){if(config("noDeprecation"))return ei;var ea=!1;return function(){if(!ea){if(config("throwDeprecation"))throw Error(eo);config("traceDeprecation")?console.trace(eo):console.warn(eo),ea=!0}return ei.apply(this,arguments)}}function config(ei){try{if(!ea.g.localStorage)return!1}catch(ei){return!1}var eo=ea.g.localStorage[ei];return null!=eo&&"true"===String(eo).toLowerCase()}ei.exports=deprecate},4300:function(ei){"use strict";ei.exports=ea(48764)},6113:function(ei){"use strict";ei.exports=ea(42474)},2361:function(ei){"use strict";ei.exports=ea(17187)},2781:function(ei){"use strict";ei.exports=ea(79681)},1576:function(ei){"use strict";ei.exports=ea(32553)},3837:function(ei){"use strict";ei.exports=ea(89539)},6144:function(ei){"use strict";ei.exports=ea(51951)},5866:function(ei){"use strict";ei.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(ei){"use strict";ei.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(ei){"use strict";ei.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(ei){"use strict";ei.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(ei){"use strict";ei.exports={i8:"6.5.3"}},2510:function(ei){"use strict";ei.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"}')}},ed={};function __nccwpck_require__(ei){var ea=ed[ei];if(void 0!==ea)return ea.exports;var es=ed[ei]={id:ei,loaded:!1,exports:{}},eu=!0;try{eo[ei].call(es.exports,es,es.exports,__nccwpck_require__),eu=!1}finally{eu&&delete ed[ei]}return es.loaded=!0,es.exports}!function(){__nccwpck_require__.nmd=function(ei){return ei.paths=[],ei.children||(ei.children=[]),ei}}(),__nccwpck_require__.ab=es+"/";var ef={};!function(){"use strict";var ei=ef;ei.randomBytes=ei.rng=ei.pseudoRandomBytes=ei.prng=__nccwpck_require__(7223),ei.createHash=ei.Hash=__nccwpck_require__(9739),ei.createHmac=ei.Hmac=__nccwpck_require__(4873);var eo=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(__nccwpck_require__(9276)));ei.getHashes=function(){return eo};var ea=__nccwpck_require__(4978);ei.pbkdf2=ea.pbkdf2,ei.pbkdf2Sync=ea.pbkdf2Sync;var es=__nccwpck_require__(8996);ei.Cipher=es.Cipher,ei.createCipher=es.createCipher,ei.Cipheriv=es.Cipheriv,ei.createCipheriv=es.createCipheriv,ei.Decipher=es.Decipher,ei.createDecipher=es.createDecipher,ei.Decipheriv=es.Decipheriv,ei.createDecipheriv=es.createDecipheriv,ei.getCiphers=es.getCiphers,ei.listCiphers=es.listCiphers;var eu=__nccwpck_require__(6587);ei.DiffieHellmanGroup=eu.DiffieHellmanGroup,ei.createDiffieHellmanGroup=eu.createDiffieHellmanGroup,ei.getDiffieHellman=eu.getDiffieHellman,ei.createDiffieHellman=eu.createDiffieHellman,ei.DiffieHellman=eu.DiffieHellman;var ec=__nccwpck_require__(4078);ei.createSign=ec.createSign,ei.Sign=ec.Sign,ei.createVerify=ec.createVerify,ei.Verify=ec.Verify,ei.createECDH=__nccwpck_require__(9942);var ed=__nccwpck_require__(9783);ei.publicEncrypt=ed.publicEncrypt,ei.privateEncrypt=ed.privateEncrypt,ei.publicDecrypt=ed.publicDecrypt,ei.privateDecrypt=ed.privateDecrypt;var eh=__nccwpck_require__(6445);ei.randomFill=eh.randomFill,ei.randomFillSync=eh.randomFillSync,ei.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},ei.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}}(),ei.exports=ef}()},29129:function(){},57592:function(){},9503:function(ei){ei.exports={style:{fontFamily:"'__figtreeFont_88a969', '__figtreeFont_Fallback_88a969'"},className:"__className_88a969",variable:"__variable_88a969"}},55173:function(ei){ei.exports={style:{fontFamily:"'__outfitFont_fb1790', '__outfitFont_Fallback_fb1790'"},className:"__className_fb1790",variable:"__variable_fb1790"}},79681:function(ei,eo,ea){var es="/",eu=ea(34155);!function(){var eo={782:function(ei){"function"==typeof Object.create?ei.exports=function(ei,eo){eo&&(ei.super_=eo,ei.prototype=Object.create(eo.prototype,{constructor:{value:ei,enumerable:!1,writable:!0,configurable:!0}}))}:ei.exports=function(ei,eo){if(eo){ei.super_=eo;var TempCtor=function(){};TempCtor.prototype=eo.prototype,ei.prototype=new TempCtor,ei.prototype.constructor=ei}}},646:function(ei){"use strict";let eo={};function createErrorType(ei,ea,es){function getMessage(ei,eo,es){return"string"==typeof ea?ea:ea(ei,eo,es)}es||(es=Error);let NodeError=class NodeError extends es{constructor(ei,eo,ea){super(getMessage(ei,eo,ea))}};NodeError.prototype.name=es.name,NodeError.prototype.code=ei,eo[ei]=NodeError}function oneOf(ei,eo){if(!Array.isArray(ei))return`of ${eo} ${String(ei)}`;{let ea=ei.length;return(ei=ei.map(ei=>String(ei)),ea>2)?`one of ${eo} ${ei.slice(0,ea-1).join(", ")}, or `+ei[ea-1]:2===ea?`one of ${eo} ${ei[0]} or ${ei[1]}`:`of ${eo} ${ei[0]}`}}function startsWith(ei,eo,ea){return ei.substr(!ea||ea<0?0:+ea,eo.length)===eo}function endsWith(ei,eo,ea){return(void 0===ea||ea>ei.length)&&(ea=ei.length),ei.substring(ea-eo.length,ea)===eo}function includes(ei,eo,ea){return"number"!=typeof ea&&(ea=0),!(ea+eo.length>ei.length)&&-1!==ei.indexOf(eo,ea)}createErrorType("ERR_INVALID_OPT_VALUE",function(ei,eo){return'The value "'+eo+'" is invalid for option "'+ei+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(ei,eo,ea){let es,eu;if("string"==typeof eo&&startsWith(eo,"not ")?(es="must not be",eo=eo.replace(/^not /,"")):es="must be",endsWith(ei," argument"))eu=`The ${ei} ${es} ${oneOf(eo,"type")}`;else{let ea=includes(ei,".")?"property":"argument";eu=`The "${ei}" ${ea} ${es} ${oneOf(eo,"type")}`}return eu+`. Received type ${typeof ea}`},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(ei){return"The "+ei+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(ei){return"Cannot call "+ei+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(ei){return"Unknown encoding: "+ei},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ei.exports.q=eo},403:function(ei,eo,ea){"use strict";var es=Object.keys||function(ei){var eo=[];for(var ea in ei)eo.push(ea);return eo};ei.exports=Duplex;var ec=ea(709),ed=ea(337);ea(782)(Duplex,ec);for(var ef=es(ed.prototype),eh=0;eh<ef.length;eh++){var ep=ef[eh];Duplex.prototype[ep]||(Duplex.prototype[ep]=ed.prototype[ep])}function Duplex(ei){if(!(this instanceof Duplex))return new Duplex(ei);ec.call(this,ei),ed.call(this,ei),this.allowHalfOpen=!0,ei&&(!1===ei.readable&&(this.readable=!1),!1===ei.writable&&(this.writable=!1),!1===ei.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",onend)))}function onend(){this._writableState.ended||eu.nextTick(onEndNT,this)}function onEndNT(ei){ei.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(ei){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=ei,this._writableState.destroyed=ei)}})},889:function(ei,eo,ea){"use strict";ei.exports=PassThrough;var es=ea(170);function PassThrough(ei){if(!(this instanceof PassThrough))return new PassThrough(ei);es.call(this,ei)}ea(782)(PassThrough,es),PassThrough.prototype._transform=function(ei,eo,ea){ea(null,ei)}},709:function(ei,eo,es){"use strict";ei.exports=Readable,Readable.ReadableState=ReadableState,es(361).EventEmitter;var ec,ed,ef,eh,ep,a=function(ei,eo){return ei.listeners(eo).length},em=es(678),eg=es(300).Buffer,eb=ea.g.Uint8Array||function(){};function _uint8ArrayToBuffer(ei){return eg.from(ei)}function _isUint8Array(ei){return eg.isBuffer(ei)||ei instanceof eb}var ey=es(837);ed=ey&&ey.debuglog?ey.debuglog("stream"):function(){};var ew=es(379),ex=es(25),eP=es(776).getHighWaterMark,eS=es(646).q,eE=eS.ERR_INVALID_ARG_TYPE,ek=eS.ERR_STREAM_PUSH_AFTER_EOF,eT=eS.ERR_METHOD_NOT_IMPLEMENTED,eC=eS.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;es(782)(Readable,em);var e_=ex.errorOrDestroy,eA=["error","close","destroy","pause","resume"];function prependListener(ei,eo,ea){if("function"==typeof ei.prependListener)return ei.prependListener(eo,ea);ei._events&&ei._events[eo]?Array.isArray(ei._events[eo])?ei._events[eo].unshift(ea):ei._events[eo]=[ea,ei._events[eo]]:ei.on(eo,ea)}function ReadableState(ei,eo,ea){ec=ec||es(403),ei=ei||{},"boolean"!=typeof ea&&(ea=eo instanceof ec),this.objectMode=!!ei.objectMode,ea&&(this.objectMode=this.objectMode||!!ei.readableObjectMode),this.highWaterMark=eP(this,ei,"readableHighWaterMark",ea),this.buffer=new ew,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!==ei.emitClose,this.autoDestroy=!!ei.autoDestroy,this.destroyed=!1,this.defaultEncoding=ei.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ei.encoding&&(ef||(ef=es(704).s),this.decoder=new ef(ei.encoding),this.encoding=ei.encoding)}function Readable(ei){if(ec=ec||es(403),!(this instanceof Readable))return new Readable(ei);var eo=this instanceof ec;this._readableState=new ReadableState(ei,this,eo),this.readable=!0,ei&&("function"==typeof ei.read&&(this._read=ei.read),"function"==typeof ei.destroy&&(this._destroy=ei.destroy)),em.call(this)}function readableAddChunk(ei,eo,ea,es,eu){ed("readableAddChunk",eo);var ec,ef=ei._readableState;if(null===eo)ef.reading=!1,onEofChunk(ei,ef);else if(eu||(ec=chunkInvalid(ef,eo)),ec)e_(ei,ec);else if(ef.objectMode||eo&&eo.length>0){if("string"==typeof eo||ef.objectMode||Object.getPrototypeOf(eo)===eg.prototype||(eo=_uint8ArrayToBuffer(eo)),es)ef.endEmitted?e_(ei,new eC):addChunk(ei,ef,eo,!0);else if(ef.ended)e_(ei,new ek);else{if(ef.destroyed)return!1;ef.reading=!1,ef.decoder&&!ea?(eo=ef.decoder.write(eo),ef.objectMode||0!==eo.length?addChunk(ei,ef,eo,!1):maybeReadMore(ei,ef)):addChunk(ei,ef,eo,!1)}}else es||(ef.reading=!1,maybeReadMore(ei,ef));return!ef.ended&&(ef.length<ef.highWaterMark||0===ef.length)}function addChunk(ei,eo,ea,es){eo.flowing&&0===eo.length&&!eo.sync?(eo.awaitDrain=0,ei.emit("data",ea)):(eo.length+=eo.objectMode?1:ea.length,es?eo.buffer.unshift(ea):eo.buffer.push(ea),eo.needReadable&&emitReadable(ei)),maybeReadMore(ei,eo)}function chunkInvalid(ei,eo){var ea;return _isUint8Array(eo)||"string"==typeof eo||void 0===eo||ei.objectMode||(ea=new eE("chunk",["string","Buffer","Uint8Array"],eo)),ea}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ei){this._readableState&&(this._readableState.destroyed=ei)}}),Readable.prototype.destroy=ex.destroy,Readable.prototype._undestroy=ex.undestroy,Readable.prototype._destroy=function(ei,eo){eo(ei)},Readable.prototype.push=function(ei,eo){var ea,es=this._readableState;return es.objectMode?ea=!0:"string"==typeof ei&&((eo=eo||es.defaultEncoding)!==es.encoding&&(ei=eg.from(ei,eo),eo=""),ea=!0),readableAddChunk(this,ei,eo,!1,ea)},Readable.prototype.unshift=function(ei){return readableAddChunk(this,ei,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(ei){ef||(ef=es(704).s);var eo=new ef(ei);this._readableState.decoder=eo,this._readableState.encoding=this._readableState.decoder.encoding;for(var ea=this._readableState.buffer.head,eu="";null!==ea;)eu+=eo.write(ea.data),ea=ea.next;return this._readableState.buffer.clear(),""!==eu&&this._readableState.buffer.push(eu),this._readableState.length=eu.length,this};var eO=1073741824;function computeNewHighWaterMark(ei){return ei>=eO?ei=eO:(ei--,ei|=ei>>>1,ei|=ei>>>2,ei|=ei>>>4,ei|=ei>>>8,ei|=ei>>>16,ei++),ei}function howMuchToRead(ei,eo){return ei<=0||0===eo.length&&eo.ended?0:eo.objectMode?1:ei!=ei?eo.flowing&&eo.length?eo.buffer.head.data.length:eo.length:(ei>eo.highWaterMark&&(eo.highWaterMark=computeNewHighWaterMark(ei)),ei<=eo.length)?ei:eo.ended?eo.length:(eo.needReadable=!0,0)}function onEofChunk(ei,eo){if(ed("onEofChunk"),!eo.ended){if(eo.decoder){var ea=eo.decoder.end();ea&&ea.length&&(eo.buffer.push(ea),eo.length+=eo.objectMode?1:ea.length)}eo.ended=!0,eo.sync?emitReadable(ei):(eo.needReadable=!1,eo.emittedReadable||(eo.emittedReadable=!0,emitReadable_(ei)))}}function emitReadable(ei){var eo=ei._readableState;ed("emitReadable",eo.needReadable,eo.emittedReadable),eo.needReadable=!1,eo.emittedReadable||(ed("emitReadable",eo.flowing),eo.emittedReadable=!0,eu.nextTick(emitReadable_,ei))}function emitReadable_(ei){var eo=ei._readableState;ed("emitReadable_",eo.destroyed,eo.length,eo.ended),!eo.destroyed&&(eo.length||eo.ended)&&(ei.emit("readable"),eo.emittedReadable=!1),eo.needReadable=!eo.flowing&&!eo.ended&&eo.length<=eo.highWaterMark,flow(ei)}function maybeReadMore(ei,eo){eo.readingMore||(eo.readingMore=!0,eu.nextTick(maybeReadMore_,ei,eo))}function maybeReadMore_(ei,eo){for(;!eo.reading&&!eo.ended&&(eo.length<eo.highWaterMark||eo.flowing&&0===eo.length);){var ea=eo.length;if(ed("maybeReadMore read 0"),ei.read(0),ea===eo.length)break}eo.readingMore=!1}function pipeOnDrain(ei){return function(){var eo=ei._readableState;ed("pipeOnDrain",eo.awaitDrain),eo.awaitDrain&&eo.awaitDrain--,0===eo.awaitDrain&&a(ei,"data")&&(eo.flowing=!0,flow(ei))}}function updateReadableListening(ei){var eo=ei._readableState;eo.readableListening=ei.listenerCount("readable")>0,eo.resumeScheduled&&!eo.paused?eo.flowing=!0:ei.listenerCount("data")>0&&ei.resume()}function nReadingNextTick(ei){ed("readable nexttick read 0"),ei.read(0)}function resume(ei,eo){eo.resumeScheduled||(eo.resumeScheduled=!0,eu.nextTick(resume_,ei,eo))}function resume_(ei,eo){ed("resume",eo.reading),eo.reading||ei.read(0),eo.resumeScheduled=!1,ei.emit("resume"),flow(ei),eo.flowing&&!eo.reading&&ei.read(0)}function flow(ei){var eo=ei._readableState;for(ed("flow",eo.flowing);eo.flowing&&null!==ei.read(););}function fromList(ei,eo){var ea;return 0===eo.length?null:(eo.objectMode?ea=eo.buffer.shift():!ei||ei>=eo.length?(ea=eo.decoder?eo.buffer.join(""):1===eo.buffer.length?eo.buffer.first():eo.buffer.concat(eo.length),eo.buffer.clear()):ea=eo.buffer.consume(ei,eo.decoder),ea)}function endReadable(ei){var eo=ei._readableState;ed("endReadable",eo.endEmitted),eo.endEmitted||(eo.ended=!0,eu.nextTick(endReadableNT,eo,ei))}function endReadableNT(ei,eo){if(ed("endReadableNT",ei.endEmitted,ei.length),!ei.endEmitted&&0===ei.length&&(ei.endEmitted=!0,eo.readable=!1,eo.emit("end"),ei.autoDestroy)){var ea=eo._writableState;(!ea||ea.autoDestroy&&ea.finished)&&eo.destroy()}}function indexOf(ei,eo){for(var ea=0,es=ei.length;ea<es;ea++)if(ei[ea]===eo)return ea;return -1}Readable.prototype.read=function(ei){ed("read",ei),ei=parseInt(ei,10);var eo,ea=this._readableState,es=ei;if(0!==ei&&(ea.emittedReadable=!1),0===ei&&ea.needReadable&&((0!==ea.highWaterMark?ea.length>=ea.highWaterMark:ea.length>0)||ea.ended))return ed("read: emitReadable",ea.length,ea.ended),0===ea.length&&ea.ended?endReadable(this):emitReadable(this),null;if(0===(ei=howMuchToRead(ei,ea))&&ea.ended)return 0===ea.length&&endReadable(this),null;var eu=ea.needReadable;return ed("need readable",eu),(0===ea.length||ea.length-ei<ea.highWaterMark)&&ed("length less than watermark",eu=!0),ea.ended||ea.reading?ed("reading or ended",eu=!1):eu&&(ed("do read"),ea.reading=!0,ea.sync=!0,0===ea.length&&(ea.needReadable=!0),this._read(ea.highWaterMark),ea.sync=!1,ea.reading||(ei=howMuchToRead(es,ea))),null===(eo=ei>0?fromList(ei,ea):null)?(ea.needReadable=ea.length<=ea.highWaterMark,ei=0):(ea.length-=ei,ea.awaitDrain=0),0===ea.length&&(ea.ended||(ea.needReadable=!0),es!==ei&&ea.ended&&endReadable(this)),null!==eo&&this.emit("data",eo),eo},Readable.prototype._read=function(ei){e_(this,new eT("_read()"))},Readable.prototype.pipe=function(ei,eo){var ea=this,es=this._readableState;switch(es.pipesCount){case 0:es.pipes=ei;break;case 1:es.pipes=[es.pipes,ei];break;default:es.pipes.push(ei)}es.pipesCount+=1,ed("pipe count=%d opts=%j",es.pipesCount,eo);var ec=eo&&!1===eo.end||ei===eu.stdout||ei===eu.stderr?unpipe:onend;function onunpipe(ei,eo){ed("onunpipe"),ei===ea&&eo&&!1===eo.hasUnpiped&&(eo.hasUnpiped=!0,cleanup())}function onend(){ed("onend"),ei.end()}es.endEmitted?eu.nextTick(ec):ea.once("end",ec),ei.on("unpipe",onunpipe);var ef=pipeOnDrain(ea);ei.on("drain",ef);var eh=!1;function cleanup(){ed("cleanup"),ei.removeListener("close",onclose),ei.removeListener("finish",onfinish),ei.removeListener("drain",ef),ei.removeListener("error",onerror),ei.removeListener("unpipe",onunpipe),ea.removeListener("end",onend),ea.removeListener("end",unpipe),ea.removeListener("data",ondata),eh=!0,es.awaitDrain&&(!ei._writableState||ei._writableState.needDrain)&&ef()}function ondata(eo){ed("ondata");var eu=ei.write(eo);ed("dest.write",eu),!1===eu&&((1===es.pipesCount&&es.pipes===ei||es.pipesCount>1&&-1!==indexOf(es.pipes,ei))&&!eh&&(ed("false write response, pause",es.awaitDrain),es.awaitDrain++),ea.pause())}function onerror(eo){ed("onerror",eo),unpipe(),ei.removeListener("error",onerror),0===a(ei,"error")&&e_(ei,eo)}function onclose(){ei.removeListener("finish",onfinish),unpipe()}function onfinish(){ed("onfinish"),ei.removeListener("close",onclose),unpipe()}function unpipe(){ed("unpipe"),ea.unpipe(ei)}return ea.on("data",ondata),prependListener(ei,"error",onerror),ei.once("close",onclose),ei.once("finish",onfinish),ei.emit("pipe",ea),es.flowing||(ed("pipe resume"),ea.resume()),ei},Readable.prototype.unpipe=function(ei){var eo=this._readableState,ea={hasUnpiped:!1};if(0===eo.pipesCount)return this;if(1===eo.pipesCount)return ei&&ei!==eo.pipes||(ei||(ei=eo.pipes),eo.pipes=null,eo.pipesCount=0,eo.flowing=!1,ei&&ei.emit("unpipe",this,ea)),this;if(!ei){var es=eo.pipes,eu=eo.pipesCount;eo.pipes=null,eo.pipesCount=0,eo.flowing=!1;for(var ec=0;ec<eu;ec++)es[ec].emit("unpipe",this,{hasUnpiped:!1});return this}var ed=indexOf(eo.pipes,ei);return -1===ed||(eo.pipes.splice(ed,1),eo.pipesCount-=1,1===eo.pipesCount&&(eo.pipes=eo.pipes[0]),ei.emit("unpipe",this,ea)),this},Readable.prototype.on=function(ei,eo){var ea=em.prototype.on.call(this,ei,eo),es=this._readableState;return"data"===ei?(es.readableListening=this.listenerCount("readable")>0,!1!==es.flowing&&this.resume()):"readable"!==ei||es.endEmitted||es.readableListening||(es.readableListening=es.needReadable=!0,es.flowing=!1,es.emittedReadable=!1,ed("on readable",es.length,es.reading),es.length?emitReadable(this):es.reading||eu.nextTick(nReadingNextTick,this)),ea},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(ei,eo){var ea=em.prototype.removeListener.call(this,ei,eo);return"readable"===ei&&eu.nextTick(updateReadableListening,this),ea},Readable.prototype.removeAllListeners=function(ei){var eo=em.prototype.removeAllListeners.apply(this,arguments);return("readable"===ei||void 0===ei)&&eu.nextTick(updateReadableListening,this),eo},Readable.prototype.resume=function(){var ei=this._readableState;return ei.flowing||(ed("resume"),ei.flowing=!ei.readableListening,resume(this,ei)),ei.paused=!1,this},Readable.prototype.pause=function(){return ed("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(ed("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(ei){var eo=this,ea=this._readableState,es=!1;for(var eu in ei.on("end",function(){if(ed("wrapped end"),ea.decoder&&!ea.ended){var ei=ea.decoder.end();ei&&ei.length&&eo.push(ei)}eo.push(null)}),ei.on("data",function(eu){ed("wrapped data"),ea.decoder&&(eu=ea.decoder.write(eu)),(!ea.objectMode||null!=eu)&&(ea.objectMode||eu&&eu.length)&&(eo.push(eu)||(es=!0,ei.pause()))}),ei)void 0===this[eu]&&"function"==typeof ei[eu]&&(this[eu]=function(eo){return function(){return ei[eo].apply(ei,arguments)}}(eu));for(var ec=0;ec<eA.length;ec++)ei.on(eA[ec],this.emit.bind(this,eA[ec]));return this._read=function(eo){ed("wrapped _read",eo),es&&(es=!1,ei.resume())},this},"function"==typeof Symbol&&(Readable.prototype[Symbol.asyncIterator]=function(){return void 0===eh&&(eh=es(871)),eh(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ei){this._readableState&&(this._readableState.flowing=ei)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Readable.from=function(ei,eo){return void 0===ep&&(ep=es(727)),ep(Readable,ei,eo)})},170:function(ei,eo,ea){"use strict";ei.exports=Transform;var es=ea(646).q,eu=es.ERR_METHOD_NOT_IMPLEMENTED,ec=es.ERR_MULTIPLE_CALLBACK,ed=es.ERR_TRANSFORM_ALREADY_TRANSFORMING,ef=es.ERR_TRANSFORM_WITH_LENGTH_0,eh=ea(403);function afterTransform(ei,eo){var ea=this._transformState;ea.transforming=!1;var es=ea.writecb;if(null===es)return this.emit("error",new ec);ea.writechunk=null,ea.writecb=null,null!=eo&&this.push(eo),es(ei);var eu=this._readableState;eu.reading=!1,(eu.needReadable||eu.length<eu.highWaterMark)&&this._read(eu.highWaterMark)}function Transform(ei){if(!(this instanceof Transform))return new Transform(ei);eh.call(this,ei),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ei&&("function"==typeof ei.transform&&(this._transform=ei.transform),"function"==typeof ei.flush&&(this._flush=ei.flush)),this.on("prefinish",prefinish)}function prefinish(){var ei=this;"function"!=typeof this._flush||this._readableState.destroyed?done(this,null,null):this._flush(function(eo,ea){done(ei,eo,ea)})}function done(ei,eo,ea){if(eo)return ei.emit("error",eo);if(null!=ea&&ei.push(ea),ei._writableState.length)throw new ef;if(ei._transformState.transforming)throw new ed;return ei.push(null)}ea(782)(Transform,eh),Transform.prototype.push=function(ei,eo){return this._transformState.needTransform=!1,eh.prototype.push.call(this,ei,eo)},Transform.prototype._transform=function(ei,eo,ea){ea(new eu("_transform()"))},Transform.prototype._write=function(ei,eo,ea){var es=this._transformState;if(es.writecb=ea,es.writechunk=ei,es.writeencoding=eo,!es.transforming){var eu=this._readableState;(es.needTransform||eu.needReadable||eu.length<eu.highWaterMark)&&this._read(eu.highWaterMark)}},Transform.prototype._read=function(ei){var eo=this._transformState;null===eo.writechunk||eo.transforming?eo.needTransform=!0:(eo.transforming=!0,this._transform(eo.writechunk,eo.writeencoding,eo.afterTransform))},Transform.prototype._destroy=function(ei,eo){eh.prototype._destroy.call(this,ei,function(ei){eo(ei)})}},337:function(ei,eo,es){"use strict";function CorkedRequest(ei){var eo=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(eo,ei)}}ei.exports=Writable,Writable.WritableState=WritableState;var ec,ed,ef={deprecate:es(769)},eh=es(678),ep=es(300).Buffer,em=ea.g.Uint8Array||function(){};function _uint8ArrayToBuffer(ei){return ep.from(ei)}function _isUint8Array(ei){return ep.isBuffer(ei)||ei instanceof em}var eg=es(25),eb=es(776).getHighWaterMark,ey=es(646).q,ew=ey.ERR_INVALID_ARG_TYPE,ex=ey.ERR_METHOD_NOT_IMPLEMENTED,eP=ey.ERR_MULTIPLE_CALLBACK,eS=ey.ERR_STREAM_CANNOT_PIPE,eE=ey.ERR_STREAM_DESTROYED,ek=ey.ERR_STREAM_NULL_VALUES,eT=ey.ERR_STREAM_WRITE_AFTER_END,eC=ey.ERR_UNKNOWN_ENCODING,e_=eg.errorOrDestroy;function nop(){}function WritableState(ei,eo,ea){ec=ec||es(403),ei=ei||{},"boolean"!=typeof ea&&(ea=eo instanceof ec),this.objectMode=!!ei.objectMode,ea&&(this.objectMode=this.objectMode||!!ei.writableObjectMode),this.highWaterMark=eb(this,ei,"writableHighWaterMark",ea),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var eu=!1===ei.decodeStrings;this.decodeStrings=!eu,this.defaultEncoding=ei.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ei){onwrite(eo,ei)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==ei.emitClose,this.autoDestroy=!!ei.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(ei){var eo=this instanceof(ec=ec||es(403));if(!eo&&!ed.call(Writable,this))return new Writable(ei);this._writableState=new WritableState(ei,this,eo),this.writable=!0,ei&&("function"==typeof ei.write&&(this._write=ei.write),"function"==typeof ei.writev&&(this._writev=ei.writev),"function"==typeof ei.destroy&&(this._destroy=ei.destroy),"function"==typeof ei.final&&(this._final=ei.final)),eh.call(this)}function writeAfterEnd(ei,eo){var ea=new eT;e_(ei,ea),eu.nextTick(eo,ea)}function validChunk(ei,eo,ea,es){var ec;return null===ea?ec=new ek:"string"==typeof ea||eo.objectMode||(ec=new ew("chunk",["string","Buffer"],ea)),!ec||(e_(ei,ec),eu.nextTick(es,ec),!1)}function decodeChunk(ei,eo,ea){return ei.objectMode||!1===ei.decodeStrings||"string"!=typeof eo||(eo=ep.from(eo,ea)),eo}function writeOrBuffer(ei,eo,ea,es,eu,ec){if(!ea){var ed=decodeChunk(eo,es,eu);es!==ed&&(ea=!0,eu="buffer",es=ed)}var ef=eo.objectMode?1:es.length;eo.length+=ef;var eh=eo.length<eo.highWaterMark;if(eh||(eo.needDrain=!0),eo.writing||eo.corked){var ep=eo.lastBufferedRequest;eo.lastBufferedRequest={chunk:es,encoding:eu,isBuf:ea,callback:ec,next:null},ep?ep.next=eo.lastBufferedRequest:eo.bufferedRequest=eo.lastBufferedRequest,eo.bufferedRequestCount+=1}else doWrite(ei,eo,!1,ef,es,eu,ec);return eh}function doWrite(ei,eo,ea,es,eu,ec,ed){eo.writelen=es,eo.writecb=ed,eo.writing=!0,eo.sync=!0,eo.destroyed?eo.onwrite(new eE("write")):ea?ei._writev(eu,eo.onwrite):ei._write(eu,ec,eo.onwrite),eo.sync=!1}function onwriteError(ei,eo,ea,es,ec){--eo.pendingcb,ea?(eu.nextTick(ec,es),eu.nextTick(finishMaybe,ei,eo),ei._writableState.errorEmitted=!0,e_(ei,es)):(ec(es),ei._writableState.errorEmitted=!0,e_(ei,es),finishMaybe(ei,eo))}function onwriteStateUpdate(ei){ei.writing=!1,ei.writecb=null,ei.length-=ei.writelen,ei.writelen=0}function onwrite(ei,eo){var ea=ei._writableState,es=ea.sync,ec=ea.writecb;if("function"!=typeof ec)throw new eP;if(onwriteStateUpdate(ea),eo)onwriteError(ei,ea,es,eo,ec);else{var ed=needFinish(ea)||ei.destroyed;ed||ea.corked||ea.bufferProcessing||!ea.bufferedRequest||clearBuffer(ei,ea),es?eu.nextTick(afterWrite,ei,ea,ed,ec):afterWrite(ei,ea,ed,ec)}}function afterWrite(ei,eo,ea,es){ea||onwriteDrain(ei,eo),eo.pendingcb--,es(),finishMaybe(ei,eo)}function onwriteDrain(ei,eo){0===eo.length&&eo.needDrain&&(eo.needDrain=!1,ei.emit("drain"))}function clearBuffer(ei,eo){eo.bufferProcessing=!0;var ea=eo.bufferedRequest;if(ei._writev&&ea&&ea.next){var es=Array(eo.bufferedRequestCount),eu=eo.corkedRequestsFree;eu.entry=ea;for(var ec=0,ed=!0;ea;)es[ec]=ea,ea.isBuf||(ed=!1),ea=ea.next,ec+=1;es.allBuffers=ed,doWrite(ei,eo,!0,eo.length,es,"",eu.finish),eo.pendingcb++,eo.lastBufferedRequest=null,eu.next?(eo.corkedRequestsFree=eu.next,eu.next=null):eo.corkedRequestsFree=new CorkedRequest(eo),eo.bufferedRequestCount=0}else{for(;ea;){var ef=ea.chunk,eh=ea.encoding,ep=ea.callback,em=eo.objectMode?1:ef.length;if(doWrite(ei,eo,!1,em,ef,eh,ep),ea=ea.next,eo.bufferedRequestCount--,eo.writing)break}null===ea&&(eo.lastBufferedRequest=null)}eo.bufferedRequest=ea,eo.bufferProcessing=!1}function needFinish(ei){return ei.ending&&0===ei.length&&null===ei.bufferedRequest&&!ei.finished&&!ei.writing}function callFinal(ei,eo){ei._final(function(ea){eo.pendingcb--,ea&&e_(ei,ea),eo.prefinished=!0,ei.emit("prefinish"),finishMaybe(ei,eo)})}function prefinish(ei,eo){eo.prefinished||eo.finalCalled||("function"!=typeof ei._final||eo.destroyed?(eo.prefinished=!0,ei.emit("prefinish")):(eo.pendingcb++,eo.finalCalled=!0,eu.nextTick(callFinal,ei,eo)))}function finishMaybe(ei,eo){var ea=needFinish(eo);if(ea&&(prefinish(ei,eo),0===eo.pendingcb&&(eo.finished=!0,ei.emit("finish"),eo.autoDestroy))){var es=ei._readableState;(!es||es.autoDestroy&&es.endEmitted)&&ei.destroy()}return ea}function endWritable(ei,eo,ea){eo.ending=!0,finishMaybe(ei,eo),ea&&(eo.finished?eu.nextTick(ea):ei.once("finish",ea)),eo.ended=!0,ei.writable=!1}function onCorkedFinish(ei,eo,ea){var es=ei.entry;for(ei.entry=null;es;){var eu=es.callback;eo.pendingcb--,eu(ea),es=es.next}eo.corkedRequestsFree.next=ei}es(782)(Writable,eh),WritableState.prototype.getBuffer=function(){for(var ei=this.bufferedRequest,eo=[];ei;)eo.push(ei),ei=ei.next;return eo},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ef.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ei){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(ed=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(ei){return!!ed.call(this,ei)||this===Writable&&ei&&ei._writableState instanceof WritableState}})):ed=function(ei){return ei instanceof this},Writable.prototype.pipe=function(){e_(this,new eS)},Writable.prototype.write=function(ei,eo,ea){var es=this._writableState,eu=!1,ec=!es.objectMode&&_isUint8Array(ei);return ec&&!ep.isBuffer(ei)&&(ei=_uint8ArrayToBuffer(ei)),"function"==typeof eo&&(ea=eo,eo=null),ec?eo="buffer":eo||(eo=es.defaultEncoding),"function"!=typeof ea&&(ea=nop),es.ending?writeAfterEnd(this,ea):(ec||validChunk(this,es,ei,ea))&&(es.pendingcb++,eu=writeOrBuffer(this,es,ec,ei,eo,ea)),eu},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var ei=this._writableState;!ei.corked||(ei.corked--,ei.writing||ei.corked||ei.bufferProcessing||!ei.bufferedRequest||clearBuffer(this,ei))},Writable.prototype.setDefaultEncoding=function(ei){if("string"==typeof ei&&(ei=ei.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ei+"").toLowerCase())>-1))throw new eC(ei);return this._writableState.defaultEncoding=ei,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(ei,eo,ea){ea(new ex("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(ei,eo,ea){var es=this._writableState;return"function"==typeof ei?(ea=ei,ei=null,eo=null):"function"==typeof eo&&(ea=eo,eo=null),null!=ei&&this.write(ei,eo),es.corked&&(es.corked=1,this.uncork()),es.ending||endWritable(this,es,ea),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(ei){this._writableState&&(this._writableState.destroyed=ei)}}),Writable.prototype.destroy=eg.destroy,Writable.prototype._undestroy=eg.undestroy,Writable.prototype._destroy=function(ei,eo){eo(ei)}},871:function(ei,eo,ea){"use strict";function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}var es,ec=ea(698),ed=Symbol("lastResolve"),ef=Symbol("lastReject"),eh=Symbol("error"),ep=Symbol("ended"),em=Symbol("lastPromise"),eg=Symbol("handlePromise"),eb=Symbol("stream");function createIterResult(ei,eo){return{value:ei,done:eo}}function readAndResolve(ei){var eo=ei[ed];if(null!==eo){var ea=ei[eb].read();null!==ea&&(ei[em]=null,ei[ed]=null,ei[ef]=null,eo(createIterResult(ea,!1)))}}function onReadable(ei){eu.nextTick(readAndResolve,ei)}function wrapForNext(ei,eo){return function(ea,es){ei.then(function(){if(eo[ep]){ea(createIterResult(void 0,!0));return}eo[eg](ea,es)},es)}}var ey=Object.getPrototypeOf(function(){}),ew=Object.setPrototypeOf((_defineProperty(es={get stream(){return this[eb]},next:function(){var ei,eo=this,ea=this[eh];if(null!==ea)return Promise.reject(ea);if(this[ep])return Promise.resolve(createIterResult(void 0,!0));if(this[eb].destroyed)return new Promise(function(ei,ea){eu.nextTick(function(){eo[eh]?ea(eo[eh]):ei(createIterResult(void 0,!0))})});var es=this[em];if(es)ei=new Promise(wrapForNext(es,this));else{var ec=this[eb].read();if(null!==ec)return Promise.resolve(createIterResult(ec,!1));ei=new Promise(this[eg])}return this[em]=ei,ei}},Symbol.asyncIterator,function(){return this}),_defineProperty(es,"return",function(){var ei=this;return new Promise(function(eo,ea){ei[eb].destroy(null,function(ei){if(ei){ea(ei);return}eo(createIterResult(void 0,!0))})})}),es),ey),p=function(ei){var eo,ea=Object.create(ew,(_defineProperty(eo={},eb,{value:ei,writable:!0}),_defineProperty(eo,ed,{value:null,writable:!0}),_defineProperty(eo,ef,{value:null,writable:!0}),_defineProperty(eo,eh,{value:null,writable:!0}),_defineProperty(eo,ep,{value:ei._readableState.endEmitted,writable:!0}),_defineProperty(eo,eg,{value:function(ei,eo){var es=ea[eb].read();es?(ea[em]=null,ea[ed]=null,ea[ef]=null,ei(createIterResult(es,!1))):(ea[ed]=ei,ea[ef]=eo)},writable:!0}),eo));return ea[em]=null,ec(ei,function(ei){if(ei&&"ERR_STREAM_PREMATURE_CLOSE"!==ei.code){var eo=ea[ef];null!==eo&&(ea[em]=null,ea[ed]=null,ea[ef]=null,eo(ei)),ea[eh]=ei;return}var es=ea[ed];null!==es&&(ea[em]=null,ea[ed]=null,ea[ef]=null,es(createIterResult(void 0,!0))),ea[ep]=!0}),ei.on("readable",onReadable.bind(null,ea)),ea};ei.exports=p},379:function(ei,eo,ea){"use strict";function ownKeys(ei,eo){var ea=Object.keys(ei);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(ei);eo&&(es=es.filter(function(eo){return Object.getOwnPropertyDescriptor(ei,eo).enumerable})),ea.push.apply(ea,es)}return ea}function _objectSpread(ei){for(var eo=1;eo<arguments.length;eo++){var ea=null!=arguments[eo]?arguments[eo]:{};eo%2?ownKeys(Object(ea),!0).forEach(function(eo){_defineProperty(ei,eo,ea[eo])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ei,Object.getOwnPropertyDescriptors(ea)):ownKeys(Object(ea)).forEach(function(eo){Object.defineProperty(ei,eo,Object.getOwnPropertyDescriptor(ea,eo))})}return ei}function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}function _classCallCheck(ei,eo){if(!(ei instanceof eo))throw TypeError("Cannot call a class as a function")}function _defineProperties(ei,eo){for(var ea=0;ea<eo.length;ea++){var es=eo[ea];es.enumerable=es.enumerable||!1,es.configurable=!0,"value"in es&&(es.writable=!0),Object.defineProperty(ei,es.key,es)}}function _createClass(ei,eo,ea){return eo&&_defineProperties(ei.prototype,eo),ea&&_defineProperties(ei,ea),ei}var es=ea(300).Buffer,eu=ea(837).inspect,ec=eu&&eu.custom||"inspect";function copyBuffer(ei,eo,ea){es.prototype.copy.call(ei,eo,ea)}ei.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return _createClass(BufferList,[{key:"push",value:function(ei){var eo={data:ei,next:null};this.length>0?this.tail.next=eo:this.head=eo,this.tail=eo,++this.length}},{key:"unshift",value:function(ei){var eo={data:ei,next:this.head};0===this.length&&(this.tail=eo),this.head=eo,++this.length}},{key:"shift",value:function(){if(0!==this.length){var ei=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,ei}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ei){if(0===this.length)return"";for(var eo=this.head,ea=""+eo.data;eo=eo.next;)ea+=ei+eo.data;return ea}},{key:"concat",value:function(ei){if(0===this.length)return es.alloc(0);for(var eo=es.allocUnsafe(ei>>>0),ea=this.head,eu=0;ea;)copyBuffer(ea.data,eo,eu),eu+=ea.data.length,ea=ea.next;return eo}},{key:"consume",value:function(ei,eo){var ea;return ei<this.head.data.length?(ea=this.head.data.slice(0,ei),this.head.data=this.head.data.slice(ei)):ea=ei===this.head.data.length?this.shift():eo?this._getString(ei):this._getBuffer(ei),ea}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ei){var eo=this.head,ea=1,es=eo.data;for(ei-=es.length;eo=eo.next;){var eu=eo.data,ec=ei>eu.length?eu.length:ei;if(ec===eu.length?es+=eu:es+=eu.slice(0,ei),0==(ei-=ec)){ec===eu.length?(++ea,eo.next?this.head=eo.next:this.head=this.tail=null):(this.head=eo,eo.data=eu.slice(ec));break}++ea}return this.length-=ea,es}},{key:"_getBuffer",value:function(ei){var eo=es.allocUnsafe(ei),ea=this.head,eu=1;for(ea.data.copy(eo),ei-=ea.data.length;ea=ea.next;){var ec=ea.data,ed=ei>ec.length?ec.length:ei;if(ec.copy(eo,eo.length-ei,0,ed),0==(ei-=ed)){ed===ec.length?(++eu,ea.next?this.head=ea.next:this.head=this.tail=null):(this.head=ea,ea.data=ec.slice(ed));break}++eu}return this.length-=eu,eo}},{key:ec,value:function(ei,eo){return eu(this,_objectSpread({},eo,{depth:0,customInspect:!1}))}}]),BufferList}()},25:function(ei){"use strict";function destroy(ei,eo){var ea=this,es=this._readableState&&this._readableState.destroyed,ec=this._writableState&&this._writableState.destroyed;return es||ec?eo?eo(ei):ei&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,eu.nextTick(emitErrorNT,this,ei)):eu.nextTick(emitErrorNT,this,ei)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ei||null,function(ei){!eo&&ei?ea._writableState?ea._writableState.errorEmitted?eu.nextTick(emitCloseNT,ea):(ea._writableState.errorEmitted=!0,eu.nextTick(emitErrorAndCloseNT,ea,ei)):eu.nextTick(emitErrorAndCloseNT,ea,ei):eo?(eu.nextTick(emitCloseNT,ea),eo(ei)):eu.nextTick(emitCloseNT,ea)})),this}function emitErrorAndCloseNT(ei,eo){emitErrorNT(ei,eo),emitCloseNT(ei)}function emitCloseNT(ei){(!ei._writableState||ei._writableState.emitClose)&&(!ei._readableState||ei._readableState.emitClose)&&ei.emit("close")}function undestroy(){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 emitErrorNT(ei,eo){ei.emit("error",eo)}function errorOrDestroy(ei,eo){var ea=ei._readableState,es=ei._writableState;ea&&ea.autoDestroy||es&&es.autoDestroy?ei.destroy(eo):ei.emit("error",eo)}ei.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},698:function(ei,eo,ea){"use strict";var es=ea(646).q.ERR_STREAM_PREMATURE_CLOSE;function once(ei){var eo=!1;return function(){if(!eo){eo=!0;for(var ea=arguments.length,es=Array(ea),eu=0;eu<ea;eu++)es[eu]=arguments[eu];ei.apply(this,es)}}}function noop(){}function isRequest(ei){return ei.setHeader&&"function"==typeof ei.abort}function eos(ei,eo,ea){if("function"==typeof eo)return eos(ei,null,eo);eo||(eo={}),ea=once(ea||noop);var eu=eo.readable||!1!==eo.readable&&ei.readable,ec=eo.writable||!1!==eo.writable&&ei.writable,o=function(){ei.writable||f()},ed=ei._writableState&&ei._writableState.finished,f=function(){ec=!1,ed=!0,eu||ea.call(ei)},ef=ei._readableState&&ei._readableState.endEmitted,u=function(){eu=!1,ef=!0,ec||ea.call(ei)},d=function(eo){ea.call(ei,eo)},c=function(){var eo;return eu&&!ef?(ei._readableState&&ei._readableState.ended||(eo=new es),ea.call(ei,eo)):ec&&!ed?(ei._writableState&&ei._writableState.ended||(eo=new es),ea.call(ei,eo)):void 0},h=function(){ei.req.on("finish",f)};return isRequest(ei)?(ei.on("complete",f),ei.on("abort",c),ei.req?h():ei.on("request",h)):ec&&!ei._writableState&&(ei.on("end",o),ei.on("close",o)),ei.on("end",u),ei.on("finish",f),!1!==eo.error&&ei.on("error",d),ei.on("close",c),function(){ei.removeListener("complete",f),ei.removeListener("abort",c),ei.removeListener("request",h),ei.req&&ei.req.removeListener("finish",f),ei.removeListener("end",o),ei.removeListener("close",o),ei.removeListener("finish",f),ei.removeListener("end",u),ei.removeListener("error",d),ei.removeListener("close",c)}}ei.exports=eos},727:function(ei,eo,ea){"use strict";function asyncGeneratorStep(ei,eo,ea,es,eu,ec,ed){try{var ef=ei[ec](ed),eh=ef.value}catch(ei){ea(ei);return}ef.done?eo(eh):Promise.resolve(eh).then(es,eu)}function _asyncToGenerator(ei){return function(){var eo=this,ea=arguments;return new Promise(function(es,eu){var ec=ei.apply(eo,ea);function _next(ei){asyncGeneratorStep(ec,es,eu,_next,_throw,"next",ei)}function _throw(ei){asyncGeneratorStep(ec,es,eu,_next,_throw,"throw",ei)}_next(void 0)})}}function ownKeys(ei,eo){var ea=Object.keys(ei);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(ei);eo&&(es=es.filter(function(eo){return Object.getOwnPropertyDescriptor(ei,eo).enumerable})),ea.push.apply(ea,es)}return ea}function _objectSpread(ei){for(var eo=1;eo<arguments.length;eo++){var ea=null!=arguments[eo]?arguments[eo]:{};eo%2?ownKeys(Object(ea),!0).forEach(function(eo){_defineProperty(ei,eo,ea[eo])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ei,Object.getOwnPropertyDescriptors(ea)):ownKeys(Object(ea)).forEach(function(eo){Object.defineProperty(ei,eo,Object.getOwnPropertyDescriptor(ea,eo))})}return ei}function _defineProperty(ei,eo,ea){return eo in ei?Object.defineProperty(ei,eo,{value:ea,enumerable:!0,configurable:!0,writable:!0}):ei[eo]=ea,ei}var es=ea(646).q.ERR_INVALID_ARG_TYPE;function from(ei,eo,ea){if(eo&&"function"==typeof eo.next)eu=eo;else if(eo&&eo[Symbol.asyncIterator])eu=eo[Symbol.asyncIterator]();else if(eo&&eo[Symbol.iterator])eu=eo[Symbol.iterator]();else throw new es("iterable",["Iterable"],eo);var eu,ec=new ei(_objectSpread({objectMode:!0},ea)),ed=!1;function next(){return _next2.apply(this,arguments)}function _next2(){return(_next2=_asyncToGenerator(function*(){try{var ei=yield eu.next(),eo=ei.value;ei.done?ec.push(null):ec.push((yield eo))?next():ed=!1}catch(ei){ec.destroy(ei)}})).apply(this,arguments)}return ec._read=function(){ed||(ed=!0,next())},ec}ei.exports=from},442:function(ei,eo,ea){"use strict";function once(ei){var eo=!1;return function(){eo||(eo=!0,ei.apply(void 0,arguments))}}var es,eu=ea(646).q,ec=eu.ERR_MISSING_ARGS,ed=eu.ERR_STREAM_DESTROYED;function noop(ei){if(ei)throw ei}function isRequest(ei){return ei.setHeader&&"function"==typeof ei.abort}function destroyer(ei,eo,eu,ec){ec=once(ec);var ef=!1;ei.on("close",function(){ef=!0}),void 0===es&&(es=ea(698)),es(ei,{readable:eo,writable:eu},function(ei){if(ei)return ec(ei);ef=!0,ec()});var eh=!1;return function(eo){if(!ef&&!eh){if(eh=!0,isRequest(ei))return ei.abort();if("function"==typeof ei.destroy)return ei.destroy();ec(eo||new ed("pipe"))}}}function call(ei){ei()}function pipe(ei,eo){return ei.pipe(eo)}function popCallback(ei){return ei.length&&"function"==typeof ei[ei.length-1]?ei.pop():noop}function pipeline(){for(var ei,eo=arguments.length,ea=Array(eo),es=0;es<eo;es++)ea[es]=arguments[es];var eu=popCallback(ea);if(Array.isArray(ea[0])&&(ea=ea[0]),ea.length<2)throw new ec("streams");var ed=ea.map(function(eo,es){var ec=es<ea.length-1;return destroyer(eo,ec,es>0,function(eo){ei||(ei=eo),eo&&ed.forEach(call),ec||(ed.forEach(call),eu(ei))})});return ea.reduce(pipe)}ei.exports=pipeline},776:function(ei,eo,ea){"use strict";var es=ea(646).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(ei,eo,ea){return null!=ei.highWaterMark?ei.highWaterMark:eo?ei[ea]:null}function getHighWaterMark(ei,eo,ea,eu){var ec=highWaterMarkFrom(eo,eu,ea);if(null!=ec){if(!(isFinite(ec)&&Math.floor(ec)===ec)||ec<0){var ed=eu?ea:"highWaterMark";throw new es(ed,ec)}return Math.floor(ec)}return ei.objectMode?16:16384}ei.exports={getHighWaterMark:getHighWaterMark}},678:function(ei,eo,ea){ei.exports=ea(781)},55:function(ei,eo,ea){var es=ea(300),eu=es.Buffer;function copyProps(ei,eo){for(var ea in ei)eo[ea]=ei[ea]}function SafeBuffer(ei,eo,ea){return eu(ei,eo,ea)}eu.from&&eu.alloc&&eu.allocUnsafe&&eu.allocUnsafeSlow?ei.exports=es:(copyProps(es,eo),eo.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(eu.prototype),copyProps(eu,SafeBuffer),SafeBuffer.from=function(ei,eo,ea){if("number"==typeof ei)throw TypeError("Argument must not be a number");return eu(ei,eo,ea)},SafeBuffer.alloc=function(ei,eo,ea){if("number"!=typeof ei)throw TypeError("Argument must be a number");var es=eu(ei);return void 0!==eo?"string"==typeof ea?es.fill(eo,ea):es.fill(eo):es.fill(0),es},SafeBuffer.allocUnsafe=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return eu(ei)},SafeBuffer.allocUnsafeSlow=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return es.SlowBuffer(ei)}},173:function(ei,eo,ea){ei.exports=Stream;var es=ea(361).EventEmitter;function Stream(){es.call(this)}ea(782)(Stream,es),Stream.Readable=ea(709),Stream.Writable=ea(337),Stream.Duplex=ea(403),Stream.Transform=ea(170),Stream.PassThrough=ea(889),Stream.finished=ea(698),Stream.pipeline=ea(442),Stream.Stream=Stream,Stream.prototype.pipe=function(ei,eo){var ea=this;function ondata(eo){ei.writable&&!1===ei.write(eo)&&ea.pause&&ea.pause()}function ondrain(){ea.readable&&ea.resume&&ea.resume()}ea.on("data",ondata),ei.on("drain",ondrain),ei._isStdio||eo&&!1===eo.end||(ea.on("end",onend),ea.on("close",onclose));var eu=!1;function onend(){eu||(eu=!0,ei.end())}function onclose(){eu||(eu=!0,"function"==typeof ei.destroy&&ei.destroy())}function onerror(ei){if(cleanup(),0===es.listenerCount(this,"error"))throw ei}function cleanup(){ea.removeListener("data",ondata),ei.removeListener("drain",ondrain),ea.removeListener("end",onend),ea.removeListener("close",onclose),ea.removeListener("error",onerror),ei.removeListener("error",onerror),ea.removeListener("end",cleanup),ea.removeListener("close",cleanup),ei.removeListener("close",cleanup)}return ea.on("error",onerror),ei.on("error",onerror),ea.on("end",cleanup),ea.on("close",cleanup),ei.on("close",cleanup),ei.emit("pipe",ea),ei}},704:function(ei,eo,ea){"use strict";var es=ea(55).Buffer,eu=es.isEncoding||function(ei){switch((ei=""+ei)&&ei.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 _normalizeEncoding(ei){var eo;if(!ei)return"utf8";for(;;)switch(ei){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 ei;default:if(eo)return;ei=(""+ei).toLowerCase(),eo=!0}}function normalizeEncoding(ei){var eo=_normalizeEncoding(ei);if("string"!=typeof eo&&(es.isEncoding===eu||!eu(ei)))throw Error("Unknown encoding: "+ei);return eo||ei}function StringDecoder(ei){var eo;switch(this.encoding=normalizeEncoding(ei),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,eo=4;break;case"utf8":this.fillLast=utf8FillLast,eo=4;break;case"base64":this.text=base64Text,this.end=base64End,eo=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=es.allocUnsafe(eo)}function utf8CheckByte(ei){return ei<=127?0:ei>>5==6?2:ei>>4==14?3:ei>>3==30?4:ei>>6==2?-1:-2}function utf8CheckIncomplete(ei,eo,ea){var es=eo.length-1;if(es<ea)return 0;var eu=utf8CheckByte(eo[es]);return eu>=0?(eu>0&&(ei.lastNeed=eu-1),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(ei.lastNeed=eu-2),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(2===eu?eu=0:ei.lastNeed=eu-3),eu):0}function utf8CheckExtraBytes(ei,eo,ea){if((192&eo[0])!=128)return ei.lastNeed=0,"�";if(ei.lastNeed>1&&eo.length>1){if((192&eo[1])!=128)return ei.lastNeed=1,"�";if(ei.lastNeed>2&&eo.length>2&&(192&eo[2])!=128)return ei.lastNeed=2,"�"}}function utf8FillLast(ei){var eo=this.lastTotal-this.lastNeed,ea=utf8CheckExtraBytes(this,ei,eo);return void 0!==ea?ea:this.lastNeed<=ei.length?(ei.copy(this.lastChar,eo,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(ei.copy(this.lastChar,eo,0,ei.length),this.lastNeed-=ei.length)}function utf8Text(ei,eo){var ea=utf8CheckIncomplete(this,ei,eo);if(!this.lastNeed)return ei.toString("utf8",eo);this.lastTotal=ea;var es=ei.length-(ea-this.lastNeed);return ei.copy(this.lastChar,0,es),ei.toString("utf8",eo,es)}function utf8End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+"�":eo}function utf16Text(ei,eo){if((ei.length-eo)%2==0){var ea=ei.toString("utf16le",eo);if(ea){var es=ea.charCodeAt(ea.length-1);if(es>=55296&&es<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1],ea.slice(0,-1)}return ea}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ei[ei.length-1],ei.toString("utf16le",eo,ei.length-1)}function utf16End(ei){var eo=ei&&ei.length?this.write(ei):"";if(this.lastNeed){var ea=this.lastTotal-this.lastNeed;return eo+this.lastChar.toString("utf16le",0,ea)}return eo}function base64Text(ei,eo){var ea=(ei.length-eo)%3;return 0===ea?ei.toString("base64",eo):(this.lastNeed=3-ea,this.lastTotal=3,1===ea?this.lastChar[0]=ei[ei.length-1]:(this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1]),ei.toString("base64",eo,ei.length-ea))}function base64End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+this.lastChar.toString("base64",0,3-this.lastNeed):eo}function simpleWrite(ei){return ei.toString(this.encoding)}function simpleEnd(ei){return ei&&ei.length?this.write(ei):""}eo.s=StringDecoder,StringDecoder.prototype.write=function(ei){var eo,ea;if(0===ei.length)return"";if(this.lastNeed){if(void 0===(eo=this.fillLast(ei)))return"";ea=this.lastNeed,this.lastNeed=0}else ea=0;return ea<ei.length?eo?eo+this.text(ei,ea):this.text(ei,ea):eo||""},StringDecoder.prototype.end=utf8End,StringDecoder.prototype.text=utf8Text,StringDecoder.prototype.fillLast=function(ei){if(this.lastNeed<=ei.length)return ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ei.length),this.lastNeed-=ei.length}},769:function(ei){function deprecate(ei,eo){if(config("noDeprecation"))return ei;var ea=!1;return function(){if(!ea){if(config("throwDeprecation"))throw Error(eo);config("traceDeprecation")?console.trace(eo):console.warn(eo),ea=!0}return ei.apply(this,arguments)}}function config(ei){try{if(!ea.g.localStorage)return!1}catch(ei){return!1}var eo=ea.g.localStorage[ei];return null!=eo&&"true"===String(eo).toLowerCase()}ei.exports=deprecate},300:function(ei){"use strict";ei.exports=ea(48764)},361:function(ei){"use strict";ei.exports=ea(17187)},781:function(ei){"use strict";ei.exports=ea(17187).EventEmitter},837:function(ei){"use strict";ei.exports=ea(89539)}},ec={};function __nccwpck_require__(ei){var ea=ec[ei];if(void 0!==ea)return ea.exports;var es=ec[ei]={exports:{}},eu=!0;try{eo[ei](es,es.exports,__nccwpck_require__),eu=!1}finally{eu&&delete ec[ei]}return es.exports}__nccwpck_require__.ab=es+"/";var ed=__nccwpck_require__(173);ei.exports=ed}()},51951:function(module){var __dirname="/";!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(ei,eo){if(ei.indexOf)return ei.indexOf(eo);for(var ea=0;ea<ei.length;ea++)if(ei[ea]===eo)return ea;return -1},Object_keys=function(ei){if(Object.keys)return Object.keys(ei);var eo=[];for(var ea in ei)eo.push(ea);return eo},forEach=function(ei,eo){if(ei.forEach)return ei.forEach(eo);for(var ea=0;ea<ei.length;ea++)eo(ei[ea],ea,ei)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(ei,eo,ea){Object.defineProperty(ei,eo,{writable:!0,enumerable:!1,configurable:!0,value:ea})}}catch(ei){return function(ei,eo,ea){ei[eo]=ea}}}(),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(ei){if(!(this instanceof Script))return new Script(ei);this.code=ei};Script.prototype.runInContext=function(ei){if(!(ei instanceof Context))throw TypeError("needs a 'context' argument.");var eo=document.createElement("iframe");eo.style||(eo.style={}),eo.style.display="none",document.body.appendChild(eo);var ea=eo.contentWindow,es=ea.eval,eu=ea.execScript;!es&&eu&&(eu.call(ea,"null"),es=ea.eval),forEach(Object_keys(ei),function(eo){ea[eo]=ei[eo]}),forEach(globals,function(eo){ei[eo]&&(ea[eo]=ei[eo])});var ec=Object_keys(ea),ed=es.call(ea,this.code);return forEach(Object_keys(ea),function(eo){(eo in ei||-1===indexOf(ec,eo))&&(ei[eo]=ea[eo])}),forEach(globals,function(eo){eo in ei||defineProp(ei,eo,ea[eo])}),document.body.removeChild(eo),ed},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(ei){var eo=Script.createContext(ei),ea=this.runInContext(eo);return ei&&forEach(Object_keys(eo),function(ea){ei[ea]=eo[ea]}),ea},forEach(Object_keys(Script.prototype),function(ei){exports[ei]=Script[ei]=function(eo){var ea=Script(eo);return ea[ei].apply(ea,[].slice.call(arguments,1))}}),exports.isContext=function(ei){return ei instanceof Context},exports.createScript=function(ei){return exports.Script(ei)},exports.createContext=Script.createContext=function(ei){var eo=new Context;return"object"==typeof ei&&forEach(Object_keys(ei),function(ea){eo[ea]=ei[ea]}),eo}}};"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __nested_webpack_exports__={};__webpack_modules__[950](0,__nested_webpack_exports__),module.exports=__nested_webpack_exports__}()},9008:function(ei,eo,ea){ei.exports=ea(79201)},41664:function(ei,eo,ea){ei.exports=ea(65170)},39332:function(ei,eo,ea){ei.exports=ea(30636)},11163:function(ei,eo,ea){ei.exports=ea(59974)},74865:function(ei,eo,ea){var es,eu;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
 * @license MIT */!function(ec,ed){void 0!==(eu="function"==typeof(es=ed)?es.call(eo,ea,eo,ei):es)&&(ei.exports=eu)}(0,function(){var ei={};ei.version="0.2.0";var eo=ei.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function clamp(ei,eo,ea){return ei<eo?eo:ei>ea?ea:ei}function toBarPerc(ei){return(-1+ei)*100}function barPositionCSS(ei,ea,es){var eu;return(eu="translate3d"===eo.positionUsing?{transform:"translate3d("+toBarPerc(ei)+"%,0,0)"}:"translate"===eo.positionUsing?{transform:"translate("+toBarPerc(ei)+"%,0)"}:{"margin-left":toBarPerc(ei)+"%"}).transition="all "+ea+"ms "+es,eu}ei.configure=function(ei){var ea,es;for(ea in ei)void 0!==(es=ei[ea])&&ei.hasOwnProperty(ea)&&(eo[ea]=es);return this},ei.status=null,ei.set=function(eu){var ec=ei.isStarted();eu=clamp(eu,eo.minimum,1),ei.status=1===eu?null:eu;var ed=ei.render(!ec),ef=ed.querySelector(eo.barSelector),eh=eo.speed,ep=eo.easing;return ed.offsetWidth,ea(function(ea){""===eo.positionUsing&&(eo.positionUsing=ei.getPositioningCSS()),es(ef,barPositionCSS(eu,eh,ep)),1===eu?(es(ed,{transition:"none",opacity:1}),ed.offsetWidth,setTimeout(function(){es(ed,{transition:"all "+eh+"ms linear",opacity:0}),setTimeout(function(){ei.remove(),ea()},eh)},eh)):setTimeout(ea,eh)}),this},ei.isStarted=function(){return"number"==typeof ei.status},ei.start=function(){ei.status||ei.set(0);var work=function(){setTimeout(function(){ei.status&&(ei.trickle(),work())},eo.trickleSpeed)};return eo.trickle&&work(),this},ei.done=function(eo){return eo||ei.status?ei.inc(.3+.5*Math.random()).set(1):this},ei.inc=function(eo){var ea=ei.status;return ea?("number"!=typeof eo&&(eo=(1-ea)*clamp(Math.random()*ea,.1,.95)),ea=clamp(ea+eo,0,.994),ei.set(ea)):ei.start()},ei.trickle=function(){return ei.inc(Math.random()*eo.trickleRate)},function(){var eo=0,ea=0;ei.promise=function(es){return es&&"resolved"!==es.state()&&(0===ea&&ei.start(),eo++,ea++,es.always(function(){0==--ea?(eo=0,ei.done()):ei.set((eo-ea)/eo)})),this}}(),ei.render=function(ea){if(ei.isRendered())return document.getElementById("nprogress");addClass(document.documentElement,"nprogress-busy");var eu=document.createElement("div");eu.id="nprogress",eu.innerHTML=eo.template;var ec,ed=eu.querySelector(eo.barSelector),ef=ea?"-100":toBarPerc(ei.status||0),eh=document.querySelector(eo.parent);return es(ed,{transition:"all 0 linear",transform:"translate3d("+ef+"%,0,0)"}),!eo.showSpinner&&(ec=eu.querySelector(eo.spinnerSelector))&&removeElement(ec),eh!=document.body&&addClass(eh,"nprogress-custom-parent"),eh.appendChild(eu),eu},ei.remove=function(){removeClass(document.documentElement,"nprogress-busy"),removeClass(document.querySelector(eo.parent),"nprogress-custom-parent");var ei=document.getElementById("nprogress");ei&&removeElement(ei)},ei.isRendered=function(){return!!document.getElementById("nprogress")},ei.getPositioningCSS=function(){var ei=document.body.style,eo="WebkitTransform"in ei?"Webkit":"MozTransform"in ei?"Moz":"msTransform"in ei?"ms":"OTransform"in ei?"O":"";return eo+"Perspective" in ei?"translate3d":eo+"Transform" in ei?"translate":"margin"};var ea=function(){var ei=[];function next(){var eo=ei.shift();eo&&eo(next)}return function(eo){ei.push(eo),1==ei.length&&next()}}(),es=function(){var ei=["Webkit","O","Moz","ms"],eo={};function camelCase(ei){return ei.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(ei,eo){return eo.toUpperCase()})}function getVendorProp(eo){var ea=document.body.style;if(eo in ea)return eo;for(var es,eu=ei.length,ec=eo.charAt(0).toUpperCase()+eo.slice(1);eu--;)if((es=ei[eu]+ec)in ea)return es;return eo}function getStyleProp(ei){return eo[ei=camelCase(ei)]||(eo[ei]=getVendorProp(ei))}function applyCss(ei,eo,ea){eo=getStyleProp(eo),ei.style[eo]=ea}return function(ei,eo){var ea,es,eu=arguments;if(2==eu.length)for(ea in eo)void 0!==(es=eo[ea])&&eo.hasOwnProperty(ea)&&applyCss(ei,ea,es);else applyCss(ei,eu[1],eu[2])}}();function hasClass(ei,eo){return("string"==typeof ei?ei:classList(ei)).indexOf(" "+eo+" ")>=0}function addClass(ei,eo){var ea=classList(ei),es=ea+eo;hasClass(ea,eo)||(ei.className=es.substring(1))}function removeClass(ei,eo){var ea,es=classList(ei);hasClass(ei,eo)&&(ea=es.replace(" "+eo+" "," "),ei.className=ea.substring(1,ea.length-1))}function classList(ei){return(" "+(ei.className||"")+" ").replace(/\s+/gi," ")}function removeElement(ei){ei&&ei.parentNode&&ei.parentNode.removeChild(ei)}return ei})},89908:function(ei){"use strict";ei.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},34155:function(ei){var eo,ea,es,eu=ei.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(ei){if(eo===setTimeout)return setTimeout(ei,0);if((eo===defaultSetTimout||!eo)&&setTimeout)return eo=setTimeout,setTimeout(ei,0);try{return eo(ei,0)}catch(ea){try{return eo.call(null,ei,0)}catch(ea){return eo.call(this,ei,0)}}}function runClearTimeout(ei){if(ea===clearTimeout)return clearTimeout(ei);if((ea===defaultClearTimeout||!ea)&&clearTimeout)return ea=clearTimeout,clearTimeout(ei);try{return ea(ei)}catch(eo){try{return ea.call(null,ei)}catch(eo){return ea.call(this,ei)}}}!function(){try{eo="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(ei){eo=defaultSetTimout}try{ea="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(ei){ea=defaultClearTimeout}}();var ec=[],ed=!1,ef=-1;function cleanUpNextTick(){ed&&es&&(ed=!1,es.length?ec=es.concat(ec):ef=-1,ec.length&&drainQueue())}function drainQueue(){if(!ed){var ei=runTimeout(cleanUpNextTick);ed=!0;for(var eo=ec.length;eo;){for(es=ec,ec=[];++ef<eo;)es&&es[ef].run();ef=-1,eo=ec.length}es=null,ed=!1,runClearTimeout(ei)}}function Item(ei,eo){this.fun=ei,this.array=eo}function noop(){}eu.nextTick=function(ei){var eo=Array(arguments.length-1);if(arguments.length>1)for(var ea=1;ea<arguments.length;ea++)eo[ea-1]=arguments[ea];ec.push(new Item(ei,eo)),1!==ec.length||ed||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},eu.title="browser",eu.browser=!0,eu.env={},eu.argv=[],eu.version="",eu.versions={},eu.on=noop,eu.addListener=noop,eu.once=noop,eu.off=noop,eu.removeListener=noop,eu.removeAllListeners=noop,eu.emit=noop,eu.prependListener=noop,eu.prependOnceListener=noop,eu.listeners=function(ei){return[]},eu.binding=function(ei){throw Error("process.binding is not supported")},eu.cwd=function(){return"/"},eu.chdir=function(ei){throw Error("process.chdir is not supported")},eu.umask=function(){return 0}},89509:function(ei,eo,ea){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var es=ea(48764),eu=es.Buffer;function copyProps(ei,eo){for(var ea in ei)eo[ea]=ei[ea]}function SafeBuffer(ei,eo,ea){return eu(ei,eo,ea)}eu.from&&eu.alloc&&eu.allocUnsafe&&eu.allocUnsafeSlow?ei.exports=es:(copyProps(es,eo),eo.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(eu.prototype),copyProps(eu,SafeBuffer),SafeBuffer.from=function(ei,eo,ea){if("number"==typeof ei)throw TypeError("Argument must not be a number");return eu(ei,eo,ea)},SafeBuffer.alloc=function(ei,eo,ea){if("number"!=typeof ei)throw TypeError("Argument must be a number");var es=eu(ei);return void 0!==eo?"string"==typeof ea?es.fill(eo,ea):es.fill(eo):es.fill(0),es},SafeBuffer.allocUnsafe=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return eu(ei)},SafeBuffer.allocUnsafeSlow=function(ei){if("number"!=typeof ei)throw TypeError("Argument must be a number");return es.SlowBuffer(ei)}},67771:function(ei,eo,ea){"use strict";var es=ea(40210),eu=ea(12296),ec=ea(31044)(),ed=ea(27296),ef=ea(14453),eh=es("%Math.floor%");ei.exports=function(ei,eo){if("function"!=typeof ei)throw new ef("`fn` is not a function");if("number"!=typeof eo||eo<0||eo>4294967295||eh(eo)!==eo)throw new ef("`length` must be a positive 32-bit integer");var ea=arguments.length>2&&!!arguments[2],es=!0,ep=!0;if("length"in ei&&ed){var em=ed(ei,"length");em&&!em.configurable&&(es=!1),em&&!em.writable&&(ep=!1)}return(es||ep||!ea)&&(ec?eu(ei,"length",eo,!0,!0):eu(ei,"length",eo)),ei}},32553:function(ei,eo,ea){"use strict";var es=ea(89509).Buffer,eu=es.isEncoding||function(ei){switch((ei=""+ei)&&ei.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 _normalizeEncoding(ei){var eo;if(!ei)return"utf8";for(;;)switch(ei){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 ei;default:if(eo)return;ei=(""+ei).toLowerCase(),eo=!0}}function normalizeEncoding(ei){var eo=_normalizeEncoding(ei);if("string"!=typeof eo&&(es.isEncoding===eu||!eu(ei)))throw Error("Unknown encoding: "+ei);return eo||ei}function StringDecoder(ei){var eo;switch(this.encoding=normalizeEncoding(ei),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,eo=4;break;case"utf8":this.fillLast=utf8FillLast,eo=4;break;case"base64":this.text=base64Text,this.end=base64End,eo=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=es.allocUnsafe(eo)}function utf8CheckByte(ei){return ei<=127?0:ei>>5==6?2:ei>>4==14?3:ei>>3==30?4:ei>>6==2?-1:-2}function utf8CheckIncomplete(ei,eo,ea){var es=eo.length-1;if(es<ea)return 0;var eu=utf8CheckByte(eo[es]);return eu>=0?(eu>0&&(ei.lastNeed=eu-1),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(ei.lastNeed=eu-2),eu):--es<ea||-2===eu?0:(eu=utf8CheckByte(eo[es]))>=0?(eu>0&&(2===eu?eu=0:ei.lastNeed=eu-3),eu):0}function utf8CheckExtraBytes(ei,eo,ea){if((192&eo[0])!=128)return ei.lastNeed=0,"�";if(ei.lastNeed>1&&eo.length>1){if((192&eo[1])!=128)return ei.lastNeed=1,"�";if(ei.lastNeed>2&&eo.length>2&&(192&eo[2])!=128)return ei.lastNeed=2,"�"}}function utf8FillLast(ei){var eo=this.lastTotal-this.lastNeed,ea=utf8CheckExtraBytes(this,ei,eo);return void 0!==ea?ea:this.lastNeed<=ei.length?(ei.copy(this.lastChar,eo,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(ei.copy(this.lastChar,eo,0,ei.length),this.lastNeed-=ei.length)}function utf8Text(ei,eo){var ea=utf8CheckIncomplete(this,ei,eo);if(!this.lastNeed)return ei.toString("utf8",eo);this.lastTotal=ea;var es=ei.length-(ea-this.lastNeed);return ei.copy(this.lastChar,0,es),ei.toString("utf8",eo,es)}function utf8End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+"�":eo}function utf16Text(ei,eo){if((ei.length-eo)%2==0){var ea=ei.toString("utf16le",eo);if(ea){var es=ea.charCodeAt(ea.length-1);if(es>=55296&&es<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1],ea.slice(0,-1)}return ea}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ei[ei.length-1],ei.toString("utf16le",eo,ei.length-1)}function utf16End(ei){var eo=ei&&ei.length?this.write(ei):"";if(this.lastNeed){var ea=this.lastTotal-this.lastNeed;return eo+this.lastChar.toString("utf16le",0,ea)}return eo}function base64Text(ei,eo){var ea=(ei.length-eo)%3;return 0===ea?ei.toString("base64",eo):(this.lastNeed=3-ea,this.lastTotal=3,1===ea?this.lastChar[0]=ei[ei.length-1]:(this.lastChar[0]=ei[ei.length-2],this.lastChar[1]=ei[ei.length-1]),ei.toString("base64",eo,ei.length-ea))}function base64End(ei){var eo=ei&&ei.length?this.write(ei):"";return this.lastNeed?eo+this.lastChar.toString("base64",0,3-this.lastNeed):eo}function simpleWrite(ei){return ei.toString(this.encoding)}function simpleEnd(ei){return ei&&ei.length?this.write(ei):""}eo.StringDecoder=StringDecoder,StringDecoder.prototype.write=function(ei){var eo,ea;if(0===ei.length)return"";if(this.lastNeed){if(void 0===(eo=this.fillLast(ei)))return"";ea=this.lastNeed,this.lastNeed=0}else ea=0;return ea<ei.length?eo?eo+this.text(ei,ea):this.text(ei,ea):eo||""},StringDecoder.prototype.end=utf8End,StringDecoder.prototype.text=utf8Text,StringDecoder.prototype.fillLast=function(ei){if(this.lastNeed<=ei.length)return ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ei.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ei.length),this.lastNeed-=ei.length}},20384:function(ei){ei.exports=function(ei){return ei&&"object"==typeof ei&&"function"==typeof ei.copy&&"function"==typeof ei.fill&&"function"==typeof ei.readUInt8}},55955:function(ei,eo,ea){"use strict";var es=ea(82584),eu=ea(48662),ec=ea(86430),ed=ea(85692);function uncurryThis(ei){return ei.call.bind(ei)}var ef="undefined"!=typeof BigInt,eh="undefined"!=typeof Symbol,ep=uncurryThis(Object.prototype.toString),em=uncurryThis(Number.prototype.valueOf),eg=uncurryThis(String.prototype.valueOf),eb=uncurryThis(Boolean.prototype.valueOf);if(ef)var ey=uncurryThis(BigInt.prototype.valueOf);if(eh)var ew=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(ei,eo){if("object"!=typeof ei)return!1;try{return eo(ei),!0}catch(ei){return!1}}function isPromise(ei){return"undefined"!=typeof Promise&&ei instanceof Promise||null!==ei&&"object"==typeof ei&&"function"==typeof ei.then&&"function"==typeof ei.catch}function isArrayBufferView(ei){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(ei):ed(ei)||isDataView(ei)}function isUint8Array(ei){return"Uint8Array"===ec(ei)}function isUint8ClampedArray(ei){return"Uint8ClampedArray"===ec(ei)}function isUint16Array(ei){return"Uint16Array"===ec(ei)}function isUint32Array(ei){return"Uint32Array"===ec(ei)}function isInt8Array(ei){return"Int8Array"===ec(ei)}function isInt16Array(ei){return"Int16Array"===ec(ei)}function isInt32Array(ei){return"Int32Array"===ec(ei)}function isFloat32Array(ei){return"Float32Array"===ec(ei)}function isFloat64Array(ei){return"Float64Array"===ec(ei)}function isBigInt64Array(ei){return"BigInt64Array"===ec(ei)}function isBigUint64Array(ei){return"BigUint64Array"===ec(ei)}function isMapToString(ei){return"[object Map]"===ep(ei)}function isMap(ei){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(ei):ei instanceof Map)}function isSetToString(ei){return"[object Set]"===ep(ei)}function isSet(ei){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(ei):ei instanceof Set)}function isWeakMapToString(ei){return"[object WeakMap]"===ep(ei)}function isWeakMap(ei){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(ei):ei instanceof WeakMap)}function isWeakSetToString(ei){return"[object WeakSet]"===ep(ei)}function isWeakSet(ei){return isWeakSetToString(ei)}function isArrayBufferToString(ei){return"[object ArrayBuffer]"===ep(ei)}function isArrayBuffer(ei){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(ei):ei instanceof ArrayBuffer)}function isDataViewToString(ei){return"[object DataView]"===ep(ei)}function isDataView(ei){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(ei):ei instanceof DataView)}eo.isArgumentsObject=es,eo.isGeneratorFunction=eu,eo.isTypedArray=ed,eo.isPromise=isPromise,eo.isArrayBufferView=isArrayBufferView,eo.isUint8Array=isUint8Array,eo.isUint8ClampedArray=isUint8ClampedArray,eo.isUint16Array=isUint16Array,eo.isUint32Array=isUint32Array,eo.isInt8Array=isInt8Array,eo.isInt16Array=isInt16Array,eo.isInt32Array=isInt32Array,eo.isFloat32Array=isFloat32Array,eo.isFloat64Array=isFloat64Array,eo.isBigInt64Array=isBigInt64Array,eo.isBigUint64Array=isBigUint64Array,isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),eo.isMap=isMap,isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),eo.isSet=isSet,isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),eo.isWeakMap=isWeakMap,isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),eo.isWeakSet=isWeakSet,isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),eo.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),eo.isDataView=isDataView;var ex="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(ei){return"[object SharedArrayBuffer]"===ep(ei)}function isSharedArrayBuffer(ei){return void 0!==ex&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new ex)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(ei):ei instanceof ex)}function isAsyncFunction(ei){return"[object AsyncFunction]"===ep(ei)}function isMapIterator(ei){return"[object Map Iterator]"===ep(ei)}function isSetIterator(ei){return"[object Set Iterator]"===ep(ei)}function isGeneratorObject(ei){return"[object Generator]"===ep(ei)}function isWebAssemblyCompiledModule(ei){return"[object WebAssembly.Module]"===ep(ei)}function isNumberObject(ei){return checkBoxedPrimitive(ei,em)}function isStringObject(ei){return checkBoxedPrimitive(ei,eg)}function isBooleanObject(ei){return checkBoxedPrimitive(ei,eb)}function isBigIntObject(ei){return ef&&checkBoxedPrimitive(ei,ey)}function isSymbolObject(ei){return eh&&checkBoxedPrimitive(ei,ew)}function isBoxedPrimitive(ei){return isNumberObject(ei)||isStringObject(ei)||isBooleanObject(ei)||isBigIntObject(ei)||isSymbolObject(ei)}function isAnyArrayBuffer(ei){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(ei)||isSharedArrayBuffer(ei))}eo.isSharedArrayBuffer=isSharedArrayBuffer,eo.isAsyncFunction=isAsyncFunction,eo.isMapIterator=isMapIterator,eo.isSetIterator=isSetIterator,eo.isGeneratorObject=isGeneratorObject,eo.isWebAssemblyCompiledModule=isWebAssemblyCompiledModule,eo.isNumberObject=isNumberObject,eo.isStringObject=isStringObject,eo.isBooleanObject=isBooleanObject,eo.isBigIntObject=isBigIntObject,eo.isSymbolObject=isSymbolObject,eo.isBoxedPrimitive=isBoxedPrimitive,eo.isAnyArrayBuffer=isAnyArrayBuffer,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ei){Object.defineProperty(eo,ei,{enumerable:!1,value:function(){throw Error(ei+" is not supported in userland")}})})},89539:function(ei,eo,ea){var es=ea(34155),eu=Object.getOwnPropertyDescriptors||function(ei){for(var eo=Object.keys(ei),ea={},es=0;es<eo.length;es++)ea[eo[es]]=Object.getOwnPropertyDescriptor(ei,eo[es]);return ea},ec=/%[sdj%]/g;eo.format=function(ei){if(!isString(ei)){for(var eo=[],ea=0;ea<arguments.length;ea++)eo.push(inspect(arguments[ea]));return eo.join(" ")}for(var ea=1,es=arguments,eu=es.length,ed=String(ei).replace(ec,function(ei){if("%%"===ei)return"%";if(ea>=eu)return ei;switch(ei){case"%s":return String(es[ea++]);case"%d":return Number(es[ea++]);case"%j":try{return JSON.stringify(es[ea++])}catch(ei){return"[Circular]"}default:return ei}}),ef=es[ea];ea<eu;ef=es[++ea])isNull(ef)||!isObject(ef)?ed+=" "+ef:ed+=" "+inspect(ef);return ed},eo.deprecate=function(ei,ea){if(void 0!==es&&!0===es.noDeprecation)return ei;if(void 0===es)return function(){return eo.deprecate(ei,ea).apply(this,arguments)};var eu=!1;return function(){if(!eu){if(es.throwDeprecation)throw Error(ea);es.traceDeprecation?console.trace(ea):console.error(ea),eu=!0}return ei.apply(this,arguments)}};var ed={},ef=/^$/;if(es.env.NODE_DEBUG){var eh=es.env.NODE_DEBUG;ef=RegExp("^"+(eh=eh.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function inspect(ei,ea){var es={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(es.depth=arguments[2]),arguments.length>=4&&(es.colors=arguments[3]),isBoolean(ea)?es.showHidden=ea:ea&&eo._extend(es,ea),isUndefined(es.showHidden)&&(es.showHidden=!1),isUndefined(es.depth)&&(es.depth=2),isUndefined(es.colors)&&(es.colors=!1),isUndefined(es.customInspect)&&(es.customInspect=!0),es.colors&&(es.stylize=stylizeWithColor),formatValue(es,ei,es.depth)}function stylizeWithColor(ei,eo){var ea=inspect.styles[eo];return ea?"\x1b["+inspect.colors[ea][0]+"m"+ei+"\x1b["+inspect.colors[ea][1]+"m":ei}function stylizeNoColor(ei,eo){return ei}function arrayToHash(ei){var eo={};return ei.forEach(function(ei,ea){eo[ei]=!0}),eo}function formatValue(ei,ea,es){if(ei.customInspect&&ea&&isFunction(ea.inspect)&&ea.inspect!==eo.inspect&&!(ea.constructor&&ea.constructor.prototype===ea)){var eu,ec=ea.inspect(es,ei);return isString(ec)||(ec=formatValue(ei,ec,es)),ec}var ed=formatPrimitive(ei,ea);if(ed)return ed;var ef=Object.keys(ea),eh=arrayToHash(ef);if(ei.showHidden&&(ef=Object.getOwnPropertyNames(ea)),isError(ea)&&(ef.indexOf("message")>=0||ef.indexOf("description")>=0))return formatError(ea);if(0===ef.length){if(isFunction(ea)){var ep=ea.name?": "+ea.name:"";return ei.stylize("[Function"+ep+"]","special")}if(isRegExp(ea))return ei.stylize(RegExp.prototype.toString.call(ea),"regexp");if(isDate(ea))return ei.stylize(Date.prototype.toString.call(ea),"date");if(isError(ea))return formatError(ea)}var em="",eg=!1,eb=["{","}"];return(isArray(ea)&&(eg=!0,eb=["[","]"]),isFunction(ea)&&(em=" [Function"+(ea.name?": "+ea.name:"")+"]"),isRegExp(ea)&&(em=" "+RegExp.prototype.toString.call(ea)),isDate(ea)&&(em=" "+Date.prototype.toUTCString.call(ea)),isError(ea)&&(em=" "+formatError(ea)),0!==ef.length||eg&&0!=ea.length)?es<0?isRegExp(ea)?ei.stylize(RegExp.prototype.toString.call(ea),"regexp"):ei.stylize("[Object]","special"):(ei.seen.push(ea),eu=eg?formatArray(ei,ea,es,eh,ef):ef.map(function(eo){return formatProperty(ei,ea,es,eh,eo,eg)}),ei.seen.pop(),reduceToSingleString(eu,em,eb)):eb[0]+em+eb[1]}function formatPrimitive(ei,eo){if(isUndefined(eo))return ei.stylize("undefined","undefined");if(isString(eo)){var ea="'"+JSON.stringify(eo).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ei.stylize(ea,"string")}return isNumber(eo)?ei.stylize(""+eo,"number"):isBoolean(eo)?ei.stylize(""+eo,"boolean"):isNull(eo)?ei.stylize("null","null"):void 0}function formatError(ei){return"["+Error.prototype.toString.call(ei)+"]"}function formatArray(ei,eo,ea,es,eu){for(var ec=[],ed=0,ef=eo.length;ed<ef;++ed)hasOwnProperty(eo,String(ed))?ec.push(formatProperty(ei,eo,ea,es,String(ed),!0)):ec.push("");return eu.forEach(function(eu){eu.match(/^\d+$/)||ec.push(formatProperty(ei,eo,ea,es,eu,!0))}),ec}function formatProperty(ei,eo,ea,es,eu,ec){var ed,ef,eh;if((eh=Object.getOwnPropertyDescriptor(eo,eu)||{value:eo[eu]}).get?ef=eh.set?ei.stylize("[Getter/Setter]","special"):ei.stylize("[Getter]","special"):eh.set&&(ef=ei.stylize("[Setter]","special")),hasOwnProperty(es,eu)||(ed="["+eu+"]"),!ef&&(0>ei.seen.indexOf(eh.value)?(ef=isNull(ea)?formatValue(ei,eh.value,null):formatValue(ei,eh.value,ea-1)).indexOf("\n")>-1&&(ef=ec?ef.split("\n").map(function(ei){return"  "+ei}).join("\n").slice(2):"\n"+ef.split("\n").map(function(ei){return"   "+ei}).join("\n")):ef=ei.stylize("[Circular]","special")),isUndefined(ed)){if(ec&&eu.match(/^\d+$/))return ef;(ed=JSON.stringify(""+eu)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ed=ed.slice(1,-1),ed=ei.stylize(ed,"name")):(ed=ed.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ed=ei.stylize(ed,"string"))}return ed+": "+ef}function reduceToSingleString(ei,eo,ea){var es=0;return ei.reduce(function(ei,eo){return es++,eo.indexOf("\n")>=0&&es++,ei+eo.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?ea[0]+(""===eo?"":eo+"\n ")+" "+ei.join(",\n  ")+" "+ea[1]:ea[0]+eo+" "+ei.join(", ")+" "+ea[1]}function isArray(ei){return Array.isArray(ei)}function isBoolean(ei){return"boolean"==typeof ei}function isNull(ei){return null===ei}function isNullOrUndefined(ei){return null==ei}function isNumber(ei){return"number"==typeof ei}function isString(ei){return"string"==typeof ei}function isSymbol(ei){return"symbol"==typeof ei}function isUndefined(ei){return void 0===ei}function isRegExp(ei){return isObject(ei)&&"[object RegExp]"===objectToString(ei)}function isObject(ei){return"object"==typeof ei&&null!==ei}function isDate(ei){return isObject(ei)&&"[object Date]"===objectToString(ei)}function isError(ei){return isObject(ei)&&("[object Error]"===objectToString(ei)||ei instanceof Error)}function isFunction(ei){return"function"==typeof ei}function isPrimitive(ei){return null===ei||"boolean"==typeof ei||"number"==typeof ei||"string"==typeof ei||"symbol"==typeof ei||void 0===ei}function objectToString(ei){return Object.prototype.toString.call(ei)}function pad(ei){return ei<10?"0"+ei.toString(10):ei.toString(10)}eo.debuglog=function(ei){if(!ed[ei=ei.toUpperCase()]){if(ef.test(ei)){var ea=es.pid;ed[ei]=function(){var es=eo.format.apply(eo,arguments);console.error("%s %d: %s",ei,ea,es)}}else ed[ei]=function(){}}return ed[ei]},eo.inspect=inspect,inspect.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]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},eo.types=ea(55955),eo.isArray=isArray,eo.isBoolean=isBoolean,eo.isNull=isNull,eo.isNullOrUndefined=isNullOrUndefined,eo.isNumber=isNumber,eo.isString=isString,eo.isSymbol=isSymbol,eo.isUndefined=isUndefined,eo.isRegExp=isRegExp,eo.types.isRegExp=isRegExp,eo.isObject=isObject,eo.isDate=isDate,eo.types.isDate=isDate,eo.isError=isError,eo.types.isNativeError=isError,eo.isFunction=isFunction,eo.isPrimitive=isPrimitive,eo.isBuffer=ea(20384);var ep=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var ei=new Date,eo=[pad(ei.getHours()),pad(ei.getMinutes()),pad(ei.getSeconds())].join(":");return[ei.getDate(),ep[ei.getMonth()],eo].join(" ")}function hasOwnProperty(ei,eo){return Object.prototype.hasOwnProperty.call(ei,eo)}eo.log=function(){console.log("%s - %s",timestamp(),eo.format.apply(eo,arguments))},eo.inherits=ea(35717),eo._extend=function(ei,eo){if(!eo||!isObject(eo))return ei;for(var ea=Object.keys(eo),es=ea.length;es--;)ei[ea[es]]=eo[ea[es]];return ei};var em="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(ei,eo){if(!ei){var ea=Error("Promise was rejected with a falsy value");ea.reason=ei,ei=ea}return eo(ei)}function callbackify(ei){if("function"!=typeof ei)throw TypeError('The "original" argument must be of type Function');function callbackified(){for(var eo=[],ea=0;ea<arguments.length;ea++)eo.push(arguments[ea]);var eu=eo.pop();if("function"!=typeof eu)throw TypeError("The last argument must be of type Function");var ec=this,cb=function(){return eu.apply(ec,arguments)};ei.apply(this,eo).then(function(ei){es.nextTick(cb.bind(null,null,ei))},function(ei){es.nextTick(callbackifyOnRejected.bind(null,ei,cb))})}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(ei)),Object.defineProperties(callbackified,eu(ei)),callbackified}eo.promisify=function(ei){if("function"!=typeof ei)throw TypeError('The "original" argument must be of type Function');if(em&&ei[em]){var fn=ei[em];if("function"!=typeof fn)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,em,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var eo,ea,es=new Promise(function(ei,es){eo=ei,ea=es}),eu=[],ec=0;ec<arguments.length;ec++)eu.push(arguments[ec]);eu.push(function(ei,es){ei?ea(ei):eo(es)});try{ei.apply(this,eu)}catch(ei){ea(ei)}return es}return Object.setPrototypeOf(fn,Object.getPrototypeOf(ei)),em&&Object.defineProperty(fn,em,{value:fn,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(fn,eu(ei))},eo.promisify.custom=em,eo.callbackify=callbackify},86430:function(ei,eo,ea){"use strict";var es=ea(94029),eu=ea(35797),ec=ea(55559),ed=ea(21924),ef=ea(27296),eh=ed("Object.prototype.toString"),ep=ea(41702)(),em="undefined"==typeof globalThis?ea.g:globalThis,eg=eu(),eb=ed("String.prototype.slice"),ey=Object.getPrototypeOf,ew=ed("Array.prototype.indexOf",!0)||function(ei,eo){for(var ea=0;ea<ei.length;ea+=1)if(ei[ea]===eo)return ea;return -1},ex={__proto__:null};ep&&ef&&ey?es(eg,function(ei){var eo=new em[ei];if(Symbol.toStringTag in eo){var ea=ey(eo),es=ef(ea,Symbol.toStringTag);es||(es=ef(ey(ea),Symbol.toStringTag)),ex["$"+ei]=ec(es.get)}}):es(eg,function(ei){var eo=new em[ei],ea=eo.slice||eo.set;ea&&(ex["$"+ei]=ec(ea))});var tryTypedArrays=function(ei){var eo=!1;return es(ex,function(ea,es){if(!eo)try{"$"+ea(ei)===es&&(eo=eb(es,1))}catch(ei){}}),eo},trySlices=function(ei){var eo=!1;return es(ex,function(ea,es){if(!eo)try{ea(ei),eo=eb(es,1)}catch(ei){}}),eo};ei.exports=function(ei){if(!ei||"object"!=typeof ei)return!1;if(!ep){var eo=eb(eh(ei),8,-1);return ew(eg,eo)>-1?eo:"Object"===eo&&trySlices(ei)}return ef?tryTypedArrays(ei):null}},41702:function(ei,eo,ea){"use strict";var es=ea(55419);ei.exports=function(){return es()&&!!Symbol.toStringTag}},35797:function(ei,eo,ea){"use strict";var es=ea(89908),eu="undefined"==typeof globalThis?ea.g:globalThis;ei.exports=function(){for(var ei=[],eo=0;eo<es.length;eo++)"function"==typeof eu[es[eo]]&&(ei[ei.length]=es[eo]);return ei}},64412:function(ei,eo,ea){"use strict";var es=ea(67294);function BellIcon({title:ei,titleId:eo,...ea},eu){return es.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:eu,"aria-labelledby":eo},ea),ei?es.createElement("title",{id:eo},ei):null,es.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"}))}let eu=es.forwardRef(BellIcon);eo.Z=eu},22567:function(ei,eo,ea){"use strict";let es;ea.d(eo,{JO:function(){return e1}});var eu=ea(67294);let ec=Object.freeze({left:0,top:0,width:16,height:16}),ed=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ef=Object.freeze({...ec,...ed}),eh=Object.freeze({...ef,body:"",hidden:!1});function mergeIconTransformations(ei,eo){let ea={};!ei.hFlip!=!eo.hFlip&&(ea.hFlip=!0),!ei.vFlip!=!eo.vFlip&&(ea.vFlip=!0);let es=((ei.rotate||0)+(eo.rotate||0))%4;return es&&(ea.rotate=es),ea}function mergeIconData(ei,eo){let ea=mergeIconTransformations(ei,eo);for(let es in eh)es in ed?es in ei&&!(es in ea)&&(ea[es]=ed[es]):es in eo?ea[es]=eo[es]:es in ei&&(ea[es]=ei[es]);return ea}function getIconsTree(ei,eo){let ea=ei.icons,es=ei.aliases||Object.create(null),eu=Object.create(null);function resolve(ei){if(ea[ei])return eu[ei]=[];if(!(ei in eu)){eu[ei]=null;let eo=es[ei]&&es[ei].parent,ea=eo&&resolve(eo);ea&&(eu[ei]=[eo].concat(ea))}return eu[ei]}return(eo||Object.keys(ea).concat(Object.keys(es))).forEach(resolve),eu}function internalGetIconData(ei,eo,ea){let es=ei.icons,eu=ei.aliases||Object.create(null),ec={};function parse(ei){ec=mergeIconData(es[ei]||eu[ei],ec)}return parse(eo),ea.forEach(parse),mergeIconData(ei,ec)}function parseIconSet(ei,eo){let ea=[];if("object"!=typeof ei||"object"!=typeof ei.icons)return ea;ei.not_found instanceof Array&&ei.not_found.forEach(ei=>{eo(ei,null),ea.push(ei)});let es=getIconsTree(ei);for(let eu in es){let ec=es[eu];ec&&(eo(eu,internalGetIconData(ei,eu,ec)),ea.push(eu))}return ea}let ep=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(ei,eo,ea,es="")=>{let eu=ei.split(":");if("@"===ei.slice(0,1)){if(eu.length<2||eu.length>3)return null;es=eu.shift().slice(1)}if(eu.length>3||!eu.length)return null;if(eu.length>1){let ei=eu.pop(),ea=eu.pop(),ec={provider:eu.length>0?eu[0]:es,prefix:ea,name:ei};return eo&&!validateIconName(ec)?null:ec}let ec=eu[0],ed=ec.split("-");if(ed.length>1){let ei={provider:es,prefix:ed.shift(),name:ed.join("-")};return eo&&!validateIconName(ei)?null:ei}if(ea&&""===es){let ei={provider:es,prefix:"",name:ec};return eo&&!validateIconName(ei,ea)?null:ei}return null},validateIconName=(ei,eo)=>!!ei&&!!((""===ei.provider||ei.provider.match(ep))&&(eo&&""===ei.prefix||ei.prefix.match(ep))&&ei.name.match(ep)),em={provider:"",aliases:{},not_found:{},...ec};function checkOptionalProps(ei,eo){for(let ea in eo)if(ea in ei&&typeof ei[ea]!=typeof eo[ea])return!1;return!0}function quicklyValidateIconSet(ei){if("object"!=typeof ei||null===ei)return null;let eo=ei;if("string"!=typeof eo.prefix||!ei.icons||"object"!=typeof ei.icons||!checkOptionalProps(ei,em))return null;let ea=eo.icons;for(let ei in ea){let eo=ea[ei];if(!ei.match(ep)||"string"!=typeof eo.body||!checkOptionalProps(eo,eh))return null}let es=eo.aliases||Object.create(null);for(let ei in es){let eo=es[ei],eu=eo.parent;if(!ei.match(ep)||"string"!=typeof eu||!ea[eu]&&!es[eu]||!checkOptionalProps(eo,eh))return null}return eo}let eg=Object.create(null);function newStorage(ei,eo){return{provider:ei,prefix:eo,icons:Object.create(null),missing:new Set}}function getStorage(ei,eo){let ea=eg[ei]||(eg[ei]=Object.create(null));return ea[eo]||(ea[eo]=newStorage(ei,eo))}function addIconSet(ei,eo){return quicklyValidateIconSet(eo)?parseIconSet(eo,(eo,ea)=>{ea?ei.icons[eo]=ea:ei.missing.add(eo)}):[]}function addIconToStorage(ei,eo,ea){try{if("string"==typeof ea.body)return ei.icons[eo]={...ea},!0}catch(ei){}return!1}let eb=!1;function allowSimpleNames(ei){return"boolean"==typeof ei&&(eb=ei),eb}function getIconData(ei){let eo="string"==typeof ei?stringToIcon(ei,!0,eb):ei;if(eo){let ei=getStorage(eo.provider,eo.prefix),ea=eo.name;return ei.icons[ea]||(ei.missing.has(ea)?null:void 0)}}function addIcon(ei,eo){let ea=stringToIcon(ei,!0,eb);if(!ea)return!1;let es=getStorage(ea.provider,ea.prefix);return addIconToStorage(es,ea.name,eo)}function addCollection(ei,eo){if("object"!=typeof ei)return!1;if("string"!=typeof eo&&(eo=ei.provider||""),eb&&!eo&&!ei.prefix){let eo=!1;return quicklyValidateIconSet(ei)&&(ei.prefix="",parseIconSet(ei,(ei,ea)=>{ea&&addIcon(ei,ea)&&(eo=!0)})),eo}let ea=ei.prefix;if(!validateIconName({provider:eo,prefix:ea,name:"a"}))return!1;let es=getStorage(eo,ea);return!!addIconSet(es,ei)}let ey=Object.freeze({width:null,height:null}),ew=Object.freeze({...ey,...ed}),ex=/(-?[0-9.]*[0-9]+[0-9.]*)/g,eP=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(ei,eo,ea){if(1===eo)return ei;if(ea=ea||100,"number"==typeof ei)return Math.ceil(ei*eo*ea)/ea;if("string"!=typeof ei)return ei;let es=ei.split(ex);if(null===es||!es.length)return ei;let eu=[],ec=es.shift(),ed=eP.test(ec);for(;;){if(ed){let ei=parseFloat(ec);isNaN(ei)?eu.push(ec):eu.push(Math.ceil(ei*eo*ea)/ea)}else eu.push(ec);if(void 0===(ec=es.shift()))return eu.join("");ed=!ed}}function splitSVGDefs(ei,eo="defs"){let ea="",es=ei.indexOf("<"+eo);for(;es>=0;){let eu=ei.indexOf(">",es),ec=ei.indexOf("</"+eo);if(-1===eu||-1===ec)break;let ed=ei.indexOf(">",ec);if(-1===ed)break;ea+=ei.slice(eu+1,ec).trim(),ei=ei.slice(0,es).trim()+ei.slice(ed+1)}return{defs:ea,content:ei}}function mergeDefsAndContent(ei,eo){return ei?"<defs>"+ei+"</defs>"+eo:eo}function wrapSVGContent(ei,eo,ea){let es=splitSVGDefs(ei);return mergeDefsAndContent(es.defs,eo+es.content+ea)}let isUnsetKeyword=ei=>"unset"===ei||"undefined"===ei||"none"===ei;function iconToSVG(ei,eo){let ea,es;let eu={...ef,...ei},ec={...ew,...eo},ed={left:eu.left,top:eu.top,width:eu.width,height:eu.height},eh=eu.body;[eu,ec].forEach(ei=>{let eo;let ea=[],es=ei.hFlip,eu=ei.vFlip,ec=ei.rotate;switch(es?eu?ec+=2:(ea.push("translate("+(ed.width+ed.left).toString()+" "+(0-ed.top).toString()+")"),ea.push("scale(-1 1)"),ed.top=ed.left=0):eu&&(ea.push("translate("+(0-ed.left).toString()+" "+(ed.height+ed.top).toString()+")"),ea.push("scale(1 -1)"),ed.top=ed.left=0),ec<0&&(ec-=4*Math.floor(ec/4)),ec%=4){case 1:ea.unshift("rotate(90 "+(eo=ed.height/2+ed.top).toString()+" "+eo.toString()+")");break;case 2:ea.unshift("rotate(180 "+(ed.width/2+ed.left).toString()+" "+(ed.height/2+ed.top).toString()+")");break;case 3:ea.unshift("rotate(-90 "+(eo=ed.width/2+ed.left).toString()+" "+eo.toString()+")")}ec%2==1&&(ed.left!==ed.top&&(eo=ed.left,ed.left=ed.top,ed.top=eo),ed.width!==ed.height&&(eo=ed.width,ed.width=ed.height,ed.height=eo)),ea.length&&(eh=wrapSVGContent(eh,'<g transform="'+ea.join(" ")+'">',"</g>"))});let ep=ec.width,em=ec.height,eg=ed.width,eb=ed.height;null===ep?ea=calculateSize(es=null===em?"1em":"auto"===em?eb:em,eg/eb):(ea="auto"===ep?eg:ep,es=null===em?calculateSize(ea,eb/eg):"auto"===em?eb:em);let ey={},setAttr=(ei,eo)=>{isUnsetKeyword(eo)||(ey[ei]=eo.toString())};setAttr("width",ea),setAttr("height",es);let ex=[ed.left,ed.top,eg,eb];return ey.viewBox=ex.join(" "),{attributes:ey,viewBox:ex,body:eh}}let eS=/\sid="(\S+)"/g,eE="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),ek=0;function replaceIDs(ei,eo=eE){let ea;let es=[];for(;ea=eS.exec(ei);)es.push(ea[1]);if(!es.length)return ei;let eu="suffix"+(16777216*Math.random()|Date.now()).toString(16);return es.forEach(ea=>{let es="function"==typeof eo?eo(ea):eo+(ek++).toString(),ec=ea.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");ei=ei.replace(RegExp('([#;"])('+ec+')([")]|\\.[a-z])',"g"),"$1"+es+eu+"$3")}),ei=ei.replace(RegExp(eu,"g"),"")}let eT=Object.create(null);function setAPIModule(ei,eo){eT[ei]=eo}function getAPIModule(ei){return eT[ei]||eT[""]}function createAPIConfig(ei){let eo;if("string"==typeof ei.resources)eo=[ei.resources];else if(!((eo=ei.resources)instanceof Array)||!eo.length)return null;let ea={resources:eo,path:ei.path||"/",maxURL:ei.maxURL||500,rotate:ei.rotate||750,timeout:ei.timeout||5e3,random:!0===ei.random,index:ei.index||0,dataAfterTimeout:!1!==ei.dataAfterTimeout};return ea}let eC=Object.create(null),e_=["https://api.simplesvg.com","https://api.unisvg.com"],eA=[];for(;e_.length>0;)1===e_.length?eA.push(e_.shift()):Math.random()>.5?eA.push(e_.shift()):eA.push(e_.pop());function addAPIProvider(ei,eo){let ea=createAPIConfig(eo);return null!==ea&&(eC[ei]=ea,!0)}function getAPIConfig(ei){return eC[ei]}eC[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(eA)});let detectFetch=()=>{let ei;try{if(ei=fetch,"function"==typeof ei)return ei}catch(ei){}},eO=detectFetch();function calculateMaxLength(ei,eo){let ea;let es=getAPIConfig(ei);if(!es)return 0;if(es.maxURL){let ei=0;es.resources.forEach(eo=>{let ea=eo;ei=Math.max(ei,ea.length)});let eu=eo+".json?icons=";ea=es.maxURL-ei-es.path.length-eu.length}else ea=0;return ea}function shouldAbort(ei){return 404===ei}let prepare=(ei,eo,ea)=>{let es=[],eu=calculateMaxLength(ei,eo),ec="icons",ed={type:ec,provider:ei,prefix:eo,icons:[]},ef=0;return ea.forEach((ea,eh)=>{(ef+=ea.length+1)>=eu&&eh>0&&(es.push(ed),ed={type:ec,provider:ei,prefix:eo,icons:[]},ef=ea.length),ed.icons.push(ea)}),es.push(ed),es};function getPath(ei){if("string"==typeof ei){let eo=getAPIConfig(ei);if(eo)return eo.path}return"/"}let send=(ei,eo,ea)=>{if(!eO){ea("abort",424);return}let es=getPath(eo.provider);switch(eo.type){case"icons":{let ei=eo.prefix,ea=eo.icons,eu=ea.join(","),ec=new URLSearchParams({icons:eu});es+=ei+".json?"+ec.toString();break}case"custom":{let ei=eo.uri;es+="/"===ei.slice(0,1)?ei.slice(1):ei;break}default:ea("abort",400);return}let eu=503;eO(ei+es).then(ei=>{let eo=ei.status;if(200!==eo){setTimeout(()=>{ea(shouldAbort(eo)?"abort":"next",eo)});return}return eu=501,ei.json()}).then(ei=>{if("object"!=typeof ei||null===ei){setTimeout(()=>{404===ei?ea("abort",ei):ea("next",eu)});return}setTimeout(()=>{ea("success",ei)})}).catch(()=>{ea("next",eu)})},eM={prepare,send};function sortIcons(ei){let eo={loaded:[],missing:[],pending:[]},ea=Object.create(null);ei.sort((ei,eo)=>ei.provider!==eo.provider?ei.provider.localeCompare(eo.provider):ei.prefix!==eo.prefix?ei.prefix.localeCompare(eo.prefix):ei.name.localeCompare(eo.name));let es={provider:"",prefix:"",name:""};return ei.forEach(ei=>{let eu;if(es.name===ei.name&&es.prefix===ei.prefix&&es.provider===ei.provider)return;es=ei;let ec=ei.provider,ed=ei.prefix,ef=ei.name,eh=ea[ec]||(ea[ec]=Object.create(null)),ep=eh[ed]||(eh[ed]=getStorage(ec,ed));eu=ef in ep.icons?eo.loaded:""===ed||ep.missing.has(ef)?eo.missing:eo.pending;let em={provider:ec,prefix:ed,name:ef};eu.push(em)}),eo}function removeCallback(ei,eo){ei.forEach(ei=>{let ea=ei.loaderCallbacks;ea&&(ei.loaderCallbacks=ea.filter(ei=>ei.id!==eo))})}function updateCallbacks(ei){ei.pendingCallbacksFlag||(ei.pendingCallbacksFlag=!0,setTimeout(()=>{ei.pendingCallbacksFlag=!1;let eo=ei.loaderCallbacks?ei.loaderCallbacks.slice(0):[];if(!eo.length)return;let ea=!1,es=ei.provider,eu=ei.prefix;eo.forEach(eo=>{let ec=eo.icons,ed=ec.pending.length;ec.pending=ec.pending.filter(eo=>{if(eo.prefix!==eu)return!0;let ed=eo.name;if(ei.icons[ed])ec.loaded.push({provider:es,prefix:eu,name:ed});else{if(!ei.missing.has(ed))return ea=!0,!0;ec.missing.push({provider:es,prefix:eu,name:ed})}return!1}),ec.pending.length!==ed&&(ea||removeCallback([ei],eo.id),eo.callback(ec.loaded.slice(0),ec.missing.slice(0),ec.pending.slice(0),eo.abort))})}))}let eR=0;function storeCallback(ei,eo,ea){let es=eR++,eu=removeCallback.bind(null,ea,es);if(!eo.pending.length)return eu;let ec={id:es,icons:eo,callback:ei,abort:eu};return ea.forEach(ei=>{(ei.loaderCallbacks||(ei.loaderCallbacks=[])).push(ec)}),eu}function listToIcons(ei,eo=!0,ea=!1){let es=[];return ei.forEach(ei=>{let eu="string"==typeof ei?stringToIcon(ei,eo,ea):ei;eu&&es.push(eu)}),es}var ej={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(ei,eo,ea,es){let eu,ec;let ed=ei.resources.length,ef=ei.random?Math.floor(Math.random()*ed):ei.index;if(ei.random){let eo=ei.resources.slice(0);for(eu=[];eo.length>1;){let ei=Math.floor(Math.random()*eo.length);eu.push(eo[ei]),eo=eo.slice(0,ei).concat(eo.slice(ei+1))}eu=eu.concat(eo)}else eu=ei.resources.slice(ef).concat(ei.resources.slice(0,ef));let eh=Date.now(),ep="pending",em=0,eg=null,eb=[],ey=[];function resetTimer(){eg&&(clearTimeout(eg),eg=null)}function abort(){"pending"===ep&&(ep="aborted"),resetTimer(),eb.forEach(ei=>{"pending"===ei.status&&(ei.status="aborted")}),eb=[]}function subscribe(ei,eo){eo&&(ey=[]),"function"==typeof ei&&ey.push(ei)}function getQueryStatus(){return{startTime:eh,payload:eo,status:ep,queriesSent:em,queriesPending:eb.length,subscribe,abort}}function failQuery(){ep="failed",ey.forEach(ei=>{ei(void 0,ec)})}function clearQueue(){eb.forEach(ei=>{"pending"===ei.status&&(ei.status="aborted")}),eb=[]}function moduleResponse(eo,ea,es){let ed="success"!==ea;switch(eb=eb.filter(ei=>ei!==eo),ep){case"pending":break;case"failed":if(ed||!ei.dataAfterTimeout)return;break;default:return}if("abort"===ea){ec=es,failQuery();return}if(ed){ec=es,eb.length||(eu.length?execNext():failQuery());return}if(resetTimer(),clearQueue(),!ei.random){let ea=ei.resources.indexOf(eo.resource);-1!==ea&&ea!==ei.index&&(ei.index=ea)}ep="completed",ey.forEach(ei=>{ei(es)})}function execNext(){if("pending"!==ep)return;resetTimer();let es=eu.shift();if(void 0===es){if(eb.length){eg=setTimeout(()=>{resetTimer(),"pending"===ep&&(clearQueue(),failQuery())},ei.timeout);return}failQuery();return}let ec={status:"pending",resource:es,callback:(ei,eo)=>{moduleResponse(ec,ei,eo)}};eb.push(ec),em++,eg=setTimeout(execNext,ei.rotate),ea(es,eo,ec.callback)}return"function"==typeof es&&ey.push(es),setTimeout(execNext),getQueryStatus}function initRedundancy(ei){let eo={...ej,...ei},ea=[];function cleanup(){ea=ea.filter(ei=>"pending"===ei().status)}function query(ei,es,eu){let ec=sendQuery(eo,ei,es,(ei,eo)=>{cleanup(),eu&&eu(ei,eo)});return ea.push(ec),ec}function find(ei){return ea.find(eo=>ei(eo))||null}let es={query,find,setIndex:ei=>{eo.index=ei},getIndex:()=>eo.index,cleanup};return es}function emptyCallback$1(){}let eN=Object.create(null);function getRedundancyCache(ei){if(!eN[ei]){let eo=getAPIConfig(ei);if(!eo)return;let ea=initRedundancy(eo),es={config:eo,redundancy:ea};eN[ei]=es}return eN[ei]}function sendAPIQuery(ei,eo,ea){let es,eu;if("string"==typeof ei){let eo=getAPIModule(ei);if(!eo)return ea(void 0,424),emptyCallback$1;eu=eo.send;let ec=getRedundancyCache(ei);ec&&(es=ec.redundancy)}else{let eo=createAPIConfig(ei);if(eo){es=initRedundancy(eo);let ea=ei.resources?ei.resources[0]:"",ec=getAPIModule(ea);ec&&(eu=ec.send)}}return es&&eu?es.query(eo,eu,ea)().abort:(ea(void 0,424),emptyCallback$1)}let eL="iconify2",eD="iconify",eI=eD+"-count",ez=eD+"-version",eB=36e5,eF=168,eH=50;function getStoredItem(ei,eo){try{return ei.getItem(eo)}catch(ei){}}function setStoredItem(ei,eo,ea){try{return ei.setItem(eo,ea),!0}catch(ei){}}function removeStoredItem(ei,eo){try{ei.removeItem(eo)}catch(ei){}}function setBrowserStorageItemsCount(ei,eo){return setStoredItem(ei,eI,eo.toString())}function getBrowserStorageItemsCount(ei){return parseInt(getStoredItem(ei,eI))||0}let eU={local:!0,session:!0},eV={local:new Set,session:new Set},eX=!1;function setBrowserStorageStatus(ei){eX=ei}let eq="undefined"==typeof window?{}:window;function getBrowserStorage(ei){let eo=ei+"Storage";try{if(eq&&eq[eo]&&"number"==typeof eq[eo].length)return eq[eo]}catch(ei){}eU[ei]=!1}function iterateBrowserStorage(ei,eo){let ea=getBrowserStorage(ei);if(!ea)return;let es=getStoredItem(ea,ez);if(es!==eL){if(es){let ei=getBrowserStorageItemsCount(ea);for(let eo=0;eo<ei;eo++)removeStoredItem(ea,eD+eo.toString())}setStoredItem(ea,ez,eL),setBrowserStorageItemsCount(ea,0);return}let eu=Math.floor(Date.now()/eB)-eF,parseItem=ei=>{let es=eD+ei.toString(),ec=getStoredItem(ea,es);if("string"==typeof ec){try{let ea=JSON.parse(ec);if("object"==typeof ea&&"number"==typeof ea.cached&&ea.cached>eu&&"string"==typeof ea.provider&&"object"==typeof ea.data&&"string"==typeof ea.data.prefix&&eo(ea,ei))return!0}catch(ei){}removeStoredItem(ea,es)}},ec=getBrowserStorageItemsCount(ea);for(let eo=ec-1;eo>=0;eo--)parseItem(eo)||(eo===ec-1?setBrowserStorageItemsCount(ea,--ec):eV[ei].add(eo))}function initBrowserStorage(){if(!eX)for(let ei in setBrowserStorageStatus(!0),eU)iterateBrowserStorage(ei,ei=>{let eo=ei.data,ea=ei.provider,es=eo.prefix,eu=getStorage(ea,es);if(!addIconSet(eu,eo).length)return!1;let ec=eo.lastModified||-1;return eu.lastModifiedCached=eu.lastModifiedCached?Math.min(eu.lastModifiedCached,ec):ec,!0})}function updateLastModified(ei,eo){let ea=ei.lastModifiedCached;if(ea&&ea>=eo)return ea===eo;if(ei.lastModifiedCached=eo,ea)for(let ea in eU)iterateBrowserStorage(ea,ea=>{let es=ea.data;return ea.provider!==ei.provider||es.prefix!==ei.prefix||es.lastModified===eo});return!0}function storeInBrowserStorage(ei,eo){function store(ea){let es,eu;if(!eU[ea]||!(es=getBrowserStorage(ea)))return;let ec=eV[ea];if(ec.size)ec.delete(eu=Array.from(ec).shift());else if((eu=getBrowserStorageItemsCount(es))>=eH||!setBrowserStorageItemsCount(es,eu+1))return;let ed={cached:Math.floor(Date.now()/eB),provider:ei.provider,data:eo};return setStoredItem(es,eD+eu.toString(),JSON.stringify(ed))}eX||initBrowserStorage(),(!eo.lastModified||updateLastModified(ei,eo.lastModified))&&Object.keys(eo.icons).length&&(eo.not_found&&(eo=Object.assign({},eo),delete eo.not_found),store("local")||store("session"))}function emptyCallback(){}function loadedNewIcons(ei){ei.iconsLoaderFlag||(ei.iconsLoaderFlag=!0,setTimeout(()=>{ei.iconsLoaderFlag=!1,updateCallbacks(ei)}))}function loadNewIcons(ei,eo){ei.iconsToLoad?ei.iconsToLoad=ei.iconsToLoad.concat(eo).sort():ei.iconsToLoad=eo,ei.iconsQueueFlag||(ei.iconsQueueFlag=!0,setTimeout(()=>{let eo;ei.iconsQueueFlag=!1;let{provider:ea,prefix:es}=ei,eu=ei.iconsToLoad;if(delete ei.iconsToLoad,!eu||!(eo=getAPIModule(ea)))return;let ec=eo.prepare(ea,es,eu);ec.forEach(eo=>{sendAPIQuery(ea,eo,ea=>{if("object"!=typeof ea)eo.icons.forEach(eo=>{ei.missing.add(eo)});else try{let eo=addIconSet(ei,ea);if(!eo.length)return;let es=ei.pendingIcons;es&&eo.forEach(ei=>{es.delete(ei)}),storeInBrowserStorage(ei,ea)}catch(ei){console.error(ei)}loadedNewIcons(ei)})})}))}let loadIcons=(ei,eo)=>{let ea,es;let eu=listToIcons(ei,!0,allowSimpleNames()),ec=sortIcons(eu);if(!ec.pending.length){let ei=!0;return eo&&setTimeout(()=>{ei&&eo(ec.loaded,ec.missing,ec.pending,emptyCallback)}),()=>{ei=!1}}let ed=Object.create(null),ef=[];return ec.pending.forEach(ei=>{let{provider:eo,prefix:eu}=ei;if(eu===es&&eo===ea)return;ea=eo,es=eu,ef.push(getStorage(eo,eu));let ec=ed[eo]||(ed[eo]=Object.create(null));ec[eu]||(ec[eu]=[])}),ec.pending.forEach(ei=>{let{provider:eo,prefix:ea,name:es}=ei,eu=getStorage(eo,ea),ec=eu.pendingIcons||(eu.pendingIcons=new Set);ec.has(es)||(ec.add(es),ed[eo][ea].push(es))}),ef.forEach(ei=>{let{provider:eo,prefix:ea}=ei;ed[eo][ea].length&&loadNewIcons(ei,ed[eo][ea])}),eo?storeCallback(eo,ec,ef):emptyCallback};function mergeCustomisations(ei,eo){let ea={...ei};for(let ei in eo){let es=eo[ei],eu=typeof es;ei in ey?(null===es||es&&("string"===eu||"number"===eu))&&(ea[ei]=es):eu===typeof ea[ei]&&(ea[ei]="rotate"===ei?es%4:es)}return ea}let e$=/[\s,]+/;function flipFromString(ei,eo){eo.split(e$).forEach(eo=>{let ea=eo.trim();switch(ea){case"horizontal":ei.hFlip=!0;break;case"vertical":ei.vFlip=!0}})}function rotateFromString(ei,eo=0){let ea=ei.replace(/^-?[0-9.]*/,"");function cleanup(ei){for(;ei<0;)ei+=4;return ei%4}if(""===ea){let eo=parseInt(ei);return isNaN(eo)?0:cleanup(eo)}if(ea!==ei){let eo=0;switch(ea){case"%":eo=25;break;case"deg":eo=90}if(eo){let es=parseFloat(ei.slice(0,ei.length-ea.length));return isNaN(es)?0:(es/=eo)%1==0?cleanup(es):0}}return eo}function iconToHTML(ei,eo){let ea=-1===ei.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let ei in eo)ea+=" "+ei+'="'+eo[ei]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+ea+">"+ei+"</svg>"}function encodeSVGforURL(ei){return ei.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(ei){return"data:image/svg+xml,"+encodeSVGforURL(ei)}function svgToURL(ei){return'url("'+svgToData(ei)+'")'}function createPolicy(){try{es=window.trustedTypes.createPolicy("iconify",{createHTML:ei=>ei})}catch(ei){es=null}}function cleanUpInnerHTML(ei){return void 0===es&&createPolicy(),es?es.createHTML(ei):ei}let eW={...ew,inline:!1},eK={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},eG={display:"inline-block"},eZ={backgroundColor:"currentColor"},eJ={backgroundColor:"transparent"},eY={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},eQ={WebkitMask:eZ,mask:eZ,background:eJ};for(let ei in eQ){let eo=eQ[ei];for(let ea in eY)eo[ei+ea]=eY[ea]}let e0={...eW,inline:!0};function fixSize(ei){return ei+(ei.match(/^[-0-9.]+$/)?"px":"")}let render=(ei,eo,ea)=>{let es=eo.inline?e0:eW,ec=mergeCustomisations(es,eo),ed=eo.mode||"svg",ef={},eh=eo.style||{},ep={..."svg"===ed?eK:{}};if(ea){let ei=stringToIcon(ea,!1,!0);if(ei){let eo=["iconify"],ea=["provider","prefix"];for(let es of ea)ei[es]&&eo.push("iconify--"+ei[es]);ep.className=eo.join(" ")}}for(let ei in eo){let ea=eo[ei];if(void 0!==ea)switch(ei){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":break;case"_ref":ep.ref=ea;break;case"className":ep[ei]=(ep[ei]?ep[ei]+" ":"")+ea;break;case"inline":case"hFlip":case"vFlip":ec[ei]=!0===ea||"true"===ea||1===ea;break;case"flip":"string"==typeof ea&&flipFromString(ec,ea);break;case"color":ef.color=ea;break;case"rotate":"string"==typeof ea?ec[ei]=rotateFromString(ea):"number"==typeof ea&&(ec[ei]=ea);break;case"ariaHidden":case"aria-hidden":!0!==ea&&"true"!==ea&&delete ep["aria-hidden"];break;default:void 0===es[ei]&&(ep[ei]=ea)}}let em=iconToSVG(ei,ec),eg=em.attributes;if(ec.inline&&(ef.verticalAlign="-0.125em"),"svg"===ed){ep.style={...ef,...eh},Object.assign(ep,eg);let ei=0,ea=eo.id;return"string"==typeof ea&&(ea=ea.replace(/-/g,"_")),ep.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(em.body,ea?()=>ea+"ID"+ei++:"iconifyReact"))},(0,eu.createElement)("svg",ep)}let{body:eb,width:ey,height:ew}=ei,ex="mask"===ed||"bg"!==ed&&-1!==eb.indexOf("currentColor"),eP=iconToHTML(eb,{...eg,width:ey+"",height:ew+""});return ep.style={...ef,"--svg":svgToURL(eP),width:fixSize(eg.width),height:fixSize(eg.height),...eG,...ex?eZ:eJ,...eh},(0,eu.createElement)("span",ep)};if(allowSimpleNames(!0),setAPIModule("",eM),"undefined"!=typeof document&&"undefined"!=typeof window){initBrowserStorage();let ei=window;if(void 0!==ei.IconifyPreload){let eo=ei.IconifyPreload,ea="Invalid IconifyPreload syntax.";"object"==typeof eo&&null!==eo&&(eo instanceof Array?eo:[eo]).forEach(ei=>{try{("object"!=typeof ei||null===ei||ei instanceof Array||"object"!=typeof ei.icons||"string"!=typeof ei.prefix||!addCollection(ei))&&console.error(ea)}catch(ei){console.error(ea)}})}if(void 0!==ei.IconifyProviders){let eo=ei.IconifyProviders;if("object"==typeof eo&&null!==eo)for(let ei in eo){let ea="IconifyProviders["+ei+"] is invalid.";try{let es=eo[ei];if("object"!=typeof es||!es||void 0===es.resources)continue;addAPIProvider(ei,es)||console.error(ea)}catch(ei){console.error(ea)}}}}function IconComponent(ei){let[eo,ea]=(0,eu.useState)(!!ei.ssr),[es,ec]=(0,eu.useState)({});function getInitialState(eo){if(eo){let eo=ei.icon;if("object"==typeof eo)return{name:"",data:eo};let ea=getIconData(eo);if(ea)return{name:eo,data:ea}}return{name:""}}let[ed,eh]=(0,eu.useState)(getInitialState(!!ei.ssr));function cleanup(){let ei=es.callback;ei&&(ei(),ec({}))}function changeState(ei){if(JSON.stringify(ed)!==JSON.stringify(ei))return cleanup(),eh(ei),!0}function updateState(){var eo;let ea=ei.icon;if("object"==typeof ea){changeState({name:"",data:ea});return}let es=getIconData(ea);if(changeState({name:ea,data:es})){if(void 0===es){let ei=loadIcons([ea],updateState);ec({callback:ei})}else es&&(null===(eo=ei.onLoad)||void 0===eo||eo.call(ei,ea))}}(0,eu.useEffect)(()=>(ea(!0),cleanup),[]),(0,eu.useEffect)(()=>{eo&&updateState()},[ei.icon,eo]);let{name:ep,data:em}=ed;return em?render({...ef,...em},ei,ep):ei.children?ei.children:(0,eu.createElement)("span",{})}let e1=(0,eu.forwardRef)((ei,eo)=>IconComponent({...ei,_ref:eo}));(0,eu.forwardRef)((ei,eo)=>IconComponent({inline:!0,...ei,_ref:eo}))},11903:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5}});let es=new Map,eu=!1;try{eu="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(ei){}let ec=!1;try{ec="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(ei){}let ed={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};let $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5=class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5{format(ei){let eo="";if(eo=eu||null==this.options.signDisplay?this.numberFormatter.format(ei):$488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter,this.options.signDisplay,ei),"unit"===this.options.style&&!ec){var ea;let{unit:ei,unitDisplay:es="short",locale:eu}=this.resolvedOptions();if(!ei)return eo;let ec=null===(ea=ed[ei])||void 0===ea?void 0:ea[es];eo+=ec[eu]||ec.default}return eo}formatToParts(ei){return this.numberFormatter.formatToParts(ei)}formatRange(ei,eo){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(ei,eo);if(eo<ei)throw RangeError("End date must be >= start date");return`${this.format(ei)} \u{2013} ${this.format(eo)}`}formatRangeToParts(ei,eo){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(ei,eo);if(eo<ei)throw RangeError("End date must be >= start date");let ea=this.numberFormatter.formatToParts(ei),es=this.numberFormatter.formatToParts(eo);return[...ea.map(ei=>({...ei,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...es.map(ei=>({...ei,source:"endRange"}))]}resolvedOptions(){let ei=this.numberFormatter.resolvedOptions();return eu||null==this.options.signDisplay||(ei={...ei,signDisplay:this.options.signDisplay}),ec||"unit"!==this.options.style||(ei={...ei,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),ei}constructor(ei,eo={}){this.numberFormatter=$488c6ddbf4ef74c2$var$getCachedNumberFormatter(ei,eo),this.options=eo}};function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(ei,eo={}){let{numberingSystem:ea}=eo;if(ea&&ei.includes("-nu-")&&(ei.includes("-u-")||(ei+="-u-"),ei+=`-nu-${ea}`),"unit"===eo.style&&!ec){var eu;let{unit:ei,unitDisplay:ea="short"}=eo;if(!ei)throw Error('unit option must be provided with style: "unit"');if(!(null===(eu=ed[ei])||void 0===eu?void 0:eu[ea]))throw Error(`Unsupported unit ${ei} with unitDisplay = ${ea}`);eo={...eo,style:"decimal"}}let ef=ei+(eo?Object.entries(eo).sort((ei,eo)=>ei[0]<eo[0]?-1:1).join():"");if(es.has(ef))return es.get(ef);let eh=new Intl.NumberFormat(ei,eo);return es.set(ef,eh),eh}function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(ei,eo,ea){if("auto"===eo)return ei.format(ea);{if("never"===eo)return ei.format(Math.abs(ea));let es=!1;if("always"===eo?es=ea>0||Object.is(ea,0):"exceptZero"===eo&&(Object.is(ea,-0)||Object.is(ea,0)?ea=Math.abs(ea):es=ea>0),!es)return ei.format(ea);{let eo=ei.format(-ea),es=ei.format(ea),eu=eo.replace(es,"").replace(/\u200e|\u061C/,"");return 1!=[...eu].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),eo.replace(es,"!!!").replace(eu,"+").replace("!!!",es)}}}},41044:function(ei,eo,ea){"use strict";let es;ea.d(eo,{J:function(){return $5b160d28a433310d$export$c17fa47878dc55b6}});let eu=Symbol.for("react-aria.i18n.locale"),ec=Symbol.for("react-aria.i18n.strings");let $5b160d28a433310d$export$c17fa47878dc55b6=class $5b160d28a433310d$export$c17fa47878dc55b6{getStringForLocale(ei,eo){let ea=this.getStringsForLocale(eo)[ei];if(!ea)throw Error(`Could not find intl message ${ei} in ${eo} locale`);return ea}getStringsForLocale(ei){let eo=this.strings[ei];return eo||(eo=$5b160d28a433310d$var$getStringsForLocale(ei,this.strings,this.defaultLocale),this.strings[ei]=eo),eo}static getGlobalDictionaryForPackage(ei){if("undefined"==typeof window)return null;let eo=window[eu];if(void 0===es){let ei=window[ec];if(!ei)return null;for(let ea in es={},ei)es[ea]=new $5b160d28a433310d$export$c17fa47878dc55b6({[eo]:ei[ea]},eo)}let ea=null==es?void 0:es[ei];if(!ea)throw Error(`Strings for package "${ei}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return ea}constructor(ei,eo="en-US"){this.strings=Object.fromEntries(Object.entries(ei).filter(([,ei])=>ei)),this.defaultLocale=eo}};function $5b160d28a433310d$var$getStringsForLocale(ei,eo,ea="en-US"){if(eo[ei])return eo[ei];let es=$5b160d28a433310d$var$getLanguage(ei);if(eo[es])return eo[es];for(let ei in eo)if(ei.startsWith(es+"-"))return eo[ei];return eo[ea]}function $5b160d28a433310d$var$getLanguage(ei){return Intl.Locale?new Intl.Locale(ei).language:ei.split("-")[0]}},1839:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return $6db58dc88e78b024$export$2f817fcdc4b89ae0}});let es=new Map,eu=new Map;let $6db58dc88e78b024$export$2f817fcdc4b89ae0=class $6db58dc88e78b024$export$2f817fcdc4b89ae0{format(ei,eo){let ea=this.strings.getStringForLocale(ei,this.locale);return"function"==typeof ea?ea(eo,this):ea}plural(ei,eo,ea="cardinal"){let eu=eo["="+ei];if(eu)return"function"==typeof eu?eu():eu;let ec=this.locale+":"+ea,ed=es.get(ec);return ed||(ed=new Intl.PluralRules(this.locale,{type:ea}),es.set(ec,ed)),"function"==typeof(eu=eo[ed.select(ei)]||eo.other)?eu():eu}number(ei){let eo=eu.get(this.locale);return eo||(eo=new Intl.NumberFormat(this.locale),eu.set(this.locale,eo)),eo.format(ei)}select(ei,eo){let ea=ei[eo]||ei.other;return"function"==typeof ea?ea():ea}constructor(ei,eo){this.locale=ei,this.strings=eo}}},73932:function(ei,eo,ea){"use strict";ea.d(eo,{J:function(){return ariaShouldCloseOnInteractOutside}});var ariaShouldCloseOnInteractOutside=(ei,eo,ea)=>{let es=null==eo?void 0:eo.current;if(!es||!es.contains(ei)){let ei=document.querySelectorAll("body > span[data-focus-scope-start]"),eo=[];if(ei.forEach(ei=>{eo.push(ei.nextElementSibling)}),1===eo.length)return ea.close(),!1}return!es||!es.contains(ei)}},10902:function(ei,eo,ea){"use strict";ea.d(eo,{VS:function(){return getTransformOrigins},Yv:function(){return getShouldUseAxisPlacement},Yx:function(){return toReactAriaPlacement},sK:function(){return getArrowPlacement}});var getTransformOrigins=ei=>{let eo={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==eo?void 0:eo[ei])||{}},toReactAriaPlacement=ei=>{let eo={top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"};return eo[ei]},getShouldUseAxisPlacement=(ei,eo)=>{if(eo.includes("-")){let[ea]=eo.split("-");if(ea.includes(ei))return!1}return!0},getArrowPlacement=(ei,eo)=>{if(eo.includes("-")){let[,ea]=eo.split("-");return`${ei}-${ea}`}return ei}},88299:function(ei,eo,ea){"use strict";ea.d(eo,{C:function(){return eu},k:function(){return es}});var[es,eu]=(0,ea(46347).k)({name:"AvatarGroupContext",strict:!1})},5317:function(ei,eo,ea){"use strict";ea.d(eo,{h:function(){return eE}});var es=ea(85893),AvatarIcon=()=>(0,es.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[(0,es.jsx)("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),(0,es.jsx)("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),eu=ea(88299),ec=ea(53280),ed=ea(76733),ef=ea(37127),eh=ea(33295),ep=ea(27963),em=ea(54720),eg=ea(49869),eb=ea(50262),ey=ea(2459),ew=ea(67294),ex=ea(93387);function useImage(ei={}){let{loading:eo,src:ea,srcSet:es,onLoad:eu,onError:ec,crossOrigin:ed,sizes:ef,ignoreFallback:eh}=ei,[ep,em]=(0,ew.useState)("pending");(0,ew.useEffect)(()=>{em(ea?"loading":"pending")},[ea]);let eg=(0,ew.useRef)(),eb=(0,ew.useCallback)(()=>{if(!ea)return;flush();let ei=new Image;ei.src=ea,ed&&(ei.crossOrigin=ed),es&&(ei.srcset=es),ef&&(ei.sizes=ef),eo&&(ei.loading=eo),ei.onload=ei=>{flush(),em("loaded"),null==eu||eu(ei)},ei.onerror=ei=>{flush(),em("failed"),null==ec||ec(ei)},eg.current=ei},[ea,ed,es,ef,eu,ec,eo]),flush=()=>{eg.current&&(eg.current.onload=null,eg.current.onerror=null,eg.current=null)};return(0,ex.G)(()=>{if(!eh)return"loading"===ep&&eb(),()=>{flush()}},[ep,eb,eh]),eh?"loaded":ep}var eP=ea(18419);function useAvatar(ei={}){var eo,ea,es,ex,eS,eE,ek;let eT=(0,ed.w)(),eC=(0,eu.C)(),e_=!!eC,{as:eA,ref:eO,src:eM,name:eR,icon:ej,classNames:eN,fallback:eL,alt:eD=eR||"avatar",imgRef:eI,color:ez=null!=(eo=null==eC?void 0:eC.color)?eo:"default",radius:eB=null!=(ea=null==eC?void 0:eC.radius)?ea:"full",size:eF=null!=(es=null==eC?void 0:eC.size)?es:"md",isBordered:eH=null!=(ex=null==eC?void 0:eC.isBordered)&&ex,isDisabled:eU=null!=(eS=null==eC?void 0:eC.isDisabled)&&eS,isFocusable:eV=!1,getInitials:eX=em.e,ignoreFallback:eq=!1,showFallback:e$=!1,ImgComponent:eW="img",imgProps:eK,className:eG,onError:eZ,...eJ}=ei,eY=eA||"span",eQ=(0,eh.gy)(eO),e0=(0,eh.gy)(eI),{isFocusVisible:e1,isFocused:e3,focusProps:e8}=(0,ey.F)(),{isHovered:e6,hoverProps:e5}=(0,eP.X)({isDisabled:eU}),e4=null!=(ek=null!=(eE=ei.disableAnimation)?eE:null==eT?void 0:eT.disableAnimation)&&ek,e7=useImage({src:eM,onError:eZ,ignoreFallback:eq}),e9="loaded"===e7,tr="string"==typeof eW,tn=(!eM||!e9)&&e$,ti=(0,ew.useMemo)(()=>{var ei;return(0,ec.r)({color:ez,radius:eB,size:eF,isBordered:eH,isDisabled:eU,isInGroup:e_,disableAnimation:e4,isInGridGroup:null!=(ei=null==eC?void 0:eC.isGrid)&&ei})},[ez,eB,eF,eH,eU,e4,e_,null==eC?void 0:eC.isGrid]),ta=(0,eg.W)(null==eN?void 0:eN.base,eG),ts=(0,ew.useMemo)(()=>eV||"button"===eA,[eV,eA]),tl=(0,ew.useCallback)((ei={})=>({ref:eQ,tabIndex:ts?0:-1,"data-hover":(0,eb.PB)(e6),"data-focus":(0,eb.PB)(e3),"data-focus-visible":(0,eb.PB)(e1),className:ti.base({class:(0,eg.W)(ta,null==ei?void 0:ei.className)}),...(0,ef.d)(eJ,e5,ts?e8:{})}),[ts,ti,ta,e8,eJ]),tu=(0,ew.useCallback)((ei={})=>({ref:e0,src:eM,"data-loaded":(0,eb.PB)(e9),className:ti.img({class:null==eN?void 0:eN.img}),...(0,ef.d)(eK,ei,(0,ep.z)({disableAnimation:e4},{enabled:tr}))}),[ti,e9,eK,e4,eM,e0,tr]);return{Component:eY,ImgComponent:eW,src:eM,alt:eD,icon:ej,name:eR,imgRef:e0,slots:ti,classNames:eN,fallback:eL,isImgLoaded:e9,showFallback:tn,ignoreFallback:eq,getInitials:eX,getAvatarProps:tl,getImageProps:tu}}var eS=(0,ea(15607).Gp)((ei,eo)=>{let{Component:ea,ImgComponent:eu,src:ec,icon:ed=(0,es.jsx)(AvatarIcon,{}),alt:ef,classNames:eh,slots:ep,name:em,showFallback:eg,fallback:eb,getInitials:ey,getAvatarProps:ex,getImageProps:eP}=useAvatar({...ei,ref:eo}),eS=(0,ew.useMemo)(()=>!eg&&ec?null:eb?(0,es.jsx)("div",{"aria-label":ef,className:ep.fallback({class:null==eh?void 0:eh.fallback}),role:"img",children:eb}):em?(0,es.jsx)("span",{"aria-label":ef,className:ep.name({class:null==eh?void 0:eh.name}),role:"img",children:ey(em)}):(0,es.jsx)("span",{"aria-label":ef,className:ep.icon({class:null==eh?void 0:eh.icon}),role:"img",children:ed}),[eg,ec,eb,em,eh]);return(0,es.jsxs)(ea,{...ex(),children:[ec&&(0,es.jsx)(eu,{...eP(),alt:ef}),eS]})});eS.displayName="NextUI.Avatar";var eE=eS},27967:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return es},M:function(){return eu}});var[es,eu]=(0,ea(46347).k)({name:"ButtonGroupContext",strict:!1})},38787:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return eC}});var es=ea(27967),eu=ea(76733),ec=ea(50262),ed=ea(67294),ef=ea(2459),eh=ea(11086),ep=ea(37127),em=ea(33295),eg=ea(27963),eb=ea(61353),ey=ea(27316),ew=ea(18419),ex=ea(10918);function useButton(ei){var eo,ea,eP,eS,eE,ek,eT,eC,e_;let eA=(0,es.M)(),eO=(0,eu.w)(),eM=!!eA,{ref:eR,as:ej,children:eN,startContent:eL,endContent:eD,autoFocus:eI,className:ez,spinner:eB,isLoading:eF=!1,disableRipple:eH=!1,fullWidth:eU=null!=(eo=null==eA?void 0:eA.fullWidth)&&eo,radius:eV=null==eA?void 0:eA.radius,size:eX=null!=(ea=null==eA?void 0:eA.size)?ea:"md",color:eq=null!=(eP=null==eA?void 0:eA.color)?eP:"default",variant:e$=null!=(eS=null==eA?void 0:eA.variant)?eS:"solid",disableAnimation:eW=null!=(ek=null!=(eE=null==eA?void 0:eA.disableAnimation)?eE:null==eO?void 0:eO.disableAnimation)&&ek,isDisabled:eK=null!=(eT=null==eA?void 0:eA.isDisabled)&&eT,isIconOnly:eG=null!=(eC=null==eA?void 0:eA.isIconOnly)&&eC,spinnerPlacement:eZ="start",onPress:eJ,onClick:eY,...eQ}=ei,e0=ej||"button",e1="string"==typeof e0,e3=(0,em.gy)(eR),e8=null!=(e_=eH||(null==eO?void 0:eO.disableRipple))?e_:eW,{isFocusVisible:e6,isFocused:e5,focusProps:e4}=(0,ef.F)({autoFocus:eI}),e7=eK||eF,e9=(0,ed.useMemo)(()=>(0,eb.L)({size:eX,color:eq,variant:e$,radius:eV,fullWidth:eU,isDisabled:e7,isInGroup:eM,disableAnimation:eW,isIconOnly:eG,className:ez}),[eX,eq,e$,eV,eU,e7,eM,eG,eW,ez]),{onClick:tr,onClear:tn,ripples:ti}=(0,ex.i)(),ta=(0,ed.useCallback)(ei=>{e8||e7||eW||!e3.current||tr(ei)},[e8,e7,eW,e3,tr]),{buttonProps:ts,isPressed:tl}=(0,ey.j)({elementType:ej,isDisabled:e7,onPress:eJ,onClick:(0,eh.t)(eY,ta),...eQ},e3),{isHovered:tu,hoverProps:tc}=(0,ew.X)({isDisabled:e7}),td=(0,ed.useCallback)((ei={})=>({"data-disabled":(0,ec.PB)(e7),"data-focus":(0,ec.PB)(e5),"data-pressed":(0,ec.PB)(tl),"data-focus-visible":(0,ec.PB)(e6),"data-hover":(0,ec.PB)(tu),"data-loading":(0,ec.PB)(eF),...(0,ep.d)(ts,e4,tc,(0,eg.z)(eQ,{enabled:e1}),(0,eg.z)(ei))}),[eF,e7,e5,tl,e1,e6,tu,ts,e4,tc,eQ]),getIconClone=ei=>(0,ed.isValidElement)(ei)?(0,ed.cloneElement)(ei,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,tf=getIconClone(eL),th=getIconClone(eD),tp=(0,ed.useMemo)(()=>{let ei={sm:"sm",md:"sm",lg:"md"};return ei[eX]},[eX]),tm=(0,ed.useCallback)(()=>({ripples:ti,onClear:tn}),[ti,tn]);return{Component:e0,children:eN,domRef:e3,spinner:eB,styles:e9,startContent:tf,endContent:th,isLoading:eF,spinnerPlacement:eZ,spinnerSize:tp,disableRipple:e8,getButtonProps:td,getRippleProps:tm,isIconOnly:eG}}var eP=ea(82203),eS=ea(14890),eE=ea(15607),ek=ea(85893),eT=(0,eE.Gp)((ei,eo)=>{let{Component:ea,domRef:es,children:eu,styles:ec,spinnerSize:ed,spinner:ef=(0,ek.jsx)(eP.c,{color:"current",size:ed}),spinnerPlacement:eh,startContent:ep,endContent:em,isLoading:eg,disableRipple:eb,getButtonProps:ey,getRippleProps:ew,isIconOnly:ex}=useButton({...ei,ref:eo});return(0,ek.jsxs)(ea,{ref:es,className:ec,...ey(),children:[ep,eg&&"start"===eh&&ef,eg&&ex?null:eu,eg&&"end"===eh&&ef,em,!eb&&(0,ek.jsx)(eS.L,{...ew()})]})});eT.displayName="NextUI.Button";var eC=eT},69775:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return eE}});var es=ea(15607),eu=ea(37127),ec=ea(2317),ed=ea(2459),ef=ea(43649),eh=ea(82189),ep=ea(65512),em=(0,eh.tv)({slots:{base:["relative","max-w-fit","min-w-min","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...ep.jR,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:ef.J.solid.default}},{variant:"solid",color:"primary",class:{base:ef.J.solid.primary}},{variant:"solid",color:"secondary",class:{base:ef.J.solid.secondary}},{variant:"solid",color:"success",class:{base:ef.J.solid.success}},{variant:"solid",color:"warning",class:{base:ef.J.solid.warning}},{variant:"solid",color:"danger",class:{base:ef.J.solid.danger}},{variant:"shadow",color:"default",class:{base:ef.J.shadow.default}},{variant:"shadow",color:"primary",class:{base:ef.J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:ef.J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:ef.J.shadow.success}},{variant:"shadow",color:"warning",class:{base:ef.J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:ef.J.shadow.danger}},{variant:"bordered",color:"default",class:{base:ef.J.bordered.default}},{variant:"bordered",color:"primary",class:{base:ef.J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:ef.J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:ef.J.bordered.success}},{variant:"bordered",color:"warning",class:{base:ef.J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:ef.J.bordered.danger}},{variant:"flat",color:"default",class:{base:ef.J.flat.default}},{variant:"flat",color:"primary",class:{base:ef.J.flat.primary}},{variant:"flat",color:"secondary",class:{base:ef.J.flat.secondary}},{variant:"flat",color:"success",class:{base:ef.J.flat.success}},{variant:"flat",color:"warning",class:{base:ef.J.flat.warning}},{variant:"flat",color:"danger",class:{base:ef.J.flat.danger}},{variant:"faded",color:"default",class:{base:ef.J.faded.default}},{variant:"faded",color:"primary",class:{base:ef.J.faded.primary}},{variant:"faded",color:"secondary",class:{base:ef.J.faded.secondary}},{variant:"faded",color:"success",class:{base:ef.J.faded.success}},{variant:"faded",color:"warning",class:{base:ef.J.faded.warning}},{variant:"faded",color:"danger",class:{base:ef.J.faded.danger}},{variant:"light",color:"default",class:{base:ef.J.light.default}},{variant:"light",color:"primary",class:{base:ef.J.light.primary}},{variant:"light",color:"secondary",class:{base:ef.J.light.secondary}},{variant:"light",color:"success",class:{base:ef.J.light.success}},{variant:"light",color:"warning",class:{base:ef.J.light.warning}},{variant:"light",color:"danger",class:{base:ef.J.light.danger}},{isOneChar:!0,hasStartContent:!1,hasEndContent:!1,size:"sm",class:{base:"w-5 h-5 min-w-5 min-h-5"}},{isOneChar:!0,hasStartContent:!1,hasEndContent:!1,size:"md",class:{base:"w-6 h-6 min-w-6 min-h-6"}},{isOneChar:!0,hasStartContent:!1,hasEndContent:!1,size:"lg",class:{base:"w-7 h-7 min-w-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,hasStartContent:!1,hasEndContent:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,hasStartContent:!1,hasEndContent:!1,class:{base:"w-auto"}},{isOneChar:!0,variant:"dot",class:{base:"w-auto h-7 px-1 items-center",content:"px-2"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),eg=ea(33295),eb=ea(49869),ey=ea(49037),ew=ea(67294);function useChip(ei){let[eo,ea]=(0,es.oe)(ei,em.variantKeys),{ref:ef,as:eh,children:ep,avatar:ex,startContent:eP,endContent:eS,onClose:eE,classNames:ek,className:eT,...eC}=eo,e_=eh||"div",eA=(0,eg.gy)(ef),eO=(0,eb.W)(null==ek?void 0:ek.base,eT),eM=!!eE,eR="dot"===ei.variant,{focusProps:ej,isFocusVisible:eN}=(0,ed.F)(),eL=(0,ew.useMemo)(()=>"string"==typeof ep&&(null==ep?void 0:ep.length)===1,[ep]),eD=(0,ew.useMemo)(()=>!!ex||!!eP,[ex,eP]),eI=(0,ew.useMemo)(()=>!!eS||eM,[eS,eM]),ez=(0,ew.useMemo)(()=>em({...ea,hasStartContent:eD,hasEndContent:eI,isOneChar:eL,isCloseable:eM,isCloseButtonFocusVisible:eN}),[(0,ey.Xx)(ea),eN,eD,eI,eL,eM]),{pressProps:eB}=(0,ec.r)({isDisabled:!!(null==ei?void 0:ei.isDisabled),onPress:eE}),getChipProps=()=>({ref:eA,className:ez.base({class:eO}),...eC}),getCloseButtonProps=()=>({role:"button",tabIndex:0,className:ez.closeButton({class:null==ek?void 0:ek.closeButton}),"aria-label":"close chip",...(0,eu.d)(eB,ej)}),getAvatarClone=ei=>(0,ew.isValidElement)(ei)?(0,ew.cloneElement)(ei,{className:ez.avatar({class:null==ek?void 0:ek.avatar})}):null,getContentClone=ei=>(0,ew.isValidElement)(ei)?(0,ew.cloneElement)(ei,{className:(0,eb.W)("max-h-[80%]",ei.props.className)}):null;return{Component:e_,children:ep,slots:ez,classNames:ek,isDot:eR,isCloseable:eM,startContent:getAvatarClone(ex)||getContentClone(eP),endContent:getContentClone(eS),getCloseButtonProps,getChipProps}}var ex=ea(57897),eP=ea(85893),eS=(0,es.Gp)((ei,eo)=>{let{Component:ea,children:es,slots:eu,classNames:ec,isDot:ed,isCloseable:ef,startContent:eh,endContent:ep,getCloseButtonProps:em,getChipProps:eg}=useChip({...ei,ref:eo}),eb=(0,ew.useMemo)(()=>ed&&!eh?(0,eP.jsx)("span",{className:eu.dot({class:null==ec?void 0:ec.dot})}):eh,[eu,eh,ed]),ey=(0,ew.useMemo)(()=>ef?(0,eP.jsx)("span",{...em(),children:ep||(0,eP.jsx)(ex.f,{})}):ep,[ep,ef,em]);return(0,eP.jsxs)(ea,{...eg(),children:[eb,(0,eP.jsx)("span",{className:eu.content({class:null==ec?void 0:ec.content}),children:es}),ey]})});eS.displayName="NextUI.Chip";var eE=eS},84367:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return ep}});var es=ea(27963);function useSeparator(ei){let eo,ea=(0,es.z)(ei,{enabled:"string"==typeof ei.elementType});return("vertical"===ei.orientation&&(eo="vertical"),"hr"!==ei.elementType)?{separatorProps:{...ea,role:"separator","aria-orientation":eo}}:{separatorProps:ea}}var eu=(0,ea(82189).tv)({base:"shrink-0 bg-divider border-none",variants:{orientation:{horizontal:"w-full h-divider",vertical:"h-full w-divider"}},defaultVariants:{orientation:"horizontal"}}),ec=ea(67294);function useDivider(ei){let{as:eo,className:ea,orientation:es,...ed}=ei,ef=eo||"hr";"hr"===ef&&"vertical"===es&&(ef="div");let{separatorProps:eh}=useSeparator({elementType:"string"==typeof ef?ef:"hr",orientation:es}),ep=(0,ec.useMemo)(()=>eu({orientation:es,className:ea}),[es,ea]),em=(0,ec.useCallback)((ei={})=>({className:ep,role:"separator","data-orientation":es,...eh,...ed,...ei}),[ep,es,eh,ed]);return{Component:ef,getDividerProps:em}}var ed=ea(15607),ef=ea(85893),eh=(0,ed.Gp)((ei,eo)=>{let{Component:ea,getDividerProps:es}=useDivider({...ei});return(0,ef.jsx)(ea,{ref:eo,...es()})});eh.displayName="NextUI.Divider";var ep=eh},26887:function(ei,eo,ea){"use strict";ea.d(eo,{F:function(){return eS}});var es=ea(79148),eu=ea(76733),ec=ea(65367),ed=ea(40945),ef=ea(82189),eh=ea(65512),ep=(0,ef.tv)({base:["w-full","p-1","min-w-[200px]"]});(0,ef.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","outline-none","cursor-pointer","tap-highlight-transparent","data-[pressed=true]:opacity-70",...eh.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal truncate",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:"border-small border-transparent hover:border-default data-[hover=true]:bg-default-100"},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{}}},defaultVariants:{variant:"solid",color:"default"},compoundVariants:[{variant:"solid",color:"default",class:{base:"data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"solid",color:"primary",class:{base:"data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"solid",color:"secondary",class:{base:"data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"solid",color:"success",class:{base:"data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"solid",color:"warning",class:{base:"data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"solid",color:"danger",class:{base:"data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"shadow",color:"default",class:{base:"data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"shadow",color:"primary",class:{base:"data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"shadow",color:"secondary",class:{base:"data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"shadow",color:"success",class:{base:"data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"shadow",color:"warning",class:{base:"data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"shadow",color:"danger",class:{base:"data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"bordered",color:"default",class:{base:"data-[hover=true]:border-default"}},{variant:"bordered",color:"primary",class:{base:"data-[hover=true]:border-primary data-[hover=true]:text-primary"}},{variant:"bordered",color:"secondary",class:{base:"data-[hover=true]:border-secondary data-[hover=true]:text-secondary"}},{variant:"bordered",color:"success",class:{base:"data-[hover=true]:border-success data-[hover=true]:text-success"}},{variant:"bordered",color:"warning",class:{base:"data-[hover=true]:border-warning data-[hover=true]:text-warning"}},{variant:"bordered",color:"danger",class:{base:"data-[hover=true]:border-danger data-[hover=true]:text-danger"}},{variant:"flat",color:"default",class:{base:"data-[hover=true]:bg-default/40 data-[hover=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{base:"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary"}},{variant:"flat",color:"secondary",class:{base:"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary"}},{variant:"flat",color:"success",class:{base:"data-[hover=true]:bg-success/20 data-[hover=true]:text-success "}},{variant:"flat",color:"warning",class:{base:"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning"}},{variant:"flat",color:"danger",class:{base:"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger"}},{variant:"faded",color:"default",class:{base:"data-[hover=true]:text-default-foreground"}},{variant:"faded",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"faded",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"faded",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"faded",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"faded",color:"danger",class:{base:"data-[hover=true]:text-danger"}},{variant:"light",color:"default",class:{base:"data-[hover=true]:text-default-500"}},{variant:"light",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"light",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"light",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"light",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"light",color:"danger",class:{base:"data-[hover=true]:text-danger"}}]}),(0,ef.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),(0,ef.tv)({base:"w-full flex flex-col gap-0.5 p-1"});var em=ea(49869),eg=ea(48255),eb=ea(73932),ey=ea(67294),ew=ea(37127);function useDropdown(ei){var eo;let ea=(0,eu.w)(),{as:es,triggerRef:ef,isOpen:eh,defaultOpen:ex,onOpenChange:eP,isDisabled:eS,type:eE="menu",trigger:ek="press",placement:eT="bottom",closeOnSelect:eC=!0,shouldBlockScroll:e_=!0,classNames:eA,disableAnimation:eO=null!=(eo=null==ea?void 0:ea.disableAnimation)&&eo,onClose:eM,className:eR,...ej}=ei,eN=es||"div",eL=(0,ey.useRef)(null),eD=ef||eL,eI=(0,ey.useRef)(null),ez=(0,ey.useRef)(null),eB=(0,ec.W)({trigger:ek,isOpen:eh,defaultOpen:ex,onOpenChange:ei=>{null==eP||eP(ei),ei||null==eM||eM()}}),{menuTriggerProps:eF,menuProps:eH}=(0,ed.u)({type:eE,trigger:ek,isDisabled:eS},eB,eD),eU=(0,ey.useMemo)(()=>ep({className:eR}),[eR]),onMenuAction=ei=>{(void 0===ei||ei)&&eC&&eB.close()},getPopoverProps=(ei={})=>{let eo=(0,ew.d)(ej,ei);return{state:eB,placement:eT,ref:ez,disableAnimation:eO,shouldBlockScroll:e_,scrollRef:eI,triggerRef:eD,...eo,classNames:{...eA,...ei.classNames,content:(0,em.W)(eU,null==eA?void 0:eA.content,ei.className)},shouldCloseOnInteractOutside:(null==eo?void 0:eo.shouldCloseOnInteractOutside)?eo.shouldCloseOnInteractOutside:ei=>(0,eb.J)(ei,eL,eB)}},getMenuTriggerProps=(ei={},eo=null)=>{let{onPress:ea,onPressStart:es,...eu}=eF;return{...(0,ew.d)(eu,{isDisabled:eS},ei),ref:(0,eg.l)(eo,eL)}},getMenuProps=(ei,eo=null)=>({ref:(0,eg.l)(eo,eI),menuProps:eH,closeOnSelect:eC,...(0,ew.d)(ei,{onAction:()=>onMenuAction(null==ei?void 0:ei.closeOnSelect),onClose:eB.close})});return{Component:eN,menuRef:eI,menuProps:eH,classNames:eU,closeOnSelect:eC,onClose:eB.close,autoFocus:eB.focusStrategy||!0,disableAnimation:eO,getPopoverProps,getMenuProps,getMenuTriggerProps}}var ex=ea(29505),eP=ea(85893),Dropdown=ei=>{let{children:eo,...ea}=ei,eu=useDropdown(ea),[ec,ed]=ey.Children.toArray(eo);return(0,eP.jsx)(es.K,{value:eu,children:(0,eP.jsxs)(ex.j,{...eu.getPopoverProps(),children:[ec,ed]})})};Dropdown.displayName="NextUI.Dropdown";var eS=Dropdown},72825:function(ei,eo,ea){"use strict";ea.d(eo,{S:function(){return eh}});var es=ea(79148),eu=ea(15607),ec=ea(62697),ed=ea(85893),ef=(0,eu.Gp)((ei,eo)=>{let{getMenuTriggerProps:ea}=(0,es.t)(),{children:eu,...ef}=ei;return(0,ed.jsx)(ec.b,{...ea(ef),children:eu})});ef.displayName="NextUI.DropdownTrigger";var eh=ef},87263:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return eq}});var es=ea(79148),eu=ea(66397),ec=ea(37873),ed=ea(15607),ef=ea(85893);function MenuSelectedIcon(ei){let{isSelected:eo,disableAnimation:ea,...es}=ei;return(0,ef.jsx)("svg",{"aria-hidden":"true","data-selected":eo,role:"presentation",viewBox:"0 0 17 18",...es,children:(0,ef.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:eo?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:ea?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var eh=ea(67294),ep=ea(25083),em=ea(76733),eg=ea(2459),eb=ea(49037),ey=ea(49869),ew=ea(50262),ex=ea(3136),eP=ea(37127),eS=ea(45351),eE=new WeakMap;function useMenu(ei,eo,ea){let{shouldFocusWrap:es=!0,onKeyDown:eu,onKeyUp:ec,...ed}=ei;ei["aria-label"]||ei["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let ef=(0,ex.z)(ei,{labelable:!0}),{listProps:eh}=(0,eS._)({...ed,ref:ea,selectionManager:eo.selectionManager,collection:eo.collection,disabledKeys:eo.disabledKeys,shouldFocusWrap:es,linkBehavior:"override"});return eE.set(eo,{onClose:ei.onClose,onAction:ei.onAction}),{menuProps:(0,eP.d)(ef,{onKeyDown:eu,onKeyUp:ec},{role:"menu",...eh,onKeyDown:ei=>{"Escape"!==ei.key&&eh.onKeyDown&&eh.onKeyDown(ei)}})}}var ek=ea(32433),eT=ea(9188),eC=ea(11086),e_=ea(92411),eA=ea(2317),eO=ea(18419),eM=ea(9975),eR=ea(91243),ej=ea(47234),eN=ea(36400);function useMenuItem(ei,eo,ea){var es,eu;let{key:ec,closeOnSelect:ed,isVirtualized:ef,"aria-haspopup":eh,onPressStart:ep,onPressUp:em,onPress:eg,onPressChange:eb,onPressEnd:ey,onHoverStart:ew,onHoverChange:eS,onHoverEnd:eL,onKeyDown:eD,onKeyUp:eI,onFocus:ez,onFocusChange:eB,onBlur:eF,onClick:eH}=ei,eU=!!eh,eV=null!=(es=ei.isDisabled)?es:eo.selectionManager.isDisabled(ec),eX=null!=(eu=ei.isSelected)?eu:eo.selectionManager.isSelected(ec),eq=eE.get(eo),e$=eo.collection.getItem(ec),eW=ei.onClose||eq.onClose,eK=(0,ek.tv)(),performAction=eo=>{var ea;!eU&&((null==(ea=null==e$?void 0:e$.props)?void 0:ea.onAction)&&e$.props.onAction(),ei.onAction?ei.onAction(ec):eq.onAction&&eq.onAction(ec),eo.target instanceof HTMLAnchorElement&&eK.open(eo.target,eo,e$.props.href,e$.props.routerOptions))},eG="menuitem";eU||("single"===eo.selectionManager.selectionMode?eG="menuitemradio":"multiple"!==eo.selectionManager.selectionMode||(eG="menuitemcheckbox"));let eZ=(0,eT.mp)(),eJ=(0,eT.mp)(),eY=(0,eT.mp)(),eQ={"aria-disabled":eV||void 0,role:eG,"aria-label":ei["aria-label"],"aria-labelledby":eZ,"aria-describedby":[eJ,eY].filter(Boolean).join(" ")||void 0,"aria-controls":ei["aria-controls"],"aria-haspopup":eh,"aria-expanded":ei["aria-expanded"]};"none"===eo.selectionManager.selectionMode||eU||(eQ["aria-checked"]=eX),ef&&(eQ["aria-posinset"]=null==e$?void 0:e$.index,eQ["aria-setsize"]=(0,e_.i)(eo.collection));let onPressStart=ei=>{"keyboard"===ei.pointerType&&performAction(ei),null==ep||ep(ei)},onPressUp=ei=>{"keyboard"!==ei.pointerType&&(setTimeout(()=>{performAction(ei)}),!eU&&eW&&(null!=ed?ed:"multiple"!==eo.selectionManager.selectionMode||eo.selectionManager.isLink(ec))&&setTimeout(()=>{null==eW||eW()})),null==em||em(ei)},{itemProps:e0,isFocused:e1}=(0,eN.C)({selectionManager:eo.selectionManager,key:ec,ref:ea,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:e3,isPressed:e8}=(0,eA.r)({onPressStart,onPress:eg,onPressUp,onPressChange:eb,onPressEnd:ey,isDisabled:eV}),{isHovered:e6,hoverProps:e5}=(0,eO.X)({isDisabled:eV,onHoverStart(ei){(0,eM.E)()||(eo.selectionManager.setFocused(!0),eo.selectionManager.setFocusedKey(ec)),null==ew||ew(ei)},onHoverChange:eS,onHoverEnd:eL}),{keyboardProps:e4}=(0,eR.v)({onKeyDown:ei=>{if(ei.repeat){ei.continuePropagation();return}switch(ei.key){case" ":eV||"none"!==eo.selectionManager.selectionMode||eU||!1===ed||!eW||eW();break;case"Enter":eV||!1===ed||eU||!eW||eW();break;default:eU||ei.continuePropagation(),null==eD||eD(ei)}},onKeyUp:eI}),{focusProps:e7}=(0,ej.K)({onBlur:eF,onFocus:ez,onFocusChange:eB}),e9=(0,ex.z)(e$.props);delete e9.id;let tr=(0,ek.eY)(e$.props);return{menuItemProps:{...eQ,...(0,eP.d)(e9,tr,eU?{onFocus:e0.onFocus}:e0,e3,e5,e4,e7,{onClick:(0,eC.t)(eH,e3.onClick)}),tabIndex:null!=e0.tabIndex?-1:void 0},labelProps:{id:eZ},descriptionProps:{id:eJ},keyboardShortcutProps:{id:eY},isHovered:e6,isFocused:e1,isSelected:eX,isPressed:e8,isDisabled:eV}}var eL=ea(96344),eD=ea(27963);function chunk_BQCSFB47_useMenuItem(ei){var eo,ea;let es=(0,em.w)(),[eu,ec]=(0,ed.oe)(ei,ep.D9.variantKeys),{as:ef,item:ex,state:eS,shortcut:eE,description:ek,startContent:eT,endContent:eC,isVirtualized:e_,selectedIcon:eA,className:eO,classNames:eM,onAction:eR,autoFocus:ej,onClick:eN,onPress:eI,onPressStart:ez,onPressUp:eB,onPressEnd:eF,onPressChange:eH,hideSelectedIcon:eU=!1,isReadOnly:eV=!1,closeOnSelect:eX,onClose:eq,...e$}=eu,eW=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==es?void 0:es.disableAnimation)&&ea,eK=(0,eh.useRef)(null),eG=ef||((null==e$?void 0:e$.href)?"a":"li"),eZ="string"==typeof eG,{rendered:eJ,key:eY}=ex,eQ=eS.disabledKeys.has(eY)||ei.isDisabled,e0="none"!==eS.selectionManager.selectionMode,e1=(0,eL.d)(),{isFocusVisible:e3,focusProps:e8}=(0,eg.F)({autoFocus:ej}),{isHovered:e6,isPressed:e5,isFocused:e4,isSelected:e7,menuItemProps:e9,labelProps:tr,descriptionProps:tn,keyboardShortcutProps:ti}=useMenuItem({key:eY,onClose:eq,isDisabled:eQ,onPress:eI,onClick:eN,onPressStart:ez,onPressUp:eB,onPressEnd:eF,onPressChange:eH,"aria-label":eu["aria-label"],closeOnSelect:eX,isVirtualized:e_,onAction:eR},eS,eK),ta=e9,ts=(0,eh.useMemo)(()=>(0,ep.D9)({...ec,isDisabled:eQ,disableAnimation:eW}),[(0,eb.Xx)(ec),eQ,eW]),tl=(0,ey.W)(null==eM?void 0:eM.base,eO);eV&&(ta=(0,eb.Os)(ta));let getItemProps=(ei={})=>({ref:eK,...(0,eP.d)(eV?{}:e8,(0,eD.z)(e$,{enabled:eZ}),ta,ei),"data-focus":(0,ew.PB)(e4),"data-selectable":(0,ew.PB)(e0),"data-hover":(0,ew.PB)(e1?e6||e5:e6),"data-disabled":(0,ew.PB)(eQ),"data-selected":(0,ew.PB)(e7),"data-pressed":(0,ew.PB)(e5),"data-focus-visible":(0,ew.PB)(e3),className:ts.base({class:(0,ey.W)(tl,ei.className)})}),getLabelProps=(ei={})=>({...(0,eP.d)(tr,ei),className:ts.title({class:null==eM?void 0:eM.title})}),getDescriptionProps=(ei={})=>({...(0,eP.d)(tn,ei),className:ts.description({class:null==eM?void 0:eM.description})}),getKeyboardShortcutProps=(ei={})=>({...(0,eP.d)(ti,ei),className:ts.shortcut({class:null==eM?void 0:eM.shortcut})}),tu=(0,eh.useCallback)((ei={})=>({"aria-hidden":(0,ew.PB)(!0),"data-disabled":(0,ew.PB)(eQ),className:ts.selectedIcon({class:null==eM?void 0:eM.selectedIcon}),...ei}),[eQ,ts,eM]);return{Component:eG,domRef:eK,slots:ts,classNames:eM,isSelectable:e0,isSelected:e7,isDisabled:eQ,rendered:eJ,shortcut:eE,description:ek,startContent:eT,endContent:eC,selectedIcon:eA,disableAnimation:eW,getItemProps,getLabelProps,hideSelectedIcon:eU,getDescriptionProps,getKeyboardShortcutProps,getSelectedIconProps:tu}}var eI=(0,ed.Gp)((ei,eo)=>{let{Component:ea,slots:es,classNames:eu,rendered:ec,shortcut:ed,description:ep,isSelectable:em,isSelected:eg,isDisabled:eb,selectedIcon:ey,startContent:ew,endContent:ex,disableAnimation:eP,hideSelectedIcon:eS,getItemProps:eE,getLabelProps:ek,getDescriptionProps:eT,getKeyboardShortcutProps:eC,getSelectedIconProps:e_}=chunk_BQCSFB47_useMenuItem(ei),eA=(0,eh.useMemo)(()=>{let ei=(0,ef.jsx)(MenuSelectedIcon,{disableAnimation:eP,isSelected:eg});return"function"==typeof ey?ey({icon:ei,isSelected:eg,isDisabled:eb}):ey||ei},[ey,eg,eb,eP]);return(0,ef.jsxs)(ea,{...eE(),children:[ew,ep?(0,ef.jsxs)("div",{className:es.wrapper({class:null==eu?void 0:eu.wrapper}),children:[(0,ef.jsx)("span",{...ek(),children:ec}),(0,ef.jsx)("span",{...eT(),children:ep})]}):(0,ef.jsx)("span",{...ek(),children:ec}),ed&&(0,ef.jsx)("kbd",{...eC(),children:ed}),em&&!eS&&(0,ef.jsx)("span",{...e_(),children:eA}),ex]})});eI.displayName="NextUI.MenuItem";var ez=eI;function $3e5eb2498db5b506$export$73f7a44322579622(ei){let{heading:eo,"aria-label":ea}=ei,es=(0,eT.Me)();return{itemProps:{role:"presentation"},headingProps:eo?{id:es,role:"presentation"}:{},groupProps:{role:"group","aria-label":ea,"aria-labelledby":eo?es:void 0}}}var eB=ea(84367),eF=(0,ed.Gp)(({item:ei,state:eo,as:ea,variant:es,color:eu,disableAnimation:ec,onAction:ed,closeOnSelect:em,className:eg,classNames:eb,showDivider:ew=!1,hideSelectedIcon:ex,dividerProps:eS={},itemClasses:eE,title:ek,...eT},eC)=>{let e_=ea||"li",eA=(0,eh.useMemo)(()=>(0,ep.Dk)(),[]),eO=(0,ey.W)(null==eb?void 0:eb.base,eg),eM=(0,ey.W)(null==eb?void 0:eb.divider,null==eS?void 0:eS.className),{itemProps:eR,headingProps:ej,groupProps:eN}=$3e5eb2498db5b506$export$73f7a44322579622({heading:ei.rendered,"aria-label":ei["aria-label"]});return(0,ef.jsxs)(e_,{"data-slot":"base",...(0,eP.d)(eR,eT),className:eA.base({class:eO}),children:[ei.rendered&&(0,ef.jsx)("span",{...ej,className:eA.heading({class:null==eb?void 0:eb.heading}),"data-slot":"heading",children:ei.rendered}),(0,ef.jsxs)("ul",{...eN,className:eA.group({class:null==eb?void 0:eb.group}),"data-has-title":!!ei.rendered,"data-slot":"group",children:[[...ei.childNodes].map(ei=>{let{key:ea,props:eh}=ei,ep=(0,ef.jsx)(ez,{classNames:eE,closeOnSelect:em,color:eu,disableAnimation:ec,hideSelectedIcon:ex,item:ei,state:eo,variant:es,onAction:ed,...eh},ea);return ei.wrapper&&(ep=ei.wrapper(ep)),ep}),ew&&(0,ef.jsx)(eB.j,{as:"li",className:eA.divider({class:eM}),...eS})]})]})});eF.displayName="NextUI.MenuSection";var eH=eF,eU=ea(90502),eV=ea(33295);function chunk_BA3PRXRG_useMenu(ei){var eo;let ea=(0,em.w)(),{as:es,ref:eu,variant:ec,color:ed,children:ef,disableAnimation:eg=null!=(eo=null==ea?void 0:ea.disableAnimation)&&eo,onAction:eb,closeOnSelect:ew,itemClasses:ex,className:eP,state:eS,topContent:eE,bottomContent:ek,hideEmptyContent:eT=!1,hideSelectedIcon:eC=!1,emptyContent:e_="No items.",menuProps:eA,onClose:eO,classNames:eM,...eR}=ei,ej=es||"ul",eN=(0,eV.gy)(eu),eL="string"==typeof ej,eI=(0,eU.D)({...eR,...eA,children:ef}),ez=eS||eI,{menuProps:eB}=useMenu({...eR,...eA},ez,eN),eF=(0,eh.useMemo)(()=>(0,ep.GI)({className:eP}),[eP]),eH=(0,ey.W)(null==eM?void 0:eM.base,eP),getBaseProps=(ei={})=>({ref:eN,"data-slot":"base",className:eF.base({class:eH}),...(0,eD.z)(eR,{enabled:eL}),...ei}),getListProps=(ei={})=>({"data-slot":"list",className:eF.list({class:null==eM?void 0:eM.list}),...eB,...ei}),getEmptyContentProps=(ei={})=>({children:e_,className:eF.emptyContent({class:null==eM?void 0:eM.emptyContent}),...ei});return{Component:ej,state:ez,variant:ec,color:ed,disableAnimation:eg,onAction:eb,onClose:eO,topContent:eE,bottomContent:ek,closeOnSelect:ew,className:eP,itemClasses:ex,getBaseProps,getListProps,hideEmptyContent:eT,hideSelectedIcon:eC,getEmptyContentProps}}function Menu(ei,eo){let{Component:ea,state:es,closeOnSelect:eu,color:ec,disableAnimation:ed,hideSelectedIcon:eh,hideEmptyContent:ep,variant:em,onClose:eg,onAction:eb,topContent:ey,bottomContent:ew,itemClasses:ex,getBaseProps:eP,getListProps:eS,getEmptyContentProps:eE}=chunk_BA3PRXRG_useMenu({...ei,ref:eo}),ek=(0,ef.jsxs)(ea,{...eS(),children:[!es.collection.size&&!ep&&(0,ef.jsx)("li",{children:(0,ef.jsx)("div",{...eE()})}),[...es.collection].map(ei=>{let eo={closeOnSelect:eu,color:ec,disableAnimation:ed,item:ei,state:es,variant:em,onClose:eg,onAction:eb,hideSelectedIcon:eh,...ei.props};if("section"===ei.type)return(0,ef.jsx)(eH,{...eo,itemClasses:ex},ei.key);let ea=(0,ef.jsx)(ez,{...eo,classNames:ex},ei.key);return ei.wrapper&&(ea=ei.wrapper(ea)),ea})]});return(0,ef.jsxs)("div",{...eP(),children:[ey,ek,ew]})}var eX=(0,ed.Gp)(Menu);function DropdownMenu(ei,eo){let{getMenuProps:ea}=(0,es.t)();return(0,ef.jsx)(eu.g,{children:(0,ef.jsx)(ec.MT,{contain:!0,restoreFocus:!0,children:(0,ef.jsx)(eX,{...ea(ei,eo)})})})}Menu.displayName="NextUI.Menu";var eq=(0,ed.Gp)(DropdownMenu);DropdownMenu.displayName="NextUI.DropdownMenu"},79148:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return es},t:function(){return eu}});var[es,eu]=(0,ea(46347).k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"})},90029:function(ei,eo,ea){"use strict";ea.d(eo,{Lj:function(){return es},y7:function(){return eu}});var es={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};es.easeOut,es.easeIn;var eu={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:es.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:es.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:es.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:es.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:es.ease}},exit:{opacity:0,transition:{duration:.3,ease:es.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},20998:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return ep}});var es=ea(68648),eu=ea(57897),ec=ea(67294),ed=ea(15607),ef=ea(85893),eh=(0,ed.Gp)((ei,eo)=>{let{Component:ea,label:ed,description:eh,isClearable:ep,startContent:em,endContent:eg,labelPlacement:eb,hasHelper:ey,isOutsideLeft:ew,shouldLabelBeOutside:ex,errorMessage:eP,isInvalid:eS,getBaseProps:eE,getLabelProps:ek,getInputProps:eT,getInnerWrapperProps:eC,getInputWrapperProps:e_,getMainWrapperProps:eA,getHelperWrapperProps:eO,getDescriptionProps:eM,getErrorMessageProps:eR,getClearButtonProps:ej}=(0,es.G)({...ei,ref:eo}),eN=ed?(0,ef.jsx)("label",{...ek(),children:ed}):null,eL=(0,ec.useMemo)(()=>ep?(0,ef.jsx)("span",{...ej(),children:eg||(0,ef.jsx)(eu.f,{})}):eg,[ep,ej]),eD=(0,ec.useMemo)(()=>ey?(0,ef.jsx)("div",{...eO(),children:eS&&eP?(0,ef.jsx)("div",{...eR(),children:eP}):eh?(0,ef.jsx)("div",{...eM(),children:eh}):null}):null,[ey,eS,eP,eh,eO,eR,eM]),eI=(0,ec.useMemo)(()=>(0,ef.jsxs)("div",{...eC(),children:[em,(0,ef.jsx)("input",{...eT()}),eL]}),[em,eL,eT,eC]),ez=(0,ec.useMemo)(()=>ex?(0,ef.jsxs)("div",{...eA(),children:[(0,ef.jsxs)("div",{...e_(),children:[ew?null:eN,eI]}),eD]}):(0,ef.jsxs)(ef.Fragment,{children:[(0,ef.jsxs)("div",{...e_(),children:[eN,eI]}),eD]}),[eb,eD,ex,eN,eI,eP,eh,eA,e_,eR,eM]);return(0,ef.jsxs)(ea,{...eE(),children:[ew?eN:null,ez]})});eh.displayName="NextUI.Input";var ep=eh},68648:function(ei,eo,ea){"use strict";ea.d(eo,{G:function(){return useInput}});var es=ea(76733),eu=ea(15607),ec=ea(93387),ed=ea(2459),ef=ea(82189),eh=ea(65512),ep=(0,ef.tv)({slots:{base:"group flex flex-col data-[hidden=true]:hidden",label:["absolute","z-10","pointer-events-none","origin-top-left","rtl:origin-top-right","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5","file:cursor-pointer file:bg-transparent file:border-0","autofill:bg-transparent bg-clip-text"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","rtl:right-auto","rtl:left-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...eh.Dh],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-8 min-h-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-10 min-h-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-12 min-h-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2 rtl:pr-0 rtl:pl-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6 rtl:pr-0 rtl:pl-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5 rtl:after:ml-[unset] rtl:after:mr-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...eh.ID]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["!bg-danger-50","data-[hover=true]:!bg-danger-100","group-data-[focus=true]:!bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:!border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:!bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","rtl:left-auto","rtl:right-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","rtl:left-auto","rtl:right-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),em=ea(33295),eg=ea(27963),eb=ea(18419),ey=ea(44971),ew=ea(2317),ex=ea(50262),eP=ea(49869),eS=ea(54720),eE=ea(52046),ek=ea(49037),eT=ea(99373),eC=ea(67294),e_=ea(37127),eA=ea(11086),eO=ea(3136),eM=ea(85952),eR=ea(78837),ej=ea(15967),eN=ea(68587),eL=ea(14868),eD=ea(48750);function $2d73ec29415bd339$export$712718f7aec83d5(ei,eo){let{inputElementType:ea="input",isDisabled:es=!1,isRequired:eu=!1,isReadOnly:ec=!1,type:ed="text",validationBehavior:ef="aria"}=ei,[eh,ep]=(0,eT.z)(ei.value,ei.defaultValue||"",ei.onChange),{focusableProps:em}=(0,eN.k)(ei,eo),eg=(0,eD.Q3)({...ei,value:eh}),{isInvalid:eb,validationErrors:ey,validationDetails:ew}=eg.displayValidation,{labelProps:ex,fieldProps:eP,descriptionProps:eS,errorMessageProps:eE}=(0,ej.U)({...ei,isInvalid:eb,errorMessage:ei.errorMessage||ey}),ek=(0,eO.z)(ei,{labelable:!0}),eA={type:ed,pattern:ei.pattern};return(0,eM.y)(eo,eh,ep),(0,eL.Q)(ei,eg,eo),(0,eC.useEffect)(()=>{if(eo.current instanceof(0,eR.k)(eo.current).HTMLTextAreaElement){let ei=eo.current;Object.defineProperty(ei,"defaultValue",{get:()=>ei.value,set:()=>{},configurable:!0})}},[eo]),{labelProps:ex,inputProps:(0,e_.d)(ek,"input"===ea&&eA,{disabled:es,readOnly:ec,required:eu&&"native"===ef,"aria-required":eu&&"aria"===ef||void 0,"aria-invalid":eb||void 0,"aria-errormessage":ei["aria-errormessage"],"aria-activedescendant":ei["aria-activedescendant"],"aria-autocomplete":ei["aria-autocomplete"],"aria-haspopup":ei["aria-haspopup"],value:eh,onChange:ei=>ep(ei.target.value),autoComplete:ei.autoComplete,autoCapitalize:ei.autoCapitalize,maxLength:ei.maxLength,minLength:ei.minLength,name:ei.name,placeholder:ei.placeholder,inputMode:ei.inputMode,onCopy:ei.onCopy,onCut:ei.onCut,onPaste:ei.onPaste,onCompositionEnd:ei.onCompositionEnd,onCompositionStart:ei.onCompositionStart,onCompositionUpdate:ei.onCompositionUpdate,onSelect:ei.onSelect,onBeforeInput:ei.onBeforeInput,onInput:ei.onInput,...em,...eP}),descriptionProps:eS,errorMessageProps:eE,isInvalid:eb,validationErrors:ey,validationDetails:ew}}function useInput(ei){var eo,ea,ef,eh;let eO=(0,es.w)(),[eM,eR]=(0,eu.oe)(ei,ep.variantKeys),{ref:ej,as:eN,type:eL,label:eD,baseRef:eI,wrapperRef:ez,description:eB,className:eF,classNames:eH,autoFocus:eU,startContent:eV,endContent:eX,onClear:eq,onChange:e$,validationState:eW,validationBehavior:eK=null!=(eo=null==eO?void 0:eO.validationBehavior)?eo:"aria",innerWrapperRef:eG,onValueChange:eZ=()=>{},...eJ}=eM,eY=(0,eC.useCallback)(ei=>{eZ(null!=ei?ei:"")},[eZ]),[eQ,e0]=(0,eC.useState)(!1),e1=eN||"div",e3=null!=(ef=null!=(ea=ei.disableAnimation)?ea:null==eO?void 0:eO.disableAnimation)&&ef,e8=(0,em.gy)(ej),e6=(0,em.gy)(eI),e5=(0,em.gy)(ez),e4=(0,em.gy)(eG),[e7,e9]=(0,eT.z)(eM.value,null!=(eh=eM.defaultValue)?eh:"",eY),tr=["date","time","month","week","range"].includes(eL),tn=!(0,ex.xb)(e7)||tr,ti=tn||eQ,ta="hidden"===eL,ts=ei.isMultiline,tl="file"===eL,tu=(0,eP.W)(null==eH?void 0:eH.base,eF,tn?"is-filled":""),tc=(0,eC.useCallback)(()=>{var ei;e9(""),null==eq||eq(),null==(ei=e8.current)||ei.focus()},[e9,eq]);(0,ec.G)(()=>{e8.current&&e9(e8.current.value)},[e8.current]);let{labelProps:td,inputProps:tf,isInvalid:th,validationErrors:tp,validationDetails:tm,descriptionProps:tg,errorMessageProps:tb}=$2d73ec29415bd339$export$712718f7aec83d5({...ei,validationBehavior:eK,autoCapitalize:ei.autoCapitalize,value:e7,"aria-label":(0,eS.x)(ei["aria-label"],ei.label,ei.placeholder),inputElementType:ts?"textarea":"input",onChange:e9},e8);tl&&(delete tf.value,delete tf.onChange);let{isFocusVisible:ty,isFocused:tw,focusProps:tx}=(0,ed.F)({autoFocus:eU,isTextInput:!0}),{isHovered:tP,hoverProps:tS}=(0,eb.X)({isDisabled:!!(null==ei?void 0:ei.isDisabled)}),{focusProps:tE,isFocusVisible:tk}=(0,ed.F)(),{focusWithinProps:tT}=(0,ey.L)({onFocusWithinChange:e0}),{pressProps:tC}=(0,ew.r)({isDisabled:!!(null==ei?void 0:ei.isDisabled),onPress:tc}),t_="invalid"===eW||ei.isInvalid||th,tA=(0,eC.useMemo)(()=>{var eo;if(tl){if(!ei.labelPlacement)return"outside";if("inside"===ei.labelPlacement)return(0,eE.Z)("Input with file type doesn't support inside label. Converting to outside ..."),"outside"}return ei.labelPlacement&&"inside"!==ei.labelPlacement||eD?null!=(eo=ei.labelPlacement)?eo:"inside":"outside"},[ei.labelPlacement,eD]),tO="function"==typeof eM.errorMessage?eM.errorMessage({isInvalid:t_,validationErrors:tp,validationDetails:tm}):eM.errorMessage||(null==tp?void 0:tp.join(" ")),tM=!!eq||ei.isClearable,tR=!!eD||!!eB||!!tO,tj=!!eM.placeholder,tN=!!eD,tL=!!eB||!!tO,tD="outside"===tA||"outside-left"===tA,tI="inside"===tA,tz=!!e8.current&&(!e8.current.value||""===e8.current.value||!e7||""===e7)&&tj,tB="outside-left"===tA,tF=!!eV,tH=!!tD&&("outside-left"===tA||tj||"outside"===tA&&tF),tU="outside"===tA&&!tj&&!tF,tV=(0,eC.useMemo)(()=>ep({...eR,isInvalid:t_,labelPlacement:tA,isClearable:tM,disableAnimation:e3}),[(0,ek.Xx)(eR),t_,tA,tM,tF,e3]),tX=(0,eC.useCallback)((eo={})=>({ref:e6,className:tV.base({class:tu}),"data-slot":"base","data-filled":(0,ex.PB)(tn||tj||tF||tz||tl),"data-filled-within":(0,ex.PB)(ti||tj||tF||tz||tl),"data-focus-within":(0,ex.PB)(eQ),"data-focus-visible":(0,ex.PB)(ty),"data-readonly":(0,ex.PB)(ei.isReadOnly),"data-focus":(0,ex.PB)(tw),"data-hover":(0,ex.PB)(tP),"data-required":(0,ex.PB)(ei.isRequired),"data-invalid":(0,ex.PB)(t_),"data-disabled":(0,ex.PB)(ei.isDisabled),"data-has-elements":(0,ex.PB)(tR),"data-has-helper":(0,ex.PB)(tL),"data-has-label":(0,ex.PB)(tN),"data-has-value":(0,ex.PB)(!tz),"data-hidden":(0,ex.PB)(ta),...tT,...eo}),[tV,tu,tn,tw,tP,t_,tL,tN,tR,tz,tF,eQ,ty,ti,tj,tT,ta,ei.isReadOnly,ei.isRequired,ei.isDisabled]),tq=(0,eC.useCallback)((ei={})=>({"data-slot":"label",className:tV.label({class:null==eH?void 0:eH.label}),...td,...ei}),[tV,td,null==eH?void 0:eH.label]),t$=(0,eC.useCallback)((eo={})=>({ref:e8,"data-slot":"input","data-filled":(0,ex.PB)(tn),"data-filled-within":(0,ex.PB)(ti),"data-has-start-content":(0,ex.PB)(tF),"data-has-end-content":(0,ex.PB)(!!eX),className:tV.input({class:(0,eP.W)(null==eH?void 0:eH.input,tn?"is-filled":"")}),...(0,e_.d)(tx,tf,(0,eg.z)(eJ,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(tf))}),eo),"aria-readonly":(0,ex.PB)(ei.isReadOnly),onChange:(0,eA.t)(tf.onChange,e$)}),[tV,e7,tx,tf,eJ,tn,ti,tF,eX,null==eH?void 0:eH.input,ei.isReadOnly,ei.isRequired,e$]),tW=(0,eC.useCallback)((ei={})=>({ref:e5,"data-slot":"input-wrapper","data-hover":(0,ex.PB)(tP),"data-focus-visible":(0,ex.PB)(ty),"data-focus":(0,ex.PB)(tw),className:tV.inputWrapper({class:(0,eP.W)(null==eH?void 0:eH.inputWrapper,tn?"is-filled":"")}),...(0,e_.d)(ei,tS),onClick:ei=>{e8.current&&ei.currentTarget===ei.target&&e8.current.focus()},style:{cursor:"text",...ei.style}}),[tV,tP,ty,tw,e7,null==eH?void 0:eH.inputWrapper]),tK=(0,eC.useCallback)((ei={})=>({...ei,ref:e4,"data-slot":"inner-wrapper",onClick:ei=>{e8.current&&ei.currentTarget===ei.target&&e8.current.focus()},className:tV.innerWrapper({class:(0,eP.W)(null==eH?void 0:eH.innerWrapper,null==ei?void 0:ei.className)})}),[tV,null==eH?void 0:eH.innerWrapper]),tG=(0,eC.useCallback)((ei={})=>({...ei,"data-slot":"main-wrapper",className:tV.mainWrapper({class:(0,eP.W)(null==eH?void 0:eH.mainWrapper,null==ei?void 0:ei.className)})}),[tV,null==eH?void 0:eH.mainWrapper]),tZ=(0,eC.useCallback)((ei={})=>({...ei,"data-slot":"helper-wrapper",className:tV.helperWrapper({class:(0,eP.W)(null==eH?void 0:eH.helperWrapper,null==ei?void 0:ei.className)})}),[tV,null==eH?void 0:eH.helperWrapper]),tJ=(0,eC.useCallback)((ei={})=>({...ei,...tg,"data-slot":"description",className:tV.description({class:(0,eP.W)(null==eH?void 0:eH.description,null==ei?void 0:ei.className)})}),[tV,null==eH?void 0:eH.description]),tY=(0,eC.useCallback)((ei={})=>({...ei,...tb,"data-slot":"error-message",className:tV.errorMessage({class:(0,eP.W)(null==eH?void 0:eH.errorMessage,null==ei?void 0:ei.className)})}),[tV,tb,null==eH?void 0:eH.errorMessage]),tQ=(0,eC.useCallback)((ei={})=>({...ei,role:"button",tabIndex:0,"aria-label":"clear input","data-slot":"clear-button","data-focus-visible":(0,ex.PB)(tk),className:tV.clearButton({class:(0,eP.W)(null==eH?void 0:eH.clearButton,null==ei?void 0:ei.className)}),...(0,e_.d)(tC,tE)}),[tV,tk,tC,tE,null==eH?void 0:eH.clearButton]);return{Component:e1,classNames:eH,domRef:e8,label:eD,description:eB,startContent:eV,endContent:eX,labelPlacement:tA,isClearable:tM,hasHelper:tL,hasStartContent:tF,isLabelOutside:tH,isOutsideLeft:tB,isLabelOutsideAsPlaceholder:tU,shouldLabelBeOutside:tD,shouldLabelBeInside:tI,hasPlaceholder:tj,isInvalid:t_,errorMessage:tO,getBaseProps:tX,getLabelProps:tq,getInputProps:t$,getMainWrapperProps:tG,getInputWrapperProps:tW,getInnerWrapperProps:tK,getHelperWrapperProps:tZ,getDescriptionProps:tJ,getErrorMessageProps:tY,getClearButtonProps:tQ}}},87183:function(ei,eo,ea){"use strict";ea.d(eo,{O:function(){return eC}});var es=ea(82189),eu=ea(65512),ec=(0,es.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...eu.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),ed="flex mx-1 text-current self-center",ef=ea(3136),eh=ea(37127),ep=ea(32433),em=ea(68587),eg=ea(2317);function $298d61e98472621b$export$dcf14c9974fe2767(ei,eo){let{elementType:ea="a",onPress:es,onPressStart:eu,onPressEnd:ec,onClick:ed,isDisabled:eb,...ey}=ei,ew={};"a"!==ea&&(ew={role:"link",tabIndex:eb?void 0:0});let{focusableProps:ex}=(0,em.k)(ei,eo),{pressProps:eP,isPressed:eS}=(0,eg.r)({onPress:es,onPressStart:eu,onPressEnd:ec,isDisabled:eb,ref:eo}),eE=(0,ef.z)(ey,{labelable:!0}),ek=(0,eh.d)(ex,eP),eT=(0,ep.tv)(),eC=(0,ep.eY)(ei);return{isPressed:eS,linkProps:(0,eh.d)(eE,eC,{...ek,...ew,"aria-disabled":eb||void 0,"aria-current":ei["aria-current"],onClick:eo=>{var ea;null===(ea=eP.onClick)||void 0===ea||ea.call(eP,eo),ed&&(ed(eo),console.warn("onClick is deprecated, please use onPress")),!eT.isNative&&eo.currentTarget instanceof HTMLAnchorElement&&eo.currentTarget.href&&!eo.isDefaultPrevented()&&(0,ep.b0)(eo.currentTarget,eo)&&ei.href&&(eo.preventDefault(),eT.open(eo.currentTarget,eo,ei.href,ei.routerOptions))}})}}var eb=ea(76733),ey=ea(15607),ew=ea(33295),ex=ea(2459),eP=ea(49037),eS=ea(50262),eE=ea(67294);function useLink(ei){var eo,ea,es,eu;let ed=(0,eb.w)(),[ef,ep]=(0,ey.oe)(ei,ec.variantKeys),{ref:em,as:eg,children:ek,anchorIcon:eT,isExternal:eC=!1,showAnchorIcon:e_=!1,autoFocus:eA=!1,className:eO,onPress:eM,onPressStart:eR,onPressEnd:ej,onClick:eN,...eL}=ef,eD=eg||"a",eI=(0,ew.gy)(em),ez=null!=(ea=null!=(eo=null==ei?void 0:ei.disableAnimation)?eo:null==ed?void 0:ed.disableAnimation)&&ea,{linkProps:eB}=$298d61e98472621b$export$dcf14c9974fe2767({...eL,onPress:eM,onPressStart:eR,onPressEnd:ej,onClick:eN,isDisabled:ei.isDisabled,elementType:`${eg}`},eI),{isFocused:eF,isFocusVisible:eH,focusProps:eU}=(0,ex.F)({autoFocus:eA});eC&&(eL.rel=null!=(es=eL.rel)?es:"noopener noreferrer",eL.target=null!=(eu=eL.target)?eu:"_blank");let eV=(0,eE.useMemo)(()=>ec({...ep,disableAnimation:ez,className:eO}),[(0,eP.Xx)(ep),ez,eO]),eX=(0,eE.useCallback)(()=>({ref:eI,className:eV,"data-focus":(0,eS.PB)(eF),"data-disabled":(0,eS.PB)(ei.isDisabled),"data-focus-visible":(0,eS.PB)(eH),...(0,eh.d)(eU,eB,eL)}),[eV,eF,eH,eU,eB,eL]);return{Component:eD,children:ek,anchorIcon:eT,showAnchorIcon:e_,getLinkProps:eX}}var ek=ea(85893),LinkIcon=ei=>(0,ek.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...ei,children:[(0,ek.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,ek.jsx)("path",{d:"M15 3h6v6"}),(0,ek.jsx)("path",{d:"M10 14L21 3"})]}),eT=(0,ey.Gp)((ei,eo)=>{let{Component:ea,children:es,showAnchorIcon:eu,anchorIcon:ec=(0,ek.jsx)(LinkIcon,{className:ed}),getLinkProps:ef}=useLink({ref:eo,...ei});return(0,ek.jsx)(ea,{...ef(),children:(0,ek.jsxs)(ek.Fragment,{children:[es,eu&&ec]})})});eT.displayName="NextUI.Link";var eC=eT},66058:function(ei,eo,ea){"use strict";ea.d(eo,{X:function(){return eU}});var es=ea(85893);function ListboxSelectedIcon(ei){let{isSelected:eo,disableAnimation:ea,...eu}=ei;return(0,es.jsx)("svg",{"aria-hidden":"true","data-selected":eo,role:"presentation",viewBox:"0 0 17 18",...eu,children:(0,es.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:eo?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:ea?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var eu=ea(67294),ec=ea(25083),ed=ea(76733),ef=ea(15607),eh=ea(2459),ep=ea(27963),em=ea(49037),eg=ea(49869),eb=ea(50262);let ey=new WeakMap;function $b1f0cad8af73213b$var$normalizeKey(ei){return"string"==typeof ei?ei.replace(/\s*/g,""):""+ei}function $b1f0cad8af73213b$export$9145995848b05025(ei,eo){let ea=ey.get(ei);if(!ea)throw Error("Unknown list");return`${ea.id}-option-${$b1f0cad8af73213b$var$normalizeKey(eo)}`}var ew=ea(9188),ex=ea(68806),eP=ea(11086),eS=ea(3136),eE=ea(32433),ek=ea(37127),eT=ea(92411),eC=ea(18419),e_=ea(9975),eA=ea(36400);function $293f70390ea03370$export$497855f14858aa34(ei,eo,ea){var es,eu,ec,ed,ef,eh,ep,em;let{key:eg}=ei,eb=ey.get(eo),eO=null!==(ec=ei.isDisabled)&&void 0!==ec?ec:eo.selectionManager.isDisabled(eg),eM=null!==(ed=ei.isSelected)&&void 0!==ed?ed:eo.selectionManager.isSelected(eg),eR=null!==(ef=ei.shouldSelectOnPressUp)&&void 0!==ef?ef:null==eb?void 0:eb.shouldSelectOnPressUp,ej=null!==(eh=ei.shouldFocusOnHover)&&void 0!==eh?eh:null==eb?void 0:eb.shouldFocusOnHover,eN=null!==(ep=ei.shouldUseVirtualFocus)&&void 0!==ep?ep:null==eb?void 0:eb.shouldUseVirtualFocus,eL=null!==(em=ei.isVirtualized)&&void 0!==em?em:null==eb?void 0:eb.isVirtualized,eD=(0,ew.mp)(),eI=(0,ew.mp)(),ez={role:"option","aria-disabled":eO||void 0,"aria-selected":"none"!==eo.selectionManager.selectionMode?eM:void 0};(0,ex.V5)()&&(0,ex.Pf)()||(ez["aria-label"]=ei["aria-label"],ez["aria-labelledby"]=eD,ez["aria-describedby"]=eI);let eB=eo.collection.getItem(eg);if(eL){let ei=Number(null==eB?void 0:eB.index);ez["aria-posinset"]=Number.isNaN(ei)?void 0:ei+1,ez["aria-setsize"]=(0,eT.i)(eo.collection)}let eF=(null==eb?void 0:eb.onAction)?()=>{var ei;return null==eb?void 0:null===(ei=eb.onAction)||void 0===ei?void 0:ei.call(eb,eg)}:void 0,{itemProps:eH,isPressed:eU,isFocused:eV,hasAction:eX,allowsSelection:eq}=(0,eA.C)({selectionManager:eo.selectionManager,key:eg,ref:ea,shouldSelectOnPressUp:eR,allowsDifferentPressOrigin:eR&&ej,isVirtualized:eL,shouldUseVirtualFocus:eN,isDisabled:eO,onAction:eF||(null==eB?void 0:null===(es=eB.props)||void 0===es?void 0:es.onAction)?(0,eP.t)(null==eB?void 0:null===(eu=eB.props)||void 0===eu?void 0:eu.onAction,eF):void 0,linkBehavior:null==eb?void 0:eb.linkBehavior}),{hoverProps:e$}=(0,eC.X)({isDisabled:eO||!ej,onHoverStart(){(0,e_.E)()||(eo.selectionManager.setFocused(!0),eo.selectionManager.setFocusedKey(eg))}}),eW=(0,eS.z)(null==eB?void 0:eB.props);delete eW.id;let eK=(0,eE.eY)(null==eB?void 0:eB.props);return{optionProps:{...ez,...(0,ek.d)(eW,eH,e$,eK),id:$b1f0cad8af73213b$export$9145995848b05025(eo,eg)},labelProps:{id:eD},descriptionProps:{id:eI},isFocused:eV,isFocusVisible:eV&&(0,e_.E)(),isSelected:eM,isDisabled:eO,isPressed:eU,allowsSelection:eq,hasAction:eX}}var eO=ea(2317),eM=ea(96344);function useListboxItem(ei){var eo,ea;let es=(0,ed.w)(),[ey,ew]=(0,ef.oe)(ei,ec.D9.variantKeys),{as:ex,item:eP,state:eS,description:eE,startContent:eT,endContent:e_,isVirtualized:eA,selectedIcon:eR,className:ej,classNames:eN,autoFocus:eL,onPress:eD,onClick:eI,shouldHighlightOnFocus:ez,hideSelectedIcon:eB=!1,isReadOnly:eF=!1,...eH}=ey,eU=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==es?void 0:es.disableAnimation)&&ea,eV=(0,eu.useRef)(null),eX=ex||(ei.href?"a":"li"),eq="string"==typeof eX,{rendered:e$,key:eW}=eP,eK=eS.disabledKeys.has(eW)||ei.isDisabled,eG="none"!==eS.selectionManager.selectionMode,eZ=(0,eM.d)(),{pressProps:eJ,isPressed:eY}=(0,eO.r)({ref:eV,isDisabled:eK,onPress:eD}),{isHovered:eQ,hoverProps:e0}=(0,eC.X)({isDisabled:eK}),{isFocusVisible:e1,focusProps:e3}=(0,eh.F)({autoFocus:eL}),{isFocused:e8,isSelected:e6,optionProps:e5,labelProps:e4,descriptionProps:e7}=$293f70390ea03370$export$497855f14858aa34({key:eW,isDisabled:eK,"aria-label":ey["aria-label"],isVirtualized:eA},eS,eV),e9=e5,tr=(0,eu.useMemo)(()=>(0,ec.D9)({...ew,isDisabled:eK,disableAnimation:eU}),[(0,em.Xx)(ew),eK,eU]),tn=(0,eg.W)(null==eN?void 0:eN.base,ej);eF&&(e9=(0,em.Os)(e9));let ti=(0,eu.useMemo)(()=>!!ez&&!!e8||(eZ?eQ||eY:eQ),[eQ,eY,e8,eZ,ez]),getItemProps=(ei={})=>({ref:eV,...(0,ek.d)({onClick:eI},e9,eF?{}:(0,ek.d)(e3,eJ),e0,(0,ep.z)(eH,{enabled:eq}),ei),"data-selectable":(0,eb.PB)(eG),"data-focus":(0,eb.PB)(e8),"data-hover":(0,eb.PB)(ti),"data-disabled":(0,eb.PB)(eK),"data-selected":(0,eb.PB)(e6),"data-pressed":(0,eb.PB)(eY),"data-focus-visible":(0,eb.PB)(e1),className:tr.base({class:(0,eg.W)(tn,ei.className)})}),getLabelProps=(ei={})=>({...(0,ek.d)(e4,ei),"data-label":(0,eb.PB)(!0),className:tr.title({class:null==eN?void 0:eN.title})}),getDescriptionProps=(ei={})=>({...(0,ek.d)(e7,ei),className:tr.description({class:null==eN?void 0:eN.description})}),getWrapperProps=(ei={})=>({...(0,ek.d)(ei),className:tr.wrapper({class:null==eN?void 0:eN.wrapper})}),ta=(0,eu.useCallback)((ei={})=>({"aria-hidden":(0,eb.PB)(!0),"data-disabled":(0,eb.PB)(eK),className:tr.selectedIcon({class:null==eN?void 0:eN.selectedIcon}),...ei}),[eK,tr,eN]);return{Component:eX,domRef:eV,slots:tr,classNames:eN,isSelectable:eG,isSelected:e6,isDisabled:eK,rendered:e$,description:eE,startContent:eT,endContent:e_,selectedIcon:eR,hideSelectedIcon:eB,disableAnimation:eU,getItemProps,getLabelProps,getWrapperProps,getDescriptionProps,getSelectedIconProps:ta}}var eR=(0,ef.Gp)((ei,eo)=>{let{Component:ea,rendered:ec,description:ed,isSelectable:ef,isSelected:eh,isDisabled:ep,selectedIcon:em,startContent:eg,endContent:eb,hideSelectedIcon:ey,disableAnimation:ew,getItemProps:ex,getLabelProps:eP,getWrapperProps:eS,getDescriptionProps:eE,getSelectedIconProps:ek}=useListboxItem(ei),eT=(0,eu.useMemo)(()=>{let ei=(0,es.jsx)(ListboxSelectedIcon,{disableAnimation:ew,isSelected:eh});return"function"==typeof em?em({icon:ei,isSelected:eh,isDisabled:ep}):em||ei},[em,eh,ep,ew]);return(0,es.jsxs)(ea,{...ex(),children:[eg,ed?(0,es.jsxs)("div",{...eS(),children:[(0,es.jsx)("span",{...eP(),children:ec}),(0,es.jsx)("span",{...eE(),children:ed})]}):(0,es.jsx)("span",{...eP(),children:ec}),ef&&!ey&&(0,es.jsx)("span",{...ek(),children:eT}),eb]})});eR.displayName="NextUI.ListboxItem";var ej=eR,eN=ea(84367);function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(ei){let{heading:eo,"aria-label":ea}=ei,es=(0,ew.Me)();return{itemProps:{role:"presentation"},headingProps:eo?{id:es,role:"presentation"}:{},groupProps:{role:"group","aria-label":ea,"aria-labelledby":eo?es:void 0}}}var eL=(0,ef.Gp)(({item:ei,state:eo,as:ea,variant:ed,color:ef,disableAnimation:eh,className:ep,classNames:em,hideSelectedIcon:eb,showDivider:ey=!1,dividerProps:ew={},itemClasses:ex,title:eP,...eS},eE)=>{let eT=ea||"li",eC=(0,eu.useMemo)(()=>(0,ec.Dk)(),[]),e_=(0,eg.W)(null==em?void 0:em.base,ep),eA=(0,eg.W)(null==em?void 0:em.divider,null==ew?void 0:ew.className),{itemProps:eO,headingProps:eM,groupProps:eR}=$af383d3bef1cfdc9$export$c3f9f39876e4bc7({heading:ei.rendered,"aria-label":ei["aria-label"]});return(0,es.jsxs)(eT,{"data-slot":"base",...(0,ek.d)(eO,eS),className:eC.base({class:e_}),children:[ei.rendered&&(0,es.jsx)("span",{...eM,className:eC.heading({class:null==em?void 0:em.heading}),"data-slot":"heading",children:ei.rendered}),(0,es.jsxs)("ul",{...eR,className:eC.group({class:null==em?void 0:em.group}),"data-has-title":!!ei.rendered,"data-slot":"group",children:[[...ei.childNodes].map(ei=>{let{key:ea,props:eu}=ei,ec=(0,es.jsx)(ej,{classNames:ex,color:ef,disableAnimation:eh,hideSelectedIcon:eb,item:ei,state:eo,variant:ed,...eu},ea);return ei.wrapper&&(ec=ei.wrapper(ec)),ec}),ey&&(0,es.jsx)(eN.j,{as:"li",className:eC.divider({class:eA}),...ew})]})]},ei.key)});eL.displayName="NextUI.ListboxSection";var eD=eL,eI=ea(44971),ez=ea(50912),eB=ea(45351);function $c132121280ec012d$export$50eacbbf140a3141(ei,eo,ea){let es=(0,eS.z)(ei,{labelable:!0}),eu=ei.selectionBehavior||"toggle",ec=ei.linkBehavior||("replace"===eu?"action":"override");"toggle"===eu&&"action"===ec&&(ec="override");let{listProps:ed}=(0,eB._)({...ei,ref:ea,selectionManager:eo.selectionManager,collection:eo.collection,disabledKeys:eo.disabledKeys,linkBehavior:ec}),{focusWithinProps:ef}=(0,eI.L)({onFocusWithin:ei.onFocus,onBlurWithin:ei.onBlur,onFocusWithinChange:ei.onFocusChange}),eh=(0,ew.Me)(ei.id);ey.set(eo,{id:eh,shouldUseVirtualFocus:ei.shouldUseVirtualFocus,shouldSelectOnPressUp:ei.shouldSelectOnPressUp,shouldFocusOnHover:ei.shouldFocusOnHover,isVirtualized:ei.isVirtualized,onAction:ei.onAction,linkBehavior:ec});let{labelProps:ep,fieldProps:em}=(0,ez.N)({...ei,id:eh,labelElementType:"span"});return{labelProps:ep,listBoxProps:(0,ek.d)(es,ef,"multiple"===eo.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,ek.d)(em,ed)})}}var eF=ea(31932),eH=ea(33295);function useListbox(ei){var eo;let ea=(0,ed.w)(),{ref:es,as:ef,state:eh,variant:em,color:eb,onAction:ey,children:ew,onSelectionChange:ex,disableAnimation:eP=null!=(eo=null==ea?void 0:ea.disableAnimation)&&eo,itemClasses:eS,className:eE,topContent:ek,bottomContent:eT,emptyContent:eC="No items.",hideSelectedIcon:e_=!1,hideEmptyContent:eA=!1,shouldHighlightOnFocus:eO=!1,classNames:eM,...eR}=ei,ej=ef||"ul",eN="string"==typeof ej,eL=(0,eH.gy)(es),eD=(0,eF.n)({...ei,children:ew,onSelectionChange:ex}),eI=eh||eD,{listBoxProps:ez}=$c132121280ec012d$export$50eacbbf140a3141({...ei,onAction:ey},eI,eL),eB=(0,eu.useMemo)(()=>(0,ec.GI)({className:eE}),[eE]),eU=(0,eg.W)(null==eM?void 0:eM.base,eE),getBaseProps=(ei={})=>({ref:eL,"data-slot":"base",className:eB.base({class:eU}),...(0,ep.z)(eR,{enabled:eN}),...ei}),getListProps=(ei={})=>({"data-slot":"list",className:eB.list({class:null==eM?void 0:eM.list}),...ez,...ei}),getEmptyContentProps=(ei={})=>({"data-slot":"empty-content",children:eC,className:eB.emptyContent({class:null==eM?void 0:eM.emptyContent}),...ei});return{Component:ej,state:eI,variant:em,color:eb,slots:eB,classNames:eM,topContent:ek,bottomContent:eT,emptyContent:eC,hideEmptyContent:eA,shouldHighlightOnFocus:eO,hideSelectedIcon:e_,disableAnimation:eP,className:eE,itemClasses:eS,getBaseProps,getListProps,getEmptyContentProps}}function Listbox(ei,eo){let{Component:ea,state:eu,color:ec,variant:ed,itemClasses:ef,getBaseProps:eh,topContent:ep,bottomContent:em,hideEmptyContent:eg,hideSelectedIcon:eb,shouldHighlightOnFocus:ey,disableAnimation:ew,getEmptyContentProps:ex,getListProps:eP}=useListbox({...ei,ref:eo}),eS=(0,es.jsxs)(ea,{...eP(),children:[!eu.collection.size&&!eg&&(0,es.jsx)("li",{children:(0,es.jsx)("div",{...ex()})}),[...eu.collection].map(ei=>{var eo;let ea={color:ec,item:ei,state:eu,variant:ed,disableAnimation:ew,hideSelectedIcon:eb,...ei.props};if("section"===ei.type)return(0,es.jsx)(eD,{...ea,itemClasses:ef},ei.key);let eh=(0,es.jsx)(ej,{...ea,classNames:(0,ek.d)(ef,null==(eo=ei.props)?void 0:eo.classNames),shouldHighlightOnFocus:ey},ei.key);return ei.wrapper&&(eh=ei.wrapper(eh)),eh})]});return(0,es.jsxs)("div",{...eh(),children:[ep,eS,em]})}Listbox.displayName="NextUI.Listbox";var eU=(0,ef.Gp)(Listbox)},18266:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return es}});var es=ea(11594).c},63026:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return es}});var es=ea(50024).$},32616:function(ei,eo,ea){"use strict";ea.d(eo,{W:function(){return es}});var es=ea(11594).c},87740:function(ei,eo,ea){"use strict";ea.d(eo,{k:function(){return em}});var es=ea(58237),eu=ea(67294),ec=ea(15607),ed=ea(33295),ef=ea(49869),eh=ea(85893),ep=(0,ec.Gp)((ei,eo)=>{let{as:ea,children:ec,className:ep,...em}=ei,{slots:eg,classNames:eb,headerId:ey,setHeaderMounted:ew}=(0,es.v)(),ex=(0,ed.gy)(eo),eP=ea||"header";return(0,eu.useEffect)(()=>(ew(!0),()=>ew(!1)),[ew]),(0,eh.jsx)(eP,{ref:ex,className:eg.header({class:(0,ef.W)(null==eb?void 0:eb.header,ep)}),id:ey,...em,children:ec})});ep.displayName="NextUI.ModalHeader";var em=ep},58237:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return es},v:function(){return eu}});var[es,eu]=(0,ea(46347).k)({name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"})},86597:function(ei,eo,ea){"use strict";ea.d(eo,{I:function(){return em}});var es=ea(58237),eu=ea(67294),ec=ea(15607),ed=ea(33295),ef=ea(49869),eh=ea(85893),ep=(0,ec.Gp)((ei,eo)=>{let{as:ea,children:ec,className:ep,...em}=ei,{slots:eg,classNames:eb,bodyId:ey,setBodyMounted:ew}=(0,es.v)(),ex=(0,ed.gy)(eo),eP=ea||"div";return(0,eu.useEffect)(()=>(ew(!0),()=>ew(!1)),[ew]),(0,eh.jsx)(eP,{ref:ex,className:eg.body({class:(0,ef.W)(null==eb?void 0:eb.body,ep)}),id:ey,...em,children:ec})});ep.displayName="NextUI.ModalBody";var em=ep},39262:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return eE}});var es=ea(90029),eu={enter:{scale:"var(--scale-enter)",y:"var(--slide-enter)",opacity:1,transition:{scale:{duration:.4,ease:es.Lj.ease},opacity:{duration:.4,ease:es.Lj.ease},y:{type:"spring",bounce:0,duration:.6}}},exit:{scale:"var(--scale-exit)",y:"var(--slide-exit)",opacity:0,transition:{duration:.3,ease:es.Lj.ease}}},ec=ea(58237),ed=ea(67294),ef=ea(15607),eh=ea(65081),ep=ea(36569),em=ea(18522),eg=ea(1673),eb=ea(12560),ey=ea(34446),ew=ea(37127),ex=ea(11086),eP=ea(85893),eS=(0,ef.Gp)((ei,eo)=>{let{as:ea,children:ef,role:eS="dialog",...eE}=ei,{Component:ek,domRef:eT,slots:eC,classNames:e_,motionProps:eA,backdrop:eO,closeButton:eM,hideCloseButton:eR,disableAnimation:ej,getDialogProps:eN,getBackdropProps:eL,getCloseButtonProps:eD,onClose:eI}=(0,ec.v)(),ez=ea||ek||"div",{dialogProps:eB}=(0,ey.R)({role:eS},eT),eF=(0,ed.isValidElement)(eM)?(0,ed.cloneElement)(eM,eD()):(0,eP.jsx)("button",{...eD(),children:(0,eP.jsx)(ep.T,{})}),eH=(0,ed.useCallback)(ei=>{"Tab"===ei.key&&ei.nativeEvent.isComposing&&(ei.stopPropagation(),ei.preventDefault())},[]),eU=eN((0,ew.d)(eB,eE)),eV=(0,eP.jsxs)(ez,{...eU,onKeyDown:(0,ex.t)(eU.onKeyDown,eH),children:[(0,eP.jsx)(eh.U,{onDismiss:eI}),!eR&&eF,"function"==typeof ef?ef(eI):ef,(0,eP.jsx)(eh.U,{onDismiss:eI})]}),eX=(0,ed.useMemo)(()=>"transparent"===eO?null:ej?(0,eP.jsx)("div",{...eL()}):(0,eP.jsx)(em.X,{features:eg.H,children:(0,eP.jsx)(eb.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:es.y7.fade,...eL()})}),[eO,ej,eL]),eq=ej?(0,eP.jsx)("div",{className:eC.wrapper({class:null==e_?void 0:e_.wrapper}),"data-slot":"wrapper",children:eV}):(0,eP.jsx)(em.X,{features:eg.H,children:(0,eP.jsx)(eb.m.div,{animate:"enter",className:eC.wrapper({class:null==e_?void 0:e_.wrapper}),"data-slot":"wrapper",exit:"exit",initial:"exit",variants:eu,...eA,children:eV})});return(0,eP.jsxs)("div",{tabIndex:-1,children:[eX,eq]})});eS.displayName="NextUI.ModalContent";var eE=eS},23254:function(ei,eo,ea){"use strict";let es;ea.d(eo,{R:function(){return eB}});var eu=ea(74238),ec=ea(69786),ed=ea(68806),ef=ea(11086),eh=ea(49665);let ep="undefined"!=typeof document&&window.visualViewport,em=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),eg=0;function $49c51c25361d4cd2$export$ee0f7cc6afcd1c18(ei={}){let{isDisabled:eo}=ei;(0,ec.b)(()=>{if(!eo)return 1==++eg&&(es=(0,ed.gn)()?$49c51c25361d4cd2$var$preventScrollMobileSafari():$49c51c25361d4cd2$var$preventScrollStandard()),()=>{0==--eg&&es()}},[eo])}function $49c51c25361d4cd2$var$preventScrollStandard(){return(0,ef.t)($49c51c25361d4cd2$var$setStyle(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),$49c51c25361d4cd2$var$setStyle(document.documentElement,"overflow","hidden"))}function $49c51c25361d4cd2$var$preventScrollMobileSafari(){let ei,eo;let onTouchStart=ea=>{((ei=(0,eh.r)(ea.target,!0))!==document.documentElement||ei!==document.body)&&ei instanceof HTMLElement&&"auto"===window.getComputedStyle(ei).overscrollBehavior&&(eo=$49c51c25361d4cd2$var$setStyle(ei,"overscrollBehavior","contain"))},onTouchMove=eo=>{if(!ei||ei===document.documentElement||ei===document.body){eo.preventDefault();return}ei.scrollHeight===ei.clientHeight&&ei.scrollWidth===ei.clientWidth&&eo.preventDefault()},onTouchEnd=ei=>{let ea=ei.target;$49c51c25361d4cd2$var$willOpenKeyboard(ea)&&ea!==document.activeElement&&(ei.preventDefault(),setupStyles(),ea.style.transform="translateY(-2000px)",ea.focus(),requestAnimationFrame(()=>{ea.style.transform=""})),eo&&eo()},onFocus=ei=>{let eo=ei.target;$49c51c25361d4cd2$var$willOpenKeyboard(eo)&&(setupStyles(),eo.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{eo.style.transform="",ep&&(ep.height<window.innerHeight?requestAnimationFrame(()=>{$49c51c25361d4cd2$var$scrollIntoView(eo)}):ep.addEventListener("resize",()=>$49c51c25361d4cd2$var$scrollIntoView(eo),{once:!0}))}))},ea=null,setupStyles=()=>{if(ea)return;let onWindowScroll=()=>{window.scrollTo(0,0)},ei=window.pageXOffset,eo=window.pageYOffset;ea=(0,ef.t)($49c51c25361d4cd2$var$addEvent(window,"scroll",onWindowScroll),$49c51c25361d4cd2$var$setStyle(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),$49c51c25361d4cd2$var$setStyle(document.documentElement,"overflow","hidden"),$49c51c25361d4cd2$var$setStyle(document.body,"marginTop",`-${eo}px`),()=>{window.scrollTo(ei,eo)}),window.scrollTo(0,0)},es=(0,ef.t)($49c51c25361d4cd2$var$addEvent(document,"touchstart",onTouchStart,{passive:!1,capture:!0}),$49c51c25361d4cd2$var$addEvent(document,"touchmove",onTouchMove,{passive:!1,capture:!0}),$49c51c25361d4cd2$var$addEvent(document,"touchend",onTouchEnd,{passive:!1,capture:!0}),$49c51c25361d4cd2$var$addEvent(document,"focus",onFocus,!0));return()=>{null==eo||eo(),null==ea||ea(),es()}}function $49c51c25361d4cd2$var$setStyle(ei,eo,ea){let es=ei.style[eo];return ei.style[eo]=ea,()=>{ei.style[eo]=es}}function $49c51c25361d4cd2$var$addEvent(ei,eo,ea,es){return ei.addEventListener(eo,ea,es),()=>{ei.removeEventListener(eo,ea,es)}}function $49c51c25361d4cd2$var$scrollIntoView(ei){let eo=document.scrollingElement||document.documentElement;for(;ei&&ei!==eo;){let eo=(0,eh.r)(ei);if(eo!==document.documentElement&&eo!==document.body&&eo!==ei){let ea=eo.getBoundingClientRect().top,es=ei.getBoundingClientRect().top;es>ea+ei.clientHeight&&(eo.scrollTop+=es-ea)}ei=eo.parentElement}}function $49c51c25361d4cd2$var$willOpenKeyboard(ei){return ei instanceof HTMLInputElement&&!em.has(ei.type)||ei instanceof HTMLTextAreaElement||ei instanceof HTMLElement&&ei.isContentEditable}var eb=ea(25299),ey=ea(6270),ew=ea(37127),ex=ea(67294);function useAriaModalOverlay(ei={shouldBlockScroll:!0},eo,ea){let{overlayProps:es,underlayProps:ec}=(0,eu.I)({...ei,isOpen:eo.isOpen,onClose:eo.close},ea);return $49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!eo.isOpen||!ei.shouldBlockScroll}),(0,eb.Bq)(),(0,ex.useEffect)(()=>{if(eo.isOpen&&ea.current)return(0,ey.R)([ea.current])},[eo.isOpen,ea]),{modalProps:(0,ew.d)(es),underlayProps:ec}}var eP=ea(82189),eS=ea(65512),eE=(0,eP.tv)({slots:{wrapper:["flex","w-screen","h-[100dvh]","fixed","inset-0","z-50","overflow-x-auto","justify-center"],base:["flex","flex-col","relative","bg-white","z-50","w-full","box-border","bg-content1","outline-none","mx-1","my-1","sm:mx-6","sm:my-16"],backdrop:"z-50",header:"flex py-4 px-6 flex-initial text-large font-semibold",body:"flex flex-1 flex-col gap-3 px-6 py-2",footer:"flex flex-row gap-2 px-6 py-4 justify-end",closeButton:["absolute","appearance-none","outline-none","select-none","top-1","right-1","rtl:left-1","rtl:right-[unset]","p-2","text-foreground-500","rounded-full","hover:bg-default-100","active:bg-default-200","tap-highlight-transparent",...eS.Dh]},variants:{size:{xs:{base:"max-w-xs"},sm:{base:"max-w-sm"},md:{base:"max-w-md"},lg:{base:"max-w-lg"},xl:{base:"max-w-xl"},"2xl":{base:"max-w-2xl"},"3xl":{base:"max-w-3xl"},"4xl":{base:"max-w-4xl"},"5xl":{base:"max-w-5xl"},full:{base:"my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},placement:{auto:{wrapper:"items-end sm:items-center"},center:{wrapper:"items-center sm:items-center"},top:{wrapper:"items-start sm:items-start"},"top-center":{wrapper:"items-start sm:items-center"},bottom:{wrapper:"items-end sm:items-end"},"bottom-center":{wrapper:"items-end sm:items-center"}},shadow:{sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},backdrop:{transparent:{backdrop:"hidden"},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-md backdrop-saturate-150 bg-overlay/30"}},scrollBehavior:{normal:{base:"overflow-y-hidden"},inside:{base:"max-h-[calc(100%_-_8rem)]",body:"overflow-y-auto"},outside:{wrapper:"items-start sm:items-start overflow-y-auto",base:"my-16"}},disableAnimation:{false:{wrapper:["[--scale-enter:100%]","[--scale-exit:100%]","[--slide-enter:0px]","[--slide-exit:80px]","sm:[--scale-enter:100%]","sm:[--scale-exit:103%]","sm:[--slide-enter:0px]","sm:[--slide-exit:0px]"]}}},defaultVariants:{size:"md",radius:"lg",shadow:"sm",placement:"auto",backdrop:"opaque",scrollBehavior:"normal"},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"w-screen h-screen fixed inset-0"}}]}),ek=ea(76733),eT=ea(15607),eC=ea(27316),e_=ea(2459),eA=ea(49869),eO=ea(49037),eM=ea(50262),eR=ea(33295),ej=ea(16551),eN=ea(36303);function useModal(ei){var eo,ea,es;let eu=(0,ek.w)(),[ec,ed]=(0,eT.oe)(ei,eE.variantKeys),{ref:ef,as:eh,className:ep,classNames:em,isOpen:eg,defaultOpen:eb,onOpenChange:ey,motionProps:eP,closeButton:eS,isDismissable:eL=!0,hideCloseButton:eD=!1,shouldBlockScroll:eI=!0,portalContainer:ez,isKeyboardDismissDisabled:eB=!1,onClose:eF,...eH}=ec,eU=eh||"section",eV=(0,eR.gy)(ef),eX=(0,ex.useRef)(null),[eq,e$]=(0,ex.useState)(!1),[eW,eK]=(0,ex.useState)(!1),eG=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==eu?void 0:eu.disableAnimation)&&ea,eZ=(0,ex.useId)(),eJ=(0,ex.useId)(),eY=(0,ex.useId)(),eQ=(0,ej.d)({isOpen:eg,defaultOpen:eb,onOpenChange:ei=>{null==ey||ey(ei),ei||null==eF||eF()}}),{modalProps:e0,underlayProps:e1}=useAriaModalOverlay({isDismissable:eL,shouldBlockScroll:eI,isKeyboardDismissDisabled:eB},eQ,eV),{buttonProps:e3}=(0,eC.j)({onPress:eQ.close},eX),{isFocusVisible:e8,focusProps:e6}=(0,e_.F)(),e5=(0,eA.W)(null==em?void 0:em.base,ep),e4=(0,ex.useMemo)(()=>eE({...ed,disableAnimation:eG}),[(0,eO.Xx)(ed),eG]),getDialogProps=(ei={},eo=null)=>({ref:(0,eN.l)(eo,eV),...(0,ew.d)(e0,eH,ei),className:e4.base({class:(0,eA.W)(e5,ei.className)}),id:eZ,"data-open":(0,eM.PB)(eQ.isOpen),"data-dismissable":(0,eM.PB)(eL),"aria-modal":(0,eM.PB)(!0),"aria-labelledby":eq?eJ:void 0,"aria-describedby":eW?eY:void 0}),e7=(0,ex.useCallback)((ei={})=>({className:e4.backdrop({class:null==em?void 0:em.backdrop}),onClick:()=>eQ.close(),...e1,...ei}),[e4,em,e1]),getCloseButtonProps=()=>({role:"button",tabIndex:0,"aria-label":"Close","data-focus-visible":(0,eM.PB)(e8),className:e4.closeButton({class:null==em?void 0:em.closeButton}),...(0,ew.d)(e3,e6)});return{Component:eU,slots:e4,domRef:eV,headerId:eJ,bodyId:eY,motionProps:eP,classNames:em,isDismissable:eL,closeButton:eS,hideCloseButton:eD,portalContainer:ez,shouldBlockScroll:eI,backdrop:null!=(es=ei.backdrop)?es:"opaque",isOpen:eQ.isOpen,onClose:eQ.close,disableAnimation:eG,setBodyMounted:eK,setHeaderMounted:e$,getDialogProps,getBackdropProps:e7,getCloseButtonProps}}var eL=ea(58237),eD=ea(82703),eI=ea(85893),ez=(0,eT.Gp)((ei,eo)=>{let{children:ea,...es}=ei,eu=useModal({...es,ref:eo}),ec=(0,eI.jsx)(eb.aV,{portalContainer:eu.portalContainer,children:ea});return(0,eI.jsx)(eL.D,{value:eu,children:eu.disableAnimation&&eu.isOpen?ec:(0,eI.jsx)(eD.M,{children:eu.isOpen?ec:null})})});ez.displayName="NextUI.Modal";var eB=ez},96476:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return ep}});var es=ea(58237),eu=ea(15607),ec=ea(33295),ed=ea(49869),ef=ea(85893),eh=(0,eu.Gp)((ei,eo)=>{let{as:ea,children:eu,className:eh,...ep}=ei,{slots:em,classNames:eg}=(0,es.v)(),eb=(0,ec.gy)(eo),ey=ea||"footer";return(0,ef.jsx)(ey,{ref:eb,className:em.footer({class:(0,ed.W)(null==eg?void 0:eg.footer,eh)}),...ep,children:eu})});eh.displayName="NextUI.ModalFooter";var ep=eh},78095:function(ei,eo,ea){"use strict";ea.d(eo,{S:function(){return usePopover}});var es=ea(67294),eu=ea(74238),ec=ea(42959),ed=ea(73932),ef=ea(10902),eh=new WeakMap,ep=[];function ariaHideOutside(ei,eo=document.body){let ea=new Set(ei),es=new Set,walk=ei=>{for(let eo of ei.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))ea.add(eo);let acceptNode=ei=>{let eo=ei.parentElement;if(ea.has(ei)||es.has(eo)&&"row"!==eo.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let eo of ea)if(ei.contains(eo))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},eo=document.createTreeWalker(ei,NodeFilter.SHOW_ELEMENT,{acceptNode}),eu=acceptNode(ei);if(eu===NodeFilter.FILTER_ACCEPT&&hide(ei),eu!==NodeFilter.FILTER_REJECT){let ei=eo.nextNode();for(;null!=ei;)hide(ei),ei=eo.nextNode()}},hide=ei=>{var eo;let ea=null!=(eo=eh.get(ei))?eo:0;("true"!==ei.getAttribute("aria-hidden")||0!==ea)&&(0===ea&&ei.setAttribute("aria-hidden","true"),es.add(ei),eh.set(ei,ea+1))};ep.length&&ep[ep.length-1].disconnect(),walk(eo);let eu=new MutationObserver(ei=>{for(let eo of ei)if("childList"===eo.type&&0!==eo.addedNodes.length&&![...ea,...es].some(ei=>ei.contains(eo.target))){for(let ei of eo.removedNodes)ei instanceof Element&&(ea.delete(ei),es.delete(ei));for(let ei of eo.addedNodes)(ei instanceof HTMLElement||ei instanceof SVGElement)&&("true"===ei.dataset.liveAnnouncer||"true"===ei.dataset.reactAriaTopLayer)?ea.add(ei):ei instanceof Element&&walk(ei)}});eu.observe(eo,{childList:!0,subtree:!0});let ec={observe(){eu.observe(eo,{childList:!0,subtree:!0})},disconnect(){eu.disconnect()}};return ep.push(ec),()=>{for(let ei of(eu.disconnect(),es)){let eo=eh.get(ei);null!=eo&&(1===eo?(ei.removeAttribute("aria-hidden"),eh.delete(ei)):eh.set(ei,eo-1))}ec===ep[ep.length-1]?(ep.pop(),ep.length&&ep[ep.length-1].observe()):ep.splice(ep.indexOf(ec),1)}}var em=ea(37127),eg=ea(93387);function useReactAriaPopover(ei,eo){let{triggerRef:ea,popoverRef:eh,showArrow:ep,offset:eb=7,crossOffset:ey=0,scrollRef:ew,shouldFlip:ex,boundaryElement:eP,isDismissable:eS=!0,shouldCloseOnBlur:eE=!0,placement:ek="top",containerPadding:eT,shouldCloseOnInteractOutside:eC,isNonModal:e_,isKeyboardDismissDisabled:eA,updatePositionDeps:eO=[],...eM}=ei,eR=null==e_||e_,{overlayProps:ej,underlayProps:eN}=(0,eu.I)({isOpen:eo.isOpen,onClose:eo.close,shouldCloseOnBlur:eE,isDismissable:eS,isKeyboardDismissDisabled:eA,shouldCloseOnInteractOutside:eC||(ei=>(0,ed.J)(ei,ea,eo))},eh),{overlayProps:eL,arrowProps:eD,placement:eI,updatePosition:ez}=(0,ec.t)({...eM,shouldFlip:ex,crossOffset:ey,targetRef:ea,overlayRef:eh,isOpen:eo.isOpen,scrollRef:ew,boundaryElement:eP,containerPadding:eT,placement:(0,ef.Yx)(ek),offset:ep?eb+3:eb,onClose:eR?eo.close:()=>{}});return(0,eg.G)(()=>{eO.length&&ez()},eO),(0,es.useEffect)(()=>{if(eo.isOpen&&!eR&&eh.current)return ariaHideOutside([eh.current])},[eR,eo.isOpen,eh]),{popoverProps:(0,em.d)(ej,eL),arrowProps:eD,underlayProps:eN,placement:eI}}var eb=ea(33295),ey=ea(16551),ew=ea(2459),ex=ea(11860),eP=ea(6270),eS=ea(76733),eE=ea(15607),ek=ea(33805),eT=ea(36303),eC=ea(49037),e_=ea(49869),eA=ea(50262);function usePopover(ei){var eo,ea,eu;let ec=(0,eS.w)(),[ed,eh]=(0,eE.oe)(ei,ek.v.variantKeys),{as:ep,ref:eg,children:eO,state:eM,triggerRef:eR,scrollRef:ej,defaultOpen:eN,onOpenChange:eL,isOpen:eD,isNonModal:eI=!0,shouldFlip:ez=!0,containerPadding:eB=12,shouldBlockScroll:eF=!1,isDismissable:eH=!0,shouldCloseOnBlur:eU,portalContainer:eV,updatePositionDeps:eX,dialogProps:eq,placement:e$="top",triggerType:eW="dialog",showArrow:eK=!1,offset:eG=7,crossOffset:eZ=0,boundaryElement:eJ,isKeyboardDismissDisabled:eY,shouldCloseOnInteractOutside:eQ,motionProps:e0,className:e1,classNames:e3,onClose:e8,...e6}=ed,e5=ep||"div",e4=(0,eb.gy)(eg),e7=(0,es.useRef)(null),e9=(0,es.useRef)(!1),tr=eR||e7,tn=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==ec?void 0:ec.disableAnimation)&&ea,ti=(0,ey.d)({isOpen:eD,defaultOpen:eN,onOpenChange:ei=>{null==eL||eL(ei),ei||null==e8||e8()}}),ta=eM||ti,{popoverProps:ts,underlayProps:tl,placement:tu}=useReactAriaPopover({triggerRef:tr,isNonModal:eI,popoverRef:e4,placement:e$,offset:eG,scrollRef:ej,isDismissable:eH,shouldCloseOnBlur:eU,boundaryElement:eJ,crossOffset:eZ,shouldFlip:ez,containerPadding:eB,updatePositionDeps:eX,isKeyboardDismissDisabled:eY,shouldCloseOnInteractOutside:eQ},ta),{triggerProps:tc}=(0,ex.I)({type:eW},ta,tr),{isFocusVisible:td,isFocused:tf,focusProps:th}=(0,ew.F)(),tp=(0,es.useMemo)(()=>(0,ek.v)({...eh}),[(0,eC.Xx)(eh)]),tm=(0,e_.W)(null==e3?void 0:e3.base,e1),getPopoverProps=(ei={})=>({ref:e4,...(0,em.d)(ts,e6,ei),style:(0,em.d)(ts.style,e6.style,ei.style)}),getDialogProps=(ei={})=>({"data-slot":"base","data-open":(0,eA.PB)(ta.isOpen),"data-focus":(0,eA.PB)(tf),"data-arrow":(0,eA.PB)(eK),"data-focus-visible":(0,eA.PB)(td),"data-placement":(0,ef.sK)(tu,e$),...(0,em.d)(th,eq,ei),className:tp.base({class:(0,e_.W)(tm)}),style:{outline:"none"}}),tg=(0,es.useCallback)((ei={})=>({"data-slot":"content","data-open":(0,eA.PB)(ta.isOpen),"data-arrow":(0,eA.PB)(eK),"data-placement":(0,ef.sK)(tu,e$),className:tp.content({class:(0,e_.W)(null==e3?void 0:e3.content,ei.className)})}),[tp,ta.isOpen,eK,tu,e$,e3]),tb=(0,es.useMemo)(()=>(0,ef.Yv)(tu,e$)&&tu||e$,[tu,e$]),ty=(0,es.useCallback)(eo=>{var ea;let es;return"touch"===eo.pointerType&&((null==ei?void 0:ei.backdrop)==="blur"||(null==ei?void 0:ei.backdrop)==="opaque")?es=setTimeout(()=>{e9.current=!0},100):e9.current=!0,null==(ea=tc.onPress)||ea.call(tc,eo),()=>{clearTimeout(es)}},[null==tc?void 0:tc.onPress]),tw=(0,es.useCallback)((ei={},eo=null)=>{let{isDisabled:ea,...es}=ei;return{"data-slot":"trigger","aria-haspopup":"dialog",...(0,em.d)(tc,es),onPress:ty,isDisabled:ea,className:tp.trigger({class:(0,e_.W)(null==e3?void 0:e3.trigger,ei.className),isTriggerDisabled:ea}),ref:(0,eT.l)(eo,tr)}},[ta,tc,ty,tr]),tx=(0,es.useCallback)((ei={})=>({"data-slot":"backdrop",className:tp.backdrop({class:null==e3?void 0:e3.backdrop}),onClick:ei=>{if(!e9.current){ei.preventDefault();return}ta.close(),e9.current=!1},...tl,...ei}),[tp,ta.isOpen,e3,tl]);return(0,es.useEffect)(()=>{if(ta.isOpen&&(null==e4?void 0:e4.current))return(0,eP.R)([null==e4?void 0:e4.current])},[ta.isOpen,e4]),{state:ta,Component:e5,children:eO,classNames:e3,showArrow:eK,triggerRef:tr,placement:tb,isNonModal:eI,popoverRef:e4,portalContainer:eV,isOpen:ta.isOpen,onClose:ta.close,disableAnimation:tn,shouldBlockScroll:eF,backdrop:null!=(eu=ei.backdrop)?eu:"transparent",motionProps:e0,getBackdropProps:tx,getPopoverProps,getTriggerProps:tw,getDialogProps,getContentProps:tg}}},62697:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return eb}});var es=ea(30796),eu=ea(67294),ec=ea(15607),ed=ea(83783),ef=ea(27316),eh=ea(38787),ep=ea(37127),em=ea(85893),eg=(0,ec.Gp)((ei,eo)=>{let{triggerRef:ea,getTriggerProps:ec}=(0,es.l)(),{children:eg,...eb}=ei,ey=(0,eu.useMemo)(()=>"string"==typeof eg?(0,em.jsx)("p",{children:eg}):eu.Children.only(eg),[eg]),{onPress:ew,isDisabled:ex,...eP}=(0,eu.useMemo)(()=>ec((0,ep.d)(eb,ey.props),ey.ref),[ec,ey.props,eb,ey.ref]),[,eS]=(0,ed.N)(eg,eh.A),{buttonProps:eE}=(0,ef.j)({onPress:ew,isDisabled:ex},ea),ek=(0,eu.useMemo)(()=>(null==eS?void 0:eS[0])!==void 0,[eS]);return(0,eu.cloneElement)(ey,(0,ep.d)(eP,ek?{onPress:ew,isDisabled:ex}:eE))});eg.displayName="NextUI.PopoverTrigger";var eb=eg},21499:function(ei,eo,ea){"use strict";ea.d(eo,{q:function(){return eE}});var es=ea(78095),eu=ea(67294),ec=ea(25299),ed=ea(65081),ef=ea(15607),eh=ea(18522),ep=ea(1673),em=ea(12560),eg=ea(37127),eb=ea(10902),ey=ea(90029),ew=ea(34446),ex=ea(85893),eP=(0,ef.Gp)(({children:ei,motionProps:eo,placement:ea,disableAnimation:es,style:eu={},transformOrigin:ec={},...ed},ef)=>{let ew=eu;return ew=void 0!==ec.originX||void 0!==ec.originY?{...ew,transformOrigin:ec}:{...ew,...(0,eb.VS)("center"===ea?"top":ea)},es?(0,ex.jsx)("div",{...ed,ref:ef,children:ei}):(0,ex.jsx)(eh.X,{features:ep.H,children:(0,ex.jsx)(em.m.div,{ref:ef,animate:"enter",exit:"exit",initial:"initial",style:ew,variants:ey.y7.scaleSpringOpacity,...(0,eg.d)(ed,eo),children:ei})})});eP.displayName="NextUI.FreeSoloPopoverWrapper";var eS=(0,ef.Gp)(({children:ei,transformOrigin:eo,disableDialogFocus:ea=!1,...ef},eg)=>{let{Component:eb,state:eS,placement:eE,backdrop:ek,portalContainer:eT,disableAnimation:eC,motionProps:e_,isNonModal:eA,getPopoverProps:eO,getBackdropProps:eM,getDialogProps:eR,getContentProps:ej}=(0,es.S)({...ef,ref:eg}),eN=eu.useRef(null),{dialogProps:eL,titleProps:eD}=(0,ew.R)({},eN),eI=eR({...!ea&&{ref:eN},...eL}),ez=eu.useMemo(()=>"transparent"===ek?null:eC?(0,ex.jsx)("div",{...eM()}):(0,ex.jsx)(eh.X,{features:ep.H,children:(0,ex.jsx)(em.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:ey.y7.fade,...eM()})}),[ek,eC,eM]);return(0,ex.jsxs)(ec.aV,{portalContainer:eT,children:[!eA&&ez,(0,ex.jsx)(eb,{...eO(),children:(0,ex.jsxs)(eP,{disableAnimation:eC,motionProps:e_,placement:eE,tabIndex:-1,transformOrigin:eo,...eI,children:[!eA&&(0,ex.jsx)(ed.U,{onDismiss:eS.close}),(0,ex.jsx)("div",{...ej(),children:"function"==typeof ei?ei(eD):ei}),(0,ex.jsx)(ed.U,{onDismiss:eS.close})]})})]})});eS.displayName="NextUI.FreeSoloPopover";var eE=eS},30796:function(ei,eo,ea){"use strict";ea.d(eo,{H:function(){return es},l:function(){return eu}});var[es,eu]=(0,ea(46347).k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"})},29505:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return eg}});var es=ea(30796),eu=ea(78095),ec=ea(67294),ed=ea(15607),ef=ea(25299),eh=ea(82703),ep=ea(85893),em=(0,ed.Gp)((ei,eo)=>{let{children:ea,...ed}=ei,em=(0,eu.S)({...ed,ref:eo}),[eg,eb]=ec.Children.toArray(ea),ey=(0,ep.jsx)(ef.aV,{portalContainer:em.portalContainer,children:eb});return(0,ep.jsxs)(es.H,{value:em,children:[eg,em.disableAnimation&&em.isOpen?ey:(0,ep.jsx)(eh.M,{children:em.isOpen?ey:null})]})});em.displayName="NextUI.Popover";var eg=em},66397:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return eH}});var es,eu=ea(30796),ec=ea(67294),ed=ea(15607),ef=ea(65081),eh=ea(90029),ep=ea(18522),em=ea(1673),eg=ea(12560),extendStatics=function(ei,eo){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(ei,eo){ei.__proto__=eo}||function(ei,eo){for(var ea in eo)Object.prototype.hasOwnProperty.call(eo,ea)&&(ei[ea]=eo[ea])})(ei,eo)},__assign=function(){return(__assign=Object.assign||function(ei){for(var eo,ea=1,es=arguments.length;ea<es;ea++)for(var eu in eo=arguments[ea])Object.prototype.hasOwnProperty.call(eo,eu)&&(ei[eu]=eo[eu]);return ei}).apply(this,arguments)};function __rest(ei,eo){var ea={};for(var es in ei)Object.prototype.hasOwnProperty.call(ei,es)&&0>eo.indexOf(es)&&(ea[es]=ei[es]);if(null!=ei&&"function"==typeof Object.getOwnPropertySymbols)for(var eu=0,es=Object.getOwnPropertySymbols(ei);eu<es.length;eu++)0>eo.indexOf(es[eu])&&Object.prototype.propertyIsEnumerable.call(ei,es[eu])&&(ea[es[eu]]=ei[es[eu]]);return ea}function __spreadArray(ei,eo,ea){if(ea||2==arguments.length)for(var es,eu=0,ec=eo.length;eu<ec;eu++)!es&&eu in eo||(es||(es=Array.prototype.slice.call(eo,0,eu)),es[eu]=eo[eu]);return ei.concat(es||Array.prototype.slice.call(eo))}var eb="right-scroll-bar-position",ey="width-before-scroll-bar",ew="with-scroll-bars-hidden",ex="--removed-body-scroll-bar-size";function assignRef(ei,eo){return"function"==typeof ei?ei(eo):ei&&(ei.current=eo),ei}function useCallbackRef(ei,eo){var ea=(0,ec.useState)(function(){return{value:ei,callback:eo,facade:{get current(){return ea.value},set current(value){var es=ea.value;es!==value&&(ea.value=value,ea.callback(value,es))}}}})[0];return ea.callback=eo,ea.facade}var eP="undefined"!=typeof window?ec.useLayoutEffect:ec.useEffect,eS=new WeakMap;function useMergeRefs(ei,eo){var ea=useCallbackRef(eo||null,function(eo){return ei.forEach(function(ei){return assignRef(ei,eo)})});return eP(function(){var eo=eS.get(ea);if(eo){var es=new Set(eo),eu=new Set(ei),ec=ea.current;es.forEach(function(ei){eu.has(ei)||assignRef(ei,null)}),eu.forEach(function(ei){es.has(ei)||assignRef(ei,ec)})}eS.set(ea,ei)},[ei]),ea}var tslib_es6_extendStatics=function(ei,eo){return(tslib_es6_extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(ei,eo){ei.__proto__=eo}||function(ei,eo){for(var ea in eo)Object.prototype.hasOwnProperty.call(eo,ea)&&(ei[ea]=eo[ea])})(ei,eo)},tslib_es6_assign=function(){return(tslib_es6_assign=Object.assign||function(ei){for(var eo,ea=1,es=arguments.length;ea<es;ea++)for(var eu in eo=arguments[ea])Object.prototype.hasOwnProperty.call(eo,eu)&&(ei[eu]=eo[eu]);return ei}).apply(this,arguments)};function tslib_es6_rest(ei,eo){var ea={};for(var es in ei)Object.prototype.hasOwnProperty.call(ei,es)&&0>eo.indexOf(es)&&(ea[es]=ei[es]);if(null!=ei&&"function"==typeof Object.getOwnPropertySymbols)for(var eu=0,es=Object.getOwnPropertySymbols(ei);eu<es.length;eu++)0>eo.indexOf(es[eu])&&Object.prototype.propertyIsEnumerable.call(ei,es[eu])&&(ea[es[eu]]=ei[es[eu]]);return ea}function ItoI(ei){return ei}function innerCreateMedium(ei,eo){void 0===eo&&(eo=ItoI);var ea=[],es=!1;return{read:function(){if(es)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return ea.length?ea[ea.length-1]:ei},useMedium:function(ei){var eu=eo(ei,es);return ea.push(eu),function(){ea=ea.filter(function(ei){return ei!==eu})}},assignSyncMedium:function(ei){for(es=!0;ea.length;){var eo=ea;ea=[],eo.forEach(ei)}ea={push:function(eo){return ei(eo)},filter:function(){return ea}}},assignMedium:function(ei){es=!0;var eo=[];if(ea.length){var eu=ea;ea=[],eu.forEach(ei),eo=ea}var executeQueue=function(){var ea=eo;eo=[],ea.forEach(ei)},cycle=function(){return Promise.resolve().then(executeQueue)};cycle(),ea={push:function(ei){eo.push(ei),cycle()},filter:function(ei){return eo=eo.filter(ei),ea}}}}}"function"==typeof SuppressedError&&SuppressedError;var eE=function(ei){void 0===ei&&(ei={});var eo=innerCreateMedium(null);return eo.options=tslib_es6_assign({async:!0,ssr:!1},ei),eo}(),nothing=function(){},ek=ec.forwardRef(function(ei,eo){var ea=ec.useRef(null),es=ec.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),eu=es[0],ed=es[1],ef=ei.forwardProps,eh=ei.children,ep=ei.className,em=ei.removeScrollBar,eg=ei.enabled,eb=ei.shards,ey=ei.sideCar,ew=ei.noIsolation,ex=ei.inert,eP=ei.allowPinchZoom,eS=ei.as,ek=void 0===eS?"div":eS,eT=ei.gapMode,eC=__rest(ei,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),e_=ey,eA=useMergeRefs([ea,eo]),eO=__assign(__assign({},eC),eu);return ec.createElement(ec.Fragment,null,eg&&ec.createElement(e_,{sideCar:eE,removeScrollBar:em,shards:eb,noIsolation:ew,inert:ex,setCallbacks:ed,allowPinchZoom:!!eP,lockRef:ea,gapMode:eT}),ef?ec.cloneElement(ec.Children.only(eh),__assign(__assign({},eO),{ref:eA})):ec.createElement(ek,__assign({},eO,{className:ep,ref:eA}),eh))});ek.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ek.classNames={fullWidth:ey,zeroRight:eb};var SideCar=function(ei){var eo=ei.sideCar,ea=tslib_es6_rest(ei,["sideCar"]);if(!eo)throw Error("Sidecar: please provide `sideCar` property to import the right car");var es=eo.read();if(!es)throw Error("Sidecar medium not found");return ec.createElement(es,tslib_es6_assign({},ea))};function exportSidecar(ei,eo){return ei.useMedium(eo),SideCar}SideCar.isSideCarExport=!0;var getNonce=function(){return es||ea.nc};function makeStyleTag(){if(!document)return null;var ei=document.createElement("style");ei.type="text/css";var eo=getNonce();return eo&&ei.setAttribute("nonce",eo),ei}function injectStyles(ei,eo){ei.styleSheet?ei.styleSheet.cssText=eo:ei.appendChild(document.createTextNode(eo))}function insertStyleTag(ei){(document.head||document.getElementsByTagName("head")[0]).appendChild(ei)}var stylesheetSingleton=function(){var ei=0,eo=null;return{add:function(ea){0==ei&&(eo=makeStyleTag())&&(injectStyles(eo,ea),insertStyleTag(eo)),ei++},remove:function(){--ei||!eo||(eo.parentNode&&eo.parentNode.removeChild(eo),eo=null)}}},styleHookSingleton=function(){var ei=stylesheetSingleton();return function(eo,ea){ec.useEffect(function(){return ei.add(eo),function(){ei.remove()}},[eo&&ea])}},styleSingleton=function(){var ei=styleHookSingleton();return function(eo){return ei(eo.styles,eo.dynamic),null}},eT={left:0,top:0,right:0,gap:0},parse=function(ei){return parseInt(ei||"",10)||0},getOffset=function(ei){var eo=window.getComputedStyle(document.body),ea=eo["padding"===ei?"paddingLeft":"marginLeft"],es=eo["padding"===ei?"paddingTop":"marginTop"],eu=eo["padding"===ei?"paddingRight":"marginRight"];return[parse(ea),parse(es),parse(eu)]},getGapWidth=function(ei){if(void 0===ei&&(ei="margin"),"undefined"==typeof window)return eT;var eo=getOffset(ei),ea=document.documentElement.clientWidth,es=window.innerWidth;return{left:eo[0],top:eo[1],right:eo[2],gap:Math.max(0,es-ea+eo[2]-eo[0])}},eC=styleSingleton(),e_="data-scroll-locked",getStyles=function(ei,eo,ea,es){var eu=ei.left,ec=ei.top,ed=ei.right,ef=ei.gap;return void 0===ea&&(ea="margin"),"\n  .".concat(ew," {\n   overflow: hidden ").concat(es,";\n   padding-right: ").concat(ef,"px ").concat(es,";\n  }\n  body[").concat(e_,"] {\n    overflow: hidden ").concat(es,";\n    overscroll-behavior: contain;\n    ").concat([eo&&"position: relative ".concat(es,";"),"margin"===ea&&"\n    padding-left: ".concat(eu,"px;\n    padding-top: ").concat(ec,"px;\n    padding-right: ").concat(ed,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(ef,"px ").concat(es,";\n    "),"padding"===ea&&"padding-right: ".concat(ef,"px ").concat(es,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(eb," {\n    right: ").concat(ef,"px ").concat(es,";\n  }\n  \n  .").concat(ey," {\n    margin-right: ").concat(ef,"px ").concat(es,";\n  }\n  \n  .").concat(eb," .").concat(eb," {\n    right: 0 ").concat(es,";\n  }\n  \n  .").concat(ey," .").concat(ey," {\n    margin-right: 0 ").concat(es,";\n  }\n  \n  body[").concat(e_,"] {\n    ").concat(ex,": ").concat(ef,"px;\n  }\n")},getCurrentUseCounter=function(){var ei=parseInt(document.body.getAttribute(e_)||"0",10);return isFinite(ei)?ei:0},useLockAttribute=function(){ec.useEffect(function(){return document.body.setAttribute(e_,(getCurrentUseCounter()+1).toString()),function(){var ei=getCurrentUseCounter()-1;ei<=0?document.body.removeAttribute(e_):document.body.setAttribute(e_,ei.toString())}},[])},RemoveScrollBar=function(ei){var eo=ei.noRelative,ea=ei.noImportant,es=ei.gapMode,eu=void 0===es?"margin":es;useLockAttribute();var ed=ec.useMemo(function(){return getGapWidth(eu)},[eu]);return ec.createElement(eC,{styles:getStyles(ed,!eo,eu,ea?"":"!important")})},eA=!1;if("undefined"!=typeof window)try{var eO=Object.defineProperty({},"passive",{get:function(){return eA=!0,!0}});window.addEventListener("test",eO,eO),window.removeEventListener("test",eO,eO)}catch(ei){eA=!1}var eM=!!eA&&{passive:!1},alwaysContainsScroll=function(ei){return"TEXTAREA"===ei.tagName},elementCanBeScrolled=function(ei,eo){var ea=window.getComputedStyle(ei);return"hidden"!==ea[eo]&&!(ea.overflowY===ea.overflowX&&!alwaysContainsScroll(ei)&&"visible"===ea[eo])},elementCouldBeVScrolled=function(ei){return elementCanBeScrolled(ei,"overflowY")},elementCouldBeHScrolled=function(ei){return elementCanBeScrolled(ei,"overflowX")},locationCouldBeScrolled=function(ei,eo){var ea=eo.ownerDocument,es=eo;do{if("undefined"!=typeof ShadowRoot&&es instanceof ShadowRoot&&(es=es.host),elementCouldBeScrolled(ei,es)){var eu=getScrollVariables(ei,es);if(eu[1]>eu[2])return!0}es=es.parentNode}while(es&&es!==ea.body);return!1},getVScrollVariables=function(ei){return[ei.scrollTop,ei.scrollHeight,ei.clientHeight]},getHScrollVariables=function(ei){return[ei.scrollLeft,ei.scrollWidth,ei.clientWidth]},elementCouldBeScrolled=function(ei,eo){return"v"===ei?elementCouldBeVScrolled(eo):elementCouldBeHScrolled(eo)},getScrollVariables=function(ei,eo){return"v"===ei?getVScrollVariables(eo):getHScrollVariables(eo)},getDirectionFactor=function(ei,eo){return"h"===ei&&"rtl"===eo?-1:1},handleScroll=function(ei,eo,ea,es,eu){var ec=getDirectionFactor(ei,window.getComputedStyle(eo).direction),ed=ec*es,ef=ea.target,eh=eo.contains(ef),ep=!1,em=ed>0,eg=0,eb=0;do{var ey=getScrollVariables(ei,ef),ew=ey[0],ex=ey[1]-ey[2]-ec*ew;(ew||ex)&&elementCouldBeScrolled(ei,ef)&&(eg+=ex,eb+=ew),ef=ef instanceof ShadowRoot?ef.host:ef.parentNode}while(!eh&&ef!==document.body||eh&&(eo.contains(ef)||eo===ef));return em&&(eu&&1>Math.abs(eg)||!eu&&ed>eg)?ep=!0:!em&&(eu&&1>Math.abs(eb)||!eu&&-ed>eb)&&(ep=!0),ep},getTouchXY=function(ei){return"changedTouches"in ei?[ei.changedTouches[0].clientX,ei.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(ei){return[ei.deltaX,ei.deltaY]},extractRef=function(ei){return ei&&"current"in ei?ei.current:ei},deltaCompare=function(ei,eo){return ei[0]===eo[0]&&ei[1]===eo[1]},generateStyle=function(ei){return"\n  .block-interactivity-".concat(ei," {pointer-events: none;}\n  .allow-interactivity-").concat(ei," {pointer-events: all;}\n")},eR=0,ej=[];function getOutermostShadowParent(ei){for(var eo=null;null!==ei;)ei instanceof ShadowRoot&&(eo=ei.host,ei=ei.host),ei=ei.parentNode;return eo}var eN=exportSidecar(eE,function(ei){var eo=ec.useRef([]),ea=ec.useRef([0,0]),es=ec.useRef(),eu=ec.useState(eR++)[0],ed=ec.useState(styleSingleton)[0],ef=ec.useRef(ei);ec.useEffect(function(){ef.current=ei},[ei]),ec.useEffect(function(){if(ei.inert){document.body.classList.add("block-interactivity-".concat(eu));var eo=__spreadArray([ei.lockRef.current],(ei.shards||[]).map(extractRef),!0).filter(Boolean);return eo.forEach(function(ei){return ei.classList.add("allow-interactivity-".concat(eu))}),function(){document.body.classList.remove("block-interactivity-".concat(eu)),eo.forEach(function(ei){return ei.classList.remove("allow-interactivity-".concat(eu))})}}},[ei.inert,ei.lockRef.current,ei.shards]);var eh=ec.useCallback(function(ei,eo){if("touches"in ei&&2===ei.touches.length)return!ef.current.allowPinchZoom;var eu,ec=getTouchXY(ei),ed=ea.current,eh="deltaX"in ei?ei.deltaX:ed[0]-ec[0],ep="deltaY"in ei?ei.deltaY:ed[1]-ec[1],em=ei.target,eg=Math.abs(eh)>Math.abs(ep)?"h":"v";if("touches"in ei&&"h"===eg&&"range"===em.type)return!1;var eb=locationCouldBeScrolled(eg,em);if(!eb)return!0;if(eb?eu=eg:(eu="v"===eg?"h":"v",eb=locationCouldBeScrolled(eg,em)),!eb)return!1;if(!es.current&&"changedTouches"in ei&&(eh||ep)&&(es.current=eu),!eu)return!0;var ey=es.current||eu;return handleScroll(ey,eo,ei,"h"===ey?eh:ep,!0)},[]),ep=ec.useCallback(function(ei){var ea=ei;if(ej.length&&ej[ej.length-1]===ed){var es="deltaY"in ea?getDeltaXY(ea):getTouchXY(ea),eu=eo.current.filter(function(ei){return ei.name===ea.type&&(ei.target===ea.target||ea.target===ei.shadowParent)&&deltaCompare(ei.delta,es)})[0];if(eu&&eu.should){ea.cancelable&&ea.preventDefault();return}if(!eu){var ec=(ef.current.shards||[]).map(extractRef).filter(Boolean).filter(function(ei){return ei.contains(ea.target)});(ec.length>0?eh(ea,ec[0]):!ef.current.noIsolation)&&ea.cancelable&&ea.preventDefault()}}},[]),em=ec.useCallback(function(ei,ea,es,eu){var ec={name:ei,delta:ea,target:es,should:eu,shadowParent:getOutermostShadowParent(es)};eo.current.push(ec),setTimeout(function(){eo.current=eo.current.filter(function(ei){return ei!==ec})},1)},[]),eg=ec.useCallback(function(ei){ea.current=getTouchXY(ei),es.current=void 0},[]),eb=ec.useCallback(function(eo){em(eo.type,getDeltaXY(eo),eo.target,eh(eo,ei.lockRef.current))},[]),ey=ec.useCallback(function(eo){em(eo.type,getTouchXY(eo),eo.target,eh(eo,ei.lockRef.current))},[]);ec.useEffect(function(){return ej.push(ed),ei.setCallbacks({onScrollCapture:eb,onWheelCapture:eb,onTouchMoveCapture:ey}),document.addEventListener("wheel",ep,eM),document.addEventListener("touchmove",ep,eM),document.addEventListener("touchstart",eg,eM),function(){ej=ej.filter(function(ei){return ei!==ed}),document.removeEventListener("wheel",ep,eM),document.removeEventListener("touchmove",ep,eM),document.removeEventListener("touchstart",eg,eM)}},[]);var ew=ei.removeScrollBar,ex=ei.inert;return ec.createElement(ec.Fragment,null,ex?ec.createElement(ed,{styles:generateStyle(eu)}):null,ew?ec.createElement(RemoveScrollBar,{gapMode:ei.gapMode}):null)}),eL=ec.forwardRef(function(ei,eo){return ec.createElement(ek,__assign({},ei,{ref:eo,sideCar:eN}))});eL.classNames=ek.classNames;var eD=eL,eI=ea(10902),ez=ea(34446),eB=ea(85893),eF=(0,ed.Gp)((ei,eo)=>{let{as:ea,children:es,className:ed,...eb}=ei,{Component:ey,isOpen:ew,placement:ex,backdrop:eP,motionProps:eS,disableAnimation:eE,shouldBlockScroll:ek,getPopoverProps:eT,getDialogProps:eC,getBackdropProps:e_,getContentProps:eA,isNonModal:eO,onClose:eM}=(0,eu.l)(),eR=(0,ec.useRef)(null),{dialogProps:ej,titleProps:eN}=(0,ez.R)({},eR),eL=eC({ref:eR,...ej,...eb}),eF=ea||ey||"div",eH=(0,eB.jsxs)(eB.Fragment,{children:[!eO&&(0,eB.jsx)(ef.U,{onDismiss:eM}),(0,eB.jsx)(eF,{...eL,children:(0,eB.jsx)("div",{...eA({className:ed}),children:"function"==typeof es?es(eN):es})}),(0,eB.jsx)(ef.U,{onDismiss:eM})]}),eU=(0,ec.useMemo)(()=>"transparent"===eP?null:eE?(0,eB.jsx)("div",{...e_()}):(0,eB.jsx)(ep.X,{features:em.H,children:(0,eB.jsx)(eg.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:eh.y7.fade,...e_()})}),[eP,eE,e_]),eV=(0,eB.jsx)(eD,{enabled:ek&&ew,removeScrollBar:!1,children:eE?eH:(0,eB.jsx)(ep.X,{features:em.H,children:(0,eB.jsx)(eg.m.div,{animate:"enter",exit:"exit",initial:"initial",style:{...(0,eI.VS)("center"===ex?"top":ex)},variants:eh.y7.scaleSpringOpacity,...eS,children:eH})})});return(0,eB.jsxs)("div",{...eT(),children:[eU,eV]})});eF.displayName="NextUI.PopoverContent";var eH=eF},27963:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return filterDOMProps}});var es=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),eu=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),ec=/^(data-.*)$/,ed=/^(aria-.*)$/,ef=/^(on[A-Z].*)$/;function filterDOMProps(ei,eo={}){let{labelable:ea=!0,enabled:eh=!0,propNames:ep,omitPropNames:em,omitEventNames:eg,omitDataProps:eb,omitEventProps:ey}=eo,ew={};if(!eh)return ei;for(let eo in ei)!((null==em?void 0:em.has(eo))||(null==eg?void 0:eg.has(eo))&&ef.test(eo)||ef.test(eo)&&!eu.has(eo)||eb&&ec.test(eo)||ey&&ef.test(eo))&&(Object.prototype.hasOwnProperty.call(ei,eo)&&(es.has(eo)||ea&&ed.test(eo)||(null==ep?void 0:ep.has(eo))||ec.test(eo))||ef.test(eo))&&(ew[eo]=ei[eo]);return ew}},83783:function(ei,eo,ea){"use strict";ea.d(eo,{W:function(){return getValidChildren},N:function(){return pickChildren}});var es=Object.create,eu=Object.defineProperty,ec=Object.getOwnPropertyDescriptor,ed=Object.getOwnPropertyNames,ef=Object.getPrototypeOf,eh=Object.prototype.hasOwnProperty,__commonJS=(ei,eo)=>function(){return eo||(0,ei[ed(ei)[0]])((eo={exports:{}}).exports,eo),eo.exports},__copyProps=(ei,eo,ea,es)=>{if(eo&&"object"==typeof eo||"function"==typeof eo)for(let ef of ed(eo))eh.call(ei,ef)||ef===ea||eu(ei,ef,{get:()=>eo[ef],enumerable:!(es=ec(eo,ef))||es.enumerable});return ei},__toESM=(ei,eo,ea)=>(ea=null!=ei?es(ef(ei)):{},__copyProps(!eo&&ei&&ei.__esModule?ea:eu(ea,"default",{value:ei,enumerable:!0}),ei)),ep=__commonJS({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(ei){var eo=Symbol.for("react.element"),ea=Symbol.for("react.portal"),es=Symbol.for("react.fragment"),eu=Symbol.for("react.strict_mode"),ec=Symbol.for("react.profiler"),ed=Symbol.for("react.provider"),ef=Symbol.for("react.context"),eh=Symbol.for("react.forward_ref"),ep=Symbol.for("react.suspense"),em=Symbol.for("react.memo"),eg=Symbol.for("react.lazy"),eb=Symbol.iterator;function A(ei){return null===ei||"object"!=typeof ei?null:"function"==typeof(ei=eb&&ei[eb]||ei["@@iterator"])?ei:null}var ey={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ew=Object.assign,ex={};function E(ei,eo,ea){this.props=ei,this.context=eo,this.refs=ex,this.updater=ea||ey}function F(){}function G(ei,eo,ea){this.props=ei,this.context=eo,this.refs=ex,this.updater=ea||ey}E.prototype.isReactComponent={},E.prototype.setState=function(ei,eo){if("object"!=typeof ei&&"function"!=typeof ei&&null!=ei)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ei,eo,"setState")},E.prototype.forceUpdate=function(ei){this.updater.enqueueForceUpdate(this,ei,"forceUpdate")},F.prototype=E.prototype;var eP=G.prototype=new F;eP.constructor=G,ew(eP,E.prototype),eP.isPureReactComponent=!0;var eS=Array.isArray,eE=Object.prototype.hasOwnProperty,ek={current:null},eT={key:!0,ref:!0,__self:!0,__source:!0};function M(ei,ea,es){var eu,ec={},ed=null,ef=null;if(null!=ea)for(eu in void 0!==ea.ref&&(ef=ea.ref),void 0!==ea.key&&(ed=""+ea.key),ea)eE.call(ea,eu)&&!eT.hasOwnProperty(eu)&&(ec[eu]=ea[eu]);var eh=arguments.length-2;if(1===eh)ec.children=es;else if(1<eh){for(var ep=Array(eh),em=0;em<eh;em++)ep[em]=arguments[em+2];ec.children=ep}if(ei&&ei.defaultProps)for(eu in eh=ei.defaultProps)void 0===ec[eu]&&(ec[eu]=eh[eu]);return{$$typeof:eo,type:ei,key:ed,ref:ef,props:ec,_owner:ek.current}}function N(ei,ea){return{$$typeof:eo,type:ei.type,key:ea,ref:ei.ref,props:ei.props,_owner:ei._owner}}function O(ei){return"object"==typeof ei&&null!==ei&&ei.$$typeof===eo}function escape(ei){var eo={"=":"=0",":":"=2"};return"$"+ei.replace(/[=:]/g,function(ei){return eo[ei]})}var eC=/\/+/g;function Q(ei,eo){return"object"==typeof ei&&null!==ei&&null!=ei.key?escape(""+ei.key):eo.toString(36)}function R(ei,es,eu,ec,ed){var ef=typeof ei;("undefined"===ef||"boolean"===ef)&&(ei=null);var eh=!1;if(null===ei)eh=!0;else switch(ef){case"string":case"number":eh=!0;break;case"object":switch(ei.$$typeof){case eo:case ea:eh=!0}}if(eh)return ed=ed(eh=ei),ei=""===ec?"."+Q(eh,0):ec,eS(ed)?(eu="",null!=ei&&(eu=ei.replace(eC,"$&/")+"/"),R(ed,es,eu,"",function(ei){return ei})):null!=ed&&(O(ed)&&(ed=N(ed,eu+(!ed.key||eh&&eh.key===ed.key?"":(""+ed.key).replace(eC,"$&/")+"/")+ei)),es.push(ed)),1;if(eh=0,ec=""===ec?".":ec+":",eS(ei))for(var ep=0;ep<ei.length;ep++){var em=ec+Q(ef=ei[ep],ep);eh+=R(ef,es,eu,em,ed)}else if("function"==typeof(em=A(ei)))for(ei=em.call(ei),ep=0;!(ef=ei.next()).done;)em=ec+Q(ef=ef.value,ep++),eh+=R(ef,es,eu,em,ed);else if("object"===ef)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(es=String(ei))?"object with keys {"+Object.keys(ei).join(", ")+"}":es)+"). If you meant to render a collection of children, use an array instead.");return eh}function S(ei,eo,ea){if(null==ei)return ei;var es=[],eu=0;return R(ei,es,"","",function(ei){return eo.call(ea,ei,eu++)}),es}function T(ei){if(-1===ei._status){var eo=ei._result;(eo=eo()).then(function(eo){(0===ei._status||-1===ei._status)&&(ei._status=1,ei._result=eo)},function(eo){(0===ei._status||-1===ei._status)&&(ei._status=2,ei._result=eo)}),-1===ei._status&&(ei._status=0,ei._result=eo)}if(1===ei._status)return ei._result.default;throw ei._result}var e_={current:null},eA={transition:null},eO={ReactCurrentDispatcher:e_,ReactCurrentBatchConfig:eA,ReactCurrentOwner:ek};ei.Children={map:S,forEach:function(ei,eo,ea){S(ei,function(){eo.apply(this,arguments)},ea)},count:function(ei){var eo=0;return S(ei,function(){eo++}),eo},toArray:function(ei){return S(ei,function(ei){return ei})||[]},only:function(ei){if(!O(ei))throw Error("React.Children.only expected to receive a single React element child.");return ei}},ei.Component=E,ei.Fragment=es,ei.Profiler=ec,ei.PureComponent=G,ei.StrictMode=eu,ei.Suspense=ep,ei.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eO,ei.cloneElement=function(ei,ea,es){if(null==ei)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ei+".");var eu=ew({},ei.props),ec=ei.key,ed=ei.ref,ef=ei._owner;if(null!=ea){if(void 0!==ea.ref&&(ed=ea.ref,ef=ek.current),void 0!==ea.key&&(ec=""+ea.key),ei.type&&ei.type.defaultProps)var eh=ei.type.defaultProps;for(ep in ea)eE.call(ea,ep)&&!eT.hasOwnProperty(ep)&&(eu[ep]=void 0===ea[ep]&&void 0!==eh?eh[ep]:ea[ep])}var ep=arguments.length-2;if(1===ep)eu.children=es;else if(1<ep){eh=Array(ep);for(var em=0;em<ep;em++)eh[em]=arguments[em+2];eu.children=eh}return{$$typeof:eo,type:ei.type,key:ec,ref:ed,props:eu,_owner:ef}},ei.createContext=function(ei){return(ei={$$typeof:ef,_currentValue:ei,_currentValue2:ei,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:ed,_context:ei},ei.Consumer=ei},ei.createElement=M,ei.createFactory=function(ei){var eo=M.bind(null,ei);return eo.type=ei,eo},ei.createRef=function(){return{current:null}},ei.forwardRef=function(ei){return{$$typeof:eh,render:ei}},ei.isValidElement=O,ei.lazy=function(ei){return{$$typeof:eg,_payload:{_status:-1,_result:ei},_init:T}},ei.memo=function(ei,eo){return{$$typeof:em,type:ei,compare:void 0===eo?null:eo}},ei.startTransition=function(ei){var eo=eA.transition;eA.transition={};try{ei()}finally{eA.transition=eo}},ei.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},ei.useCallback=function(ei,eo){return e_.current.useCallback(ei,eo)},ei.useContext=function(ei){return e_.current.useContext(ei)},ei.useDebugValue=function(){},ei.useDeferredValue=function(ei){return e_.current.useDeferredValue(ei)},ei.useEffect=function(ei,eo){return e_.current.useEffect(ei,eo)},ei.useId=function(){return e_.current.useId()},ei.useImperativeHandle=function(ei,eo,ea){return e_.current.useImperativeHandle(ei,eo,ea)},ei.useInsertionEffect=function(ei,eo){return e_.current.useInsertionEffect(ei,eo)},ei.useLayoutEffect=function(ei,eo){return e_.current.useLayoutEffect(ei,eo)},ei.useMemo=function(ei,eo){return e_.current.useMemo(ei,eo)},ei.useReducer=function(ei,eo,ea){return e_.current.useReducer(ei,eo,ea)},ei.useRef=function(ei){return e_.current.useRef(ei)},ei.useState=function(ei){return e_.current.useState(ei)},ei.useSyncExternalStore=function(ei,eo,ea){return e_.current.useSyncExternalStore(ei,eo,ea)},ei.useTransition=function(){return e_.current.useTransition()},ei.version="18.2.0"}});__commonJS({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.js"(ei,eo){}});var em=__toESM(__commonJS({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(ei,eo){eo.exports=ep()}})());function getValidChildren(ei){return em.Children.toArray(ei).filter(ei=>(0,em.isValidElement)(ei))}var pickChildren=(ei,eo)=>{var ea;let es=[],eu=null==(ea=em.Children.map(ei,ei=>(0,em.isValidElement)(ei)&&ei.type===eo?(es.push(ei),null):ei))?void 0:ea.filter(Boolean),ec=es.length>=0?es:void 0;return[eu,ec]}},46347:function(ei,eo,ea){"use strict";ea.d(eo,{k:function(){return createContext2}});var es=ea(67294);function createContext2(ei={}){let{strict:eo=!0,errorMessage:ea="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:eu}=ei,ec=es.createContext(void 0);function useContext2(){var ei;let eu=es.useContext(ec);if(!eu&&eo){let eo=Error(ea);throw eo.name="ContextError",null==(ei=Error.captureStackTrace)||ei.call(Error,eo,useContext2),eo}return eu}return ec.displayName=eu,[ec.Provider,useContext2,ec]}},48255:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return mergeRefs}});var es=ea(50262);function assignRef(ei,eo){if(null!=ei){if((0,es.mf)(ei)){ei(eo);return}try{ei.current=eo}catch(ea){throw Error(`Cannot assign value '${eo}' to ref '${ei}'`)}}}function mergeRefs(...ei){return eo=>{ei.forEach(ei=>assignRef(ei,eo))}}},33295:function(ei,eo,ea){"use strict";ea.d(eo,{AH:function(){return areRectsIntersecting},fg:function(){return createDOMRef},gy:function(){return useDOMRef}});var es=ea(67294);function createDOMRef(ei){return{UNSAFE_getDOMNode:()=>ei.current}}function useDOMRef(ei){let eo=(0,es.useRef)(null);return(0,es.useImperativeHandle)(ei,()=>eo.current),eo}function areRectsIntersecting(ei,eo){return ei&&eo&&ei.x<eo.x+eo.width&&ei.x+ei.width>eo.x&&ei.y<eo.y+eo.height&&ei.y+ei.height>eo.y}!function(){"undefined"!=typeof window&&window.document&&window.document.createElement}()},10918:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return useRipple}});var es=ea(49037),eu=ea(67294);function useRipple(ei={}){let[eo,ea]=(0,eu.useState)([]),ec=(0,eu.useCallback)(ei=>{let eo=ei.currentTarget,eu=Math.max(eo.clientWidth,eo.clientHeight),ec=eo.getBoundingClientRect();ea(eo=>[...eo,{key:(0,es.QI)(eo.length.toString()),size:eu,x:ei.clientX-ec.left-eu/2,y:ei.clientY-ec.top-eu/2}])},[]),ed=(0,eu.useCallback)(ei=>{ea(eo=>eo.filter(eo=>eo.key!==ei))},[]);return{ripples:eo,onClick:ec,onClear:ed,...ei}}},14890:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return ep}});var es=ea(18522),eu=ea(1673),ec=ea(82703),ed=ea(12560),ef=ea(80711),eh=ea(85893),Ripple=ei=>{let{ripples:eo=[],motionProps:ea,color:ep="currentColor",style:em,onClear:eg}=ei;return(0,eh.jsx)(eh.Fragment,{children:eo.map(ei=>{let eo=(0,ef.uZ)(.01*ei.size,.2,ei.size>100?.75:.5);return(0,eh.jsx)(es.X,{features:eu.H,children:(0,eh.jsx)(ec.M,{mode:"popLayout",children:(0,eh.jsx)(ed.m.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:ep,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:ei.y,left:ei.x,width:`${ei.size}px`,height:`${ei.size}px`,...em},transition:{duration:eo},onAnimationComplete:()=>{eg(ei.key)},...ea})})},ei.key)})})};Ripple.displayName="NextUI.Ripple";var ep=Ripple},81239:function(ei,eo,ea){"use strict";ea.d(eo,{o:function(){return ey}});var es=ea(15607),eu=ea(82189),ec=["data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],ed=["data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],ef=(0,eu.tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto",...ec],horizontal:["overflow-x-auto",...ed]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),eh=ea(33295),ep=ea(49037),em=ea(67294);function useDataScrollOverflow(ei={}){let{domRef:eo,isEnabled:ea=!0,overflowCheck:es="vertical",visibility:eu="auto",offset:ec=0,onVisibilityChange:ed,updateDeps:ef=[]}=ei,eh=(0,em.useRef)(eu);(0,em.useEffect)(()=>{let ei=null==eo?void 0:eo.current;if(!ei||!ea)return;let setAttributes=(eo,ea,es,ec,ef)=>{if("auto"===eu){let eo=`${ec}${(0,ep.kC)(ef)}Scroll`;ea&&es?(ei.dataset[eo]="true",ei.removeAttribute(`data-${ec}-scroll`),ei.removeAttribute(`data-${ef}-scroll`)):(ei.dataset[`${ec}Scroll`]=ea.toString(),ei.dataset[`${ef}Scroll`]=es.toString(),ei.removeAttribute(`data-${ec}-${ef}-scroll`))}else{let ei=ea&&es?"both":ea?ec:es?ef:"none";ei!==eh.current&&(null==ed||ed(ei),eh.current=ei)}},checkOverflow=()=>{let eo=[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}];for(let{type:ea,prefix:eu,suffix:ed}of eo)if(es===ea||"both"===es){let eo="vertical"===ea?ei.scrollTop>ec:ei.scrollLeft>ec,es="vertical"===ea?ei.scrollTop+ei.clientHeight+ec<ei.scrollHeight:ei.scrollLeft+ei.clientWidth+ec<ei.scrollWidth;setAttributes(ea,eo,es,eu,ed)}},clearOverflow=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(eo=>{ei.removeAttribute(`data-${eo}-scroll`)})};return checkOverflow(),ei.addEventListener("scroll",checkOverflow),"auto"!==eu&&(clearOverflow(),"both"===eu?(ei.dataset.topBottomScroll=String("vertical"===es),ei.dataset.leftRightScroll=String("horizontal"===es)):(ei.dataset.topBottomScroll="false",ei.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(eo=>{ei.dataset[`${eo}Scroll`]=String(eu===eo)}))),()=>{ei.removeEventListener("scroll",checkOverflow),clearOverflow()}},[...ef,ea,eu,es,ed,eo])}function useScrollShadow(ei){var eo;let[ea,eu]=(0,es.oe)(ei,ef.variantKeys),{ref:ec,as:ed,children:eg,className:eb,style:ey,size:ew=40,offset:ex=0,visibility:eP="auto",isEnabled:eS=!0,onVisibilityChange:eE,...ek}=ea,eT=ed||"div",eC=(0,eh.gy)(ec);useDataScrollOverflow({domRef:eC,offset:ex,visibility:eP,isEnabled:eS,onVisibilityChange:eE,updateDeps:[eg],overflowCheck:null!=(eo=ei.orientation)?eo:"vertical"});let e_=(0,em.useMemo)(()=>ef({...eu,className:eb}),[(0,ep.Xx)(eu),eb]),getBaseProps=(eo={})=>{var ea;return{ref:eC,className:e_,"data-orientation":null!=(ea=ei.orientation)?ea:"vertical",style:{"--scroll-shadow-size":`${ew}px`,...ey,...eo.style},...ek,...eo}};return{Component:eT,styles:e_,domRef:eC,children:eg,getBaseProps}}var eg=ea(85893),eb=(0,es.Gp)((ei,eo)=>{let{Component:ea,children:es,getBaseProps:eu}=useScrollShadow({...ei,ref:eo});return(0,eg.jsx)(ea,{...eu(),children:es})});eb.displayName="NextUI.ScrollShadow";var ey=eb},22905:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return eG}});var es=ea(76733),eu=ea(15607),ec=ea(82189),ed=ea(65512),ef=(0,ec.tv)({slots:{base:["group inline-flex flex-col relative w-full"],label:["block","absolute","z-10","origin-top-left","rtl:origin-top-right","subpixel-antialiased","text-small","text-foreground-500","pointer-events-none"],mainWrapper:"w-full flex flex-col",trigger:"relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",innerWrapper:"inline-flex h-full w-[calc(100%_-_theme(spacing.6))] min-h-4 items-center gap-1.5 box-border",selectorIcon:"absolute right-3 rtl:left-3 rtl:right-[unset] w-4 h-4",spinner:"absolute right-3 rtl:left-3 rtl:right-[unset]",value:["text-foreground-500","font-normal","w-full","text-left","rtl:text-right"],listboxWrapper:"scroll-py-6 max-h-64 w-full",listbox:"",popoverContent:"w-full p-1 overflow-hidden",helperWrapper:"p-1 flex relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{trigger:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{trigger:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{trigger:["border-medium","border-default-200","data-[hover=true]:border-default-400","data-[open=true]:border-default-foreground","data-[focus=true]:border-default-foreground","data-[focus=true]:border-default-foreground"]},underlined:{trigger:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","data-[open=true]:after:w-full","data-[focus=true]:after:w-full"],label:"group-data-[filled=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",trigger:"h-8 min-h-8 px-2 rounded-small",value:"text-small"},md:{trigger:"h-10 min-h-10 rounded-medium",value:"text-small"},lg:{trigger:"h-12 min-h-12 rounded-large",value:"text-medium"}},radius:{none:{trigger:"rounded-none"},sm:{trigger:"rounded-small"},md:{trigger:"rounded-medium"},lg:{trigger:"rounded-large"},full:{trigger:"rounded-full"}},labelPlacement:{outside:{base:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap items-start",label:"relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"},inside:{label:"text-tiny cursor-pointer",trigger:"flex-col items-start justify-center gap-0"}},fullWidth:{true:{base:"w-full"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",trigger:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",value:"!text-danger",selectorIcon:"text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",trigger:"!h-auto"},false:{value:"truncate"}},disableAnimation:{true:{trigger:"after:transition-none",base:"transition-none",label:"transition-none",selectorIcon:"transition-none"},false:{base:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","origin-top-left","rtl:origin-top-right","!duration-200","!ease-out","transition-[transform,color,left,opacity]","motion-reduce:transition-none"],selectorIcon:"transition-transform duration-150 ease motion-reduce:transition-none"}},disableSelectorIconRotation:{true:{},false:{selectorIcon:"data-[open=true]:rotate-180"}}},defaultVariants:{variant:"flat",color:"default",size:"md",labelPlacement:"inside",fullWidth:!0,isDisabled:!1,isMultiline:!1,disableSelectorIconRotation:!1},compoundVariants:[{variant:"flat",color:"default",class:{value:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{trigger:["bg-primary-50","text-primary","data-[hover=true]:bg-primary-100","group-data-[focus=true]:bg-primary-50"],value:"text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{trigger:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50"],value:"text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{trigger:["bg-success-50","text-success-600","dark:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],value:"text-success-600 dark:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{trigger:["bg-warning-50","text-warning-600","dark:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],value:"text-warning-600 dark:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{trigger:["bg-danger-50","text-danger","dark:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],value:"text-danger dark:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{trigger:"data-[hover=true]:border-primary",label:"text-primary"}},{variant:"faded",color:"secondary",class:{trigger:"data-[hover=true]:border-secondary",label:"text-secondary"}},{variant:"faded",color:"success",class:{trigger:"data-[hover=true]:border-success",label:"text-success"}},{variant:"faded",color:"warning",class:{trigger:"data-[hover=true]:border-warning",label:"text-warning"}},{variant:"faded",color:"danger",class:{trigger:"data-[hover=true]:border-danger",label:"text-danger"}},{variant:"underlined",color:"default",class:{value:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{trigger:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{trigger:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{trigger:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{trigger:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{trigger:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{trigger:["data-[open=true]:border-primary","data-[focus=true]:border-primary"],label:"text-primary"}},{variant:"bordered",color:"secondary",class:{trigger:["data-[open=true]:border-secondary","data-[focus=true]:border-secondary"],label:"text-secondary"}},{variant:"bordered",color:"success",class:{trigger:["data-[open=true]:border-success","data-[focus=true]:border-success"],label:"text-success"}},{variant:"bordered",color:"warning",class:{trigger:["data-[open=true]:border-warning","data-[focus=true]:border-warning"],label:"text-warning"}},{variant:"bordered",color:"danger",class:{trigger:["data-[open=true]:border-danger","data-[focus=true]:border-danger"],label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled=true]:text-foreground"}},{radius:"full",size:["sm"],class:{trigger:"px-3"}},{radius:"full",size:"md",class:{trigger:"px-4"}},{radius:"full",size:"lg",class:{trigger:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{trigger:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{trigger:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{trigger:[...ed.Dh]}},{isInvalid:!0,variant:"flat",class:{trigger:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{trigger:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{trigger:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{trigger:"h-12 min-h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{trigger:"h-14 min-h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",trigger:"h-16 min-h-16 py-2.5 gap-0"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled=true]:pointer-events-auto"]}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled=true]:left-0","rtl:group-data-[filled=true]:right-0","rtl:group-data-[filled=true]:left-[unset]"]}},{labelPlacement:["inside"],class:{label:"group-data-[filled=true]:scale-85"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"],innerWrapper:"group-data-[has-label=true]:pt-4"}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"],innerWrapper:"group-data-[has-label=true]:pt-4"}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"],innerWrapper:"group-data-[has-label=true]:pt-5"}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","rtl:right-2","rtl:left-[unset]","text-tiny","group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",isMultiline:!1,size:"md",class:{label:["left-3","rtl:right-3","rtl:left-[unset]","text-small","group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",isMultiline:!1,size:"lg",class:{label:["left-3","rtl:right-3","rtl:left-[unset]","text-medium","group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}}]}),eh=ea(33295),ep=ea(27963),em=ea(67294),eg=ea(27316),eb=ea(2459),ey=ea(49869),ew=ea(49037),ex=ea(50262),eP=ea(37127),eS=ea(18419),eE=ea(31932);function useMultiSelectListState(ei){let{collection:eo,disabledKeys:ea,selectionManager:es,selectionManager:{setSelectedKeys:eu,selectedKeys:ec,selectionMode:ed}}=(0,eE.n)(ei),ef=(0,em.useMemo)(()=>ei.isLoading||0===ec.size?[]:Array.from(ec).filter(Boolean).filter(ei=>!eo.getItem(ei)),[ec,eo]),eh=0!==ec.size?Array.from(ec).map(ei=>eo.getItem(ei)).filter(Boolean):null;return ef.length&&console.warn(`Select: Keys "${ef.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:eo,disabledKeys:ea,selectionManager:es,selectionMode:ed,selectedKeys:ec,setSelectedKeys:eu.bind(es),selectedItems:eh}}var ek=ea(65367),eT=ea(48750);function useMultiSelectState(ei){let[eo,ea]=(0,em.useState)(!1),[es,eu]=(0,em.useState)(null),ec=(0,ek.W)(ei),ed=useMultiSelectListState({...ei,onSelectionChange:eo=>{null!=ei.onSelectionChange&&("all"===eo?ei.onSelectionChange(new Set(ed.collection.getKeys())):ei.onSelectionChange(eo)),"single"===ei.selectionMode&&ec.close()}}),ef=(0,eT.Q3)({...ei,validationBehavior:"native",value:ed.selectedKeys});return{...ef,...ed,...ec,focusStrategy:es,close(){ec.close()},open(ei=null){0!==ed.collection.size&&(eu(ei),ec.open())},toggle(ei=null){0!==ed.collection.size&&(eu(ei),ec.toggle(),ef.commitValidation())},isFocused:eo,setFocused:ea}}var eC=ea(43394),e_=ea(9975),eA=ea(15967),eO=ea(40945),eM=ea(54429),eR=ea(13553),ej=ea(3136),eN=ea(9188),eL=ea(11086);function useMultiSelect(ei,eo,ea){let{disallowEmptySelection:es,isDisabled:eu}=ei,ec=(0,eC.X)({usage:"search",sensitivity:"base"}),ed=(0,em.useMemo)(()=>new eM.d(eo.collection,eo.disabledKeys,null,ec),[eo.collection,eo.disabledKeys,ec]),{menuTriggerProps:ef,menuProps:eh}=(0,eO.u)({isDisabled:eu,type:"listbox"},eo,ea),triggerOnKeyDown=ei=>{if("single"===eo.selectionMode)switch(ei.key){case"ArrowLeft":{ei.preventDefault();let ea=eo.selectedKeys.size>0?ed.getKeyAbove(eo.selectedKeys.values().next().value):ed.getFirstKey();ea&&eo.setSelectedKeys([ea]);break}case"ArrowRight":{ei.preventDefault();let ea=eo.selectedKeys.size>0?ed.getKeyBelow(eo.selectedKeys.values().next().value):ed.getFirstKey();ea&&eo.setSelectedKeys([ea])}}},{typeSelectProps:ep}=(0,eR.i)({keyboardDelegate:ed,selectionManager:eo.selectionManager,onTypeSelect(ei){eo.setSelectedKeys([ei])}}),{isInvalid:eg,validationErrors:eb,validationDetails:ey}=eo.displayValidation,{labelProps:ew,fieldProps:ex,descriptionProps:eS,errorMessageProps:eE}=(0,eA.U)({...ei,labelElementType:"span",isInvalid:eg,errorMessage:ei.errorMessage||eb});ep.onKeyDown=ep.onKeyDownCapture,delete ep.onKeyDownCapture;let ek=(0,ej.z)(ei,{labelable:!0}),eT=(0,eP.d)(ep,ef,ex),eD=(0,eN.Me)();return{labelProps:{...ew,onClick:()=>{var eo;ei.isDisabled||(null==(eo=ea.current)||eo.focus(),(0,e_._w)("keyboard"))}},triggerProps:(0,eP.d)(ek,{...eT,onKeyDown:(0,eL.t)(eT.onKeyDown,triggerOnKeyDown,ei.onKeyDown),onKeyUp:ei.onKeyUp,"aria-labelledby":[eD,void 0!==ek["aria-label"]?void 0!==ek["aria-labelledby"]?ek["aria-labelledby"]:eT.id:eT["aria-labelledby"]].join(" "),onFocus(ea){eo.isFocused||(ei.onFocus&&ei.onFocus(ea),eo.setFocused(!0))},onBlur(ea){eo.isOpen||(ei.onBlur&&ei.onBlur(ea),eo.setFocused(!1))}}),valueProps:{id:eD},menuProps:{...eh,disallowEmptySelection:es,autoFocus:eo.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:ea=>{ea.currentTarget.contains(ea.relatedTarget)||(ei.onBlur&&ei.onBlur(ea),eo.setFocused(!1))},onFocus:null==eh?void 0:eh.onFocus,"aria-labelledby":[ex["aria-labelledby"],eT["aria-label"]&&!ex["aria-labelledby"]?eT.id:null].filter(Boolean).join(" ")},descriptionProps:eS,errorMessageProps:eE,isInvalid:eg,validationErrors:eb,validationDetails:ey}}var eD=ea(93387),eI=ea(73932),ez=new WeakMap;function useSelect(ei){var eo,ea,ec,ed,eE;let ek=(0,es.w)(),[eT,eC]=(0,eu.oe)(ei,ef.variantKeys),e_=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==ek?void 0:ek.disableAnimation)&&ea,{ref:eA,as:eO,label:eM,name:eR,isLoading:ej,selectorIcon:eN,isOpen:eL,defaultOpen:eB,onOpenChange:eF,startContent:eH,endContent:eU,description:eV,renderValue:eX,onSelectionChange:eq,placeholder:e$,children:eW,disallowEmptySelection:eK=!1,selectionMode:eG="single",spinnerRef:eZ,scrollRef:eJ,popoverProps:eY={},scrollShadowProps:eQ={},listboxProps:e0={},spinnerProps:e1={},validationState:e3,onChange:e8,onClose:e6,className:e5,classNames:e4,...e7}=eT,e9=(0,eh.gy)(eJ),tr={popoverProps:(0,eP.d)({placement:"bottom",triggerScaleOnOpen:!1,offset:5,disableAnimation:e_},eY),scrollShadowProps:(0,eP.d)({ref:e9,isEnabled:null==(ec=ei.showScrollIndicators)||ec,hideScrollBar:!0,offset:15},eQ),listboxProps:(0,eP.d)({disableAnimation:e_},e0)},tn=eO||"button",ti="string"==typeof tn,ta=(0,eh.gy)(eA),ts=(0,em.useRef)(null),tl=(0,em.useRef)(null),tu=(0,em.useRef)(null),tc=useMultiSelectState({...eT,isOpen:eL,selectionMode:eG,disallowEmptySelection:eK,children:eW,isRequired:ei.isRequired,isDisabled:ei.isDisabled,defaultOpen:eB,onOpenChange:ei=>{null==eF||eF(ei),ei||null==e6||e6()},onSelectionChange:ei=>{if(null==eq||eq(ei),e8&&"function"==typeof e8&&ta.current){let eo={target:{...ta.current,value:Array.from(ei).join(","),name:ta.current.name}};e8(eo)}}});tc={...tc,...ei.isDisabled&&{disabledKeys:new Set([...tc.collection.getKeys()])}},(0,eD.G)(()=>{var ei;(null==(ei=ta.current)?void 0:ei.value)&&tc.setSelectedKeys(new Set([...tc.selectedKeys,ta.current.value]))},[ta.current]);let{labelProps:td,triggerProps:tf,valueProps:th,menuProps:tp,descriptionProps:tm,errorMessageProps:tg,isInvalid:tb,validationErrors:ty,validationDetails:tw}=useMultiSelect({...eT,disallowEmptySelection:eK,isDisabled:ei.isDisabled},tc,ts),tx=ei.isInvalid||"invalid"===e3||tb,{isPressed:tP,buttonProps:tS}=(0,eg.j)(tf,ts),{focusProps:tE,isFocused:tk,isFocusVisible:tT}=(0,eb.F)(),{isHovered:tC,hoverProps:t_}=(0,eS.X)({isDisabled:ei.isDisabled}),tA=(0,em.useMemo)(()=>{var eo;return ei.labelPlacement&&"inside"!==ei.labelPlacement||eM?null!=(eo=ei.labelPlacement)?eo:"inside":"outside"},[ei.labelPlacement,eM]),tO=!!e$,tM="outside-left"===tA||"outside"===tA&&(tO||!!ei.isMultiline),tR="inside"===tA,tj="outside-left"===tA,tN=tc.isOpen||tO||!!(null==(ed=tc.selectedItems)?void 0:ed.length)||!!eH||!!eU||!!ei.isMultiline,tL=!!(null==(eE=tc.selectedItems)?void 0:eE.length),tD=!!eM,tI=(0,ey.W)(null==e4?void 0:e4.base,e5),tz=(0,em.useMemo)(()=>ef({...eC,isInvalid:tx,labelPlacement:tA,disableAnimation:e_,className:e5}),[(0,ew.Xx)(eC),tx,tA,e_,e5]);(0,em.useEffect)(()=>{if(tc.isOpen&&tu.current&&tl.current){let ei=tl.current.querySelector("[aria-selected=true] [data-label=true]"),eo=e9.current;if(ei&&eo&&ei.parentElement){let ea=(null==eo?void 0:eo.getBoundingClientRect()).height;eo.scrollTop=ei.parentElement.offsetTop-ea/2+ei.parentElement.clientHeight/2}}},[tc.isOpen,e_]);let tB="function"==typeof eT.errorMessage?eT.errorMessage({isInvalid:tx,validationErrors:ty,validationDetails:tw}):eT.errorMessage||(null==ty?void 0:ty.join(" ")),tF=!!eV||!!tB;(0,em.useEffect)(()=>{if(tc.isOpen&&tu.current&&ts.current){let ei=ts.current.getBoundingClientRect();tu.current.style.width=ei.width+"px"}},[tc.isOpen]);let tH=(0,em.useCallback)((ei={})=>({"data-slot":"base","data-filled":(0,ex.PB)(tN),"data-has-value":(0,ex.PB)(tL),"data-has-label":(0,ex.PB)(tD),"data-has-helper":(0,ex.PB)(tF),"data-invalid":(0,ex.PB)(tx),className:tz.base({class:(0,ey.W)(tI,ei.className)}),...ei}),[tz,tF,tL,tD,tN,tI]),tU=(0,em.useCallback)((eo={})=>({ref:ts,"data-slot":"trigger","data-open":(0,ex.PB)(tc.isOpen),"data-disabled":(0,ex.PB)(null==ei?void 0:ei.isDisabled),"data-focus":(0,ex.PB)(tk),"data-pressed":(0,ex.PB)(tP),"data-focus-visible":(0,ex.PB)(tT),"data-hover":(0,ex.PB)(tC),className:tz.trigger({class:null==e4?void 0:e4.trigger}),...(0,eP.d)(tS,tE,t_,(0,ep.z)(e7,{enabled:ti}),(0,ep.z)(eo))}),[tz,ts,tc.isOpen,null==e4?void 0:e4.trigger,null==ei?void 0:ei.isDisabled,tk,tP,tT,tC,tS,tE,t_,e7,ti]),tV=(0,em.useCallback)((eo={})=>({state:tc,triggerRef:ts,selectRef:ta,selectionMode:eG,label:null==ei?void 0:ei.label,name:null==ei?void 0:ei.name,isRequired:null==ei?void 0:ei.isRequired,autoComplete:null==ei?void 0:ei.autoComplete,isDisabled:null==ei?void 0:ei.isDisabled,onChange:e8,...eo}),[tc,eG,null==ei?void 0:ei.label,null==ei?void 0:ei.autoComplete,null==ei?void 0:ei.name,null==ei?void 0:ei.isDisabled,ts]),tX=(0,em.useCallback)((ei={})=>({"data-slot":"label",className:tz.label({class:(0,ey.W)(null==e4?void 0:e4.label,ei.className)}),...td,...ei}),[tz,null==e4?void 0:e4.label,td]),tq=(0,em.useCallback)((ei={})=>({"data-slot":"value",className:tz.value({class:(0,ey.W)(null==e4?void 0:e4.value,ei.className)}),...th,...ei}),[tz,null==e4?void 0:e4.value,th]),t$=(0,em.useCallback)((ei={})=>({"data-slot":"listboxWrapper",className:tz.listboxWrapper({class:(0,ey.W)(null==e4?void 0:e4.listboxWrapper,null==ei?void 0:ei.className)}),...(0,eP.d)(tr.scrollShadowProps,ei)}),[tz.listboxWrapper,null==e4?void 0:e4.listboxWrapper,tr.scrollShadowProps]),getListboxProps=(ei={})=>({state:tc,ref:tl,"data-slot":"listbox",className:tz.listbox({class:(0,ey.W)(null==e4?void 0:e4.listbox,null==ei?void 0:ei.className)}),...(0,eP.d)(tr.listboxProps,ei,tp)}),tW=(0,em.useCallback)((ei={})=>{var eo,ea;let es=(0,eP.d)(tr.popoverProps,ei);return{state:tc,triggerRef:ts,ref:tu,"data-slot":"popover",scrollRef:tl,triggerType:"listbox",classNames:{content:tz.popoverContent({class:(0,ey.W)(null==e4?void 0:e4.popoverContent,ei.className)})},...es,offset:tc.selectedItems&&tc.selectedItems.length>0?1e-8*tc.selectedItems.length+((null==(eo=tr.popoverProps)?void 0:eo.offset)||0):null==(ea=tr.popoverProps)?void 0:ea.offset,shouldCloseOnInteractOutside:(null==es?void 0:es.shouldCloseOnInteractOutside)?es.shouldCloseOnInteractOutside:ei=>(0,eI.J)(ei,ta,tc)}},[tz,null==e4?void 0:e4.popoverContent,tr.popoverProps,ts,tc,tc.selectedItems]),tK=(0,em.useCallback)(()=>({"data-slot":"selectorIcon","aria-hidden":(0,ex.PB)(!0),"data-open":(0,ex.PB)(tc.isOpen),className:tz.selectorIcon({class:null==e4?void 0:e4.selectorIcon})}),[tz,null==e4?void 0:e4.selectorIcon,tc.isOpen]),tG=(0,em.useCallback)((ei={})=>({...ei,"data-slot":"innerWrapper",className:tz.innerWrapper({class:(0,ey.W)(null==e4?void 0:e4.innerWrapper,null==ei?void 0:ei.className)})}),[tz,null==e4?void 0:e4.innerWrapper]),tZ=(0,em.useCallback)((ei={})=>({...ei,"data-slot":"helperWrapper",className:tz.helperWrapper({class:(0,ey.W)(null==e4?void 0:e4.helperWrapper,null==ei?void 0:ei.className)})}),[tz,null==e4?void 0:e4.helperWrapper]),tJ=(0,em.useCallback)((ei={})=>({...ei,...tm,"data-slot":"description",className:tz.description({class:(0,ey.W)(null==e4?void 0:e4.description,null==ei?void 0:ei.className)})}),[tz,null==e4?void 0:e4.description]),tY=(0,em.useCallback)((ei={})=>({...ei,"data-slot":"mainWrapper",className:tz.mainWrapper({class:(0,ey.W)(null==e4?void 0:e4.mainWrapper,null==ei?void 0:ei.className)})}),[tz,null==e4?void 0:e4.mainWrapper]),tQ=(0,em.useCallback)((ei={})=>({...ei,...tg,"data-slot":"errorMessage",className:tz.errorMessage({class:(0,ey.W)(null==e4?void 0:e4.errorMessage,null==ei?void 0:ei.className)})}),[tz,tg,null==e4?void 0:e4.errorMessage]),t0=(0,em.useCallback)((ei={})=>({"aria-hidden":(0,ex.PB)(!0),"data-slot":"spinner",color:"current",size:"sm",...e1,...ei,ref:eZ,className:tz.spinner({class:(0,ey.W)(null==e4?void 0:e4.spinner,null==ei?void 0:ei.className)})}),[tz,eZ,e1,null==e4?void 0:e4.spinner]);return ez.set(tc,{isDisabled:null==ei?void 0:ei.isDisabled,isRequired:null==ei?void 0:ei.isRequired,name:null==ei?void 0:ei.name,validationBehavior:"native"}),{Component:tn,domRef:ta,state:tc,label:eM,name:eR,triggerRef:ts,isLoading:ej,placeholder:e$,startContent:eH,endContent:eU,description:eV,selectorIcon:eN,hasHelper:tF,labelPlacement:tA,hasPlaceholder:tO,renderValue:eX,selectionMode:eG,disableAnimation:e_,isOutsideLeft:tj,shouldLabelBeOutside:tM,shouldLabelBeInside:tR,isInvalid:tx,errorMessage:tB,getBaseProps:tH,getTriggerProps:tU,getLabelProps:tX,getValueProps:tq,getListboxProps,getPopoverProps:tW,getSpinnerProps:t0,getMainWrapperProps:tY,getListboxWrapperProps:t$,getHiddenSelectProps:tV,getInnerWrapperProps:tG,getHelperWrapperProps:tZ,getDescriptionProps:tJ,getErrorMessageProps:tQ,getSelectorIconProps:tK}}var eB=ea(85952),eF=ea(73699),eH=ea(14868),eU=ea(85893);function useHiddenSelect(ei,eo,ea){var es,eu;let ec=ez.get(eo)||{},{autoComplete:ed,name:ef=ec.name,isDisabled:eh=ec.isDisabled,selectionMode:ep,onChange:em}=ei,{validationBehavior:eg,isRequired:eb}=ec,ey=(0,e_.Kf)(),{visuallyHiddenProps:ew}=(0,eF.S)();return(0,eB.y)(ei.selectRef,eo.selectedKeys,eo.setSelectedKeys),(0,eH.Q)({validationBehavior:eg,focus:()=>{var ei;return null==(ei=ea.current)?void 0:ei.focus()}},eo,ei.selectRef),{containerProps:{...ew,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:null==ey||eo.isFocused||eo.isOpen?-1:0,autoComplete:ed,value:null!=(es=[...eo.selectedKeys].join(","))?es:"",required:eb,style:{fontSize:16},onFocus:()=>{var ei;return null==(ei=ea.current)?void 0:ei.focus()},disabled:eh,onChange:()=>{}},selectProps:{name:ef,tabIndex:-1,autoComplete:ed,disabled:eh,size:eo.collection.size,value:"multiple"===ep?[...eo.selectedKeys].map(ei=>String(ei)):null!=(eu=[...eo.selectedKeys][0])?eu:"",multiple:"multiple"===ep,onChange:ei=>{eo.setSelectedKeys(ei.target.value),null==em||em(ei)}}}}function HiddenSelect(ei){var eo;let{state:ea,triggerRef:es,selectRef:eu,label:ec,name:ed,isDisabled:ef}=ei,{containerProps:eh,inputProps:ep,selectProps:em}=useHiddenSelect({...ei,selectRef:eu},ea,es);return ea.collection.size<=300?(0,eU.jsxs)("div",{...eh,"data-testid":"hidden-select-container",children:[(0,eU.jsx)("input",{...ep}),(0,eU.jsxs)("label",{children:[ec,(0,eU.jsxs)("select",{...em,ref:eu,children:[(0,eU.jsx)("option",{}),[...ea.collection.getKeys()].map(ei=>{let eo=ea.collection.getItem(ei);if((null==eo?void 0:eo.type)==="item")return(0,eU.jsx)("option",{value:eo.key,children:eo.textValue},eo.key)})]})]})]}):ed?(0,eU.jsx)("input",{autoComplete:em.autoComplete,disabled:ef,name:ed,type:"hidden",value:null!=(eo=[...ea.selectedKeys].join(","))?eo:""}):null}var eV=ea(66058),eX=ea(21499),eq=ea(85688),e$=ea(82203),eW=ea(81239),eK=ea(82703);function Select(ei,eo){let{Component:ea,state:es,label:eu,hasHelper:ec,isLoading:ed,triggerRef:ef,selectorIcon:eh=(0,eU.jsx)(eq.v,{}),description:ep,errorMessage:eg,isInvalid:eb,startContent:ey,endContent:ew,placeholder:ex,renderValue:eP,isOutsideLeft:eS,disableAnimation:eE,getBaseProps:ek,getLabelProps:eT,getTriggerProps:eC,getValueProps:e_,getListboxProps:eA,getPopoverProps:eO,getSpinnerProps:eM,getMainWrapperProps:eR,getInnerWrapperProps:ej,getHiddenSelectProps:eN,getHelperWrapperProps:eL,getListboxWrapperProps:eD,getDescriptionProps:eI,getErrorMessageProps:ez,getSelectorIconProps:eB}=useSelect({...ei,ref:eo}),eH=eu?(0,eU.jsx)("label",{...eT(),children:eu}):null,eG=(0,em.cloneElement)(eh,eB()),eZ=(0,em.useMemo)(()=>ec?(0,eU.jsx)("div",{...eL(),children:eb&&eg?(0,eU.jsx)("div",{...ez(),children:eg}):ep?(0,eU.jsx)("div",{...eI(),children:ep}):null}):null,[ec,eb,eg,ep,eL,ez,eI]),eJ=(0,em.useMemo)(()=>{var ei;if(!(null==(ei=es.selectedItems)?void 0:ei.length))return ex;if(eP&&"function"==typeof eP){let ei=[...es.selectedItems].map(ei=>({key:ei.key,data:ei.value,type:ei.type,props:ei.props,textValue:ei.textValue,rendered:ei.rendered,"aria-label":ei["aria-label"]}));return eP(ei)}return es.selectedItems.map(ei=>ei.textValue).join(", ")},[es.selectedItems,eP,ex]),eY=(0,em.useMemo)(()=>ed?(0,eU.jsx)(e$.c,{...eM()}):eG,[ed,eG,eM]),eQ=(0,em.useMemo)(()=>es.isOpen?(0,eU.jsx)(eX.q,{...eO(),children:(0,eU.jsx)(eW.o,{...eD(),children:(0,eU.jsx)(eV.X,{...eA()})})}):null,[es.isOpen,eO,es,ef,eD,eA]);return(0,eU.jsxs)("div",{...ek(),children:[(0,eU.jsx)(HiddenSelect,{...eN()}),eS?eH:null,(0,eU.jsxs)("div",{...eR(),children:[(0,eU.jsxs)(ea,{...eC(),children:[eS?null:eH,(0,eU.jsxs)("div",{...ej(),children:[ey,(0,eU.jsx)("span",{...e_(),children:eJ}),ew&&es.selectedItems&&(0,eU.jsx)(eF.T,{elementType:"span",children:","}),ew]}),eY]}),eZ]}),eE?eQ:(0,eU.jsx)(eK.M,{children:eQ})]})}var eG=(0,eu.Gp)(Select);Select.displayName="NextUI.Select"},85688:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return ChevronDownIcon}});var es=ea(85893),ChevronDownIcon=({strokeWidth:ei=1.5,...eo})=>(0,es.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:ei,viewBox:"0 0 24 24",width:"1em",...eo,children:(0,es.jsx)("path",{d:"m6 9 6 6 6-6"})})},36569:function(ei,eo,ea){"use strict";ea.d(eo,{T:function(){return CloseIcon}});var es=ea(85893),CloseIcon=ei=>{let{isSelected:eo,isIndeterminate:ea,disableAnimation:eu,...ec}=ei;return(0,es.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...ec,children:(0,es.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})}},57897:function(ei,eo,ea){"use strict";ea.d(eo,{f:function(){return CloseFilledIcon}});var es=ea(85893),CloseFilledIcon=ei=>(0,es.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...ei,children:(0,es.jsx)("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})})},49869:function(ei,eo,ea){"use strict";function toVal(ei){var eo,ea,es="";if("string"==typeof ei||"number"==typeof ei)es+=ei;else if("object"==typeof ei){if(Array.isArray(ei))for(eo=0;eo<ei.length;eo++)ei[eo]&&(ea=toVal(ei[eo]))&&(es&&(es+=" "),es+=ea);else for(eo in ei)ei[eo]&&(es&&(es+=" "),es+=eo)}return es}function clsx(...ei){for(var eo,ea,es=0,eu="";es<ei.length;)(eo=ei[es++])&&(ea=toVal(eo))&&(eu&&(eu+=" "),eu+=ea);return eu}ea.d(eo,{W:function(){return clsx}})},54720:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return safeText},x:function(){return safeAriaLabel}});var safeText=ei=>(null==ei?void 0:ei.length)<=4?ei:null==ei?void 0:ei.slice(0,3),safeAriaLabel=(...ei)=>{let eo=" ";for(let ea of ei)if("string"==typeof ea&&ea.length>0){eo=ea;break}return eo}},50262:function(ei,eo,ea){"use strict";ea.d(eo,{PB:function(){return dataAttr},Ts:function(){return es},mf:function(){return isFunction},xb:function(){return isEmpty}});var es=!1;function isArray(ei){return Array.isArray(ei)}function isEmptyArray(ei){return isArray(ei)&&0===ei.length}function isObject(ei){let eo=typeof ei;return null!=ei&&("object"===eo||"function"===eo)&&!isArray(ei)}function isEmptyObject(ei){return isObject(ei)&&0===Object.keys(ei).length}function isEmpty(ei){return isArray(ei)?isEmptyArray(ei):isObject(ei)?isEmptyObject(ei):null==ei||""===ei}function isFunction(ei){return"function"==typeof ei}var dataAttr=ei=>ei?"true":void 0},80711:function(ei,eo,ea){"use strict";function range(ei,eo){let ea=eo-ei+1;return Array.from({length:ea},(eo,ea)=>ea+ei)}function clamp(ei,eo,ea){return Math.min(Math.max(ei,eo),ea)}function clampPercentage(ei,eo=100){return Math.min(Math.max(ei,0),eo)}ea.d(eo,{Ez:function(){return clampPercentage},uZ:function(){return clamp},w6:function(){return range}})},52046:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return warn}});var es=ea(34155),eu={};function warn(ei,eo,...ea){var ec;let ed=eo?` [${eo}]`:" ",ef=`[Next UI]${ed}: ${ei}`;if("undefined"!=typeof console&&!eu[ef]&&(eu[ef]=!0,(null==(ec=null==es?void 0:es.env)?void 0:ec.NODE_ENV)!=="production"))return console.warn(ef,ea)}},49037:function(ei,eo,ea){"use strict";ea.d(eo,{Os:function(){return removeEvents},QI:function(){return getUniqueID},Xx:function(){return objectToDeps},kC:function(){return capitalize},v0:function(){return callAllHandlers}});var capitalize=ei=>ei.charAt(0).toUpperCase()+ei.slice(1);function callAllHandlers(...ei){return function(eo){ei.some(ei=>(null==ei||ei(eo),null==eo?void 0:eo.defaultPrevented))}}function getUniqueID(ei){return`${ei}-${Math.floor(1e6*Math.random())}`}function removeEvents(ei){for(let eo in ei)eo.startsWith("on")&&delete ei[eo];return ei}function objectToDeps(ei){if(!ei||"object"!=typeof ei)return"";try{return JSON.stringify(ei)}catch(ei){return""}}},90207:function(ei,eo,ea){"use strict";ea.d(eo,{q:function(){return eb}});var es={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},eu=ea(15607),ec=(0,ea(82189).tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),ed=ea(49037),ef=ea(50262),eh=ea(49869),ep=ea(67294),getMargin=ei=>{var eo;return null!=(eo=es[ei])?eo:ei};function useSpacer(ei){let[eo,ea]=(0,eu.oe)(ei,ec.variantKeys),{as:es,className:em,x:eg=1,y:eb=1,...ey}=eo,ew=es||"span",ex=(0,ep.useMemo)(()=>ec({...ea,className:em}),[(0,ed.Xx)(ea),em]),eP=getMargin(eg),eS=getMargin(eb),getSpacerProps=(ei={})=>({...ei,...ey,"aria-hidden":(0,ef.PB)(!0),className:(0,eh.W)(ex,ei.className),style:{...ei.style,...ey.style,marginLeft:eP,marginTop:eS}});return{Component:ew,getSpacerProps}}var em=ea(85893),eg=(0,eu.Gp)((ei,eo)=>{let{Component:ea,getSpacerProps:es}=useSpacer({...ei});return(0,em.jsx)(ea,{ref:eo,...es()})});eg.displayName="NextUI.Spacer";var eb=eg},82203:function(ei,eo,ea){"use strict";ea.d(eo,{c:function(){return em}});var es=ea(15607),eu=ea(79400),ec=ea(49037),ed=ea(49869),ef=ea(67294);function useSpinner(ei){let[eo,ea]=(0,es.oe)(ei,eu.l.variantKeys),{children:eh,className:ep,classNames:em,label:eg,...eb}=eo,ey=(0,ef.useMemo)(()=>(0,eu.l)({...ea}),[(0,ec.Xx)(ea)]),ew=(0,ed.W)(null==em?void 0:em.base,ep),ex=eg||eh,eP=(0,ef.useMemo)(()=>ex&&"string"==typeof ex?ex:eb["aria-label"]?"":"Loading",[eh,ex,eb["aria-label"]]),eS=(0,ef.useCallback)(()=>({"aria-label":eP,className:ey.base({class:ew}),...eb}),[eP,ey,ew,eb]);return{label:ex,slots:ey,classNames:em,getSpinnerProps:eS}}var eh=ea(85893),ep=(0,es.Gp)((ei,eo)=>{let{slots:ea,classNames:es,label:eu,getSpinnerProps:ec}=useSpinner({...ei});return(0,eh.jsxs)("div",{ref:eo,...ec(),children:[(0,eh.jsxs)("div",{className:ea.wrapper({class:null==es?void 0:es.wrapper}),children:[(0,eh.jsx)("i",{className:ea.circle1({class:null==es?void 0:es.circle1})}),(0,eh.jsx)("i",{className:ea.circle2({class:null==es?void 0:es.circle2})})]}),eu&&(0,eh.jsx)("span",{className:ea.label({class:null==es?void 0:es.label}),children:eu})]})});ep.displayName="NextUI.Spinner";var em=ep},48781:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return eO}});var es=ea(67294),eu=ea(76733),ec=ea(15607),ed=ea(48255),ef=ea(93387),eh=ea(18419),ep=ea(2317),em=ea(82189),eg=ea(65512),eb=(0,em.tv)({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...eg.ID],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 rtl:right-1.5 rtl:left-[unset] text-current",endContent:"z-0 absolute right-1.5 rtl:left-1.5 rtl:right-[unset] text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2 rtl:ml-2 rtl:mr-[unset]",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2 rtl:ml-2 rtl:mr-[unset]",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2 rtl:ml-2 rtl:mr-[unset]",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),ey=ea(37127),ew=ea(11086),ex=ea(49037),eP=ea(49869),eS=ea(50262),eE=ea(31801);function $b418ec0c85c52f27$export$d853f7095ae95f88(ei,eo,ea){let{labelProps:es,inputProps:eu,isSelected:ec,isPressed:ed,isDisabled:ef,isReadOnly:eh}=(0,eE.O)(ei,eo,ea);return{labelProps:es,inputProps:{...eu,role:"switch",checked:ec},isSelected:ec,isPressed:ed,isDisabled:ef,isReadOnly:eh}}var ek=ea(74619),eT=ea(2459);function useSwitch(ei={}){var eo,ea;let em=(0,eu.w)(),[eg,eE]=(0,ec.oe)(ei,eb.variantKeys),{ref:eC,as:e_,name:eA,value:eO="",isReadOnly:eM=!1,autoFocus:eR=!1,startContent:ej,endContent:eN,defaultSelected:eL,isSelected:eD,children:eI,thumbIcon:ez,className:eB,classNames:eF,onChange:eH,onValueChange:eU,...eV}=eg,eX=e_||"label",eq=(0,es.useRef)(null),e$=(0,es.useRef)(null),eW=null!=(ea=null!=(eo=ei.disableAnimation)?eo:null==em?void 0:em.disableAnimation)&&ea,eK=(0,es.useId)(),eG=(0,es.useMemo)(()=>{let eo=eV["aria-label"]||"string"==typeof eI?eI:void 0;return{name:eA,value:eO,children:eI,autoFocus:eR,defaultSelected:eL,isSelected:eD,isDisabled:!!ei.isDisabled,isReadOnly:eM,"aria-label":eo,"aria-labelledby":eV["aria-labelledby"]||eK,onChange:eU}},[eO,eA,eK,eI,eR,eM,eD,eL,ei.isDisabled,eV["aria-label"],eV["aria-labelledby"],eU]),eZ=(0,ek.l)(eG);(0,ef.G)(()=>{if(!e$.current)return;let ei=!!e$.current.checked;eZ.setSelected(ei)},[e$.current]);let{inputProps:eJ,isPressed:eY,isReadOnly:eQ}=$b418ec0c85c52f27$export$d853f7095ae95f88(eG,eZ,e$),{focusProps:e0,isFocused:e1,isFocusVisible:e3}=(0,eT.F)({autoFocus:eJ.autoFocus}),{hoverProps:e8,isHovered:e6}=(0,eh.X)({isDisabled:eJ.disabled}),e5=eG.isDisabled||eQ,[e4,e7]=(0,es.useState)(!1),{pressProps:e9}=(0,ep.r)({isDisabled:e5,onPressStart(ei){"keyboard"!==ei.pointerType&&e7(!0)},onPressEnd(ei){"keyboard"!==ei.pointerType&&e7(!1)}}),tr=!e5&&(e4||eY),tn=eJ.checked,ti=eJ.disabled,ta=(0,es.useMemo)(()=>eb({...eE,disableAnimation:eW}),[(0,ex.Xx)(eE),eW]),ts=(0,eP.W)(null==eF?void 0:eF.base,eB),getBaseProps=ei=>({...(0,ey.d)(e8,e9,eV,ei),ref:eq,className:ta.base({class:(0,eP.W)(ts,null==ei?void 0:ei.className)}),"data-disabled":(0,eS.PB)(ti),"data-selected":(0,eS.PB)(tn),"data-readonly":(0,eS.PB)(eQ),"data-focus":(0,eS.PB)(e1),"data-focus-visible":(0,eS.PB)(e3),"data-hover":(0,eS.PB)(e6),"data-pressed":(0,eS.PB)(tr)}),tl=(0,es.useCallback)((ei={})=>({...ei,"aria-hidden":!0,className:(0,eP.W)(ta.wrapper({class:(0,eP.W)(null==eF?void 0:eF.wrapper,null==ei?void 0:ei.className)}))}),[ta,null==eF?void 0:eF.wrapper]),getInputProps=(ei={})=>({...(0,ey.d)(eJ,e0,ei),ref:(0,ed.l)(e$,eC),id:eJ.id,onChange:(0,ew.t)(eH,eJ.onChange)}),tu=(0,es.useCallback)((ei={})=>({...ei,className:ta.thumb({class:(0,eP.W)(null==eF?void 0:eF.thumb,null==ei?void 0:ei.className)})}),[ta,null==eF?void 0:eF.thumb]),tc=(0,es.useCallback)((ei={})=>({...ei,id:eK,className:ta.label({class:(0,eP.W)(null==eF?void 0:eF.label,null==ei?void 0:ei.className)})}),[ta,null==eF?void 0:eF.label,ti,tn]),td=(0,es.useCallback)((ei={includeStateProps:!1})=>(0,ey.d)({width:"1em",height:"1em",className:ta.thumbIcon({class:(0,eP.W)(null==eF?void 0:eF.thumbIcon)})},ei.includeStateProps?{isSelected:tn}:{}),[ta,null==eF?void 0:eF.thumbIcon,tn]),tf=(0,es.useCallback)((ei={})=>({width:"1em",height:"1em",...ei,className:ta.startContent({class:(0,eP.W)(null==eF?void 0:eF.startContent,null==ei?void 0:ei.className)})}),[ta,null==eF?void 0:eF.startContent,tn]),th=(0,es.useCallback)((ei={})=>({width:"1em",height:"1em",...ei,className:ta.endContent({class:(0,eP.W)(null==eF?void 0:eF.endContent,null==ei?void 0:ei.className)})}),[ta,null==eF?void 0:eF.endContent,tn]);return{Component:eX,slots:ta,classNames:eF,domRef:eq,children:eI,thumbIcon:ez,startContent:ej,endContent:eN,isHovered:e6,isSelected:tn,isPressed:tr,isFocused:e1,isFocusVisible:e3,isDisabled:ti,getBaseProps,getWrapperProps:tl,getInputProps,getLabelProps:tc,getThumbProps:tu,getThumbIconProps:td,getStartContentProps:tf,getEndContentProps:th}}var eC=ea(73699),e_=ea(85893),eA=(0,ec.Gp)((ei,eo)=>{let{Component:ea,children:eu,startContent:ec,endContent:ed,thumbIcon:ef,getBaseProps:eh,getInputProps:ep,getWrapperProps:em,getThumbProps:eg,getThumbIconProps:eb,getLabelProps:ey,getStartContentProps:ew,getEndContentProps:ex}=useSwitch({...ei,ref:eo}),eP="function"==typeof ef?ef(eb({includeStateProps:!0})):ef&&(0,es.cloneElement)(ef,eb()),eS=ec&&(0,es.cloneElement)(ec,ew()),eE=ed&&(0,es.cloneElement)(ed,ex());return(0,e_.jsxs)(ea,{...eh(),children:[(0,e_.jsx)(eC.T,{elementType:"span",children:(0,e_.jsx)("input",{...ep()})}),(0,e_.jsxs)("span",{...em(),children:[ec&&eS,(0,e_.jsx)("span",{...eg(),children:ef&&eP}),ed&&eE]}),eu&&(0,e_.jsx)("span",{...ey(),children:eu})]})});eA.displayName="NextUI.Switch";var eO=eA},15607:function(ei,eo,ea){"use strict";ea.d(eo,{Gp:function(){return forwardRef},oe:function(){return mapPropsVariants}});var es=ea(67294);function forwardRef(ei){return(0,es.forwardRef)(ei)}var mapPropsVariants=(ei,eo,ea=!0)=>{if(!eo)return[ei,{}];let es=eo.reduce((eo,ea)=>ea in ei?{...eo,[ea]:ei[ea]}:eo,{});if(!ea)return[ei,es];{let ea=Object.keys(ei).filter(ei=>!eo.includes(ei)).reduce((eo,ea)=>({...eo,[ea]:ei[ea]}),{});return[ea,es]}}},76733:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return es},w:function(){return eu}});var[es,eu]=(0,ea(46347).k)({name:"ProviderContext",strict:!1})},43649:function(ei,eo,ea){"use strict";ea.d(eo,{J:function(){return es}});var es={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},25083:function(ei,eo,ea){"use strict";ea.d(eo,{D9:function(){return ed},Dk:function(){return ef},GI:function(){return ec}});var es=ea(82189),eu=ea(65512),ec=(0,es.tv)({slots:{base:"w-full relative flex flex-col gap-1 p-1",list:"w-full flex flex-col gap-0.5 outline-none",emptyContent:["h-10","px-2","py-1.5","w-full","h-full","text-foreground-400","text-start"]}}),ed=(0,es.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","subpixel-antialiased","outline-none","cursor-pointer","tap-highlight-transparent",...eu.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal truncate",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:["border-small border-transparent hover:border-default data-[hover=true]:bg-default-100","data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"]},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},showDivider:{true:{base:["mb-1.5","after:content-['']","after:absolute","after:-bottom-1","after:left-0","after:right-0","after:h-divider","after:bg-divider"]},false:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{base:"data-[hover=true]:transition-colors"}}},defaultVariants:{variant:"solid",color:"default",showDivider:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:["data-[hover=true]:bg-default","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"solid",color:"primary",class:{base:["data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"solid",color:"secondary",class:{base:["data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"solid",color:"success",class:{base:["data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"solid",color:"warning",class:{base:["data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"solid",color:"danger",class:{base:["data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"shadow",color:"default",class:{base:["data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"]}},{variant:"shadow",color:"primary",class:{base:["data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"shadow",color:"secondary",class:{base:["data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"shadow",color:"success",class:{base:["data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"shadow",color:"warning",class:{base:["data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"shadow",color:"danger",class:{base:["data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"bordered",color:"default",class:{base:["data-[hover=true]:border-default","data-[selectable=true]:focus:border-default"]}},{variant:"bordered",color:"primary",class:{base:["data-[hover=true]:border-primary data-[hover=true]:text-primary","data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"]}},{variant:"bordered",color:"secondary",class:{base:["data-[hover=true]:border-secondary data-[hover=true]:text-secondary","data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"]}},{variant:"bordered",color:"success",class:{base:["data-[hover=true]:border-success data-[hover=true]:text-success","data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"]}},{variant:"bordered",color:"warning",class:{base:["data-[hover=true]:border-warning data-[hover=true]:text-warning","data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"]}},{variant:"bordered",color:"danger",class:{base:["data-[hover=true]:border-danger data-[hover=true]:text-danger","data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"]}},{variant:"flat",color:"default",class:{base:["data-[hover=true]:bg-default/40","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default/40","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"flat",color:"primary",class:{base:["data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary","data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"]}},{variant:"flat",color:"secondary",class:{base:["data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary","data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"]}},{variant:"flat",color:"success",class:{base:["data-[hover=true]:bg-success/20 data-[hover=true]:text-success","data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"]}},{variant:"flat",color:"warning",class:{base:["data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning","data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"]}},{variant:"flat",color:"danger",class:{base:["data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger","data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"]}},{variant:"faded",color:"default",class:{base:["data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"faded",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"faded",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"faded",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"faded",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"faded",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}},{variant:"light",color:"default",class:{base:["data-[hover=true]:text-default-500","data-[selectable=true]:focus:text-default-500"]}},{variant:"light",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"light",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"light",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"light",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"light",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}}]}),ef=(0,es.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}})},79400:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return es}});var es=(0,ea(82189).tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}})},76978:function(ei,eo,ea){"use strict";ea.d(eo,{B:function(){return eu}});var es=["small","medium","large"],eu={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:es,borderRadius:es},classGroups:{shadow:[{shadow:es}],"font-size":[{text:["tiny",...es]}],"bg-image":["bg-stripe-gradient"]}}},53280:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return ed},z:function(){return ef}});var es=ea(43649),eu=ea(82189),ec=ea(65512),ed=(0,eu.tv)({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...ec.Dh],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...ec.z6,"flex","items-center","justify-center"],name:[...ec.z6,"font-normal","text-center","text-inherit"],icon:[...ec.z6,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:es.J.solid.default},primary:{base:es.J.solid.primary},secondary:{base:es.J.solid.secondary},success:{base:es.J.solid.success},warning:{base:es.J.solid.warning},danger:{base:es.J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}},disableAnimation:{true:{base:"transition-none",img:"transition-none"},false:{}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]}),ef=(0,eu.tv)({slots:{base:"flex items-center justify-center h-auto w-max",count:"hover:-translate-x-0"},variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}})},33805:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return ed}});var es=ea(43649),eu=ea(82189),ec=ea(65512),ed=(0,eu.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...ec.Dh],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:es.J.solid.foreground},primary:{base:"before:bg-primary",content:es.J.solid.primary},secondary:{base:"before:bg-secondary",content:es.J.solid.secondary},success:{base:"before:bg-success",content:es.J.solid.success},warning:{base:"before:bg-warning",content:es.J.solid.warning},danger:{base:"before:bg-danger",content:es.J.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]})},61353:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return ef},L:function(){return ed}});var es=ea(43649),eu=ea(82189),ec=ea(65512),ed=(0,eu.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...ec.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:es.J.solid.default},{variant:"solid",color:"primary",class:es.J.solid.primary},{variant:"solid",color:"secondary",class:es.J.solid.secondary},{variant:"solid",color:"success",class:es.J.solid.success},{variant:"solid",color:"warning",class:es.J.solid.warning},{variant:"solid",color:"danger",class:es.J.solid.danger},{variant:"shadow",color:"default",class:es.J.shadow.default},{variant:"shadow",color:"primary",class:es.J.shadow.primary},{variant:"shadow",color:"secondary",class:es.J.shadow.secondary},{variant:"shadow",color:"success",class:es.J.shadow.success},{variant:"shadow",color:"warning",class:es.J.shadow.warning},{variant:"shadow",color:"danger",class:es.J.shadow.danger},{variant:"bordered",color:"default",class:es.J.bordered.default},{variant:"bordered",color:"primary",class:es.J.bordered.primary},{variant:"bordered",color:"secondary",class:es.J.bordered.secondary},{variant:"bordered",color:"success",class:es.J.bordered.success},{variant:"bordered",color:"warning",class:es.J.bordered.warning},{variant:"bordered",color:"danger",class:es.J.bordered.danger},{variant:"flat",color:"default",class:es.J.flat.default},{variant:"flat",color:"primary",class:es.J.flat.primary},{variant:"flat",color:"secondary",class:es.J.flat.secondary},{variant:"flat",color:"success",class:es.J.flat.success},{variant:"flat",color:"warning",class:es.J.flat.warning},{variant:"flat",color:"danger",class:es.J.flat.danger},{variant:"faded",color:"default",class:es.J.faded.default},{variant:"faded",color:"primary",class:es.J.faded.primary},{variant:"faded",color:"secondary",class:es.J.faded.secondary},{variant:"faded",color:"success",class:es.J.faded.success},{variant:"faded",color:"warning",class:es.J.faded.warning},{variant:"faded",color:"danger",class:es.J.faded.danger},{variant:"light",color:"default",class:[es.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[es.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[es.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[es.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[es.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[es.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:es.J.ghost.default},{variant:"ghost",color:"primary",class:es.J.ghost.primary},{variant:"ghost",color:"secondary",class:es.J.ghost.secondary},{variant:"ghost",color:"success",class:es.J.ghost.success},{variant:"ghost",color:"warning",class:es.J.ghost.warning},{variant:"ghost",color:"danger",class:es.J.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:ec.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:ec.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:ec.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:ec.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:ec.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:ec.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]}),ef=(0,eu.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}})},82189:function(ei,eo,ea){"use strict";ea.d(eo,{tv:function(){return tv}});var es=ea(76978),chunk_JXBJZR5A_l=ei=>"boolean"==typeof ei?`${ei}`:0===ei?"0":ei,chunk_JXBJZR5A_u=ei=>!ei||"object"!=typeof ei||0===Object.keys(ei).length,chunk_JXBJZR5A_x=(ei,eo)=>JSON.stringify(ei)===JSON.stringify(eo);function i(ei,eo){ei.forEach(function(ei){Array.isArray(ei)?i(ei,eo):eo.push(ei)})}function y(ei){let eo=[];return i(ei,eo),eo}var chunk_JXBJZR5A_a=(...ei)=>y(ei).filter(Boolean),p=(ei,eo)=>{let ea={},es=Object.keys(ei),eu=Object.keys(eo);for(let ec of es)if(eu.includes(ec)){let es=ei[ec],eu=eo[ec];"object"==typeof es&&"object"==typeof eu?ea[ec]=p(es,eu):Array.isArray(es)||Array.isArray(eu)?ea[ec]=chunk_JXBJZR5A_a(eu,es):ea[ec]=eu+" "+es}else ea[ec]=ei[ec];for(let ei of eu)es.includes(ei)||(ea[ei]=eo[ei]);return ea},chunk_JXBJZR5A_g=ei=>ei&&"string"==typeof ei?ei.replace(/\s+/g," ").trim():ei,eu="-";function createClassUtils(ei){var eo=createClassMap(ei),ea=ei.conflictingClassGroups,es=ei.conflictingClassGroupModifiers,ec=void 0===es?{}:es;return{getClassGroupId:function(ei){var ea=ei.split(eu);return""===ea[0]&&1!==ea.length&&ea.shift(),getGroupRecursive(ea,eo)||getGroupIdForArbitraryProperty(ei)},getConflictingClassGroupIds:function(ei,eo){var es=ea[ei]||[];return eo&&ec[ei]?[].concat(es,ec[ei]):es}}}function getGroupRecursive(ei,eo){if(0===ei.length)return eo.classGroupId;var ea=ei[0],es=eo.nextPart.get(ea),ec=es?getGroupRecursive(ei.slice(1),es):void 0;if(ec)return ec;if(0!==eo.validators.length){var ed=ei.join(eu);return eo.validators.find(function(ei){return(0,ei.validator)(ed)})?.classGroupId}}var ec=/^\[(.+)\]$/;function getGroupIdForArbitraryProperty(ei){if(ec.test(ei)){var eo=ec.exec(ei)[1],ea=eo?.substring(0,eo.indexOf(":"));if(ea)return"arbitrary.."+ea}}function createClassMap(ei){var eo=ei.theme,ea=ei.prefix,es={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(ei.classGroups),ea).forEach(function(ei){var ea=ei[0];processClassesRecursively(ei[1],es,ea,eo)}),es}function processClassesRecursively(ei,eo,ea,es){ei.forEach(function(ei){if("string"==typeof ei){(""===ei?eo:getPart(eo,ei)).classGroupId=ea;return}if("function"==typeof ei){if(isThemeGetter(ei)){processClassesRecursively(ei(es),eo,ea,es);return}eo.validators.push({validator:ei,classGroupId:ea});return}Object.entries(ei).forEach(function(ei){var eu=ei[0];processClassesRecursively(ei[1],getPart(eo,eu),ea,es)})})}function getPart(ei,eo){var ea=ei;return eo.split(eu).forEach(function(ei){ea.nextPart.has(ei)||ea.nextPart.set(ei,{nextPart:new Map,validators:[]}),ea=ea.nextPart.get(ei)}),ea}function isThemeGetter(ei){return ei.isThemeGetter}function getPrefixedClassGroupEntries(ei,eo){return eo?ei.map(function(ei){return[ei[0],ei[1].map(function(ei){return"string"==typeof ei?eo+ei:"object"==typeof ei?Object.fromEntries(Object.entries(ei).map(function(ei){return[eo+ei[0],ei[1]]})):ei})]}):ei}function createLruCache(ei){if(ei<1)return{get:function(){},set:function(){}};var eo=0,ea=new Map,es=new Map;function update(eu,ec){ea.set(eu,ec),++eo>ei&&(eo=0,es=ea,ea=new Map)}return{get:function(ei){var eo=ea.get(ei);return void 0!==eo?eo:void 0!==(eo=es.get(ei))?(update(ei,eo),eo):void 0},set:function(ei,eo){ea.has(ei)?ea.set(ei,eo):update(ei,eo)}}}var ed="!";function createSplitModifiers(ei){var eo=ei.separator||":",ea=1===eo.length,es=eo[0],eu=eo.length;return function(ei){for(var ec,ef=[],eh=0,ep=0,em=0;em<ei.length;em++){var eg=ei[em];if(0===eh){if(eg===es&&(ea||ei.slice(em,em+eu)===eo)){ef.push(ei.slice(ep,em)),ep=em+eu;continue}if("/"===eg){ec=em;continue}}"["===eg?eh++:"]"===eg&&eh--}var eb=0===ef.length?ei:ei.substring(ep),ey=eb.startsWith(ed),ew=ey?eb.substring(1):eb;return{modifiers:ef,hasImportantModifier:ey,baseClassName:ew,maybePostfixModifierPosition:ec&&ec>ep?ec-ep:void 0}}}function sortModifiers(ei){if(ei.length<=1)return ei;var eo=[],ea=[];return ei.forEach(function(ei){"["===ei[0]?(eo.push.apply(eo,ea.sort().concat([ei])),ea=[]):ea.push(ei)}),eo.push.apply(eo,ea.sort()),eo}function createConfigUtils(ei){return{cache:createLruCache(ei.cacheSize),splitModifiers:createSplitModifiers(ei),...createClassUtils(ei)}}var ef=/\s+/;function mergeClassList(ei,eo){var ea=eo.splitModifiers,es=eo.getClassGroupId,eu=eo.getConflictingClassGroupIds,ec=new Set;return ei.trim().split(ef).map(function(ei){var eo=ea(ei),eu=eo.modifiers,ec=eo.hasImportantModifier,ef=eo.baseClassName,eh=eo.maybePostfixModifierPosition,ep=es(eh?ef.substring(0,eh):ef),em=!!eh;if(!ep){if(!eh||!(ep=es(ef)))return{isTailwindClass:!1,originalClassName:ei};em=!1}var eg=sortModifiers(eu).join(":");return{isTailwindClass:!0,modifierId:ec?eg+ed:eg,classGroupId:ep,originalClassName:ei,hasPostfixModifier:em}}).reverse().filter(function(ei){if(!ei.isTailwindClass)return!0;var eo=ei.modifierId,ea=ei.classGroupId,es=ei.hasPostfixModifier,ed=eo+ea;return!ec.has(ed)&&(ec.add(ed),eu(ea,es).forEach(function(ei){return ec.add(eo+ei)}),!0)}).reverse().map(function(ei){return ei.originalClassName}).join(" ")}function twJoin(){for(var ei,eo,ea=0,es="";ea<arguments.length;)(ei=arguments[ea++])&&(eo=toValue(ei))&&(es&&(es+=" "),es+=eo);return es}function toValue(ei){if("string"==typeof ei)return ei;for(var eo,ea="",es=0;es<ei.length;es++)ei[es]&&(eo=toValue(ei[es]))&&(ea&&(ea+=" "),ea+=eo);return ea}function createTailwindMerge(){for(var ei,eo,ea,es=arguments.length,eu=Array(es),ec=0;ec<es;ec++)eu[ec]=arguments[ec];var ed=initTailwindMerge;function initTailwindMerge(es){var ec=eu[0];return eo=(ei=createConfigUtils(eu.slice(1).reduce(function(ei,eo){return eo(ei)},ec()))).cache.get,ea=ei.cache.set,ed=tailwindMerge,tailwindMerge(es)}function tailwindMerge(es){var eu=eo(es);if(eu)return eu;var ec=mergeClassList(es,ei);return ea(es,ec),ec}return function(){return ed(twJoin.apply(null,arguments))}}function fromTheme(ei){var themeGetter=function(eo){return eo[ei]||[]};return themeGetter.isThemeGetter=!0,themeGetter}var eh=/^\[(?:([a-z-]+):)?(.+)\]$/i,ep=/^\d+\/\d+$/,em=new Set(["px","full","screen"]),eg=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ey=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function isLength(ei){return isNumber(ei)||em.has(ei)||ep.test(ei)||isArbitraryLength(ei)}function isArbitraryLength(ei){return getIsArbitraryValue(ei,"length",isLengthOnly)}function isArbitrarySize(ei){return getIsArbitraryValue(ei,"size",isNever)}function isArbitraryPosition(ei){return getIsArbitraryValue(ei,"position",isNever)}function isArbitraryUrl(ei){return getIsArbitraryValue(ei,"url",isUrl)}function isArbitraryNumber(ei){return getIsArbitraryValue(ei,"number",isNumber)}function isNumber(ei){return!Number.isNaN(Number(ei))}function isPercent(ei){return ei.endsWith("%")&&isNumber(ei.slice(0,-1))}function isInteger(ei){return isIntegerOnly(ei)||getIsArbitraryValue(ei,"number",isIntegerOnly)}function isArbitraryValue(ei){return eh.test(ei)}function isAny(){return!0}function isTshirtSize(ei){return eg.test(ei)}function isArbitraryShadow(ei){return getIsArbitraryValue(ei,"",isShadow)}function getIsArbitraryValue(ei,eo,ea){var es=eh.exec(ei);return!!es&&(es[1]?es[1]===eo:ea(es[2]))}function isLengthOnly(ei){return eb.test(ei)}function isNever(){return!1}function isUrl(ei){return ei.startsWith("url(")}function isIntegerOnly(ei){return Number.isInteger(Number(ei))}function isShadow(ei){return ey.test(ei)}function getDefaultConfig(){var ei=fromTheme("colors"),eo=fromTheme("spacing"),ea=fromTheme("blur"),es=fromTheme("brightness"),eu=fromTheme("borderColor"),ec=fromTheme("borderRadius"),ed=fromTheme("borderSpacing"),ef=fromTheme("borderWidth"),eh=fromTheme("contrast"),ep=fromTheme("grayscale"),em=fromTheme("hueRotate"),eg=fromTheme("invert"),eb=fromTheme("gap"),ey=fromTheme("gradientColorStops"),ew=fromTheme("gradientColorStopPositions"),ex=fromTheme("inset"),eP=fromTheme("margin"),eS=fromTheme("opacity"),eE=fromTheme("padding"),ek=fromTheme("saturate"),eT=fromTheme("scale"),eC=fromTheme("sepia"),e_=fromTheme("skew"),eA=fromTheme("space"),eO=fromTheme("translate"),getOverscroll=function(){return["auto","contain","none"]},getOverflow=function(){return["auto","hidden","clip","visible","scroll"]},getSpacingWithAutoAndArbitrary=function(){return["auto",isArbitraryValue,eo]},getSpacingWithArbitrary=function(){return[isArbitraryValue,eo]},getLengthWithEmpty=function(){return["",isLength]},getNumberWithAutoAndArbitrary=function(){return["auto",isNumber,isArbitraryValue]},getPositions=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},getLineStyles=function(){return["solid","dashed","dotted","double","none"]},getBlendModes=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},getAlign=function(){return["start","end","center","between","around","evenly","stretch"]},getZeroAndEmpty=function(){return["","0",isArbitraryValue]},getBreaks=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},getNumber=function(){return[isNumber,isArbitraryNumber]},getNumberAndArbitrary=function(){return[isNumber,isArbitraryValue]};return{cacheSize:500,theme:{colors:[isAny],spacing:[isLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:getNumber(),borderColor:[ei],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:getSpacingWithArbitrary(),borderWidth:getLengthWithEmpty(),contrast:getNumber(),grayscale:getZeroAndEmpty(),hueRotate:getNumberAndArbitrary(),invert:getZeroAndEmpty(),gap:getSpacingWithArbitrary(),gradientColorStops:[ei],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:getSpacingWithAutoAndArbitrary(),margin:getSpacingWithAutoAndArbitrary(),opacity:getNumber(),padding:getSpacingWithArbitrary(),saturate:getNumber(),scale:getNumber(),sepia:getZeroAndEmpty(),skew:getNumberAndArbitrary(),space:getSpacingWithArbitrary(),translate:getSpacingWithArbitrary()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":getBreaks()}],"break-before":[{"break-before":getBreaks()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(getPositions(),[isArbitraryValue])}],overflow:[{overflow:getOverflow()}],"overflow-x":[{"overflow-x":getOverflow()}],"overflow-y":[{"overflow-y":getOverflow()}],overscroll:[{overscroll:getOverscroll()}],"overscroll-x":[{"overscroll-x":getOverscroll()}],"overscroll-y":[{"overscroll-y":getOverscroll()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ex]}],"inset-x":[{"inset-x":[ex]}],"inset-y":[{"inset-y":[ex]}],start:[{start:[ex]}],end:[{end:[ex]}],top:[{top:[ex]}],right:[{right:[ex]}],bottom:[{bottom:[ex]}],left:[{left:[ex]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger]}],basis:[{basis:getSpacingWithAutoAndArbitrary()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:getZeroAndEmpty()}],shrink:[{shrink:getZeroAndEmpty()}],order:[{order:["first","last","none",isInteger]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger]},isArbitraryValue]}],"col-start":[{"col-start":getNumberWithAutoAndArbitrary()}],"col-end":[{"col-end":getNumberWithAutoAndArbitrary()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger]},isArbitraryValue]}],"row-start":[{"row-start":getNumberWithAutoAndArbitrary()}],"row-end":[{"row-end":getNumberWithAutoAndArbitrary()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[eb]}],"gap-x":[{"gap-x":[eb]}],"gap-y":[{"gap-y":[eb]}],"justify-content":[{justify:["normal"].concat(getAlign())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(getAlign(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(getAlign(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[eE]}],px:[{px:[eE]}],py:[{py:[eE]}],ps:[{ps:[eE]}],pe:[{pe:[eE]}],pt:[{pt:[eE]}],pr:[{pr:[eE]}],pb:[{pb:[eE]}],pl:[{pl:[eE]}],m:[{m:[eP]}],mx:[{mx:[eP]}],my:[{my:[eP]}],ms:[{ms:[eP]}],me:[{me:[eP]}],mt:[{mt:[eP]}],mr:[{mr:[eP]}],mb:[{mb:[eP]}],ml:[{ml:[eP]}],"space-x":[{"space-x":[eA]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[eA]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",isArbitraryValue,eo]}],"min-w":[{"min-w":["min","max","fit",isArbitraryValue,isLength]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize,isArbitraryValue]}],h:[{h:[isArbitraryValue,eo,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",isArbitraryValue,isLength]}],"max-h":[{"max-h":[isArbitraryValue,eo,"min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isArbitraryValue,isLength]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[ei]}],"placeholder-opacity":[{"placeholder-opacity":[eS]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[ei]}],"text-opacity":[{"text-opacity":[eS]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(getLineStyles(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength]}],"underline-offset":[{"underline-offset":["auto",isArbitraryValue,isLength]}],"text-decoration-color":[{decoration:[ei]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:getSpacingWithArbitrary()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[eS]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(getPositions(),[isArbitraryPosition])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryUrl]}],"bg-color":[{bg:[ei]}],"gradient-from-pos":[{from:[ew]}],"gradient-via-pos":[{via:[ew]}],"gradient-to-pos":[{to:[ew]}],"gradient-from":[{from:[ey]}],"gradient-via":[{via:[ey]}],"gradient-to":[{to:[ey]}],rounded:[{rounded:[ec]}],"rounded-s":[{"rounded-s":[ec]}],"rounded-e":[{"rounded-e":[ec]}],"rounded-t":[{"rounded-t":[ec]}],"rounded-r":[{"rounded-r":[ec]}],"rounded-b":[{"rounded-b":[ec]}],"rounded-l":[{"rounded-l":[ec]}],"rounded-ss":[{"rounded-ss":[ec]}],"rounded-se":[{"rounded-se":[ec]}],"rounded-ee":[{"rounded-ee":[ec]}],"rounded-es":[{"rounded-es":[ec]}],"rounded-tl":[{"rounded-tl":[ec]}],"rounded-tr":[{"rounded-tr":[ec]}],"rounded-br":[{"rounded-br":[ec]}],"rounded-bl":[{"rounded-bl":[ec]}],"border-w":[{border:[ef]}],"border-w-x":[{"border-x":[ef]}],"border-w-y":[{"border-y":[ef]}],"border-w-s":[{"border-s":[ef]}],"border-w-e":[{"border-e":[ef]}],"border-w-t":[{"border-t":[ef]}],"border-w-r":[{"border-r":[ef]}],"border-w-b":[{"border-b":[ef]}],"border-w-l":[{"border-l":[ef]}],"border-opacity":[{"border-opacity":[eS]}],"border-style":[{border:[].concat(getLineStyles(),["hidden"])}],"divide-x":[{"divide-x":[ef]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[ef]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[eS]}],"divide-style":[{divide:getLineStyles()}],"border-color":[{border:[eu]}],"border-color-x":[{"border-x":[eu]}],"border-color-y":[{"border-y":[eu]}],"border-color-t":[{"border-t":[eu]}],"border-color-r":[{"border-r":[eu]}],"border-color-b":[{"border-b":[eu]}],"border-color-l":[{"border-l":[eu]}],"divide-color":[{divide:[eu]}],"outline-style":[{outline:[""].concat(getLineStyles())}],"outline-offset":[{"outline-offset":[isArbitraryValue,isLength]}],"outline-w":[{outline:[isLength]}],"outline-color":[{outline:[ei]}],"ring-w":[{ring:getLengthWithEmpty()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[ei]}],"ring-opacity":[{"ring-opacity":[eS]}],"ring-offset-w":[{"ring-offset":[isLength]}],"ring-offset-color":[{"ring-offset":[ei]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[eS]}],"mix-blend":[{"mix-blend":getBlendModes()}],"bg-blend":[{"bg-blend":getBlendModes()}],filter:[{filter:["","none"]}],blur:[{blur:[ea]}],brightness:[{brightness:[es]}],contrast:[{contrast:[eh]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[ep]}],"hue-rotate":[{"hue-rotate":[em]}],invert:[{invert:[eg]}],saturate:[{saturate:[ek]}],sepia:[{sepia:[eC]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[ea]}],"backdrop-brightness":[{"backdrop-brightness":[es]}],"backdrop-contrast":[{"backdrop-contrast":[eh]}],"backdrop-grayscale":[{"backdrop-grayscale":[ep]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[em]}],"backdrop-invert":[{"backdrop-invert":[eg]}],"backdrop-opacity":[{"backdrop-opacity":[eS]}],"backdrop-saturate":[{"backdrop-saturate":[ek]}],"backdrop-sepia":[{"backdrop-sepia":[eC]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[ed]}],"border-spacing-x":[{"border-spacing-x":[ed]}],"border-spacing-y":[{"border-spacing-y":[ed]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:getNumberAndArbitrary()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:getNumberAndArbitrary()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[eT]}],"scale-x":[{"scale-x":[eT]}],"scale-y":[{"scale-y":[eT]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[eO]}],"translate-y":[{"translate-y":[eO]}],"skew-x":[{"skew-x":[e_]}],"skew-y":[{"skew-y":[e_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",ei]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[ei]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":getSpacingWithArbitrary()}],"scroll-mx":[{"scroll-mx":getSpacingWithArbitrary()}],"scroll-my":[{"scroll-my":getSpacingWithArbitrary()}],"scroll-ms":[{"scroll-ms":getSpacingWithArbitrary()}],"scroll-me":[{"scroll-me":getSpacingWithArbitrary()}],"scroll-mt":[{"scroll-mt":getSpacingWithArbitrary()}],"scroll-mr":[{"scroll-mr":getSpacingWithArbitrary()}],"scroll-mb":[{"scroll-mb":getSpacingWithArbitrary()}],"scroll-ml":[{"scroll-ml":getSpacingWithArbitrary()}],"scroll-p":[{"scroll-p":getSpacingWithArbitrary()}],"scroll-px":[{"scroll-px":getSpacingWithArbitrary()}],"scroll-py":[{"scroll-py":getSpacingWithArbitrary()}],"scroll-ps":[{"scroll-ps":getSpacingWithArbitrary()}],"scroll-pe":[{"scroll-pe":getSpacingWithArbitrary()}],"scroll-pt":[{"scroll-pt":getSpacingWithArbitrary()}],"scroll-pr":[{"scroll-pr":getSpacingWithArbitrary()}],"scroll-pb":[{"scroll-pb":getSpacingWithArbitrary()}],"scroll-pl":[{"scroll-pl":getSpacingWithArbitrary()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[ei,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryNumber]}],stroke:[{stroke:[ei,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var ew=createTailwindMerge(getDefaultConfig);function mergeConfigs(ei,eo){for(var ea in eo)mergePropertyRecursively(ei,ea,eo[ea]);return ei}var ex=Object.prototype.hasOwnProperty,eP=new Set(["string","number","boolean"]);function mergePropertyRecursively(ei,eo,ea){if(!ex.call(ei,eo)||eP.has(typeof ea)||null===ea){ei[eo]=ea;return}if(Array.isArray(ea)&&Array.isArray(ei[eo])){ei[eo]=ei[eo].concat(ea);return}if("object"==typeof ea&&"object"==typeof ei[eo]){if(null===ei[eo]){ei[eo]=ea;return}for(var es in ea)mergePropertyRecursively(ei[eo],es,ea[es])}}function extendTailwindMerge(ei){for(var eo=arguments.length,ea=Array(eo>1?eo-1:0),es=1;es<eo;es++)ea[es-1]=arguments[es];return"function"==typeof ei?createTailwindMerge.apply(void 0,[getDefaultConfig,ei].concat(ea)):createTailwindMerge.apply(void 0,[function(){return mergeConfigs(getDefaultConfig(),ei)}].concat(ea))}var eS={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},_=ei=>ei||void 0,N=(...ei)=>_(y(ei).filter(Boolean).join(" ")),eE=null,ek={},eT=!1,w=(...ei)=>eo=>eo.twMerge?((!eE||eT)&&(eT=!1,eE=chunk_JXBJZR5A_u(ek)?ew:extendTailwindMerge(ek)),_(eE(N(ei)))):N(ei),Z=(ei,eo)=>{for(let ea in eo)ei.hasOwnProperty(ea)?ei[ea]=N(ei[ea],eo[ea]):ei[ea]=eo[ea];return ei},ie=(ei,eo)=>{let{extend:ea=null,slots:es={},variants:eu={},compoundVariants:ec=[],compoundSlots:ed=[],defaultVariants:ef={}}=ei,eh={...eS,...eo},ep=null!=ea&&ea.base?N(ea.base,null==ei?void 0:ei.base):null==ei?void 0:ei.base,em=null!=ea&&ea.variants&&!chunk_JXBJZR5A_u(ea.variants)?p(eu,ea.variants):eu,eg=null!=ea&&ea.defaultVariants&&!chunk_JXBJZR5A_u(ea.defaultVariants)?{...ea.defaultVariants,...ef}:ef;chunk_JXBJZR5A_u(eh.twMergeConfig)||chunk_JXBJZR5A_x(eh.twMergeConfig,ek)||(eT=!0,ek=eh.twMergeConfig);let eb=chunk_JXBJZR5A_u(null==ea?void 0:ea.slots),ey=chunk_JXBJZR5A_u(es)?{}:{base:N(null==ei?void 0:ei.base,eb&&(null==ea?void 0:ea.base)),...es},ew=eb?ey:Z({...null==ea?void 0:ea.slots},chunk_JXBJZR5A_u(ey)?{base:null==ei?void 0:ei.base}:ey),v=ei=>{if(chunk_JXBJZR5A_u(em)&&chunk_JXBJZR5A_u(es)&&eb)return w(ep,null==ei?void 0:ei.class,null==ei?void 0:ei.className)(eh);if(ec&&!Array.isArray(ec))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof ec}`);if(ed&&!Array.isArray(ed))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof ed}`);let K=(ei,eo,ea=[],es)=>{let eu=ea;if("string"==typeof eo)eu=eu.concat(chunk_JXBJZR5A_g(eo).split(" ").map(eo=>`${ei}:${eo}`));else if(Array.isArray(eo))eu=eu.concat(eo.reduce((eo,ea)=>eo.concat(`${ei}:${ea}`),[]));else if("object"==typeof eo&&"string"==typeof es){for(let ea in eo)if(eo.hasOwnProperty(ea)&&ea===es){let ec=eo[ea];if(ec&&"string"==typeof ec){let eo=chunk_JXBJZR5A_g(ec);eu[es]?eu[es]=eu[es].concat(eo.split(" ").map(eo=>`${ei}:${eo}`)):eu[es]=eo.split(" ").map(eo=>`${ei}:${eo}`)}else Array.isArray(ec)&&ec.length>0&&(eu[es]=ec.reduce((eo,ea)=>eo.concat(`${ei}:${ea}`),[]))}}return eu},z=(eo,ea=em,es=null,eu=null)=>{var ec;let ed=ea[eo];if(!ed||chunk_JXBJZR5A_u(ed))return null;let ef=null!=(ec=null==eu?void 0:eu[eo])?ec:null==ei?void 0:ei[eo];if(null===ef)return null;let ep=chunk_JXBJZR5A_l(ef),eb=Array.isArray(eh.responsiveVariants)&&eh.responsiveVariants.length>0||!0===eh.responsiveVariants,ey=null==eg?void 0:eg[eo],ew=[];if("object"==typeof ep&&eb)for(let[ei,eo]of Object.entries(ep)){let ea=ed[eo];if("initial"===ei){ey=eo;continue}Array.isArray(eh.responsiveVariants)&&!eh.responsiveVariants.includes(ei)||(ew=K(ei,ea,ew,es))}let ex=ed[ep]||ed[chunk_JXBJZR5A_l(ey)];return"object"==typeof ew&&"string"==typeof es&&ew[es]?Z(ew,ex):ew.length>0?(ew.push(ex),ew):ex},P=()=>em?Object.keys(em).map(ei=>z(ei,em)):null,p=(ei,eo)=>{if(!em||"object"!=typeof em)return null;let ea=[];for(let es in em){let eu=z(es,em,ei,eo),ec="base"===ei&&"string"==typeof eu?eu:eu&&eu[ei];ec&&(ea[ea.length]=ec)}return ea},eo={};for(let ea in ei)void 0!==ei[ea]&&(eo[ea]=ei[ea]);let G=(ea,es)=>{var eu;let ec="object"==typeof(null==ei?void 0:ei[ea])?{[ea]:null==(eu=ei[ea])?void 0:eu.initial}:{};return{...eg,...eo,...ec,...es}},H=(ei=[],eo)=>{let ea=[];for(let{class:es,className:eu,...ec}of ei){let ei=!0;for(let[ea,es]of Object.entries(ec)){let eu=G(ea,eo);if(Array.isArray(es)){if(!es.includes(eu[ea])){ei=!1;break}}else if(eu[ea]!==es){ei=!1;break}}ei&&(es&&ea.push(es),eu&&ea.push(eu))}return ea},I=ei=>{let eo=H(ec,ei);return chunk_JXBJZR5A_a(H(null==ea?void 0:ea.compoundVariants,ei),eo)},ee=ei=>{let eo=I(ei);if(!Array.isArray(eo))return eo;let ea={};for(let ei of eo)if("string"==typeof ei&&(ea.base=w(ea.base,ei)(eh)),"object"==typeof ei)for(let[eo,es]of Object.entries(ei))ea[eo]=w(ea[eo],es)(eh);return ea},te=ei=>{if(ed.length<1)return null;let eo={};for(let{slots:ea=[],class:es,className:eu,...ec}of ed){if(!chunk_JXBJZR5A_u(ec)){let eo=!0;for(let ea of Object.keys(ec)){let es=G(ea,ei)[ea];if(void 0===es||(Array.isArray(ec[ea])?!ec[ea].includes(es):ec[ea]!==es)){eo=!1;break}}if(!eo)continue}for(let ei of ea)eo[ei]=eo[ei]||[],eo[ei].push([es,eu])}return eo};if(!chunk_JXBJZR5A_u(es)||!eb){let ei={};if("object"==typeof ew&&!chunk_JXBJZR5A_u(ew))for(let eo of Object.keys(ew))ei[eo]=ei=>{var ea,es;return w(ew[eo],p(eo,ei),(null!=(ea=ee(ei))?ea:[])[eo],(null!=(es=te(ei))?es:[])[eo],null==ei?void 0:ei.class,null==ei?void 0:ei.className)(eh)};return ei}return w(ep,P(),I(),null==ei?void 0:ei.class,null==ei?void 0:ei.className)(eh)},x=()=>{if(!(!em||"object"!=typeof em))return Object.keys(em)};return v.variantKeys=x(),v.extend=ea,v.base=ep,v.slots=ew,v.variants=em,v.defaultVariants=eg,v.compoundSlots=ed,v.compoundVariants=ec,v},tv=(ei,eo)=>{var ea,eu,ec;return ie(ei,{...eo,twMerge:null==(ea=null==eo?void 0:eo.twMerge)||ea,twMergeConfig:{...null==eo?void 0:eo.twMergeConfig,theme:{...null==(eu=null==eo?void 0:eo.twMergeConfig)?void 0:eu.theme,...es.B.theme},classGroups:{...null==(ec=null==eo?void 0:eo.twMergeConfig)?void 0:ec.classGroups,...es.B.classGroups}}})}},65512:function(ei,eo,ea){"use strict";ea.d(eo,{Dh:function(){return es},ID:function(){return eu},Zs:function(){return ef},jR:function(){return ec},z6:function(){return ed}});var es=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],eu=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],ec=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],ed=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],ef={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},38016:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return eq}});var es=ea(67294),eu=ea(16551);let ec=1500,ed=500,ef={},eh=0,ep=!1,em=null,eg=null;function $8796f90736e175cb$export$4d40659c25ecb50b(ei={}){let{delay:eo=ec,closeDelay:ea=ed}=ei,{isOpen:eb,open:ey,close:ew}=(0,eu.d)(ei),ex=(0,es.useMemo)(()=>`${++eh}`,[]),eP=(0,es.useRef)(),ensureTooltipEntry=()=>{ef[ex]=hideTooltip},closeOpenTooltips=()=>{for(let ei in ef)ei!==ex&&(ef[ei](!0),delete ef[ei])},showTooltip=()=>{clearTimeout(eP.current),eP.current=null,closeOpenTooltips(),ensureTooltipEntry(),ep=!0,ey(),em&&(clearTimeout(em),em=null),eg&&(clearTimeout(eg),eg=null)},hideTooltip=ei=>{ei||ea<=0?(clearTimeout(eP.current),eP.current=null,ew()):eP.current||(eP.current=setTimeout(()=>{eP.current=null,ew()},ea)),em&&(clearTimeout(em),em=null),ep&&(eg&&clearTimeout(eg),eg=setTimeout(()=>{delete ef[ex],eg=null,ep=!1},Math.max(ed,ea)))},warmupTooltip=()=>{closeOpenTooltips(),ensureTooltipEntry(),eb||em||ep?eb||showTooltip():em=setTimeout(()=>{em=null,ep=!0,showTooltip()},eo)};return(0,es.useEffect)(()=>()=>{clearTimeout(eP.current),ef[ex]&&delete ef[ex]},[ex]),{isOpen:eb,open:ei=>{ei||!(eo>0)||eP.current?showTooltip():warmupTooltip()},close:hideTooltip}}var eb=ea(37127),ey=ea(9975),ew=ea(18419),ex=ea(9188),eP=ea(68587);function $4e1b34546679e357$export$a6da6c504e4bba8b(ei,eo,ea){let{isDisabled:eu,trigger:ec}=ei,ed=(0,ex.Me)(),ef=(0,es.useRef)(!1),eh=(0,es.useRef)(!1),handleShow=()=>{(ef.current||eh.current)&&eo.open(eh.current)},handleHide=ei=>{ef.current||eh.current||eo.close(ei)};(0,es.useEffect)(()=>{let onKeyDown=ei=>{ea&&ea.current&&"Escape"===ei.key&&(ei.stopPropagation(),eo.close(!0))};if(eo.isOpen)return document.addEventListener("keydown",onKeyDown,!0),()=>{document.removeEventListener("keydown",onKeyDown,!0)}},[ea,eo]);let onHoverStart=()=>{"focus"!==ec&&("pointer"===(0,ey.Jz)()?ef.current=!0:ef.current=!1,handleShow())},onHoverEnd=()=>{"focus"!==ec&&(eh.current=!1,ef.current=!1,handleHide())},onPressStart=()=>{eh.current=!1,ef.current=!1,handleHide(!0)},onFocus=()=>{(0,ey.E)()&&(eh.current=!0,handleShow())},onBlur=()=>{eh.current=!1,ef.current=!1,handleHide(!0)},{hoverProps:ep}=(0,ew.X)({isDisabled:eu,onHoverStart:onHoverStart,onHoverEnd:onHoverEnd}),{focusableProps:em}=(0,eP.k)({isDisabled:eu,onFocus:onFocus,onBlur:onBlur},ea);return{triggerProps:{"aria-describedby":eo.isOpen?ed:void 0,...(0,eb.d)(em,ep,{onPointerDown:onPressStart,onKeyDown:onPressStart})},tooltipProps:{id:ed}}}var eS=ea(3136);function $326e436e94273fe1$export$1c4b08e0eca38426(ei,eo){let ea=(0,eS.z)(ei,{labelable:!0}),{hoverProps:es}=(0,ew.X)({onHoverStart:()=>null==eo?void 0:eo.open(!0),onHoverEnd:()=>null==eo?void 0:eo.close()});return{tooltipProps:(0,eb.d)(ea,es,{role:"tooltip"})}}var eE=ea(42959),ek=ea(74238),eT=ea(76733),eC=ea(15607),e_=ea(33805),eA=ea(49037),eO=ea(50262),eM=ea(49869),eR=ea(48255),ej=ea(33295),eN=ea(10902),eL=ea(93387);function useTooltip(ei){var eo,ea;let eu=(0,eT.w)(),[ec,ed]=(0,eC.oe)(ei,e_.v.variantKeys),{ref:ef,as:eh,isOpen:ep,content:em,children:eg,defaultOpen:ey,onOpenChange:ew,isDisabled:ex,trigger:eP,shouldFlip:eS=!0,containerPadding:eD=12,placement:eI="top",delay:ez=0,closeDelay:eB=500,showArrow:eF=!1,offset:eH=7,crossOffset:eU=0,isDismissable:eV,shouldCloseOnBlur:eX=!0,portalContainer:eq,isKeyboardDismissDisabled:e$=!1,updatePositionDeps:eW=[],shouldCloseOnInteractOutside:eK,className:eG,onClose:eZ,motionProps:eJ,classNames:eY,...eQ}=ec,e0=eh||"div",e1=null!=(ea=null!=(eo=null==ei?void 0:ei.disableAnimation)?eo:null==eu?void 0:eu.disableAnimation)&&ea,e3=$8796f90736e175cb$export$4d40659c25ecb50b({delay:ez,closeDelay:eB,isDisabled:ex,defaultOpen:ey,isOpen:ep,onOpenChange:ei=>{null==ew||ew(ei),ei||null==eZ||eZ()}}),e8=(0,es.useRef)(null),e6=(0,es.useRef)(null),e5=(0,es.useId)(),e4=e3.isOpen&&!ex;(0,es.useImperativeHandle)(ef,()=>(0,ej.fg)(e6));let{triggerProps:e7,tooltipProps:e9}=$4e1b34546679e357$export$a6da6c504e4bba8b({isDisabled:ex,trigger:eP},e3,e8),{tooltipProps:tr}=$326e436e94273fe1$export$1c4b08e0eca38426({isOpen:e4,...(0,eb.d)(ec,e9)},e3),{overlayProps:tn,placement:ti,updatePosition:ta}=(0,eE.t)({isOpen:e4,targetRef:e8,placement:(0,eN.Yx)(eI),overlayRef:e6,offset:eF?eH+3:eH,crossOffset:eU,shouldFlip:eS,containerPadding:eD});(0,eL.G)(()=>{eW.length&&ta()},eW);let{overlayProps:ts}=(0,ek.I)({isOpen:e4,onClose:e3.close,isDismissable:eV,shouldCloseOnBlur:eX,isKeyboardDismissDisabled:e$,shouldCloseOnInteractOutside:eK},e6),tl=(0,es.useMemo)(()=>{var eo,ea,es;return(0,e_.v)({...ed,disableAnimation:e1,radius:null!=(eo=null==ei?void 0:ei.radius)?eo:"md",size:null!=(ea=null==ei?void 0:ei.size)?ea:"md",shadow:null!=(es=null==ei?void 0:ei.shadow)?es:"sm"})},[(0,eA.Xx)(ed),e1,null==ei?void 0:ei.radius,null==ei?void 0:ei.size,null==ei?void 0:ei.shadow]),tu=(0,es.useCallback)((ei={},eo=null)=>({...(0,eb.d)(e7,ei),ref:(0,eR.l)(eo,e8),"aria-describedby":e4?e5:void 0}),[e7,e4,e5,e3]),tc=(0,es.useCallback)(()=>({ref:e6,"data-slot":"base","data-open":(0,eO.PB)(e4),"data-arrow":(0,eO.PB)(eF),"data-disabled":(0,eO.PB)(ex),"data-placement":(0,eN.sK)(ti,eI),...(0,eb.d)(tr,ts,eQ),style:(0,eb.d)(tn.style,eQ.style,ec.style),className:tl.base({class:null==eY?void 0:eY.base}),id:e5}),[tl,e4,eF,ex,ti,eI,tr,ts,eQ,tn,ec,e5]),td=(0,es.useCallback)(()=>({"data-slot":"content","data-open":(0,eO.PB)(e4),"data-arrow":(0,eO.PB)(eF),"data-disabled":(0,eO.PB)(ex),"data-placement":(0,eN.sK)(ti,eI),className:tl.content({class:(0,eM.W)(null==eY?void 0:eY.content,eG)})}),[tl,e4,eF,ex,ti,eI,eY]);return{Component:e0,content:em,children:eg,isOpen:e4,triggerRef:e8,showArrow:eF,portalContainer:eq,placement:eI,disableAnimation:e1,isDisabled:ex,motionProps:eJ,getTooltipContentProps:td,getTriggerProps:tu,getTooltipProps:tc}}var eD=ea(15e3),eI=ea(18522),ez=ea(1673),eB=ea(12560),eF=ea(82703),eH=ea(90029),eU=ea(52046),eV=ea(85893),eX=(0,eC.Gp)((ei,eo)=>{let ea;let{Component:eu,children:ec,content:ed,isOpen:ef,portalContainer:eh,placement:ep,disableAnimation:em,motionProps:eg,getTriggerProps:ey,getTooltipProps:ew,getTooltipContentProps:ex}=useTooltip({...ei,ref:eo});try{let ei=es.Children.count(ec);if(1!==ei)throw Error();if((0,es.isValidElement)(ec)){let ei=ec;ea=(0,es.cloneElement)(ei,ey(ei.props,ei.ref))}else ea=(0,eV.jsx)("p",{...ey(),children:ec})}catch(ei){ea=(0,eV.jsx)("span",{}),(0,eU.Z)("Tooltip must have only one child node. Please, check your code.")}let{ref:eP,id:eS,style:eE,...ek}=ew(),eT=(0,eV.jsx)("div",{ref:eP,id:eS,style:eE,children:(0,eV.jsx)(eI.X,{features:ez.H,children:(0,eV.jsx)(eB.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:eH.y7.scaleSpring,...(0,eb.d)(eg,ek),style:{...(0,eN.VS)(ep)},children:(0,eV.jsx)(eu,{...ex(),children:ed})})})});return(0,eV.jsxs)(eV.Fragment,{children:[ea,em&&ef?(0,eV.jsx)(eD.Xj,{portalContainer:eh,children:(0,eV.jsx)("div",{ref:eP,id:eS,style:eE,...ek,children:(0,eV.jsx)(eu,{...ex(),children:ed})})}):(0,eV.jsx)(eF.M,{children:ef?(0,eV.jsx)(eD.Xj,{portalContainer:eh,children:eT}):null})]})});eX.displayName="NextUI.Tooltip";var eq=eX},27316:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return useAriaButton}});var es=ea(37127),eu=ea(3136),ec=ea(68587),ed=ea(2317);function useAriaButton(ei,eo){let ea,{elementType:ef="button",isDisabled:eh,onPress:ep,onPressStart:em,onPressEnd:eg,onPressChange:eb,preventFocusOnPress:ey,allowFocusWhenDisabled:ew,onClick:ex,href:eP,target:eS,rel:eE,type:ek="button",allowTextSelectionOnPress:eT}=ei;ea="button"===ef?{type:ek,disabled:eh}:{role:"button",tabIndex:eh?void 0:0,href:"a"===ef&&eh?void 0:eP,target:"a"===ef?eS:void 0,type:"input"===ef?ek:void 0,disabled:"input"===ef?eh:void 0,"aria-disabled":eh&&"input"!==ef?eh:void 0,rel:"a"===ef?eE:void 0};let{pressProps:eC,isPressed:e_}=(0,ed.r)({onPressStart:em,onPressEnd:eg,onPressChange:eb,onPress:ep,isDisabled:eh,preventFocusOnPress:ey,allowTextSelectionOnPress:eT,ref:eo}),{focusableProps:eA}=(0,ec.k)(ei,eo);ew&&(eA.tabIndex=eh?-1:eA.tabIndex);let eO=(0,es.d)(eA,eC,(0,eu.z)(ei,{labelable:!0}));return{isPressed:e_,buttonProps:(0,es.d)(ea,eO,{"aria-haspopup":ei["aria-haspopup"],"aria-expanded":ei["aria-expanded"],"aria-controls":ei["aria-controls"],"aria-pressed":ei["aria-pressed"],onClick:ei=>{null==ex||ex(ei)}})}}},96344:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return useIsMobile}});var es=ea(37385),eu=700;function useIsMobile(){return!(0,es.Av)()&&"undefined"!=typeof window&&window.screen.width<=eu}},80666:function(ei,eo,ea){"use strict";ea.d(eo,{t:function(){return useIsMounted}});var es=ea(67294);function useIsMounted(ei={}){let{rerender:eo=!1,delay:ea=0}=ei,eu=(0,es.useRef)(!1),[ec,ed]=(0,es.useState)(!1);return(0,es.useEffect)(()=>{eu.current=!0;let ei=null;return eo&&(ea>0?ei=setTimeout(()=>{ed(!0)},ea):ed(!0)),()=>{eu.current=!1,eo&&ed(!1),ei&&clearTimeout(ei)}},[eo]),[(0,es.useCallback)(()=>eu.current,[]),ec]}},93387:function(ei,eo,ea){"use strict";ea.d(eo,{G:function(){return eu}});var es=ea(67294),eu=(null==globalThis?void 0:globalThis.document)?es.useLayoutEffect:es.useEffect},85472:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return eS}});var es=ea(67294),eu=ea(2459),ec=ea(82189),ed=ea(65512),ef=(0,ec.tv)({slots:{base:["inline-flex items-center justify-center gap-2 rounded-small outline-none",...ed.Dh],wrapper:"inline-flex flex-col items-start",name:"text-small text-inherit",description:"text-tiny text-foreground-400"}}),eh=ea(49869),ep=ea(50262),em=ea(27963),eg=ea(33295),eb=ea(37127);function useUser(ei){let{as:eo,ref:ea,name:ec,description:ed,className:ey,classNames:ew,isFocusable:ex=!1,avatarProps:eP={},...eS}=ei,eE={isFocusable:!1,...eP},ek=eo||"div",eT="string"==typeof ek,eC=(0,eg.gy)(ea),{isFocusVisible:e_,isFocused:eA,focusProps:eO}=(0,eu.F)({}),eM=(0,es.useMemo)(()=>ex||"button"===eo,[ex,eo]),eR=(0,es.useMemo)(()=>ef(),[]),ej=(0,eh.W)(null==ew?void 0:ew.base,ey),eN=(0,es.useCallback)(()=>({ref:eC,tabIndex:eM?0:-1,"data-focus-visible":(0,ep.PB)(e_),"data-focus":(0,ep.PB)(eA),className:eR.base({class:ej}),...(0,eb.d)((0,em.z)(eS,{enabled:eT}),eM?eO:{})}),[eM,eR,ej,eO,eS]);return{Component:ek,className:ey,slots:eR,name:ec,description:ed,classNames:ew,baseStyles:ej,avatarProps:eE,getUserProps:eN}}var ey=ea(15607),ew=ea(5317),ex=ea(85893),eP=(0,ey.Gp)((ei,eo)=>{let{Component:ea,name:es,slots:eu,classNames:ec,description:ed,avatarProps:ef,getUserProps:eh}=useUser({...ei,ref:eo});return(0,ex.jsxs)(ea,{...eh(),children:[(0,ex.jsx)(ew.h,{...ef}),(0,ex.jsxs)("div",{className:eu.wrapper({class:null==ec?void 0:ec.wrapper}),children:[(0,ex.jsx)("span",{className:eu.name({class:null==ec?void 0:ec.name}),children:es}),(0,ex.jsx)("span",{className:eu.description({class:null==ec?void 0:ec.description}),children:ed})]})]})});eP.displayName="NextUI.User";var eS=eP},34446:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return $40df3f8667284809$export$d55e7ee900f34e93}});var es=ea(9188),eu=ea(3136),ec=ea(26590),ed=ea(67294),ef=ea(25299);function $40df3f8667284809$export$d55e7ee900f34e93(ei,eo){let{role:ea="dialog"}=ei,eh=(0,es.mp)();eh=ei["aria-label"]?void 0:eh;let ep=(0,ed.useRef)(!1);return(0,ed.useEffect)(()=>{if(eo.current&&!eo.current.contains(document.activeElement)){(0,ec.e)(eo.current);let ei=setTimeout(()=>{document.activeElement===eo.current&&(ep.current=!0,eo.current&&(eo.current.blur(),(0,ec.e)(eo.current)),ep.current=!1)},500);return()=>{clearTimeout(ei)}}},[eo]),(0,ef.Bq)(),{dialogProps:{...(0,eu.z)(ei,{labelable:!0}),role:ea,tabIndex:-1,"aria-labelledby":ei["aria-labelledby"]||eh,onBlur:ei=>{ep.current&&ei.stopPropagation()}},titleProps:{id:eh}}}},37873:function(ei,eo,ea){"use strict";ea.d(eo,{MT:function(){return $9bf71ea28793e738$export$20e40289641fbbb6},E7:function(){return $9bf71ea28793e738$export$c5251b9e124bf29},QL:function(){return $9bf71ea28793e738$export$2d6ec8fc375ceafa},cW:function(){return $9bf71ea28793e738$export$1258395f99bf9cbf}});var es=ea(26590),eu=ea(78837);function $645f2e67b85a24c9$var$isStyleVisible(ei){let eo=(0,eu.k)(ei);if(!(ei instanceof eo.HTMLElement)&&!(ei instanceof eo.SVGElement))return!1;let{display:ea,visibility:es}=ei.style,ec="none"!==ea&&"hidden"!==es&&"collapse"!==es;if(ec){let{getComputedStyle:eo}=ei.ownerDocument.defaultView,{display:ea,visibility:es}=eo(ei);ec="none"!==ea&&"hidden"!==es&&"collapse"!==es}return ec}function $645f2e67b85a24c9$var$isAttributeVisible(ei,eo){return!ei.hasAttribute("hidden")&&!ei.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==ei.nodeName||!eo||"SUMMARY"===eo.nodeName||ei.hasAttribute("open"))}function $645f2e67b85a24c9$export$e989c0fffaa6b27a(ei,eo){return"#comment"!==ei.nodeName&&$645f2e67b85a24c9$var$isStyleVisible(ei)&&$645f2e67b85a24c9$var$isAttributeVisible(ei,eo)&&(!ei.parentElement||$645f2e67b85a24c9$export$e989c0fffaa6b27a(ei.parentElement,ei))}var ec=ea(69786),ed=ea(67294);let ef=ed.createContext(null),eh=null;function $9bf71ea28793e738$export$20e40289641fbbb6(ei){let{children:eo,contain:ea,restoreFocus:es,autoFocus:ep}=ei,em=(0,ed.useRef)(null),eg=(0,ed.useRef)(null),ey=(0,ed.useRef)([]),{parentNode:ew}=(0,ed.useContext)(ef)||{},ex=(0,ed.useMemo)(()=>new $9bf71ea28793e738$var$TreeNode({scopeRef:ey}),[ey]);(0,ec.b)(()=>{let ei=ew||eb.root;if(eb.getTreeNode(ei.scopeRef)&&eh&&!$9bf71ea28793e738$var$isAncestorScope(eh,ei.scopeRef)){let eo=eb.getTreeNode(eh);eo&&(ei=eo)}ei.addChild(ex),eb.addNode(ex)},[ex,ew]),(0,ec.b)(()=>{let ei=eb.getTreeNode(ey);ei&&(ei.contain=!!ea)},[ea]),(0,ec.b)(()=>{var ei;let eo=null===(ei=em.current)||void 0===ei?void 0:ei.nextSibling,ea=[];for(;eo&&eo!==eg.current;)ea.push(eo),eo=eo.nextSibling;ey.current=ea},[eo]),$9bf71ea28793e738$var$useActiveScopeTracker(ey,es,ea),$9bf71ea28793e738$var$useFocusContainment(ey,ea),$9bf71ea28793e738$var$useRestoreFocus(ey,es,ea),$9bf71ea28793e738$var$useAutoFocus(ey,ep),(0,ed.useEffect)(()=>{let ei=(0,eu.r)(ey.current?ey.current[0]:void 0).activeElement,eo=null;if($9bf71ea28793e738$var$isElementInScope(ei,ey.current)){for(let ea of eb.traverse())ea.scopeRef&&$9bf71ea28793e738$var$isElementInScope(ei,ea.scopeRef.current)&&(eo=ea);eo===eb.getTreeNode(ey)&&(eh=eo.scopeRef)}},[ey]),(0,ec.b)(()=>()=>{var ei,eo,ea;let es=null!==(ea=null===(eo=eb.getTreeNode(ey))||void 0===eo?void 0:null===(ei=eo.parent)||void 0===ei?void 0:ei.scopeRef)&&void 0!==ea?ea:null;(ey===eh||$9bf71ea28793e738$var$isAncestorScope(ey,eh))&&(!es||eb.getTreeNode(es))&&(eh=es),eb.removeTreeNode(ey)},[ey]);let eP=(0,ed.useMemo)(()=>$9bf71ea28793e738$var$createFocusManagerForScope(ey),[]),eS=(0,ed.useMemo)(()=>({focusManager:eP,parentNode:ex}),[ex,eP]);return ed.createElement(ef.Provider,{value:eS},ed.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:em}),eo,ed.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:eg}))}function $9bf71ea28793e738$var$createFocusManagerForScope(ei){return{focusNext(eo={}){let ea=ei.current,{from:es,tabbable:ec,wrap:ed,accept:ef}=eo,eh=es||(0,eu.r)(ea[0]).activeElement,ep=ea[0].previousElementSibling,em=$9bf71ea28793e738$export$2d6ec8fc375ceafa($9bf71ea28793e738$var$getScopeRoot(ea),{tabbable:ec,accept:ef},ea);em.currentNode=$9bf71ea28793e738$var$isElementInScope(eh,ea)?eh:ep;let eg=em.nextNode();return!eg&&ed&&(em.currentNode=ep,eg=em.nextNode()),eg&&$9bf71ea28793e738$var$focusElement(eg,!0),eg},focusPrevious(eo={}){let ea=ei.current,{from:es,tabbable:ec,wrap:ed,accept:ef}=eo,eh=es||(0,eu.r)(ea[0]).activeElement,ep=ea[ea.length-1].nextElementSibling,em=$9bf71ea28793e738$export$2d6ec8fc375ceafa($9bf71ea28793e738$var$getScopeRoot(ea),{tabbable:ec,accept:ef},ea);em.currentNode=$9bf71ea28793e738$var$isElementInScope(eh,ea)?eh:ep;let eg=em.previousNode();return!eg&&ed&&(em.currentNode=ep,eg=em.previousNode()),eg&&$9bf71ea28793e738$var$focusElement(eg,!0),eg},focusFirst(eo={}){let ea=ei.current,{tabbable:es,accept:eu}=eo,ec=$9bf71ea28793e738$export$2d6ec8fc375ceafa($9bf71ea28793e738$var$getScopeRoot(ea),{tabbable:es,accept:eu},ea);ec.currentNode=ea[0].previousElementSibling;let ed=ec.nextNode();return ed&&$9bf71ea28793e738$var$focusElement(ed,!0),ed},focusLast(eo={}){let ea=ei.current,{tabbable:es,accept:eu}=eo,ec=$9bf71ea28793e738$export$2d6ec8fc375ceafa($9bf71ea28793e738$var$getScopeRoot(ea),{tabbable:es,accept:eu},ea);ec.currentNode=ea[ea.length-1].nextElementSibling;let ed=ec.previousNode();return ed&&$9bf71ea28793e738$var$focusElement(ed,!0),ed}}}let ep=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],em=ep.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";ep.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let eg=ep.join(':not([hidden]):not([tabindex="-1"]),');function $9bf71ea28793e738$var$getScopeRoot(ei){return ei[0].parentElement}function $9bf71ea28793e738$var$shouldContainFocus(ei){let eo=eb.getTreeNode(eh);for(;eo&&eo.scopeRef!==ei;){if(eo.contain)return!1;eo=eo.parent}return!0}function $9bf71ea28793e738$var$useFocusContainment(ei,eo){let ea=(0,ed.useRef)(),es=(0,ed.useRef)();(0,ec.b)(()=>{let ec=ei.current;if(!eo){es.current&&(cancelAnimationFrame(es.current),es.current=void 0);return}let ed=(0,eu.r)(ec?ec[0]:void 0),onKeyDown=eo=>{if("Tab"!==eo.key||eo.altKey||eo.ctrlKey||eo.metaKey||!$9bf71ea28793e738$var$shouldContainFocus(ei)||eo.isComposing)return;let ea=ed.activeElement,es=ei.current;if(!es||!$9bf71ea28793e738$var$isElementInScope(ea,es))return;let eu=$9bf71ea28793e738$export$2d6ec8fc375ceafa($9bf71ea28793e738$var$getScopeRoot(es),{tabbable:!0},es);if(!ea)return;eu.currentNode=ea;let ec=eo.shiftKey?eu.previousNode():eu.nextNode();ec||(eu.currentNode=eo.shiftKey?es[es.length-1].nextElementSibling:es[0].previousElementSibling,ec=eo.shiftKey?eu.previousNode():eu.nextNode()),eo.preventDefault(),ec&&$9bf71ea28793e738$var$focusElement(ec,!0)},onFocus=eo=>{(!eh||$9bf71ea28793e738$var$isAncestorScope(eh,ei))&&$9bf71ea28793e738$var$isElementInScope(eo.target,ei.current)?(eh=ei,ea.current=eo.target):$9bf71ea28793e738$var$shouldContainFocus(ei)&&!$9bf71ea28793e738$var$isElementInChildScope(eo.target,ei)?ea.current?ea.current.focus():eh&&eh.current&&$9bf71ea28793e738$var$focusFirstInScope(eh.current):$9bf71ea28793e738$var$shouldContainFocus(ei)&&(ea.current=eo.target)},onBlur=eo=>{es.current&&cancelAnimationFrame(es.current),es.current=requestAnimationFrame(()=>{if(ed.activeElement&&$9bf71ea28793e738$var$shouldContainFocus(ei)&&!$9bf71ea28793e738$var$isElementInChildScope(ed.activeElement,ei)){if(eh=ei,ed.body.contains(eo.target)){var es;ea.current=eo.target,null===(es=ea.current)||void 0===es||es.focus()}else eh.current&&$9bf71ea28793e738$var$focusFirstInScope(eh.current)}})};return ed.addEventListener("keydown",onKeyDown,!1),ed.addEventListener("focusin",onFocus,!1),null==ec||ec.forEach(ei=>ei.addEventListener("focusin",onFocus,!1)),null==ec||ec.forEach(ei=>ei.addEventListener("focusout",onBlur,!1)),()=>{ed.removeEventListener("keydown",onKeyDown,!1),ed.removeEventListener("focusin",onFocus,!1),null==ec||ec.forEach(ei=>ei.removeEventListener("focusin",onFocus,!1)),null==ec||ec.forEach(ei=>ei.removeEventListener("focusout",onBlur,!1))}},[ei,eo]),(0,ec.b)(()=>()=>{es.current&&cancelAnimationFrame(es.current)},[es])}function $9bf71ea28793e738$var$isElementInAnyScope(ei){return $9bf71ea28793e738$var$isElementInChildScope(ei)}function $9bf71ea28793e738$var$isElementInScope(ei,eo){return!!ei&&!!eo&&eo.some(eo=>eo.contains(ei))}function $9bf71ea28793e738$var$isElementInChildScope(ei,eo=null){if(ei instanceof Element&&ei.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:ea}of eb.traverse(eb.getTreeNode(eo)))if(ea&&$9bf71ea28793e738$var$isElementInScope(ei,ea.current))return!0;return!1}function $9bf71ea28793e738$export$1258395f99bf9cbf(ei){return $9bf71ea28793e738$var$isElementInChildScope(ei,eh)}function $9bf71ea28793e738$var$isAncestorScope(ei,eo){var ea;let es=null===(ea=eb.getTreeNode(eo))||void 0===ea?void 0:ea.parent;for(;es;){if(es.scopeRef===ei)return!0;es=es.parent}return!1}function $9bf71ea28793e738$var$focusElement(ei,eo=!1){if(null==ei||eo){if(null!=ei)try{ei.focus()}catch(ei){}}else try{(0,es.e)(ei)}catch(ei){}}function $9bf71ea28793e738$var$focusFirstInScope(ei,eo=!0){let ea=ei[0].previousElementSibling,es=$9bf71ea28793e738$var$getScopeRoot(ei),eu=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es,{tabbable:eo},ei);eu.currentNode=ea;let ec=eu.nextNode();eo&&!ec&&((eu=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es=$9bf71ea28793e738$var$getScopeRoot(ei),{tabbable:!1},ei)).currentNode=ea,ec=eu.nextNode()),$9bf71ea28793e738$var$focusElement(ec)}function $9bf71ea28793e738$var$useAutoFocus(ei,eo){let ea=ed.useRef(eo);(0,ed.useEffect)(()=>{if(ea.current){eh=ei;let eo=(0,eu.r)(ei.current?ei.current[0]:void 0);!$9bf71ea28793e738$var$isElementInScope(eo.activeElement,eh.current)&&ei.current&&$9bf71ea28793e738$var$focusFirstInScope(ei.current)}ea.current=!1},[ei])}function $9bf71ea28793e738$var$useActiveScopeTracker(ei,eo,ea){(0,ec.b)(()=>{if(eo||ea)return;let es=ei.current,ec=(0,eu.r)(es?es[0]:void 0),onFocus=eo=>{let ea=eo.target;$9bf71ea28793e738$var$isElementInScope(ea,ei.current)?eh=ei:$9bf71ea28793e738$var$isElementInAnyScope(ea)||(eh=null)};return ec.addEventListener("focusin",onFocus,!1),null==es||es.forEach(ei=>ei.addEventListener("focusin",onFocus,!1)),()=>{ec.removeEventListener("focusin",onFocus,!1),null==es||es.forEach(ei=>ei.removeEventListener("focusin",onFocus,!1))}},[ei,eo,ea])}function $9bf71ea28793e738$var$shouldRestoreFocus(ei){let eo=eb.getTreeNode(eh);for(;eo&&eo.scopeRef!==ei;){if(eo.nodeToRestore)return!1;eo=eo.parent}return(null==eo?void 0:eo.scopeRef)===ei}function $9bf71ea28793e738$var$useRestoreFocus(ei,eo,ea){let es=(0,ed.useRef)("undefined"!=typeof document?(0,eu.r)(ei.current?ei.current[0]:void 0).activeElement:null);(0,ec.b)(()=>{let es=ei.current,ec=(0,eu.r)(es?es[0]:void 0);if(!eo||ea)return;let onFocus=()=>{(!eh||$9bf71ea28793e738$var$isAncestorScope(eh,ei))&&$9bf71ea28793e738$var$isElementInScope(ec.activeElement,ei.current)&&(eh=ei)};return ec.addEventListener("focusin",onFocus,!1),null==es||es.forEach(ei=>ei.addEventListener("focusin",onFocus,!1)),()=>{ec.removeEventListener("focusin",onFocus,!1),null==es||es.forEach(ei=>ei.removeEventListener("focusin",onFocus,!1))}},[ei,ea]),(0,ec.b)(()=>{let es=(0,eu.r)(ei.current?ei.current[0]:void 0);if(!eo)return;let onKeyDown=eo=>{if("Tab"!==eo.key||eo.altKey||eo.ctrlKey||eo.metaKey||!$9bf71ea28793e738$var$shouldContainFocus(ei)||eo.isComposing)return;let ea=es.activeElement;if(!$9bf71ea28793e738$var$isElementInScope(ea,ei.current))return;let eu=eb.getTreeNode(ei);if(!eu)return;let ec=eu.nodeToRestore,ed=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es.body,{tabbable:!0});ed.currentNode=ea;let ef=eo.shiftKey?ed.previousNode():ed.nextNode();if(ec&&es.body.contains(ec)&&ec!==es.body||(ec=void 0,eu.nodeToRestore=void 0),(!ef||!$9bf71ea28793e738$var$isElementInScope(ef,ei.current))&&ec){ed.currentNode=ec;do ef=eo.shiftKey?ed.previousNode():ed.nextNode();while($9bf71ea28793e738$var$isElementInScope(ef,ei.current));eo.preventDefault(),eo.stopPropagation(),ef?$9bf71ea28793e738$var$focusElement(ef,!0):$9bf71ea28793e738$var$isElementInAnyScope(ec)?$9bf71ea28793e738$var$focusElement(ec,!0):ea.blur()}};return ea||es.addEventListener("keydown",onKeyDown,!0),()=>{ea||es.removeEventListener("keydown",onKeyDown,!0)}},[ei,eo,ea]),(0,ec.b)(()=>{var ea;let ec=(0,eu.r)(ei.current?ei.current[0]:void 0);if(!eo)return;let ed=eb.getTreeNode(ei);if(ed)return ed.nodeToRestore=null!==(ea=es.current)&&void 0!==ea?ea:void 0,()=>{let ea=eb.getTreeNode(ei);if(!ea)return;let es=ea.nodeToRestore;if(eo&&es&&($9bf71ea28793e738$var$isElementInScope(ec.activeElement,ei.current)||ec.activeElement===ec.body&&$9bf71ea28793e738$var$shouldRestoreFocus(ei))){let eo=eb.clone();requestAnimationFrame(()=>{if(ec.activeElement===ec.body){let ea=eo.getTreeNode(ei);for(;ea;){if(ea.nodeToRestore&&ea.nodeToRestore.isConnected){$9bf71ea28793e738$var$focusElement(ea.nodeToRestore);return}ea=ea.parent}for(ea=eo.getTreeNode(ei);ea;){if(ea.scopeRef&&ea.scopeRef.current&&eb.getTreeNode(ea.scopeRef)){$9bf71ea28793e738$var$focusFirstInScope(ea.scopeRef.current,!0);return}ea=ea.parent}}})}}},[ei,eo])}function $9bf71ea28793e738$export$2d6ec8fc375ceafa(ei,eo,ea){let es=(null==eo?void 0:eo.tabbable)?eg:em,ec=(0,eu.r)(ei).createTreeWalker(ei,NodeFilter.SHOW_ELEMENT,{acceptNode(ei){var eu;return(null==eo?void 0:null===(eu=eo.from)||void 0===eu?void 0:eu.contains(ei))?NodeFilter.FILTER_REJECT:ei.matches(es)&&$645f2e67b85a24c9$export$e989c0fffaa6b27a(ei)&&(!ea||$9bf71ea28793e738$var$isElementInScope(ei,ea))&&(!(null==eo?void 0:eo.accept)||eo.accept(ei))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==eo?void 0:eo.from)&&(ec.currentNode=eo.from),ec}function $9bf71ea28793e738$export$c5251b9e124bf29(ei,eo={}){return{focusNext(ea={}){let es=ei.current;if(!es)return null;let{from:ec,tabbable:ed=eo.tabbable,wrap:ef=eo.wrap,accept:eh=eo.accept}=ea,ep=ec||(0,eu.r)(es).activeElement,em=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es,{tabbable:ed,accept:eh});es.contains(ep)&&(em.currentNode=ep);let eg=em.nextNode();return!eg&&ef&&(em.currentNode=es,eg=em.nextNode()),eg&&$9bf71ea28793e738$var$focusElement(eg,!0),eg},focusPrevious(ea=eo){let es=ei.current;if(!es)return null;let{from:ec,tabbable:ed=eo.tabbable,wrap:ef=eo.wrap,accept:eh=eo.accept}=ea,ep=ec||(0,eu.r)(es).activeElement,em=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es,{tabbable:ed,accept:eh});if(es.contains(ep))em.currentNode=ep;else{let ei=$9bf71ea28793e738$var$last(em);return ei&&$9bf71ea28793e738$var$focusElement(ei,!0),null!=ei?ei:null}let eg=em.previousNode();if(!eg&&ef){em.currentNode=es;let ei=$9bf71ea28793e738$var$last(em);if(!ei)return null;eg=ei}return eg&&$9bf71ea28793e738$var$focusElement(eg,!0),null!=eg?eg:null},focusFirst(ea=eo){let es=ei.current;if(!es)return null;let{tabbable:eu=eo.tabbable,accept:ec=eo.accept}=ea,ed=$9bf71ea28793e738$export$2d6ec8fc375ceafa(es,{tabbable:eu,accept:ec}).nextNode();return ed&&$9bf71ea28793e738$var$focusElement(ed,!0),ed},focusLast(ea=eo){let es=ei.current;if(!es)return null;let{tabbable:eu=eo.tabbable,accept:ec=eo.accept}=ea,ed=$9bf71ea28793e738$var$last($9bf71ea28793e738$export$2d6ec8fc375ceafa(es,{tabbable:eu,accept:ec}));return ed&&$9bf71ea28793e738$var$focusElement(ed,!0),null!=ed?ed:null}}}function $9bf71ea28793e738$var$last(ei){let eo,ea;do(eo=ei.lastChild())&&(ea=eo);while(eo);return ea}let $9bf71ea28793e738$var$Tree=class $9bf71ea28793e738$var$Tree{get size(){return this.fastMap.size}getTreeNode(ei){return this.fastMap.get(ei)}addTreeNode(ei,eo,ea){let es=this.fastMap.get(null!=eo?eo:null);if(!es)return;let eu=new $9bf71ea28793e738$var$TreeNode({scopeRef:ei});es.addChild(eu),eu.parent=es,this.fastMap.set(ei,eu),ea&&(eu.nodeToRestore=ea)}addNode(ei){this.fastMap.set(ei.scopeRef,ei)}removeTreeNode(ei){if(null===ei)return;let eo=this.fastMap.get(ei);if(!eo)return;let ea=eo.parent;for(let ei of this.traverse())ei!==eo&&eo.nodeToRestore&&ei.nodeToRestore&&eo.scopeRef&&eo.scopeRef.current&&$9bf71ea28793e738$var$isElementInScope(ei.nodeToRestore,eo.scopeRef.current)&&(ei.nodeToRestore=eo.nodeToRestore);let es=eo.children;ea&&(ea.removeChild(eo),es.size>0&&es.forEach(ei=>ea&&ea.addChild(ei))),this.fastMap.delete(eo.scopeRef)}*traverse(ei=this.root){if(null!=ei.scopeRef&&(yield ei),ei.children.size>0)for(let eo of ei.children)yield*this.traverse(eo)}clone(){var ei,eo;let ea=new $9bf71ea28793e738$var$Tree;for(let es of this.traverse())ea.addTreeNode(es.scopeRef,null!==(eo=null===(ei=es.parent)||void 0===ei?void 0:ei.scopeRef)&&void 0!==eo?eo:null,es.nodeToRestore);return ea}constructor(){this.fastMap=new Map,this.root=new $9bf71ea28793e738$var$TreeNode({scopeRef:null}),this.fastMap.set(null,this.root)}};let $9bf71ea28793e738$var$TreeNode=class $9bf71ea28793e738$var$TreeNode{addChild(ei){this.children.add(ei),ei.parent=this}removeChild(ei){this.children.delete(ei),ei.parent=void 0}constructor(ei){this.children=new Set,this.contain=!1,this.scopeRef=ei.scopeRef}};let eb=new $9bf71ea28793e738$var$Tree},26590:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return $6a99195332edec8b$export$80f3e147d781571c}});var es=ea(78837),eu=ea(85007),ec=ea(77604),ed=ea(9975);function $6a99195332edec8b$export$80f3e147d781571c(ei){let eo=(0,es.r)(ei);if("virtual"===(0,ed.Jz)()){let ea=eo.activeElement;(0,eu.Q)(()=>{eo.activeElement===ea&&ei.isConnected&&(0,ec.A)(ei)})}else(0,ec.A)(ei)}},2459:function(ei,eo,ea){"use strict";ea.d(eo,{F:function(){return $f7dceffc5ad7768b$export$4e328f61c538687f}});var es=ea(9975),eu=ea(47234),ec=ea(44971),ed=ea(67294);function $f7dceffc5ad7768b$export$4e328f61c538687f(ei={}){let{autoFocus:eo=!1,isTextInput:ea,within:ef}=ei,eh=(0,ed.useRef)({isFocused:!1,isFocusVisible:eo||(0,es.E)()}),[ep,em]=(0,ed.useState)(!1),[eg,eb]=(0,ed.useState)(()=>eh.current.isFocused&&eh.current.isFocusVisible),ey=(0,ed.useCallback)(()=>eb(eh.current.isFocused&&eh.current.isFocusVisible),[]),ew=(0,ed.useCallback)(ei=>{eh.current.isFocused=ei,em(ei),ey()},[ey]);(0,es.mG)(ei=>{eh.current.isFocusVisible=ei,ey()},[],{isTextInput:ea});let{focusProps:ex}=(0,eu.K)({isDisabled:ef,onFocusChange:ew}),{focusWithinProps:eP}=(0,ec.L)({isDisabled:!ef,onFocusWithinChange:ew});return{isFocused:ep,isFocusVisible:eg,focusProps:ef?eP:ex}}},68587:function(ei,eo,ea){"use strict";ea.d(eo,{k:function(){return $e6afbd83fe6ebbd2$export$4c014de7c8940b4c}});var es=ea(26590),eu=ea(72970),ec=ea(37127),ed=ea(67294),ef=ea(47234),eh=ea(91243);let ep=ed.createContext(null);function $e6afbd83fe6ebbd2$var$useFocusableContext(ei){let eo=(0,ed.useContext)(ep)||{};(0,eu.l)(eo,ei);let{ref:ea,...es}=eo;return es}function $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(ei,eo){let{focusProps:ea}=(0,ef.K)(ei),{keyboardProps:eu}=(0,eh.v)(ei),ep=(0,ec.d)(ea,eu),em=$e6afbd83fe6ebbd2$var$useFocusableContext(eo),eg=ei.isDisabled?{}:em,eb=(0,ed.useRef)(ei.autoFocus);return(0,ed.useEffect)(()=>{eb.current&&eo.current&&(0,es.e)(eo.current),eb.current=!1},[eo]),{focusableProps:(0,ec.d)({...ep,tabIndex:ei.excludeFromTabOrder&&!ei.isDisabled?-1:void 0},eg)}}},14868:function(ei,eo,ea){"use strict";ea.d(eo,{Q:function(){return $e93e671b31057976$export$b8473d3665f3a75a}});var es=ea(67294),eu=ea(9975),ec=ea(69786),ed=ea(61718);function $e93e671b31057976$export$b8473d3665f3a75a(ei,eo,ea){let{validationBehavior:ef,focus:eh}=ei;(0,ec.b)(()=>{if("native"===ef&&(null==ea?void 0:ea.current)){let ei=eo.realtimeValidation.isInvalid?eo.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";ea.current.setCustomValidity(ei),ea.current.hasAttribute("title")||(ea.current.title=""),eo.realtimeValidation.isInvalid||eo.updateValidation($e93e671b31057976$var$getNativeValidity(ea.current))}});let ep=(0,ed.i)(()=>{eo.resetValidation()}),em=(0,ed.i)(ei=>{var es,ec;eo.displayValidation.isInvalid||eo.commitValidation();let ed=null==ea?void 0:null===(es=ea.current)||void 0===es?void 0:es.form;!ei.defaultPrevented&&ea&&ed&&$e93e671b31057976$var$getFirstInvalidInput(ed)===ea.current&&(eh?eh():null===(ec=ea.current)||void 0===ec||ec.focus(),(0,eu._w)("keyboard")),ei.preventDefault()}),eg=(0,ed.i)(()=>{eo.commitValidation()});(0,es.useEffect)(()=>{let ei=null==ea?void 0:ea.current;if(!ei)return;let eo=ei.form;return ei.addEventListener("invalid",em),ei.addEventListener("change",eg),null==eo||eo.addEventListener("reset",ep),()=>{ei.removeEventListener("invalid",em),ei.removeEventListener("change",eg),null==eo||eo.removeEventListener("reset",ep)}},[ea,em,eg,ep,ef])}function $e93e671b31057976$var$getValidity(ei){let eo=ei.validity;return{badInput:eo.badInput,customError:eo.customError,patternMismatch:eo.patternMismatch,rangeOverflow:eo.rangeOverflow,rangeUnderflow:eo.rangeUnderflow,stepMismatch:eo.stepMismatch,tooLong:eo.tooLong,tooShort:eo.tooShort,typeMismatch:eo.typeMismatch,valueMissing:eo.valueMissing,valid:eo.valid}}function $e93e671b31057976$var$getNativeValidity(ei){return{isInvalid:!ei.validity.valid,validationDetails:$e93e671b31057976$var$getValidity(ei),validationErrors:ei.validationMessage?[ei.validationMessage]:[]}}function $e93e671b31057976$var$getFirstInvalidInput(ei){for(let eo=0;eo<ei.elements.length;eo++){let ea=ei.elements[eo];if(!ea.validity.valid)return ea}return null}},54792:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return $18f2051aff69b9bf$export$a54013f0d02a8f82},j:function(){return $18f2051aff69b9bf$export$43bb16f9c6d9e3f7}});let es=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),eu=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function $148a7a147e38ea7f$export$702d680b21cbd764(ei){if(Intl.Locale){let eo=new Intl.Locale(ei).maximize(),ea="function"==typeof eo.getTextInfo?eo.getTextInfo():eo.textInfo;if(ea)return"rtl"===ea.direction;if(eo.script)return es.has(eo.script)}let eo=ei.split("-")[0];return eu.has(eo)}var ec=ea(67294),ed=ea(37385);let ef=Symbol.for("react-aria.i18n.locale");function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5(){let ei="undefined"!=typeof window&&window[ef]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([ei])}catch(eo){ei="en-US"}return{locale:ei,direction:$148a7a147e38ea7f$export$702d680b21cbd764(ei)?"rtl":"ltr"}}let eh=$1e5a04cdaf7d1af8$export$f09106e7c6677ec5(),ep=new Set;function $1e5a04cdaf7d1af8$var$updateLocale(){for(let ei of(eh=$1e5a04cdaf7d1af8$export$f09106e7c6677ec5(),ep))ei(eh)}function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a(){let ei=(0,ed.Av)(),[eo,ea]=(0,ec.useState)(eh);return((0,ec.useEffect)(()=>(0===ep.size&&window.addEventListener("languagechange",$1e5a04cdaf7d1af8$var$updateLocale),ep.add(ea),()=>{ep.delete(ea),0===ep.size&&window.removeEventListener("languagechange",$1e5a04cdaf7d1af8$var$updateLocale)}),[]),ei)?{locale:"en-US",direction:"ltr"}:eo}let em=ec.createContext(null);function $18f2051aff69b9bf$export$a54013f0d02a8f82(ei){let{locale:eo,children:ea}=ei,es=$1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a(),eu=ec.useMemo(()=>eo?{locale:eo,direction:$148a7a147e38ea7f$export$702d680b21cbd764(eo)?"rtl":"ltr"}:es,[es,eo]);return ec.createElement(em.Provider,{value:eu},ea)}function $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(){let ei=$1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();return(0,ec.useContext)(em)||ei}},43394:function(ei,eo,ea){"use strict";ea.d(eo,{X:function(){return $325a3faab7a68acd$export$a16aca283550c30d}});var es=ea(54792);let eu=new Map;function $325a3faab7a68acd$export$a16aca283550c30d(ei){let{locale:eo}=(0,es.j)(),ea=eo+(ei?Object.entries(ei).sort((ei,eo)=>ei[0]<eo[0]?-1:1).join():"");if(eu.has(ea))return eu.get(ea);let ec=new Intl.Collator(eo,ei);return eu.set(ea,ec),ec}},94392:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return $fca6afa0e843324b$export$87b761675e8eaa10},q:function(){return $fca6afa0e843324b$export$f12b703ca79dfbb1}});var es=ea(54792),eu=ea(41044),ec=ea(1839),ed=ea(67294);let ef=new WeakMap;function $fca6afa0e843324b$var$getCachedDictionary(ei){let eo=ef.get(ei);return eo||(eo=new eu.J(ei),ef.set(ei,eo)),eo}function $fca6afa0e843324b$export$87b761675e8eaa10(ei,eo){return eo&&(0,eu.J).getGlobalDictionaryForPackage(eo)||$fca6afa0e843324b$var$getCachedDictionary(ei)}function $fca6afa0e843324b$export$f12b703ca79dfbb1(ei,eo){let{locale:ea}=(0,es.j)(),eu=$fca6afa0e843324b$export$87b761675e8eaa10(ei,eo);return(0,ed.useMemo)(()=>new ec.E(ea,eu),[ea,eu])}},4942:function(ei,eo,ea){"use strict";ea.d(eo,{O:function(){return eu}});var es=ea(67294);let eu=es.createContext({register:()=>{}});eu.displayName="PressResponderContext"},47234:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return $a1ea59d68270f0dd$export$f8168d8dd8fd66e6}});var es=ea(34247),eu=ea(67294),ec=ea(78837);function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(ei){let{isDisabled:eo,onFocus:ea,onBlur:ed,onFocusChange:ef}=ei,eh=(0,eu.useCallback)(ei=>{if(ei.target===ei.currentTarget)return ed&&ed(ei),ef&&ef(!1),!0},[ed,ef]),ep=(0,es.d)(eh),em=(0,eu.useCallback)(ei=>{let eo=(0,ec.r)(ei.target);ei.target===ei.currentTarget&&eo.activeElement===ei.target&&(ea&&ea(ei),ef&&ef(!0),ep(ei))},[ef,ea,ep]);return{focusProps:{onFocus:!eo&&(ea||ef||ed)?em:void 0,onBlur:!eo&&(ed||ef)?eh:void 0}}}},9975:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return $507fabe10e71c6fb$export$b9b3dfddab17db27},Jz:function(){return $507fabe10e71c6fb$export$630ff653c5ada6a9},Kf:function(){return $507fabe10e71c6fb$export$98e20ec92f614cfe},_w:function(){return $507fabe10e71c6fb$export$8397ddfc504fdb9a},mG:function(){return $507fabe10e71c6fb$export$ec71b4b83ac08ec3}});var es=ea(68806),eu=ea(26301),ec=ea(78837),ed=ea(67294),ef=ea(37385);let eh=null,ep=new Set,em=new Map,eg=!1,eb=!1,ey={Tab:!0,Escape:!0};function $507fabe10e71c6fb$var$triggerChangeHandlers(ei,eo){for(let ea of ep)ea(ei,eo)}function $507fabe10e71c6fb$var$isValidKey(ei){return!(ei.metaKey||!(0,es.V5)()&&ei.altKey||ei.ctrlKey||"Control"===ei.key||"Shift"===ei.key||"Meta"===ei.key)}function $507fabe10e71c6fb$var$handleKeyboardEvent(ei){eg=!0,$507fabe10e71c6fb$var$isValidKey(ei)&&(eh="keyboard",$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard",ei))}function $507fabe10e71c6fb$var$handlePointerEvent(ei){eh="pointer",("mousedown"===ei.type||"pointerdown"===ei.type)&&(eg=!0,$507fabe10e71c6fb$var$triggerChangeHandlers("pointer",ei))}function $507fabe10e71c6fb$var$handleClickEvent(ei){(0,eu.Z)(ei)&&(eg=!0,eh="virtual")}function $507fabe10e71c6fb$var$handleFocusEvent(ei){ei.target!==window&&ei.target!==document&&(eg||eb||(eh="virtual",$507fabe10e71c6fb$var$triggerChangeHandlers("virtual",ei)),eg=!1,eb=!1)}function $507fabe10e71c6fb$var$handleWindowBlur(){eg=!1,eb=!0}function $507fabe10e71c6fb$var$setupGlobalFocusEvents(ei){if("undefined"==typeof window||em.get((0,ec.k)(ei)))return;let eo=(0,ec.k)(ei),ea=(0,ec.r)(ei),es=eo.HTMLElement.prototype.focus;eo.HTMLElement.prototype.focus=function(){eg=!0,es.apply(this,arguments)},ea.addEventListener("keydown",$507fabe10e71c6fb$var$handleKeyboardEvent,!0),ea.addEventListener("keyup",$507fabe10e71c6fb$var$handleKeyboardEvent,!0),ea.addEventListener("click",$507fabe10e71c6fb$var$handleClickEvent,!0),eo.addEventListener("focus",$507fabe10e71c6fb$var$handleFocusEvent,!0),eo.addEventListener("blur",$507fabe10e71c6fb$var$handleWindowBlur,!1),"undefined"!=typeof PointerEvent?(ea.addEventListener("pointerdown",$507fabe10e71c6fb$var$handlePointerEvent,!0),ea.addEventListener("pointermove",$507fabe10e71c6fb$var$handlePointerEvent,!0),ea.addEventListener("pointerup",$507fabe10e71c6fb$var$handlePointerEvent,!0)):(ea.addEventListener("mousedown",$507fabe10e71c6fb$var$handlePointerEvent,!0),ea.addEventListener("mousemove",$507fabe10e71c6fb$var$handlePointerEvent,!0),ea.addEventListener("mouseup",$507fabe10e71c6fb$var$handlePointerEvent,!0)),eo.addEventListener("beforeunload",()=>{$507fabe10e71c6fb$var$tearDownWindowFocusTracking(ei)},{once:!0}),em.set(eo,{focus:es})}let $507fabe10e71c6fb$var$tearDownWindowFocusTracking=(ei,eo)=>{let ea=(0,ec.k)(ei),es=(0,ec.r)(ei);eo&&es.removeEventListener("DOMContentLoaded",eo),em.has(ea)&&(ea.HTMLElement.prototype.focus=em.get(ea).focus,es.removeEventListener("keydown",$507fabe10e71c6fb$var$handleKeyboardEvent,!0),es.removeEventListener("keyup",$507fabe10e71c6fb$var$handleKeyboardEvent,!0),es.removeEventListener("click",$507fabe10e71c6fb$var$handleClickEvent,!0),ea.removeEventListener("focus",$507fabe10e71c6fb$var$handleFocusEvent,!0),ea.removeEventListener("blur",$507fabe10e71c6fb$var$handleWindowBlur,!1),"undefined"!=typeof PointerEvent?(es.removeEventListener("pointerdown",$507fabe10e71c6fb$var$handlePointerEvent,!0),es.removeEventListener("pointermove",$507fabe10e71c6fb$var$handlePointerEvent,!0),es.removeEventListener("pointerup",$507fabe10e71c6fb$var$handlePointerEvent,!0)):(es.removeEventListener("mousedown",$507fabe10e71c6fb$var$handlePointerEvent,!0),es.removeEventListener("mousemove",$507fabe10e71c6fb$var$handlePointerEvent,!0),es.removeEventListener("mouseup",$507fabe10e71c6fb$var$handlePointerEvent,!0)),em.delete(ea))};function $507fabe10e71c6fb$export$2f1888112f558a7d(ei){let eo;let ea=(0,ec.r)(ei);return"loading"!==ea.readyState?$507fabe10e71c6fb$var$setupGlobalFocusEvents(ei):(eo=()=>{$507fabe10e71c6fb$var$setupGlobalFocusEvents(ei)},ea.addEventListener("DOMContentLoaded",eo)),()=>$507fabe10e71c6fb$var$tearDownWindowFocusTracking(ei,eo)}function $507fabe10e71c6fb$export$b9b3dfddab17db27(){return"pointer"!==eh}function $507fabe10e71c6fb$export$630ff653c5ada6a9(){return eh}function $507fabe10e71c6fb$export$8397ddfc504fdb9a(ei){eh=ei,$507fabe10e71c6fb$var$triggerChangeHandlers(ei,null)}function $507fabe10e71c6fb$export$98e20ec92f614cfe(){$507fabe10e71c6fb$var$setupGlobalFocusEvents();let[ei,eo]=(0,ed.useState)(eh);return(0,ed.useEffect)(()=>{let handler=()=>{eo(eh)};return ep.add(handler),()=>{ep.delete(handler)}},[]),(0,ef.Av)()?null:ei}"undefined"!=typeof document&&$507fabe10e71c6fb$export$2f1888112f558a7d();let ew=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function $507fabe10e71c6fb$var$isKeyboardFocusEvent(ei,eo,ea){var es;let eu="undefined"!=typeof window?(0,ec.k)(null==ea?void 0:ea.target).HTMLInputElement:HTMLInputElement,ed="undefined"!=typeof window?(0,ec.k)(null==ea?void 0:ea.target).HTMLTextAreaElement:HTMLTextAreaElement,ef="undefined"!=typeof window?(0,ec.k)(null==ea?void 0:ea.target).HTMLElement:HTMLElement,eh="undefined"!=typeof window?(0,ec.k)(null==ea?void 0:ea.target).KeyboardEvent:KeyboardEvent;return!((ei=ei||(null==ea?void 0:ea.target)instanceof eu&&!ew.has(null==ea?void 0:null===(es=ea.target)||void 0===es?void 0:es.type)||(null==ea?void 0:ea.target)instanceof ed||(null==ea?void 0:ea.target)instanceof ef&&(null==ea?void 0:ea.target.isContentEditable))&&"keyboard"===eo&&ea instanceof eh&&!ey[ea.key])}function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(ei,eo,ea){$507fabe10e71c6fb$var$setupGlobalFocusEvents(),(0,ed.useEffect)(()=>{let handler=(eo,es)=>{$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(null==ea?void 0:ea.isTextInput),eo,es)&&ei($507fabe10e71c6fb$export$b9b3dfddab17db27())};return ep.add(handler),()=>{ep.delete(handler)}},eo)}},44971:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return $9ab94262bd0047c7$export$420e68273165f4ec}});var es=ea(34247),eu=ea(67294);function $9ab94262bd0047c7$export$420e68273165f4ec(ei){let{isDisabled:eo,onBlurWithin:ea,onFocusWithin:ec,onFocusWithinChange:ed}=ei,ef=(0,eu.useRef)({isFocusWithin:!1}),eh=(0,eu.useCallback)(ei=>{ef.current.isFocusWithin&&!ei.currentTarget.contains(ei.relatedTarget)&&(ef.current.isFocusWithin=!1,ea&&ea(ei),ed&&ed(!1))},[ea,ed,ef]),ep=(0,es.d)(eh),em=(0,eu.useCallback)(ei=>{ef.current.isFocusWithin||document.activeElement!==ei.target||(ec&&ec(ei),ed&&ed(!0),ef.current.isFocusWithin=!0,ep(ei))},[ec,ed,ep]);return eo?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:em,onBlur:eh}}}},18419:function(ei,eo,ea){"use strict";ea.d(eo,{X:function(){return $6179b936705e76d3$export$ae780daf29e6d456}});var es=ea(67294);let eu=!1,ec=0;function $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents(){eu=!0,setTimeout(()=>{eu=!1},50)}function $6179b936705e76d3$var$handleGlobalPointerEvent(ei){"touch"===ei.pointerType&&$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents()}function $6179b936705e76d3$var$setupGlobalTouchEvents(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",$6179b936705e76d3$var$handleGlobalPointerEvent):document.addEventListener("touchend",$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents),ec++,()=>{--ec>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",$6179b936705e76d3$var$handleGlobalPointerEvent):document.removeEventListener("touchend",$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents))}}function $6179b936705e76d3$export$ae780daf29e6d456(ei){let{onHoverStart:eo,onHoverChange:ea,onHoverEnd:ec,isDisabled:ed}=ei,[ef,eh]=(0,es.useState)(!1),ep=(0,es.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,es.useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents,[]);let{hoverProps:em,triggerHoverEnd:eg}=(0,es.useMemo)(()=>{let triggerHoverStart=(ei,es)=>{if(ep.pointerType=es,ed||"touch"===es||ep.isHovered||!ei.currentTarget.contains(ei.target))return;ep.isHovered=!0;let eu=ei.currentTarget;ep.target=eu,eo&&eo({type:"hoverstart",target:eu,pointerType:es}),ea&&ea(!0),eh(!0)},triggerHoverEnd=(ei,eo)=>{if(ep.pointerType="",ep.target=null,"touch"===eo||!ep.isHovered)return;ep.isHovered=!1;let es=ei.currentTarget;ec&&ec({type:"hoverend",target:es,pointerType:eo}),ea&&ea(!1),eh(!1)},ei={};return"undefined"!=typeof PointerEvent?(ei.onPointerEnter=ei=>{eu&&"mouse"===ei.pointerType||triggerHoverStart(ei,ei.pointerType)},ei.onPointerLeave=ei=>{!ed&&ei.currentTarget.contains(ei.target)&&triggerHoverEnd(ei,ei.pointerType)}):(ei.onTouchStart=()=>{ep.ignoreEmulatedMouseEvents=!0},ei.onMouseEnter=ei=>{ep.ignoreEmulatedMouseEvents||eu||triggerHoverStart(ei,"mouse"),ep.ignoreEmulatedMouseEvents=!1},ei.onMouseLeave=ei=>{!ed&&ei.currentTarget.contains(ei.target)&&triggerHoverEnd(ei,"mouse")}),{hoverProps:ei,triggerHoverEnd:triggerHoverEnd}},[eo,ea,ec,ed,ep]);return(0,es.useEffect)(()=>{ed&&eg({currentTarget:ep.target},ep.pointerType)},[ed]),{hoverProps:em,isHovered:ef}}},91243:function(ei,eo,ea){"use strict";function $93925083ecbb358c$export$48d1ea6320830260(ei){if(!ei)return;let eo=!0;return ea=>{ei({...ea,preventDefault(){ea.preventDefault()},isDefaultPrevented:()=>ea.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){eo=!1}}),eo&&ea.stopPropagation()}}function $46d819fcbaf35654$export$8f71654801c2f7cd(ei){return{keyboardProps:ei.isDisabled?{}:{onKeyDown:$93925083ecbb358c$export$48d1ea6320830260(ei.onKeyDown),onKeyUp:$93925083ecbb358c$export$48d1ea6320830260(ei.onKeyUp)}}}ea.d(eo,{v:function(){return $46d819fcbaf35654$export$8f71654801c2f7cd}})},51889:function(ei,eo,ea){"use strict";ea.d(eo,{T:function(){return $8a26561d2877236e$export$c24ed0104d07eab9}});var es=ea(2317),eu=ea(36116),ec=ea(1325),ed=ea(37127),ef=ea(67294);let eh=500;function $8a26561d2877236e$export$c24ed0104d07eab9(ei){let{isDisabled:eo,onLongPressStart:ea,onLongPressEnd:ep,onLongPress:em,threshold:eg=eh,accessibilityDescription:eb}=ei,ey=(0,ef.useRef)(),{addGlobalListener:ew,removeGlobalListener:ex}=(0,eu.x)(),{pressProps:eP}=(0,es.r)({isDisabled:eo,onPressStart(ei){if(ei.continuePropagation(),("mouse"===ei.pointerType||"touch"===ei.pointerType)&&(ea&&ea({...ei,type:"longpressstart"}),ey.current=setTimeout(()=>{ei.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),em&&em({...ei,type:"longpress"}),ey.current=void 0},eg),"touch"===ei.pointerType)){let onContextMenu=ei=>{ei.preventDefault()};ew(ei.target,"contextmenu",onContextMenu,{once:!0}),ew(window,"pointerup",()=>{setTimeout(()=>{ex(ei.target,"contextmenu",onContextMenu)},30)},{once:!0})}},onPressEnd(ei){ey.current&&clearTimeout(ey.current),ep&&("mouse"===ei.pointerType||"touch"===ei.pointerType)&&ep({...ei,type:"longpressend"})}}),eS=(0,ec.P)(em&&!eo?eb:void 0);return{longPressProps:(0,ed.d)(eP,eS)}}},2317:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return $f6c31cce2adf654f$export$45712eceda6fad21}});var es=ea(68806),eu=ea(78837),ec=ea(85007);let ed="default",ef="",eh=new WeakMap;function $14c0b72509d70225$export$16a4697467175487(ei){if((0,es.gn)()){if("default"===ed){let eo=(0,eu.r)(ei);ef=eo.documentElement.style.webkitUserSelect,eo.documentElement.style.webkitUserSelect="none"}ed="disabled"}else(ei instanceof HTMLElement||ei instanceof SVGElement)&&(eh.set(ei,ei.style.userSelect),ei.style.userSelect="none")}function $14c0b72509d70225$export$b0d6fa1ab32e3295(ei){if((0,es.gn)())"disabled"===ed&&(ed="restoring",setTimeout(()=>{(0,ec.Q)(()=>{if("restoring"===ed){let eo=(0,eu.r)(ei);"none"===eo.documentElement.style.webkitUserSelect&&(eo.documentElement.style.webkitUserSelect=ef||""),ef="",ed="default"}})},300));else if((ei instanceof HTMLElement||ei instanceof SVGElement)&&ei&&eh.has(ei)){let eo=eh.get(ei);"none"===ei.style.userSelect&&(ei.style.userSelect=eo),""===ei.getAttribute("style")&&ei.removeAttribute("style"),eh.delete(ei)}}var ep=ea(4942),em=ea(13094),eg=ea(7321),eb=ea(29677),ey=ea(37127),ew=ea(72970),ex=ea(36116),eP=ea(61718),eS=ea(11086),eE=ea(32433),ek=ea(26301),eT=ea(77604),eC=ea(67294);function $f6c31cce2adf654f$var$usePressResponderContext(ei){let eo=(0,eC.useContext)(ep.O);if(eo){let{register:ea,...es}=eo;ei=(0,ey.d)(es,ei),ea()}return(0,ew.l)(eo,ei.ref),ei}var e_=new WeakMap;let $f6c31cce2adf654f$var$PressEvent=class $f6c31cce2adf654f$var$PressEvent{continuePropagation(){(0,eb._)(this,e_,!1)}get shouldStopPropagation(){return(0,em._)(this,e_)}constructor(ei,eo,ea){(0,eg._)(this,e_,{writable:!0,value:void 0}),(0,eb._)(this,e_,!0),this.type=ei,this.pointerType=eo,this.target=ea.currentTarget,this.shiftKey=ea.shiftKey,this.metaKey=ea.metaKey,this.ctrlKey=ea.ctrlKey,this.altKey=ea.altKey}};let eA=Symbol("linkClicked");function $f6c31cce2adf654f$export$45712eceda6fad21(ei){let{onPress:eo,onPressChange:ea,onPressStart:ec,onPressEnd:ed,onPressUp:ef,isDisabled:eh,isPressed:ep,preventFocusOnPress:em,shouldCancelOnPointerExit:eg,allowTextSelectionOnPress:eb,ref:ew,...e_}=$f6c31cce2adf654f$var$usePressResponderContext(ei),[eO,eM]=(0,eC.useState)(!1),eR=(0,eC.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:ej,removeAllGlobalListeners:eN}=(0,ex.x)(),eL=(0,eP.i)((ei,eo)=>{let es=eR.current;if(eh||es.didFirePressStart)return!1;let eu=!0;if(es.isTriggeringEvent=!0,ec){let ea=new $f6c31cce2adf654f$var$PressEvent("pressstart",eo,ei);ec(ea),eu=ea.shouldStopPropagation}return ea&&ea(!0),es.isTriggeringEvent=!1,es.didFirePressStart=!0,eM(!0),eu}),eD=(0,eP.i)((ei,es,eu=!0)=>{let ec=eR.current;if(!ec.didFirePressStart)return!1;ec.ignoreClickAfterPress=!0,ec.didFirePressStart=!1,ec.isTriggeringEvent=!0;let ef=!0;if(ed){let eo=new $f6c31cce2adf654f$var$PressEvent("pressend",es,ei);ed(eo),ef=eo.shouldStopPropagation}if(ea&&ea(!1),eM(!1),eo&&eu&&!eh){let ea=new $f6c31cce2adf654f$var$PressEvent("press",es,ei);eo(ea),ef&&(ef=ea.shouldStopPropagation)}return ec.isTriggeringEvent=!1,ef}),eI=(0,eP.i)((ei,eo)=>{let ea=eR.current;if(eh)return!1;if(ef){ea.isTriggeringEvent=!0;let es=new $f6c31cce2adf654f$var$PressEvent("pressup",eo,ei);return ef(es),ea.isTriggeringEvent=!1,es.shouldStopPropagation}return!0}),ez=(0,eP.i)(ei=>{let eo=eR.current;eo.isPressed&&eo.target&&(eo.isOverTarget&&null!=eo.pointerType&&eD($f6c31cce2adf654f$var$createEvent(eo.target,ei),eo.pointerType,!1),eo.isPressed=!1,eo.isOverTarget=!1,eo.activePointerId=null,eo.pointerType=null,eN(),eb||$14c0b72509d70225$export$b0d6fa1ab32e3295(eo.target))}),eB=(0,eP.i)(ei=>{eg&&ez(ei)}),eF=(0,eC.useMemo)(()=>{let ei=eR.current,eo={onKeyDown(eo){if($f6c31cce2adf654f$var$isValidKeyboardEvent(eo.nativeEvent,eo.currentTarget)&&eo.currentTarget.contains(eo.target)){var ea;$f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(eo.target,eo.key)&&eo.preventDefault();let ec=!0;if(!ei.isPressed&&!eo.repeat){ei.target=eo.currentTarget,ei.isPressed=!0,ec=eL(eo,"keyboard");let ea=eo.currentTarget,pressUp=eo=>{$f6c31cce2adf654f$var$isValidKeyboardEvent(eo,ea)&&!eo.repeat&&ea.contains(eo.target)&&ei.target&&eI($f6c31cce2adf654f$var$createEvent(ei.target,eo),"keyboard")};ej((0,eu.r)(eo.currentTarget),"keyup",(0,eS.t)(pressUp,onKeyUp),!0)}ec&&eo.stopPropagation(),eo.metaKey&&(0,es.V5)()&&(null===(ea=ei.metaKeyEvents)||void 0===ea||ea.set(eo.key,eo.nativeEvent))}else"Meta"===eo.key&&(ei.metaKeyEvents=new Map)},onClick(eo){if((!eo||eo.currentTarget.contains(eo.target))&&eo&&0===eo.button&&!ei.isTriggeringEvent&&!eE.nG.isOpening){let ea=!0;if(eh&&eo.preventDefault(),!ei.ignoreClickAfterPress&&!ei.ignoreEmulatedMouseEvents&&!ei.isPressed&&("virtual"===ei.pointerType||(0,ek.Z)(eo.nativeEvent))){eh||em||(0,eT.A)(eo.currentTarget);let ei=eL(eo,"virtual"),es=eI(eo,"virtual"),eu=eD(eo,"virtual");ea=ei&&es&&eu}ei.ignoreEmulatedMouseEvents=!1,ei.ignoreClickAfterPress=!1,ea&&eo.stopPropagation()}}},onKeyUp=eo=>{var ea,es,eu;if(ei.isPressed&&ei.target&&$f6c31cce2adf654f$var$isValidKeyboardEvent(eo,ei.target)){$f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(eo.target,eo.key)&&eo.preventDefault();let ea=eo.target;eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),"keyboard",ei.target.contains(ea)),eN(),"Enter"!==eo.key&&$f6c31cce2adf654f$var$isHTMLAnchorLink(ei.target)&&ei.target.contains(ea)&&!eo[eA]&&(eo[eA]=!0,(0,eE.nG)(ei.target,eo,!1)),ei.isPressed=!1,null===(es=ei.metaKeyEvents)||void 0===es||es.delete(eo.key)}else if("Meta"===eo.key&&(null===(ea=ei.metaKeyEvents)||void 0===ea?void 0:ea.size)){let eo=ei.metaKeyEvents;for(let ea of(ei.metaKeyEvents=void 0,eo.values()))null===(eu=ei.target)||void 0===eu||eu.dispatchEvent(new KeyboardEvent("keyup",ea))}};if("undefined"!=typeof PointerEvent){eo.onPointerDown=eo=>{if(0!==eo.button||!eo.currentTarget.contains(eo.target))return;if((0,ek.c)(eo.nativeEvent)){ei.pointerType="virtual";return}$f6c31cce2adf654f$var$shouldPreventDefault(eo.currentTarget)&&eo.preventDefault(),ei.pointerType=eo.pointerType;let ea=!0;ei.isPressed||(ei.isPressed=!0,ei.isOverTarget=!0,ei.activePointerId=eo.pointerId,ei.target=eo.currentTarget,eh||em||(0,eT.A)(eo.currentTarget),eb||$14c0b72509d70225$export$16a4697467175487(ei.target),ea=eL(eo,ei.pointerType),ej((0,eu.r)(eo.currentTarget),"pointermove",onPointerMove,!1),ej((0,eu.r)(eo.currentTarget),"pointerup",onPointerUp,!1),ej((0,eu.r)(eo.currentTarget),"pointercancel",onPointerCancel,!1)),ea&&eo.stopPropagation()},eo.onMouseDown=ei=>{ei.currentTarget.contains(ei.target)&&0===ei.button&&($f6c31cce2adf654f$var$shouldPreventDefault(ei.currentTarget)&&ei.preventDefault(),ei.stopPropagation())},eo.onPointerUp=eo=>{eo.currentTarget.contains(eo.target)&&"virtual"!==ei.pointerType&&0===eo.button&&$f6c31cce2adf654f$var$isOverTarget(eo,eo.currentTarget)&&eI(eo,ei.pointerType||eo.pointerType)};let onPointerMove=eo=>{eo.pointerId===ei.activePointerId&&(ei.target&&$f6c31cce2adf654f$var$isOverTarget(eo,ei.target)?ei.isOverTarget||null==ei.pointerType||(ei.isOverTarget=!0,eL($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType)):ei.target&&ei.isOverTarget&&null!=ei.pointerType&&(ei.isOverTarget=!1,eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType,!1),eB(eo)))},onPointerUp=eo=>{eo.pointerId===ei.activePointerId&&ei.isPressed&&0===eo.button&&ei.target&&($f6c31cce2adf654f$var$isOverTarget(eo,ei.target)&&null!=ei.pointerType?eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType):ei.isOverTarget&&null!=ei.pointerType&&eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType,!1),ei.isPressed=!1,ei.isOverTarget=!1,ei.activePointerId=null,ei.pointerType=null,eN(),eb||$14c0b72509d70225$export$b0d6fa1ab32e3295(ei.target))},onPointerCancel=ei=>{ez(ei)};eo.onDragStart=ei=>{ei.currentTarget.contains(ei.target)&&ez(ei)}}else{eo.onMouseDown=eo=>{if(0===eo.button&&eo.currentTarget.contains(eo.target)){if($f6c31cce2adf654f$var$shouldPreventDefault(eo.currentTarget)&&eo.preventDefault(),ei.ignoreEmulatedMouseEvents){eo.stopPropagation();return}ei.isPressed=!0,ei.isOverTarget=!0,ei.target=eo.currentTarget,ei.pointerType=(0,ek.Z)(eo.nativeEvent)?"virtual":"mouse",eh||em||(0,eT.A)(eo.currentTarget),eL(eo,ei.pointerType)&&eo.stopPropagation(),ej((0,eu.r)(eo.currentTarget),"mouseup",onMouseUp,!1)}},eo.onMouseEnter=eo=>{if(!eo.currentTarget.contains(eo.target))return;let ea=!0;ei.isPressed&&!ei.ignoreEmulatedMouseEvents&&null!=ei.pointerType&&(ei.isOverTarget=!0,ea=eL(eo,ei.pointerType)),ea&&eo.stopPropagation()},eo.onMouseLeave=eo=>{if(!eo.currentTarget.contains(eo.target))return;let ea=!0;ei.isPressed&&!ei.ignoreEmulatedMouseEvents&&null!=ei.pointerType&&(ei.isOverTarget=!1,ea=eD(eo,ei.pointerType,!1),eB(eo)),ea&&eo.stopPropagation()},eo.onMouseUp=eo=>{eo.currentTarget.contains(eo.target)&&!ei.ignoreEmulatedMouseEvents&&0===eo.button&&eI(eo,ei.pointerType||"mouse")};let onMouseUp=eo=>{if(0===eo.button){if(ei.isPressed=!1,eN(),ei.ignoreEmulatedMouseEvents){ei.ignoreEmulatedMouseEvents=!1;return}ei.target&&$f6c31cce2adf654f$var$isOverTarget(eo,ei.target)&&null!=ei.pointerType?eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType):ei.target&&ei.isOverTarget&&null!=ei.pointerType&&eD($f6c31cce2adf654f$var$createEvent(ei.target,eo),ei.pointerType,!1),ei.isOverTarget=!1}};eo.onTouchStart=eo=>{if(!eo.currentTarget.contains(eo.target))return;let ea=$f6c31cce2adf654f$var$getTouchFromEvent(eo.nativeEvent);ea&&(ei.activePointerId=ea.identifier,ei.ignoreEmulatedMouseEvents=!0,ei.isOverTarget=!0,ei.isPressed=!0,ei.target=eo.currentTarget,ei.pointerType="touch",eh||em||(0,eT.A)(eo.currentTarget),eb||$14c0b72509d70225$export$16a4697467175487(ei.target),eL(eo,ei.pointerType)&&eo.stopPropagation(),ej((0,eu.k)(eo.currentTarget),"scroll",onScroll,!0))},eo.onTouchMove=eo=>{if(!eo.currentTarget.contains(eo.target))return;if(!ei.isPressed){eo.stopPropagation();return}let ea=$f6c31cce2adf654f$var$getTouchById(eo.nativeEvent,ei.activePointerId),es=!0;ea&&$f6c31cce2adf654f$var$isOverTarget(ea,eo.currentTarget)?ei.isOverTarget||null==ei.pointerType||(ei.isOverTarget=!0,es=eL(eo,ei.pointerType)):ei.isOverTarget&&null!=ei.pointerType&&(ei.isOverTarget=!1,es=eD(eo,ei.pointerType,!1),eB(eo)),es&&eo.stopPropagation()},eo.onTouchEnd=eo=>{if(!eo.currentTarget.contains(eo.target))return;if(!ei.isPressed){eo.stopPropagation();return}let ea=$f6c31cce2adf654f$var$getTouchById(eo.nativeEvent,ei.activePointerId),es=!0;ea&&$f6c31cce2adf654f$var$isOverTarget(ea,eo.currentTarget)&&null!=ei.pointerType?(eI(eo,ei.pointerType),es=eD(eo,ei.pointerType)):ei.isOverTarget&&null!=ei.pointerType&&(es=eD(eo,ei.pointerType,!1)),es&&eo.stopPropagation(),ei.isPressed=!1,ei.activePointerId=null,ei.isOverTarget=!1,ei.ignoreEmulatedMouseEvents=!0,ei.target&&!eb&&$14c0b72509d70225$export$b0d6fa1ab32e3295(ei.target),eN()},eo.onTouchCancel=eo=>{eo.currentTarget.contains(eo.target)&&(eo.stopPropagation(),ei.isPressed&&ez(eo))};let onScroll=eo=>{ei.isPressed&&eo.target.contains(ei.target)&&ez({currentTarget:ei.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};eo.onDragStart=ei=>{ei.currentTarget.contains(ei.target)&&ez(ei)}}return eo},[ej,eh,em,eN,eb,ez,eB,eD,eL,eI]);return(0,eC.useEffect)(()=>()=>{var ei;eb||$14c0b72509d70225$export$b0d6fa1ab32e3295(null!==(ei=eR.current.target)&&void 0!==ei?ei:void 0)},[eb]),{isPressed:ep||eO,pressProps:(0,ey.d)(e_,eF)}}function $f6c31cce2adf654f$var$isHTMLAnchorLink(ei){return"A"===ei.tagName&&ei.hasAttribute("href")}function $f6c31cce2adf654f$var$isValidKeyboardEvent(ei,eo){let{key:ea,code:es}=ei,ec=eo,ed=ec.getAttribute("role");return("Enter"===ea||" "===ea||"Spacebar"===ea||"Space"===es)&&!(ec instanceof(0,eu.k)(ec).HTMLInputElement&&!$f6c31cce2adf654f$var$isValidInputKey(ec,ea)||ec instanceof(0,eu.k)(ec).HTMLTextAreaElement||ec.isContentEditable)&&!(("link"===ed||!ed&&$f6c31cce2adf654f$var$isHTMLAnchorLink(ec))&&"Enter"!==ea)}function $f6c31cce2adf654f$var$getTouchFromEvent(ei){let{targetTouches:eo}=ei;return eo.length>0?eo[0]:null}function $f6c31cce2adf654f$var$getTouchById(ei,eo){let ea=ei.changedTouches;for(let ei=0;ei<ea.length;ei++){let es=ea[ei];if(es.identifier===eo)return es}return null}function $f6c31cce2adf654f$var$createEvent(ei,eo){return{currentTarget:ei,shiftKey:eo.shiftKey,ctrlKey:eo.ctrlKey,metaKey:eo.metaKey,altKey:eo.altKey}}function $f6c31cce2adf654f$var$getPointClientRect(ei){let eo=0,ea=0;return void 0!==ei.width?eo=ei.width/2:void 0!==ei.radiusX&&(eo=ei.radiusX),void 0!==ei.height?ea=ei.height/2:void 0!==ei.radiusY&&(ea=ei.radiusY),{top:ei.clientY-ea,right:ei.clientX+eo,bottom:ei.clientY+ea,left:ei.clientX-eo}}function $f6c31cce2adf654f$var$areRectanglesOverlapping(ei,eo){return!(ei.left>eo.right)&&!(eo.left>ei.right)&&!(ei.top>eo.bottom)&&!(eo.top>ei.bottom)}function $f6c31cce2adf654f$var$isOverTarget(ei,eo){return $f6c31cce2adf654f$var$areRectanglesOverlapping(eo.getBoundingClientRect(),$f6c31cce2adf654f$var$getPointClientRect(ei))}function $f6c31cce2adf654f$var$shouldPreventDefault(ei){return!(ei instanceof HTMLElement)||!ei.hasAttribute("draggable")}function $f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(ei,eo){return ei instanceof HTMLInputElement?!$f6c31cce2adf654f$var$isValidInputKey(ei,eo):ei instanceof HTMLButtonElement?"submit"!==ei.type&&"reset"!==ei.type:!$f6c31cce2adf654f$var$isHTMLAnchorLink(ei)}let eO=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function $f6c31cce2adf654f$var$isValidInputKey(ei,eo){return"checkbox"===ei.type||"radio"===ei.type?" "===eo:eO.has(ei.type)}},34247:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return $8a9cb279dc87e130$export$715c682d09d639cc}});var es=ea(67294),eu=ea(69786),ec=ea(61718);let $8a9cb279dc87e130$export$905e7fc544a71f36=class $8a9cb279dc87e130$export$905e7fc544a71f36{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(ei,eo){this.nativeEvent=eo,this.target=eo.target,this.currentTarget=eo.currentTarget,this.relatedTarget=eo.relatedTarget,this.bubbles=eo.bubbles,this.cancelable=eo.cancelable,this.defaultPrevented=eo.defaultPrevented,this.eventPhase=eo.eventPhase,this.isTrusted=eo.isTrusted,this.timeStamp=eo.timeStamp,this.type=ei}};function $8a9cb279dc87e130$export$715c682d09d639cc(ei){let eo=(0,es.useRef)({isFocused:!1,observer:null});(0,eu.b)(()=>{let ei=eo.current;return()=>{ei.observer&&(ei.observer.disconnect(),ei.observer=null)}},[]);let ea=(0,ec.i)(eo=>{null==ei||ei(eo)});return(0,es.useCallback)(ei=>{if(ei.target instanceof HTMLButtonElement||ei.target instanceof HTMLInputElement||ei.target instanceof HTMLTextAreaElement||ei.target instanceof HTMLSelectElement){eo.current.isFocused=!0;let es=ei.target,onBlurHandler=ei=>{eo.current.isFocused=!1,es.disabled&&ea(new $8a9cb279dc87e130$export$905e7fc544a71f36("blur",ei)),eo.current.observer&&(eo.current.observer.disconnect(),eo.current.observer=null)};es.addEventListener("focusout",onBlurHandler,{once:!0}),eo.current.observer=new MutationObserver(()=>{if(eo.current.isFocused&&es.disabled){var ei;null===(ei=eo.current.observer)||void 0===ei||ei.disconnect();let ea=es===document.activeElement?null:document.activeElement;es.dispatchEvent(new FocusEvent("blur",{relatedTarget:ea})),es.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:ea}))}}),eo.current.observer.observe(es,{attributes:!0,attributeFilter:["disabled"]})}},[ea])}},15967:function(ei,eo,ea){"use strict";ea.d(eo,{U:function(){return $2baaea4c71418dea$export$294aa081a6c6f55d}});var es=ea(50912),eu=ea(9188),ec=ea(37127);function $2baaea4c71418dea$export$294aa081a6c6f55d(ei){let{description:eo,errorMessage:ea,isInvalid:ed,validationState:ef}=ei,{labelProps:eh,fieldProps:ep}=(0,es.N)(ei),em=(0,eu.mp)([!!eo,!!ea,ed,ef]),eg=(0,eu.mp)([!!eo,!!ea,ed,ef]);return{labelProps:eh,fieldProps:ep=(0,ec.d)(ep,{"aria-describedby":[em,eg,ei["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:em},errorMessageProps:{id:eg}}}},50912:function(ei,eo,ea){"use strict";ea.d(eo,{N:function(){return $d191a55c9702f145$export$8467354a121f1b9f}});var es=ea(9188),eu=ea(79955);function $d191a55c9702f145$export$8467354a121f1b9f(ei){let{id:eo,label:ea,"aria-labelledby":ec,"aria-label":ed,labelElementType:ef="label"}=ei;eo=(0,es.Me)(eo);let eh=(0,es.Me)(),ep={};return ea?(ec=ec?`${eh} ${ec}`:eh,ep={id:eh,htmlFor:"label"===ef?eo:void 0}):ec||ed||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:ep,fieldProps:(0,eu.b)({id:eo,"aria-label":ed,"aria-labelledby":ec})}}},40945:function(ei,eo,ea){"use strict";ea.d(eo,{u:function(){return $168583247155ddda$export$dc9c12ed27dd1b49}});var es={},eu={},ec={},ed={},ef={},eh={},ep={},em={},eg={},eb={},ey={},ew={},ex={},eP={},eS={},eE={},ek={},eT={},eC={},e_={},eA={},eO={},eM={},eR={},ej={},eN={},eL={},eD={},eI={},ez={},eB={},eF={},eH={},eU={},eV={};eV={"ar-AE":es={longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":eu={longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":ec={longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":ed={longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":ef={longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":eh={longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":ep={longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":em={longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":eg={longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":eb={longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":ey={longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":ew={longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":ex={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":eP={longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":eS={longPressMessage:`Premere a lungo o premere Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":eE={longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":ek={longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":eT={longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":eC={longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":e_={longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":eA={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":eO={longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":eM={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":eR={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":ej={longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":eN={longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":eL={longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":eD={longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":eI={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":ez={longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`},"tr-TR":eB={longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":eF={longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":eH={longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":eU={longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}};var eX=ea(9188),eq=ea(94392),e$=ea(51889),eW=ea(11860);function $parcel$interopDefault(ei){return ei&&ei.__esModule?ei.default:ei}function $168583247155ddda$export$dc9c12ed27dd1b49(ei,eo,ea){let{type:es="menu",isDisabled:eu,trigger:ec="press"}=ei,ed=(0,eX.Me)(),{triggerProps:ef,overlayProps:eh}=(0,eW.I)({type:es},eo,ea),onKeyDown=ei=>{if(!eu&&("longPress"!==ec||ei.altKey)&&ea&&ea.current)switch(ei.key){case"Enter":case" ":if("longPress"===ec)return;case"ArrowDown":"continuePropagation"in ei||ei.stopPropagation(),ei.preventDefault(),eo.toggle("first");break;case"ArrowUp":"continuePropagation"in ei||ei.stopPropagation(),ei.preventDefault(),eo.toggle("last");break;default:"continuePropagation"in ei&&ei.continuePropagation()}},ep=(0,eq.q)($parcel$interopDefault(eV),"@react-aria/menu"),{longPressProps:em}=(0,e$.T)({isDisabled:eu||"longPress"!==ec,accessibilityDescription:ep.format("longPressMessage"),onLongPressStart(){eo.close()},onLongPress(){eo.open("first")}}),eg={onPressStart(ei){"touch"===ei.pointerType||"keyboard"===ei.pointerType||eu||eo.open("virtual"===ei.pointerType?"first":null)},onPress(ei){"touch"!==ei.pointerType||eu||eo.toggle()}};return delete ef.onPress,{menuTriggerProps:{...ef,..."press"===ec?eg:em,id:ed,onKeyDown:onKeyDown},menuProps:{...eh,"aria-labelledby":ed,autoFocus:eo.focusStrategy||!0,onClose:eo.close}}}},65081:function(ei,eo,ea){"use strict";ea.d(eo,{U:function(){return $86ea4cb521eb2e37$export$2317d149ed6f78c4}});var es={},eu={},ec={},ed={},ef={},eh={},ep={},em={},eg={},eb={},ey={},ew={},ex={},eP={},eS={},eE={},ek={},eT={},eC={},e_={},eA={},eO={},eM={},eR={},ej={},eN={},eL={},eD={},eI={},ez={},eB={},eF={},eH={},eU={},eV={};eV={"ar-AE":es={dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":eu={dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":ec={dismiss:"Odstranit"},"da-DK":ed={dismiss:"Luk"},"de-DE":ef={dismiss:`Schlie\xdfen`},"el-GR":eh={dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":ep={dismiss:"Dismiss"},"es-ES":em={dismiss:"Descartar"},"et-EE":eg={dismiss:`L\xf5peta`},"fi-FI":eb={dismiss:`Hylk\xe4\xe4`},"fr-FR":ey={dismiss:"Rejeter"},"he-IL":ew={dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":ex={dismiss:"Odbaci"},"hu-HU":eP={dismiss:`Elutas\xedt\xe1s`},"it-IT":eS={dismiss:"Ignora"},"ja-JP":eE={dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":ek={dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":eT={dismiss:"Atmesti"},"lv-LV":eC={dismiss:`Ner\u{101}d\u{12B}t`},"nb-NO":e_={dismiss:"Lukk"},"nl-NL":eA={dismiss:"Negeren"},"pl-PL":eO={dismiss:"Zignoruj"},"pt-BR":eM={dismiss:"Descartar"},"pt-PT":eR={dismiss:"Dispensar"},"ro-RO":ej={dismiss:"Revocare"},"ru-RU":eN={dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":eL={dismiss:`Zru\u{161}i\u{165}`},"sl-SI":eD={dismiss:"Opusti"},"sr-SP":eI={dismiss:"Odbaci"},"sv-SE":ez={dismiss:"Avvisa"},"tr-TR":eB={dismiss:"Kapat"},"uk-UA":eF={dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":eH={dismiss:`\u{53D6}\u{6D88}`},"zh-TW":eU={dismiss:`\u{95DC}\u{9589}`}};var eX=ea(67294),eq=ea(79955),e$=ea(94392),eW=ea(73699);function $parcel$interopDefault(ei){return ei&&ei.__esModule?ei.default:ei}function $86ea4cb521eb2e37$export$2317d149ed6f78c4(ei){let{onDismiss:eo,...ea}=ei,es=(0,e$.q)($parcel$interopDefault(eV),"@react-aria/overlays"),eu=(0,eq.b)(ea,es.format("dismiss")),onClick=()=>{eo&&eo()};return eX.createElement(eW.T,null,eX.createElement("button",{...eu,tabIndex:-1,onClick:onClick,style:{width:1,height:1}}))}},25299:function(ei,eo,ea){"use strict";ea.d(eo,{aV:function(){return $337b884510726a0d$export$c6fdb837b070b4ff},Bq:function(){return $337b884510726a0d$export$14c98a7594375490}});var es=ea(67294);let eu=(0,es.createContext)({});function $96b38030c423d352$export$574e9b0fb070c3b0(){var ei;return null!==(ei=(0,es.useContext)(eu))&&void 0!==ei?ei:{}}var ec=ea(4942);function $f1ab8c75478c6f73$export$cf75428e0b9ed1ea({children:ei}){let eo=(0,es.useMemo)(()=>({register:()=>{}}),[]);return es.createElement(ec.O.Provider,{value:eo},ei)}var ed=ea(37873),ef=ea(73935),eh=ea(37385),ep=ea(69786);let em=es.createContext(null);function $337b884510726a0d$export$c6fdb837b070b4ff(ei){let eo=(0,eh.Av)(),{portalContainer:ea=eo?null:document.body,isExiting:eu}=ei,[ec,ep]=(0,es.useState)(!1),eg=(0,es.useMemo)(()=>({contain:ec,setContain:ep}),[ec,ep]),{getContainer:eb}=$96b38030c423d352$export$574e9b0fb070c3b0();if(!ei.portalContainer&&eb&&(ea=eb()),!ea)return null;let ey=ei.children;return ei.disableFocusManagement||(ey=es.createElement(ed.MT,{restoreFocus:!0,contain:ec&&!eu},ey)),ey=es.createElement(em.Provider,{value:eg},es.createElement($f1ab8c75478c6f73$export$cf75428e0b9ed1ea,null,ey)),ef.createPortal(ey,ea)}function $337b884510726a0d$export$14c98a7594375490(){let ei=(0,es.useContext)(em),eo=null==ei?void 0:ei.setContain;(0,ep.b)(()=>{null==eo||eo(!0)},[eo])}},6270:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return $5e3802645cc19319$export$1c3ebcada18427bf}});let es=new WeakMap,eu=[];function $5e3802645cc19319$export$1c3ebcada18427bf(ei,eo=document.body){let ea=new Set(ei),ec=new Set,walk=ei=>{for(let eo of ei.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))ea.add(eo);let acceptNode=ei=>{if(ea.has(ei)||ec.has(ei.parentElement)&&"row"!==ei.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let eo of ea)if(ei.contains(eo))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},eo=document.createTreeWalker(ei,NodeFilter.SHOW_ELEMENT,{acceptNode:acceptNode}),es=acceptNode(ei);if(es===NodeFilter.FILTER_ACCEPT&&hide(ei),es!==NodeFilter.FILTER_REJECT){let ei=eo.nextNode();for(;null!=ei;)hide(ei),ei=eo.nextNode()}},hide=ei=>{var eo;let ea=null!==(eo=es.get(ei))&&void 0!==eo?eo:0;("true"!==ei.getAttribute("aria-hidden")||0!==ea)&&(0===ea&&ei.setAttribute("aria-hidden","true"),ec.add(ei),es.set(ei,ea+1))};eu.length&&eu[eu.length-1].disconnect(),walk(eo);let ed=new MutationObserver(ei=>{for(let eo of ei)if("childList"===eo.type&&0!==eo.addedNodes.length&&![...ea,...ec].some(ei=>ei.contains(eo.target))){for(let ei of eo.removedNodes)ei instanceof Element&&(ea.delete(ei),ec.delete(ei));for(let ei of eo.addedNodes)(ei instanceof HTMLElement||ei instanceof SVGElement)&&("true"===ei.dataset.liveAnnouncer||"true"===ei.dataset.reactAriaTopLayer)?ea.add(ei):ei instanceof Element&&walk(ei)}});ed.observe(eo,{childList:!0,subtree:!0});let ef={observe(){ed.observe(eo,{childList:!0,subtree:!0})},disconnect(){ed.disconnect()}};return eu.push(ef),()=>{for(let ei of(ed.disconnect(),ec)){let eo=es.get(ei);1===eo?(ei.removeAttribute("aria-hidden"),es.delete(ei)):es.set(ei,eo-1)}ef===eu[eu.length-1]?(eu.pop(),eu.length&&eu[eu.length-1].observe()):eu.splice(eu.indexOf(ef),1)}}},57703:function(ei,eo,ea){"use strict";ea.d(eo,{O:function(){return $dd149f63282afbbf$export$18fc8428861184da},v:function(){return eu}});var es=ea(67294);let eu=new WeakMap;function $dd149f63282afbbf$export$18fc8428861184da(ei){let{triggerRef:eo,isOpen:ea,onClose:ec}=ei;(0,es.useEffect)(()=>{if(!ea||null===ec)return;let onScroll=ei=>{let ea=ei.target;if(!eo.current||ea instanceof Node&&!ea.contains(eo.current))return;let es=ec||eu.get(eo.current);es&&es()};return window.addEventListener("scroll",onScroll,!0),()=>{window.removeEventListener("scroll",onScroll,!0)}},[ea,ec,eo])}},15e3:function(ei,eo,ea){"use strict";ea.d(eo,{N3:function(){return $f57aed4a881a3485$export$bf688221f59024e5},Xj:function(){return $f57aed4a881a3485$export$b47c3594eab58386}});var es=ea(67294),eu=ea(73935),ec=ea(37385);let ed=es.createContext(null);function $f57aed4a881a3485$export$178405afcd8c5eb(ei){let{children:eo}=ei,ea=(0,es.useContext)(ed),[eu,ec]=(0,es.useState)(0),ef=(0,es.useMemo)(()=>({parent:ea,modalCount:eu,addModal(){ec(ei=>ei+1),ea&&ea.addModal()},removeModal(){ec(ei=>ei-1),ea&&ea.removeModal()}}),[ea,eu]);return es.createElement(ed.Provider,{value:ef},eo)}function $f57aed4a881a3485$export$d9aaed4c3ece1bc0(){let ei=(0,es.useContext)(ed);return{modalProviderProps:{"aria-hidden":!!ei&&ei.modalCount>0||null}}}function $f57aed4a881a3485$var$OverlayContainerDOM(ei){let{modalProviderProps:eo}=$f57aed4a881a3485$export$d9aaed4c3ece1bc0();return es.createElement("div",{"data-overlay-container":!0,...ei,...eo})}function $f57aed4a881a3485$export$bf688221f59024e5(ei){return es.createElement($f57aed4a881a3485$export$178405afcd8c5eb,null,es.createElement($f57aed4a881a3485$var$OverlayContainerDOM,ei))}function $f57aed4a881a3485$export$b47c3594eab58386(ei){let eo=(0,ec.Av)(),{portalContainer:ea=eo?null:document.body,...ed}=ei;if(es.useEffect(()=>{if(null==ea?void 0:ea.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[ea]),!ea)return null;let ef=es.createElement($f57aed4a881a3485$export$bf688221f59024e5,ed);return eu.createPortal(ef,ea)}},74238:function(ei,eo,ea){"use strict";ea.d(eo,{I:function(){return $a11501f3d1d39e6c$export$ea8f71083e90600f}});var es=ea(37873),eu=ea(67294),ec=ea(61718),ed=ea(78837);function $e0b6e0b68ec7f50f$export$872b660ac5a1ff98(ei){let{ref:eo,onInteractOutside:ea,isDisabled:es,onInteractOutsideStart:ef}=ei,eh=(0,eu.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),ep=(0,ec.i)(ei=>{ea&&$e0b6e0b68ec7f50f$var$isValidEvent(ei,eo)&&(ef&&ef(ei),eh.current.isPointerDown=!0)}),em=(0,ec.i)(ei=>{ea&&ea(ei)});(0,eu.useEffect)(()=>{let ei=eh.current;if(es)return;let ea=eo.current,eu=(0,ed.r)(ea);if("undefined"!=typeof PointerEvent){let onPointerUp=ea=>{ei.isPointerDown&&$e0b6e0b68ec7f50f$var$isValidEvent(ea,eo)&&em(ea),ei.isPointerDown=!1};return eu.addEventListener("pointerdown",ep,!0),eu.addEventListener("pointerup",onPointerUp,!0),()=>{eu.removeEventListener("pointerdown",ep,!0),eu.removeEventListener("pointerup",onPointerUp,!0)}}{let onMouseUp=ea=>{ei.ignoreEmulatedMouseEvents?ei.ignoreEmulatedMouseEvents=!1:ei.isPointerDown&&$e0b6e0b68ec7f50f$var$isValidEvent(ea,eo)&&em(ea),ei.isPointerDown=!1},onTouchEnd=ea=>{ei.ignoreEmulatedMouseEvents=!0,ei.isPointerDown&&$e0b6e0b68ec7f50f$var$isValidEvent(ea,eo)&&em(ea),ei.isPointerDown=!1};return eu.addEventListener("mousedown",ep,!0),eu.addEventListener("mouseup",onMouseUp,!0),eu.addEventListener("touchstart",ep,!0),eu.addEventListener("touchend",onTouchEnd,!0),()=>{eu.removeEventListener("mousedown",ep,!0),eu.removeEventListener("mouseup",onMouseUp,!0),eu.removeEventListener("touchstart",ep,!0),eu.removeEventListener("touchend",onTouchEnd,!0)}}},[eo,es,ep,em])}function $e0b6e0b68ec7f50f$var$isValidEvent(ei,eo){if(ei.button>0)return!1;if(ei.target){let eo=ei.target.ownerDocument;if(!eo||!eo.documentElement.contains(ei.target)||ei.target.closest("[data-react-aria-top-layer]"))return!1}return eo.current&&!eo.current.contains(ei.target)}var ef=ea(44971);let eh=[];function $a11501f3d1d39e6c$export$ea8f71083e90600f(ei,eo){let{onClose:ea,shouldCloseOnBlur:ec,isOpen:ed,isDismissable:ep=!1,isKeyboardDismissDisabled:em=!1,shouldCloseOnInteractOutside:eg}=ei;(0,eu.useEffect)(()=>(ed&&eh.push(eo),()=>{let ei=eh.indexOf(eo);ei>=0&&eh.splice(ei,1)}),[ed,eo]);let onHide=()=>{eh[eh.length-1]===eo&&ea&&ea()},onInteractOutsideStart=ei=>{(!eg||eg(ei.target))&&eh[eh.length-1]===eo&&(ei.stopPropagation(),ei.preventDefault())},onInteractOutside=ei=>{(!eg||eg(ei.target))&&(eh[eh.length-1]===eo&&(ei.stopPropagation(),ei.preventDefault()),onHide())},onKeyDown=ei=>{"Escape"!==ei.key||em||ei.nativeEvent.isComposing||(ei.stopPropagation(),ei.preventDefault(),onHide())};$e0b6e0b68ec7f50f$export$872b660ac5a1ff98({ref:eo,onInteractOutside:ep&&ed?onInteractOutside:null,onInteractOutsideStart:onInteractOutsideStart});let{focusWithinProps:eb}=(0,ef.L)({isDisabled:!ec,onBlurWithin:ei=>{!(!ei.relatedTarget||(0,es.cW)(ei.relatedTarget))&&(!eg||eg(ei.relatedTarget))&&ea()}}),onPointerDownUnderlay=ei=>{ei.target===ei.currentTarget&&ei.preventDefault()};return{overlayProps:{onKeyDown:onKeyDown,...eb},underlayProps:{onPointerDown:onPointerDownUnderlay}}}},42959:function(ei,eo,ea){"use strict";ea.d(eo,{t:function(){return $2a41e45df1593e64$export$d39e1813b3bdd0e1}});var es=ea(68806),eu=ea(18399);let ec={top:"top",bottom:"top",left:"left",right:"left"},ed={top:"bottom",bottom:"top",left:"right",right:"left"},ef={top:"left",left:"top"},eh={top:"height",left:"width"},ep={width:"totalWidth",height:"totalHeight"},em={},eg="undefined"!=typeof document&&window.visualViewport;function $edcf132a9284368a$var$getContainerDimensions(ei){let eo=0,ea=0,eu=0,ec=0,ed=0,ef=0,eh={},ep=(null==eg?void 0:eg.scale)>1;if("BODY"===ei.tagName){var em,eb;let es=document.documentElement;eu=es.clientWidth,ec=es.clientHeight,eo=null!==(em=null==eg?void 0:eg.width)&&void 0!==em?em:eu,ea=null!==(eb=null==eg?void 0:eg.height)&&void 0!==eb?eb:ec,eh.top=es.scrollTop||ei.scrollTop,eh.left=es.scrollLeft||ei.scrollLeft,eg&&(ed=eg.offsetTop,ef=eg.offsetLeft)}else({width:eo,height:ea,top:ed,left:ef}=$edcf132a9284368a$var$getOffset(ei)),eh.top=ei.scrollTop,eh.left=ei.scrollLeft,eu=eo,ec=ea;return(0,es.Pf)()&&("BODY"===ei.tagName||"HTML"===ei.tagName)&&ep&&(eh.top=0,eh.left=0,ed=eg.pageTop,ef=eg.pageLeft),{width:eo,height:ea,totalWidth:eu,totalHeight:ec,scroll:eh,top:ed,left:ef}}function $edcf132a9284368a$var$getScroll(ei){return{top:ei.scrollTop,left:ei.scrollLeft,width:ei.scrollWidth,height:ei.scrollHeight}}function $edcf132a9284368a$var$getDelta(ei,eo,ea,es,eu,ed,ef){let ep=eu.scroll[ei],em=es[eh[ei]],eg=es.scroll[ec[ei]]+ed,eb=em+es.scroll[ec[ei]]-ed,ey=eo-ep+ef[ei]-es[ec[ei]],ew=eo-ep+ea+ef[ei]-es[ec[ei]];return ey<eg?eg-ey:ew>eb?Math.max(eb-ew,eg-ey):0}function $edcf132a9284368a$var$getMargins(ei){let eo=window.getComputedStyle(ei);return{top:parseInt(eo.marginTop,10)||0,bottom:parseInt(eo.marginBottom,10)||0,left:parseInt(eo.marginLeft,10)||0,right:parseInt(eo.marginRight,10)||0}}function $edcf132a9284368a$var$parsePlacement(ei){if(em[ei])return em[ei];let[eo,ea]=ei.split(" "),es=ec[eo]||"right",eu=ef[es];ec[ea]||(ea="center");let ed=eh[es],ep=eh[eu];return em[ei]={placement:eo,crossPlacement:ea,axis:es,crossAxis:eu,size:ed,crossSize:ep},em[ei]}function $edcf132a9284368a$var$computePosition(ei,eo,ea,es,ec,ef,eh,em,eg,eb){let{placement:ey,crossPlacement:ew,axis:ex,crossAxis:eP,size:eS,crossSize:eE}=es,ek={};ek[eP]=ei[eP],"center"===ew?ek[eP]+=(ei[eE]-ea[eE])/2:ew!==eP&&(ek[eP]+=ei[eE]-ea[eE]),ek[eP]+=ef;let eT=ei[eP]-ea[eE]+eg+eb,eC=ei[eP]+ei[eE]-eg-eb;if(ek[eP]=(0,eu.uZ)(ek[eP],eT,eC),ey===ex){let ea=em?eh[eS]:eo[ep[eS]];ek[ed[ex]]=Math.floor(ea-ei[ex]+ec)}else ek[ex]=Math.floor(ei[ex]+ei[eS]+ec);return ek}function $edcf132a9284368a$var$getMaxHeight(ei,eo,ea,es,eu,ec,ed,ef){let eh=es?ea.height:eo[ep.height],em=null!=ei.top?ea.top+ei.top:ea.top+(eh-ei.bottom-ed),eg="top"!==ef?Math.max(0,eo.height+eo.top+eo.scroll.top-em-(eu.top+eu.bottom+ec)):Math.max(0,em+ed-(eo.top+eo.scroll.top)-(eu.top+eu.bottom+ec));return Math.min(eo.height-2*ec,eg)}function $edcf132a9284368a$var$getAvailableSpace(ei,eo,ea,es,eu,ec){let{placement:ef,axis:eh,size:ep}=ec;return ef===eh?Math.max(0,ea[eh]-ei[eh]-ei.scroll[eh]+eo[eh]-es[eh]-es[ed[eh]]-eu):Math.max(0,ei[ep]+ei[eh]+ei.scroll[eh]-eo[eh]-ea[eh]-ea[ep]-es[eh]-es[ed[eh]]-eu)}function $edcf132a9284368a$export$6839422d1f33cee9(ei,eo,ea,es,ec,ef,eh,ep,em,eg,eb,ey,ew,ex,eP,eS){let eE=$edcf132a9284368a$var$parsePlacement(ei),{size:ek,crossAxis:eT,crossSize:eC,placement:e_,crossPlacement:eA}=eE,eO=$edcf132a9284368a$var$computePosition(eo,ep,ea,eE,eb,ey,eg,ew,eP,eS),eM=eb,eR=$edcf132a9284368a$var$getAvailableSpace(ep,eg,eo,ec,ef+eb,eE);if(eh&&es[ek]>eR){let ei=$edcf132a9284368a$var$parsePlacement(`${ed[e_]} ${eA}`),es=$edcf132a9284368a$var$computePosition(eo,ep,ea,ei,eb,ey,eg,ew,eP,eS);$edcf132a9284368a$var$getAvailableSpace(ep,eg,eo,ec,ef+eb,ei)>eR&&(eE=ei,eO=es,eM=eb)}let ej="bottom";"top"===eE.axis?"top"===eE.placement?ej="top":"bottom"===eE.placement&&(ej="bottom"):"top"===eE.crossAxis&&("top"===eE.crossPlacement?ej="bottom":"bottom"===eE.crossPlacement&&(ej="top"));let eN=$edcf132a9284368a$var$getDelta(eT,eO[eT],ea[eC],ep,em,ef,eg);eO[eT]+=eN;let eL=$edcf132a9284368a$var$getMaxHeight(eO,ep,eg,ew,ec,ef,ea.height,ej);ex&&ex<eL&&(eL=ex),ea.height=Math.min(ea.height,eL),eN=$edcf132a9284368a$var$getDelta(eT,(eO=$edcf132a9284368a$var$computePosition(eo,ep,ea,eE,eM,ey,eg,ew,eP,eS))[eT],ea[eC],ep,em,ef,eg),eO[eT]+=eN;let eD={},eI=eo[eT]+.5*eo[eC]-eO[eT],ez=eP/2+eS,eB=ea[eC]-eP/2-eS,eF=eo[eT]-eO[eT]+eP/2,eH=eo[eT]+eo[eC]-eO[eT]-eP/2,eU=(0,eu.uZ)(eI,eF,eH);return eD[eT]=(0,eu.uZ)(eU,ez,eB),{position:eO,maxHeight:eL,arrowOffsetLeft:eD.left,arrowOffsetTop:eD.top,placement:eE.placement}}function $edcf132a9284368a$export$b3ceb0cbf1056d98(ei){let{placement:eo,targetNode:ea,overlayNode:es,scrollNode:eu,padding:ec,shouldFlip:ed,boundaryElement:ef,offset:eh,crossOffset:ep,maxHeight:em,arrowSize:eg=0,arrowBoundaryOffset:eb=0}=ei,ey=es instanceof HTMLElement?$edcf132a9284368a$var$getContainingBlock(es):document.documentElement,ew=ey===document.documentElement,ex=window.getComputedStyle(ey).position,eP=!!ex&&"static"!==ex,eS=ew?$edcf132a9284368a$var$getOffset(ea):$edcf132a9284368a$var$getPosition(ea,ey);if(!ew){let{marginTop:ei,marginLeft:eo}=window.getComputedStyle(ea);eS.top+=parseInt(ei,10)||0,eS.left+=parseInt(eo,10)||0}let eE=$edcf132a9284368a$var$getOffset(es),ek=$edcf132a9284368a$var$getMargins(es);eE.width+=ek.left+ek.right,eE.height+=ek.top+ek.bottom;let eT=$edcf132a9284368a$var$getScroll(eu),eC=$edcf132a9284368a$var$getContainerDimensions(ef),e_=$edcf132a9284368a$var$getContainerDimensions(ey),eA="BODY"===ef.tagName?$edcf132a9284368a$var$getOffset(ey):$edcf132a9284368a$var$getPosition(ey,ef);return"HTML"===ey.tagName&&"BODY"===ef.tagName&&(e_.scroll.top=0,e_.scroll.left=0),$edcf132a9284368a$export$6839422d1f33cee9(eo,eS,eE,eT,ek,ec,ed,eC,e_,eA,eh,ep,eP,em,eg,eb)}function $edcf132a9284368a$var$getOffset(ei){let{top:eo,left:ea,width:es,height:eu}=ei.getBoundingClientRect(),{scrollTop:ec,scrollLeft:ed,clientTop:ef,clientLeft:eh}=document.documentElement;return{top:eo+ec-ef,left:ea+ed-eh,width:es,height:eu}}function $edcf132a9284368a$var$getPosition(ei,eo){let ea,es=window.getComputedStyle(ei);if("fixed"===es.position){let{top:eo,left:es,width:eu,height:ec}=ei.getBoundingClientRect();ea={top:eo,left:es,width:eu,height:ec}}else{ea=$edcf132a9284368a$var$getOffset(ei);let es=$edcf132a9284368a$var$getOffset(eo),eu=window.getComputedStyle(eo);es.top+=(parseInt(eu.borderTopWidth,10)||0)-eo.scrollTop,es.left+=(parseInt(eu.borderLeftWidth,10)||0)-eo.scrollLeft,ea.top-=es.top,ea.left-=es.left}return ea.top-=parseInt(es.marginTop,10)||0,ea.left-=parseInt(es.marginLeft,10)||0,ea}function $edcf132a9284368a$var$getContainingBlock(ei){let eo=ei.offsetParent;if(eo&&eo===document.body&&"static"===window.getComputedStyle(eo).position&&!$edcf132a9284368a$var$isContainingBlock(eo)&&(eo=document.documentElement),null==eo)for(eo=ei.parentElement;eo&&!$edcf132a9284368a$var$isContainingBlock(eo);)eo=eo.parentElement;return eo||document.documentElement}function $edcf132a9284368a$var$isContainingBlock(ei){let eo=window.getComputedStyle(ei);return"none"!==eo.transform||/transform|perspective/.test(eo.willChange)||"none"!==eo.filter||"paint"===eo.contain||"backdropFilter"in eo&&"none"!==eo.backdropFilter||"WebkitBackdropFilter"in eo&&"none"!==eo.WebkitBackdropFilter}var eb=ea(57703),ey=ea(67294),ew=ea(69786);function $9daab02d461809db$var$hasResizeObserver(){return void 0!==window.ResizeObserver}function $9daab02d461809db$export$683480f191c0e3ea(ei){let{ref:eo,onResize:ea}=ei;(0,ey.useEffect)(()=>{let ei=null==eo?void 0:eo.current;if(ei){if(!$9daab02d461809db$var$hasResizeObserver())return window.addEventListener("resize",ea,!1),()=>{window.removeEventListener("resize",ea,!1)};{let eo=new window.ResizeObserver(ei=>{ei.length&&ea()});return eo.observe(ei),()=>{ei&&eo.unobserve(ei)}}}},[ea,eo])}var ex=ea(54792);let eP="undefined"!=typeof document&&window.visualViewport;function $2a41e45df1593e64$export$d39e1813b3bdd0e1(ei){let{direction:eo}=(0,ex.j)(),{arrowSize:ea=0,targetRef:es,overlayRef:eu,scrollRef:ec=eu,placement:ed="bottom",containerPadding:ef=12,shouldFlip:eh=!0,boundaryElement:ep="undefined"!=typeof document?document.body:null,offset:em=0,crossOffset:eg=0,shouldUpdatePosition:eS=!0,isOpen:eE=!0,onClose:ek,maxHeight:eT,arrowBoundaryOffset:eC=0}=ei,[e_,eA]=(0,ey.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),eO=[eS,ed,eu.current,es.current,ec.current,ef,eh,ep,em,eg,eE,eo,eT,eC,ea],eM=(0,ey.useRef)(null==eP?void 0:eP.scale);(0,ey.useEffect)(()=>{eE&&(eM.current=null==eP?void 0:eP.scale)},[eE]);let eR=(0,ey.useCallback)(()=>{if(!1===eS||!eE||!eu.current||!es.current||!ec.current||!ep||(null==eP?void 0:eP.scale)!==eM.current)return;let ei=eu.current;if(!eT&&eu.current){var eb,ey;ei.style.top="0px",ei.style.bottom="",ei.style.maxHeight=(null!==(ey=null===(eb=window.visualViewport)||void 0===eb?void 0:eb.height)&&void 0!==ey?ey:window.innerHeight)+"px"}let ew=$edcf132a9284368a$export$b3ceb0cbf1056d98({placement:$2a41e45df1593e64$var$translateRTL(ed,eo),overlayNode:eu.current,targetNode:es.current,scrollNode:ec.current,padding:ef,shouldFlip:eh,boundaryElement:ep,offset:em,crossOffset:eg,maxHeight:eT,arrowSize:ea,arrowBoundaryOffset:eC});ei.style.top="",ei.style.bottom="",Object.keys(ew.position).forEach(eo=>ei.style[eo]=ew.position[eo]+"px"),ei.style.maxHeight=null!=ew.maxHeight?ew.maxHeight+"px":void 0,eA(ew)},eO);(0,ew.b)(eR,eO),$2a41e45df1593e64$var$useResize(eR),$9daab02d461809db$export$683480f191c0e3ea({ref:eu,onResize:eR});let ej=(0,ey.useRef)(!1);(0,ew.b)(()=>{let ei;let onResize=()=>{ej.current=!0,clearTimeout(ei),ei=setTimeout(()=>{ej.current=!1},500),eR()},onScroll=()=>{ej.current&&onResize()};return null==eP||eP.addEventListener("resize",onResize),null==eP||eP.addEventListener("scroll",onScroll),()=>{null==eP||eP.removeEventListener("resize",onResize),null==eP||eP.removeEventListener("scroll",onScroll)}},[eR]);let eN=(0,ey.useCallback)(()=>{ej.current||ek()},[ek,ej]);return(0,eb.O)({triggerRef:es,isOpen:eE,onClose:ek&&eN}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...e_.position,maxHeight:e_.maxHeight}},placement:e_.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:e_.arrowOffsetLeft,top:e_.arrowOffsetTop}},updatePosition:eR}}function $2a41e45df1593e64$var$useResize(ei){(0,ew.b)(()=>(window.addEventListener("resize",ei,!1),()=>{window.removeEventListener("resize",ei,!1)}),[ei])}function $2a41e45df1593e64$var$translateRTL(ei,eo){return"rtl"===eo?ei.replace("start","right").replace("end","left"):ei.replace("start","left").replace("end","right")}},11860:function(ei,eo,ea){"use strict";ea.d(eo,{I:function(){return $628037886ba31236$export$f9d5c8beee7d008d}});var es=ea(57703),eu=ea(67294),ec=ea(9188);function $628037886ba31236$export$f9d5c8beee7d008d(ei,eo,ea){let ed,{type:ef}=ei,{isOpen:eh}=eo;(0,eu.useEffect)(()=>{ea&&ea.current&&(0,es.v).set(ea.current,eo.close)}),"menu"===ef?ed=!0:"listbox"===ef&&(ed="listbox");let ep=(0,ec.Me)();return{triggerProps:{"aria-haspopup":ed,"aria-expanded":eh,"aria-controls":eh?ep:null,onPress:eo.toggle},overlayProps:{id:ep}}}},54429:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return $2a25aae57d74318e$export$a05409b8bb224a5a}});var es=ea(96791);let $2a25aae57d74318e$export$a05409b8bb224a5a=class $2a25aae57d74318e$export$a05409b8bb224a5a{isDisabled(ei){var eo;return"all"===this.disabledBehavior&&((null===(eo=ei.props)||void 0===eo?void 0:eo.isDisabled)||this.disabledKeys.has(ei.key))}getNextKey(ei){for(ei=this.collection.getKeyAfter(ei);null!=ei;){let eo=this.collection.getItem(ei);if("item"===eo.type&&!this.isDisabled(eo))return ei;ei=this.collection.getKeyAfter(ei)}return null}getPreviousKey(ei){for(ei=this.collection.getKeyBefore(ei);null!=ei;){let eo=this.collection.getItem(ei);if("item"===eo.type&&!this.isDisabled(eo))return ei;ei=this.collection.getKeyBefore(ei)}return null}findKey(ei,eo,ea){let es=this.getItem(ei);if(!es)return null;let eu=es.getBoundingClientRect();do ei=eo(ei),es=this.getItem(ei);while(es&&ea(eu,es.getBoundingClientRect()));return ei}isSameRow(ei,eo){return ei.top===eo.top||ei.left!==eo.left}isSameColumn(ei,eo){return ei.left===eo.left||ei.top!==eo.top}getKeyBelow(ei){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(ei,ei=>this.getNextKey(ei),this.isSameRow):this.getNextKey(ei)}getKeyAbove(ei){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(ei,ei=>this.getPreviousKey(ei),this.isSameRow):this.getPreviousKey(ei)}getNextColumn(ei,eo){return eo?this.getPreviousKey(ei):this.getNextKey(ei)}getKeyRightOf(ei){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(ei,"rtl"===this.direction):this.findKey(ei,ei=>this.getNextColumn(ei,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(ei,"rtl"===this.direction):null}getKeyLeftOf(ei){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(ei,"ltr"===this.direction):this.findKey(ei,ei=>this.getNextColumn(ei,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(ei,"ltr"===this.direction):null}getFirstKey(){let ei=this.collection.getFirstKey();for(;null!=ei;){let eo=this.collection.getItem(ei);if((null==eo?void 0:eo.type)==="item"&&!this.isDisabled(eo))return ei;ei=this.collection.getKeyAfter(ei)}return null}getLastKey(){let ei=this.collection.getLastKey();for(;null!=ei;){let eo=this.collection.getItem(ei);if("item"===eo.type&&!this.isDisabled(eo))return ei;ei=this.collection.getKeyBefore(ei)}return null}getItem(ei){return null!==ei?this.ref.current.querySelector(`[data-key="${CSS.escape(ei.toString())}"]`):null}getKeyPageAbove(ei){let eo=this.ref.current,ea=this.getItem(ei);if(!ea)return null;if(!(0,es.a)(eo))return this.getFirstKey();let eu=eo.getBoundingClientRect(),ec=ea.getBoundingClientRect();if("horizontal"===this.orientation){let es=eu.x-eo.scrollLeft,ed=Math.max(0,ec.x-es+ec.width-eu.width);for(;ea&&ec.x-es>ed;)ec=null==(ea=null==(ei=this.getKeyAbove(ei))?null:this.getItem(ei))?void 0:ea.getBoundingClientRect()}else{let es=eu.y-eo.scrollTop,ed=Math.max(0,ec.y-es+ec.height-eu.height);for(;ea&&ec.y-es>ed;)ec=null==(ea=null==(ei=this.getKeyAbove(ei))?null:this.getItem(ei))?void 0:ea.getBoundingClientRect()}return null!=ei?ei:this.getFirstKey()}getKeyPageBelow(ei){let eo=this.ref.current,ea=this.getItem(ei);if(!ea)return null;if(!(0,es.a)(eo))return this.getLastKey();let eu=eo.getBoundingClientRect(),ec=ea.getBoundingClientRect();if("horizontal"===this.orientation){let es=eu.x-eo.scrollLeft,ed=Math.min(eo.scrollWidth,ec.x-es-ec.width+eu.width);for(;ea&&ec.x-es<ed;)ec=null==(ea=null==(ei=this.getKeyBelow(ei))?null:this.getItem(ei))?void 0:ea.getBoundingClientRect()}else{let es=eu.y-eo.scrollTop,ed=Math.min(eo.scrollHeight,ec.y-es-ec.height+eu.height);for(;ea&&ec.y-es<ed;)ec=null==(ea=null==(ei=this.getKeyBelow(ei))?null:this.getItem(ei))?void 0:ea.getBoundingClientRect()}return null!=ei?ei:this.getLastKey()}getKeyForSearch(ei,eo){if(!this.collator)return null;let ea=this.collection,es=eo||this.getFirstKey();for(;null!=es;){let eo=ea.getItem(es),eu=eo.textValue.slice(0,ei.length);if(eo.textValue&&0===this.collator.compare(eu,ei))return es;es=this.getKeyBelow(es)}return null}constructor(...ei){if(1===ei.length){let eo=ei[0];this.collection=eo.collection,this.ref=eo.ref,this.collator=eo.collator,this.disabledKeys=eo.disabledKeys||new Set,this.disabledBehavior=eo.disabledBehavior||"all",this.orientation=eo.orientation,this.direction=eo.direction,this.layout=eo.layout||"stack"}else this.collection=ei[0],this.disabledKeys=ei[1],this.ref=ei[2],this.collator=ei[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all";"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}},84409:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return $ae20dd8cbca75726$export$d6daf82dcd84e87c}});var es=ea(40608),eu=ea(13553),ec=ea(73935),ed=ea(67294),ef=ea(37873),eh=ea(26590),ep=ea(32433),em=ea(77604),eg=ea(68278),eb=ea(44369),ey=ea(37127),ew=ea(9975),ex=ea(54792);function $ae20dd8cbca75726$export$d6daf82dcd84e87c(ei){let eo,{selectionManager:ea,keyboardDelegate:eP,ref:eS,autoFocus:eE=!1,shouldFocusWrap:ek=!1,disallowEmptySelection:eT=!1,disallowSelectAll:eC=!1,selectOnFocus:e_="replace"===ea.selectionBehavior,disallowTypeAhead:eA=!1,shouldUseVirtualFocus:eO,allowsTabNavigation:eM=!1,isVirtualized:eR,scrollRef:ej=eS,linkBehavior:eN="action"}=ei,{direction:eL}=(0,ex.j)(),eD=(0,ep.tv)(),onKeyDown=ei=>{var eo,eu,ed,eh,ep,eg,eb,ey;if(ei.altKey&&"Tab"===ei.key&&ei.preventDefault(),!eS.current.contains(ei.target))return;let navigateToKey=(eo,eu)=>{if(null!=eo){if(ea.isLink(eo)&&"selection"===eN&&e_&&!(0,es.F)(ei)){(0,ec.flushSync)(()=>{ea.setFocusedKey(eo,eu)});let es=ej.current.querySelector(`[data-key="${CSS.escape(eo.toString())}"]`),ed=ea.getItemProps(eo);eD.open(es,ei,ed.href,ed.routerOptions);return}ea.setFocusedKey(eo,eu),ea.isLink(eo)&&"override"===eN||(ei.shiftKey&&"multiple"===ea.selectionMode?ea.extendSelection(eo):e_&&!(0,es.F)(ei)&&ea.replaceSelection(eo))}};switch(ei.key){case"ArrowDown":if(eP.getKeyBelow){ei.preventDefault();let es=null!=ea.focusedKey?eP.getKeyBelow(ea.focusedKey):null===(eo=eP.getFirstKey)||void 0===eo?void 0:eo.call(eP);null==es&&ek&&(es=null===(eu=eP.getFirstKey)||void 0===eu?void 0:eu.call(eP,ea.focusedKey)),navigateToKey(es)}break;case"ArrowUp":if(eP.getKeyAbove){ei.preventDefault();let eo=null!=ea.focusedKey?eP.getKeyAbove(ea.focusedKey):null===(ed=eP.getLastKey)||void 0===ed?void 0:ed.call(eP);null==eo&&ek&&(eo=null===(eh=eP.getLastKey)||void 0===eh?void 0:eh.call(eP,ea.focusedKey)),navigateToKey(eo)}break;case"ArrowLeft":if(eP.getKeyLeftOf){ei.preventDefault();let eo=eP.getKeyLeftOf(ea.focusedKey);null==eo&&ek&&(eo="rtl"===eL?null===(ep=eP.getFirstKey)||void 0===ep?void 0:ep.call(eP,ea.focusedKey):null===(eg=eP.getLastKey)||void 0===eg?void 0:eg.call(eP,ea.focusedKey)),navigateToKey(eo,"rtl"===eL?"first":"last")}break;case"ArrowRight":if(eP.getKeyRightOf){ei.preventDefault();let eo=eP.getKeyRightOf(ea.focusedKey);null==eo&&ek&&(eo="rtl"===eL?null===(eb=eP.getLastKey)||void 0===eb?void 0:eb.call(eP,ea.focusedKey):null===(ey=eP.getFirstKey)||void 0===ey?void 0:ey.call(eP,ea.focusedKey)),navigateToKey(eo,"rtl"===eL?"last":"first")}break;case"Home":if(eP.getFirstKey){ei.preventDefault();let eo=eP.getFirstKey(ea.focusedKey,(0,es.y)(ei));ea.setFocusedKey(eo),(0,es.y)(ei)&&ei.shiftKey&&"multiple"===ea.selectionMode?ea.extendSelection(eo):e_&&ea.replaceSelection(eo)}break;case"End":if(eP.getLastKey){ei.preventDefault();let eo=eP.getLastKey(ea.focusedKey,(0,es.y)(ei));ea.setFocusedKey(eo),(0,es.y)(ei)&&ei.shiftKey&&"multiple"===ea.selectionMode?ea.extendSelection(eo):e_&&ea.replaceSelection(eo)}break;case"PageDown":eP.getKeyPageBelow&&(ei.preventDefault(),navigateToKey(eP.getKeyPageBelow(ea.focusedKey)));break;case"PageUp":eP.getKeyPageAbove&&(ei.preventDefault(),navigateToKey(eP.getKeyPageAbove(ea.focusedKey)));break;case"a":(0,es.y)(ei)&&"multiple"===ea.selectionMode&&!0!==eC&&(ei.preventDefault(),ea.selectAll());break;case"Escape":eT||0===ea.selectedKeys.size||(ei.stopPropagation(),ei.preventDefault(),ea.clearSelection());break;case"Tab":if(!eM){if(ei.shiftKey)eS.current.focus();else{let ei,eo,ea=(0,ef.QL)(eS.current,{tabbable:!0});do(eo=ea.lastChild())&&(ei=eo);while(eo);ei&&!ei.contains(document.activeElement)&&(0,em.A)(ei)}}}},eI=(0,ed.useRef)({top:0,left:0});(0,eg.z)(ej,"scroll",eR?null:()=>{eI.current={top:ej.current.scrollTop,left:ej.current.scrollLeft}});let onFocus=ei=>{if(ea.isFocused){ei.currentTarget.contains(ei.target)||ea.setFocused(!1);return}if(ei.currentTarget.contains(ei.target)){if(ea.setFocused(!0),null==ea.focusedKey){var eo,es;let navigateToFirstKey=ei=>{null!=ei&&(ea.setFocusedKey(ei),e_&&ea.replaceSelection(ei))},eu=ei.relatedTarget;navigateToFirstKey(eu&&ei.currentTarget.compareDocumentPosition(eu)&Node.DOCUMENT_POSITION_FOLLOWING?null!==(eo=ea.lastSelectedKey)&&void 0!==eo?eo:eP.getLastKey():null!==(es=ea.firstSelectedKey)&&void 0!==es?es:eP.getFirstKey())}else eR||(ej.current.scrollTop=eI.current.top,ej.current.scrollLeft=eI.current.left);if(!eR&&null!=ea.focusedKey){let ei=ej.current.querySelector(`[data-key="${CSS.escape(ea.focusedKey.toString())}"]`);ei&&(ei.contains(document.activeElement)||(0,em.A)(ei),"keyboard"===(0,ew.Jz)()&&(0,eb.G)(ei,{containingElement:eS.current}))}}},onBlur=ei=>{ei.currentTarget.contains(ei.relatedTarget)||ea.setFocused(!1)},ez=(0,ed.useRef)(eE);(0,ed.useEffect)(()=>{if(ez.current){let ei=null;"first"===eE&&(ei=eP.getFirstKey()),"last"===eE&&(ei=eP.getLastKey());let eo=ea.selectedKeys;if(eo.size){for(let es of eo)if(ea.canSelectItem(es)){ei=es;break}}ea.setFocused(!0),ea.setFocusedKey(ei),null!=ei||eO||(0,eh.e)(eS.current)}},[]);let eB=(0,ed.useRef)(ea.focusedKey);(0,ed.useEffect)(()=>{let ei=(0,ew.Jz)();if(ea.isFocused&&null!=ea.focusedKey&&(null==ej?void 0:ej.current)){let eo=ej.current.querySelector(`[data-key="${CSS.escape(ea.focusedKey.toString())}"]`);eo&&("keyboard"===ei||ez.current)&&(eR||(0,eb.z)(ej.current,eo),"virtual"!==ei&&(0,eb.G)(eo,{containingElement:eS.current}))}ea.isFocused&&null==ea.focusedKey&&null!=eB.current&&(0,eh.e)(eS.current),eB.current=ea.focusedKey,ez.current=!1},[eR,ej,ea.focusedKey,ea.isFocused,eS]);let eF={onKeyDown:onKeyDown,onFocus:onFocus,onBlur:onBlur,onMouseDown(ei){ej.current===ei.target&&ei.preventDefault()}},{typeSelectProps:eH}=(0,eu.i)({keyboardDelegate:eP,selectionManager:ea});return eA||(eF=(0,ey.d)(eH,eF)),eO||(eo=null==ea.focusedKey?0:-1),{collectionProps:{...eF,tabIndex:eo}}}},36400:function(ei,eo,ea){"use strict";ea.d(eo,{C:function(){return $880e95eb8b93ba9a$export$ecf600387e221c37}});var es=ea(40608),eu=ea(26590),ec=ea(32433),ed=ea(37127),ef=ea(2317),eh=ea(51889),ep=ea(67294);function $880e95eb8b93ba9a$export$ecf600387e221c37(ei){let{selectionManager:eo,key:ea,ref:em,shouldSelectOnPressUp:eg,shouldUseVirtualFocus:eb,focus:ey,isDisabled:ew,onAction:ex,allowsDifferentPressOrigin:eP,linkBehavior:eS="action"}=ei,eE=(0,ec.tv)(),onSelect=ei=>{if("keyboard"===ei.pointerType&&(0,es.F)(ei))eo.toggleSelection(ea);else{if("none"===eo.selectionMode)return;if(eo.isLink(ea)){if("selection"===eS){let es=eo.getItemProps(ea);eE.open(em.current,ei,es.href,es.routerOptions),eo.setSelectedKeys(eo.selectedKeys);return}if("override"===eS||"none"===eS)return}"single"===eo.selectionMode?eo.isSelected(ea)&&!eo.disallowEmptySelection?eo.toggleSelection(ea):eo.replaceSelection(ea):ei&&ei.shiftKey?eo.extendSelection(ea):"toggle"===eo.selectionBehavior||ei&&((0,es.y)(ei)||"touch"===ei.pointerType||"virtual"===ei.pointerType)?eo.toggleSelection(ea):eo.replaceSelection(ea)}};(0,ep.useEffect)(()=>{ea===eo.focusedKey&&eo.isFocused&&!eb&&(ey?ey():document.activeElement!==em.current&&(0,eu.e)(em.current))},[em,ea,eo.focusedKey,eo.childFocusStrategy,eo.isFocused,eb]),ew=ew||eo.isDisabled(ea);let ek={};eb||ew?ew&&(ek.onMouseDown=ei=>{ei.preventDefault()}):ek={tabIndex:ea===eo.focusedKey?0:-1,onFocus(ei){ei.target===em.current&&eo.setFocusedKey(ea)}};let eT=eo.isLink(ea)&&"override"===eS,eC=eo.isLink(ea)&&"selection"!==eS&&"none"!==eS,e_=!ew&&eo.canSelectItem(ea)&&!eT,eA=(ex||eC)&&!ew,eO=eA&&("replace"===eo.selectionBehavior?!e_:!e_||eo.isEmpty),eM=eA&&e_&&"replace"===eo.selectionBehavior,eR=eO||eM,ej=(0,ep.useRef)(null),eN=eR&&e_,eL=(0,ep.useRef)(!1),eD=(0,ep.useRef)(!1),performAction=ei=>{if(ex&&ex(),eC){let es=eo.getItemProps(ea);eE.open(em.current,ei,es.href,es.routerOptions)}},eI={};eg?(eI.onPressStart=ei=>{ej.current=ei.pointerType,eL.current=eN,"keyboard"===ei.pointerType&&(!eR||$880e95eb8b93ba9a$var$isSelectionKey())&&onSelect(ei)},eP?(eI.onPressUp=eO?null:ei=>{"keyboard"!==ei.pointerType&&e_&&onSelect(ei)},eI.onPress=eO?performAction:null):eI.onPress=ei=>{eO||eM&&"mouse"!==ei.pointerType?("keyboard"!==ei.pointerType||$880e95eb8b93ba9a$var$isActionKey())&&performAction(ei):"keyboard"!==ei.pointerType&&e_&&onSelect(ei)}):(eI.onPressStart=ei=>{ej.current=ei.pointerType,eL.current=eN,eD.current=eO,e_&&("mouse"===ei.pointerType&&!eO||"keyboard"===ei.pointerType&&(!eA||$880e95eb8b93ba9a$var$isSelectionKey()))&&onSelect(ei)},eI.onPress=ei=>{("touch"===ei.pointerType||"pen"===ei.pointerType||"virtual"===ei.pointerType||"keyboard"===ei.pointerType&&eR&&$880e95eb8b93ba9a$var$isActionKey()||"mouse"===ei.pointerType&&eD.current)&&(eR?performAction(ei):e_&&onSelect(ei))}),ek["data-key"]=ea,eI.preventFocusOnPress=eb;let{pressProps:ez,isPressed:eB}=(0,ef.r)(eI),eF=eM?ei=>{"mouse"===ej.current&&(ei.stopPropagation(),ei.preventDefault(),performAction(ei))}:void 0,{longPressProps:eH}=(0,eh.T)({isDisabled:!eN,onLongPress(ei){"touch"===ei.pointerType&&(onSelect(ei),eo.setSelectionBehavior("toggle"))}}),onDragStartCapture=ei=>{"touch"===ej.current&&eL.current&&ei.preventDefault()},eU=eo.isLink(ea)?ei=>{ec.nG.isOpening||ei.preventDefault()}:void 0;return{itemProps:(0,ed.d)(ek,e_||eO?ez:{},eN?eH:{},{onDoubleClick:eF,onDragStartCapture:onDragStartCapture,onClick:eU}),isPressed:eB,isSelected:eo.isSelected(ea),isFocused:eo.isFocused&&eo.focusedKey===ea,isDisabled:ew,allowsSelection:e_,hasAction:eR}}function $880e95eb8b93ba9a$var$isActionKey(){let ei=window.event;return(null==ei?void 0:ei.key)==="Enter"}function $880e95eb8b93ba9a$var$isSelectionKey(){let ei=window.event;return(null==ei?void 0:ei.key)===" "||(null==ei?void 0:ei.code)==="Space"}},45351:function(ei,eo,ea){"use strict";ea.d(eo,{_:function(){return $982254629710d113$export$b95089534ab7c1fd}});var es=ea(84409),eu=ea(54429),ec=ea(43394),ed=ea(67294);function $982254629710d113$export$b95089534ab7c1fd(ei){let{selectionManager:eo,collection:ea,disabledKeys:ef,ref:eh,keyboardDelegate:ep}=ei,em=(0,ec.X)({usage:"search",sensitivity:"base"}),eg=eo.disabledBehavior,eb=(0,ed.useMemo)(()=>ep||new eu.d({collection:ea,disabledKeys:ef,disabledBehavior:eg,ref:eh,collator:em}),[ep,ea,ef,eh,em,eg]),{collectionProps:ey}=(0,es.g)({...ei,ref:eh,selectionManager:eo,keyboardDelegate:eb});return{listProps:ey}}},13553:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return $fb3050f43d946246$export$e32c88dfddc6e1d8}});var es=ea(67294);let eu=1e3;function $fb3050f43d946246$export$e32c88dfddc6e1d8(ei){let{keyboardDelegate:eo,selectionManager:ea,onTypeSelect:ec}=ei,ed=(0,es.useRef)({search:"",timeout:null}).current,onKeyDown=ei=>{let es=$fb3050f43d946246$var$getStringForKey(ei.key);if(!es||ei.ctrlKey||ei.metaKey||!ei.currentTarget.contains(ei.target))return;" "!==es||!(ed.search.trim().length>0)||(ei.preventDefault(),"continuePropagation"in ei||ei.stopPropagation()),ed.search+=es;let ef=eo.getKeyForSearch(ed.search,ea.focusedKey);null==ef&&(ef=eo.getKeyForSearch(ed.search)),null!=ef&&(ea.setFocusedKey(ef),ec&&ec(ef)),clearTimeout(ed.timeout),ed.timeout=setTimeout(()=>{ed.search=""},eu)};return{typeSelectProps:{onKeyDownCapture:eo.getKeyForSearch?onKeyDown:null}}}function $fb3050f43d946246$var$getStringForKey(ei){return 1!==ei.length&&/^[A-Z]/i.test(ei)?"":ei}},40608:function(ei,eo,ea){"use strict";ea.d(eo,{F:function(){return $feb5ffebff200149$export$d3e3bd3e26688c04},y:function(){return $feb5ffebff200149$export$16792effe837dba3}});var es=ea(68806);function $feb5ffebff200149$export$d3e3bd3e26688c04(ei){return(0,es.ad)()?ei.altKey:ei.ctrlKey}function $feb5ffebff200149$export$16792effe837dba3(ei){return(0,es.V5)()?ei.metaKey:ei.ctrlKey}},37385:function(ei,eo,ea){"use strict";ea.d(eo,{Av:function(){return $b5e257d569688ac6$export$535bd6ca7f90a273},gP:function(){return ep}});var es=ea(67294);let eu={prefix:String(Math.round(1e10*Math.random())),current:0},ec=es.createContext(eu),ed=es.createContext(!1),ef=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eh=new WeakMap;function $b5e257d569688ac6$var$useCounter(ei=!1){let eo=(0,es.useContext)(ec),ea=(0,es.useRef)(null);if(null===ea.current&&!ei){var eu,ed;let ei=null===(ed=es.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===ed?void 0:null===(eu=ed.ReactCurrentOwner)||void 0===eu?void 0:eu.current;if(ei){let ea=eh.get(ei);null==ea?eh.set(ei,{id:eo.current,state:ei.memoizedState}):ei.memoizedState!==ea.state&&(eo.current=ea.id,eh.delete(ei))}ea.current=++eo.current}return ea.current}function $b5e257d569688ac6$var$useLegacySSRSafeId(ei){let eo=(0,es.useContext)(ec);eo!==eu||ef||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let ea=$b5e257d569688ac6$var$useCounter(!!ei),ed=`react-aria${eo.prefix}`;return ei||`${ed}-${ea}`}function $b5e257d569688ac6$var$useModernSSRSafeId(ei){let eo=es.useId(),[ea]=(0,es.useState)($b5e257d569688ac6$export$535bd6ca7f90a273()),ec=ea?"react-aria":`react-aria${eu.prefix}`;return ei||`${ec}-${eo}`}let ep="function"==typeof es.useId?$b5e257d569688ac6$var$useModernSSRSafeId:$b5e257d569688ac6$var$useLegacySSRSafeId;function $b5e257d569688ac6$var$getSnapshot(){return!1}function $b5e257d569688ac6$var$getServerSnapshot(){return!0}function $b5e257d569688ac6$var$subscribe(ei){return()=>{}}function $b5e257d569688ac6$export$535bd6ca7f90a273(){return"function"==typeof es.useSyncExternalStore?es.useSyncExternalStore($b5e257d569688ac6$var$subscribe,$b5e257d569688ac6$var$getSnapshot,$b5e257d569688ac6$var$getServerSnapshot):(0,es.useContext)(ed)}},31801:function(ei,eo,ea){"use strict";ea.d(eo,{O:function(){return $d2c8e2b0480f3f34$export$cbe85ee05b554577}});var es=ea(37127),eu=ea(3136),ec=ea(85952),ed=ea(68587),ef=ea(2317);function $d2c8e2b0480f3f34$export$cbe85ee05b554577(ei,eo,ea){let{isDisabled:eh=!1,isReadOnly:ep=!1,value:em,name:eg,children:eb,"aria-label":ey,"aria-labelledby":ew,validationState:ex="valid",isInvalid:eP}=ei,onChange=ei=>{ei.stopPropagation(),eo.setSelected(ei.target.checked)},eS=null!=ey||null!=ew;null!=eb||eS||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:eE,isPressed:ek}=(0,ef.r)({isDisabled:eh}),{pressProps:eT,isPressed:eC}=(0,ef.r)({isDisabled:eh||ep,onPress(){eo.toggle()}}),{focusableProps:e_}=(0,ed.k)(ei,ea),eA=(0,es.d)(eE,e_),eO=(0,eu.z)(ei,{labelable:!0});return(0,ec.y)(ea,eo.isSelected,eo.setSelected),{labelProps:(0,es.d)(eT,{onClick:ei=>ei.preventDefault()}),inputProps:(0,es.d)(eO,{"aria-invalid":eP||"invalid"===ex||void 0,"aria-errormessage":ei["aria-errormessage"],"aria-controls":ei["aria-controls"],"aria-readonly":ep||void 0,onChange:onChange,disabled:eh,...null==em?{}:{value:em},name:eg,type:"checkbox",...eA}),isSelected:eo.isSelected,isPressed:ek||eC,isDisabled:eh,isReadOnly:ep,isInvalid:eP||"invalid"===ex}}},11086:function(ei,eo,ea){"use strict";function $ff5963eb1fccf552$export$e08e3b67e392101e(...ei){return(...eo)=>{for(let ea of ei)"function"==typeof ea&&ea(...eo)}}ea.d(eo,{t:function(){return $ff5963eb1fccf552$export$e08e3b67e392101e}})},78837:function(ei,eo,ea){"use strict";ea.d(eo,{k:function(){return $431fbd86ca7dc216$export$f21a1ffae260145a},r:function(){return $431fbd86ca7dc216$export$b204af158042fbac}});let $431fbd86ca7dc216$export$b204af158042fbac=ei=>{var eo;return null!==(eo=null==ei?void 0:ei.ownerDocument)&&void 0!==eo?eo:document},$431fbd86ca7dc216$export$f21a1ffae260145a=ei=>{if(ei&&"window"in ei&&ei.window===ei)return ei;let eo=$431fbd86ca7dc216$export$b204af158042fbac(ei);return eo.defaultView||window}},3136:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return $65484d02dcb7eb3e$export$457c3d6518dd4c6f}});let es=new Set(["id"]),eu=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ec=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ed=/^(data-.*)$/;function $65484d02dcb7eb3e$export$457c3d6518dd4c6f(ei,eo={}){let{labelable:ea,isLink:ef,propNames:eh}=eo,ep={};for(let eo in ei)Object.prototype.hasOwnProperty.call(ei,eo)&&(es.has(eo)||ea&&eu.has(eo)||ef&&ec.has(eo)||(null==eh?void 0:eh.has(eo))||ed.test(eo))&&(ep[eo]=ei[eo]);return ep}},77604:function(ei,eo,ea){"use strict";function $7215afc6de606d6b$export$de79e2c695e052f3(ei){if($7215afc6de606d6b$var$supportsPreventScroll())ei.focus({preventScroll:!0});else{let eo=$7215afc6de606d6b$var$getScrollableElements(ei);ei.focus(),$7215afc6de606d6b$var$restoreScrollPosition(eo)}}ea.d(eo,{A:function(){return $7215afc6de606d6b$export$de79e2c695e052f3}});let es=null;function $7215afc6de606d6b$var$supportsPreventScroll(){if(null==es){es=!1;try{document.createElement("div").focus({get preventScroll(){return es=!0,!0}})}catch(ei){}}return es}function $7215afc6de606d6b$var$getScrollableElements(ei){let eo=ei.parentNode,ea=[],es=document.scrollingElement||document.documentElement;for(;eo instanceof HTMLElement&&eo!==es;)(eo.offsetHeight<eo.scrollHeight||eo.offsetWidth<eo.scrollWidth)&&ea.push({element:eo,scrollTop:eo.scrollTop,scrollLeft:eo.scrollLeft}),eo=eo.parentNode;return es instanceof HTMLElement&&ea.push({element:es,scrollTop:es.scrollTop,scrollLeft:es.scrollLeft}),ea}function $7215afc6de606d6b$var$restoreScrollPosition(ei){for(let{element:eo,scrollTop:ea,scrollLeft:es}of ei)eo.scrollTop=ea,eo.scrollLeft=es}},49665:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return $62d8ded9296f3872$export$cfa2225e87938781}});var es=ea(96791);function $62d8ded9296f3872$export$cfa2225e87938781(ei,eo){let ea=ei;for((0,es.a)(ea,eo)&&(ea=ea.parentElement);ea&&!(0,es.a)(ea,eo);)ea=ea.parentElement;return ea||document.scrollingElement||document.documentElement}},96791:function(ei,eo,ea){"use strict";function $cc38e7bd3fc7b213$export$2bb74740c4e19def(ei,eo){let ea=window.getComputedStyle(ei),es=/(auto|scroll)/.test(ea.overflow+ea.overflowX+ea.overflowY);return es&&eo&&(es=ei.scrollHeight!==ei.clientHeight||ei.scrollWidth!==ei.clientWidth),es}ea.d(eo,{a:function(){return $cc38e7bd3fc7b213$export$2bb74740c4e19def}})},26301:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return $6a7db85432448f7f$export$60278871457622de},c:function(){return $6a7db85432448f7f$export$29bf1b5f2c56cf63}});var es=ea(68806);function $6a7db85432448f7f$export$60278871457622de(ei){return 0===ei.mozInputSource&&!!ei.isTrusted||((0,es.Dt)()&&ei.pointerType?"click"===ei.type&&1===ei.buttons:0===ei.detail&&!ei.pointerType)}function $6a7db85432448f7f$export$29bf1b5f2c56cf63(ei){return!(0,es.Dt)()&&0===ei.width&&0===ei.height||1===ei.width&&1===ei.height&&0===ei.pressure&&0===ei.detail&&"mouse"===ei.pointerType}},37127:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return $3ef42575df84b30b$export$9d1611c77c2fe928}});var es=ea(11086),eu=ea(9188);function r(ei){var eo,ea,es="";if("string"==typeof ei||"number"==typeof ei)es+=ei;else if("object"==typeof ei){if(Array.isArray(ei))for(eo=0;eo<ei.length;eo++)ei[eo]&&(ea=r(ei[eo]))&&(es&&(es+=" "),es+=ea);else for(eo in ei)ei[eo]&&(es&&(es+=" "),es+=eo)}return es}var dist_clsx=function(){for(var ei,eo,ea=0,es="";ea<arguments.length;)(ei=arguments[ea++])&&(eo=r(ei))&&(es&&(es+=" "),es+=eo);return es};function $3ef42575df84b30b$export$9d1611c77c2fe928(...ei){let eo={...ei[0]};for(let ea=1;ea<ei.length;ea++){let ec=ei[ea];for(let ei in ec){let ea=eo[ei],ed=ec[ei];"function"==typeof ea&&"function"==typeof ed&&"o"===ei[0]&&"n"===ei[1]&&ei.charCodeAt(2)>=65&&90>=ei.charCodeAt(2)?eo[ei]=(0,es.t)(ea,ed):("className"===ei||"UNSAFE_className"===ei)&&"string"==typeof ea&&"string"==typeof ed?eo[ei]=dist_clsx(ea,ed):"id"===ei&&ea&&ed?eo.id=(0,eu.ur)(ea,ed):eo[ei]=void 0!==ed?ed:ea}}return eo}},36303:function(ei,eo,ea){"use strict";function $5dc95899b306f630$export$c9058316764c140e(...ei){return 1===ei.length?ei[0]:eo=>{for(let ea of ei)"function"==typeof ea?ea(eo):null!=ea&&(ea.current=eo)}}ea.d(eo,{l:function(){return $5dc95899b306f630$export$c9058316764c140e}})},32433:function(ei,eo,ea){"use strict";ea.d(eo,{b0:function(){return $ea8dcbcb9ea1b556$export$efa8c9099e530235},eY:function(){return $ea8dcbcb9ea1b556$export$7e924b3091a3bd18},ib:function(){return $ea8dcbcb9ea1b556$export$51437d503373d223},nG:function(){return $ea8dcbcb9ea1b556$export$95185d699e05d4d7},pG:function(){return $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb},tv:function(){return $ea8dcbcb9ea1b556$export$9a302a45f65d0572}});var es=ea(77604),eu=ea(68806),ec=ea(67294);let ed=(0,ec.createContext)({isNative:!0,open:$ea8dcbcb9ea1b556$var$openSyntheticLink,useHref:ei=>ei});function $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb(ei){let{children:eo,navigate:ea,useHref:es}=ei,eu=(0,ec.useMemo)(()=>({isNative:!1,open:(ei,eo,es,eu)=>{$ea8dcbcb9ea1b556$var$getSyntheticLink(ei,ei=>{$ea8dcbcb9ea1b556$export$efa8c9099e530235(ei,eo)?ea(es,eu):$ea8dcbcb9ea1b556$export$95185d699e05d4d7(ei,eo)})},useHref:es||(ei=>ei)}),[ea,es]);return ec.createElement(ed.Provider,{value:eu},eo)}function $ea8dcbcb9ea1b556$export$9a302a45f65d0572(){return(0,ec.useContext)(ed)}function $ea8dcbcb9ea1b556$export$efa8c9099e530235(ei,eo){let ea=ei.getAttribute("target");return(!ea||"_self"===ea)&&ei.origin===location.origin&&!ei.hasAttribute("download")&&!eo.metaKey&&!eo.ctrlKey&&!eo.altKey&&!eo.shiftKey}function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(ei,eo,ea=!0){var ec,ed;let{metaKey:ef,ctrlKey:eh,altKey:ep,shiftKey:em}=eo;(0,eu.vU)()&&(null===(ed=window.event)||void 0===ed?void 0:null===(ec=ed.type)||void 0===ec?void 0:ec.startsWith("key"))&&"_blank"===ei.target&&((0,eu.V5)()?ef=!0:eh=!0);let eg=(0,eu.Pf)()&&(0,eu.V5)()&&!(0,eu.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:ef,ctrlKey:eh,altKey:ep,shiftKey:em}):new MouseEvent("click",{metaKey:ef,ctrlKey:eh,altKey:ep,shiftKey:em,bubbles:!0,cancelable:!0});$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening=ea,(0,es.A)(ei),ei.dispatchEvent(eg),$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening=!1}function $ea8dcbcb9ea1b556$var$getSyntheticLink(ei,eo){if(ei instanceof HTMLAnchorElement)eo(ei);else if(ei.hasAttribute("data-href")){let ea=document.createElement("a");ea.href=ei.getAttribute("data-href"),ei.hasAttribute("data-target")&&(ea.target=ei.getAttribute("data-target")),ei.hasAttribute("data-rel")&&(ea.rel=ei.getAttribute("data-rel")),ei.hasAttribute("data-download")&&(ea.download=ei.getAttribute("data-download")),ei.hasAttribute("data-ping")&&(ea.ping=ei.getAttribute("data-ping")),ei.hasAttribute("data-referrer-policy")&&(ea.referrerPolicy=ei.getAttribute("data-referrer-policy")),ei.appendChild(ea),eo(ea),ei.removeChild(ea)}}function $ea8dcbcb9ea1b556$var$openSyntheticLink(ei,eo){$ea8dcbcb9ea1b556$var$getSyntheticLink(ei,ei=>$ea8dcbcb9ea1b556$export$95185d699e05d4d7(ei,eo))}function $ea8dcbcb9ea1b556$export$51437d503373d223(ei){return{"data-href":ei.href,"data-target":ei.target,"data-rel":ei.rel,"data-download":ei.download,"data-ping":ei.ping,"data-referrer-policy":ei.referrerPolicy}}function $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(ei){let eo=$ea8dcbcb9ea1b556$export$9a302a45f65d0572();return{href:(null==ei?void 0:ei.href)?eo.useHref(null==ei?void 0:ei.href):void 0,target:null==ei?void 0:ei.target,rel:null==ei?void 0:ei.rel,download:null==ei?void 0:ei.download,ping:null==ei?void 0:ei.ping,referrerPolicy:null==ei?void 0:ei.referrerPolicy}}$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening=!1},68806:function(ei,eo,ea){"use strict";function $c87311424ea30a05$var$testUserAgent(ei){var eo;return"undefined"!=typeof window&&null!=window.navigator&&((null===(eo=window.navigator.userAgentData)||void 0===eo?void 0:eo.brands.some(eo=>ei.test(eo.brand)))||ei.test(window.navigator.userAgent))}function $c87311424ea30a05$var$testPlatform(ei){var eo;return"undefined"!=typeof window&&null!=window.navigator&&ei.test((null===(eo=window.navigator.userAgentData)||void 0===eo?void 0:eo.platform)||window.navigator.platform)}function $c87311424ea30a05$export$9ac100e40613ea10(){return $c87311424ea30a05$var$testPlatform(/^Mac/i)}function $c87311424ea30a05$export$186c6964ca17d99(){return $c87311424ea30a05$var$testPlatform(/^iPhone/i)}function $c87311424ea30a05$export$7bef049ce92e4224(){return $c87311424ea30a05$var$testPlatform(/^iPad/i)||$c87311424ea30a05$export$9ac100e40613ea10()&&navigator.maxTouchPoints>1}function $c87311424ea30a05$export$fedb369cb70207f1(){return $c87311424ea30a05$export$186c6964ca17d99()||$c87311424ea30a05$export$7bef049ce92e4224()}function $c87311424ea30a05$export$e1865c3bedcd822b(){return $c87311424ea30a05$export$9ac100e40613ea10()||$c87311424ea30a05$export$fedb369cb70207f1()}function $c87311424ea30a05$export$78551043582a6a98(){return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i)&&!$c87311424ea30a05$export$6446a186d09e379e()}function $c87311424ea30a05$export$6446a186d09e379e(){return $c87311424ea30a05$var$testUserAgent(/Chrome/i)}function $c87311424ea30a05$export$a11b0059900ceec8(){return $c87311424ea30a05$var$testUserAgent(/Android/i)}function $c87311424ea30a05$export$b7d78993b74f766d(){return $c87311424ea30a05$var$testUserAgent(/Firefox/i)}ea.d(eo,{Dt:function(){return $c87311424ea30a05$export$a11b0059900ceec8},Pf:function(){return $c87311424ea30a05$export$78551043582a6a98},V5:function(){return $c87311424ea30a05$export$9ac100e40613ea10},ad:function(){return $c87311424ea30a05$export$e1865c3bedcd822b},gn:function(){return $c87311424ea30a05$export$fedb369cb70207f1},vU:function(){return $c87311424ea30a05$export$b7d78993b74f766d},zc:function(){return $c87311424ea30a05$export$7bef049ce92e4224}})},85007:function(ei,eo,ea){"use strict";ea.d(eo,{Q:function(){return $bbed8b41f857bcc0$export$24490316f764c430}});let es=new Map,eu=new Set;function $bbed8b41f857bcc0$var$setupGlobalEvents(){if("undefined"==typeof window)return;function isTransitionEvent(ei){return"propertyName"in ei}let onTransitionStart=ei=>{if(!isTransitionEvent(ei)||!ei.target)return;let eo=es.get(ei.target);eo||(eo=new Set,es.set(ei.target,eo),ei.target.addEventListener("transitioncancel",onTransitionEnd,{once:!0})),eo.add(ei.propertyName)},onTransitionEnd=ei=>{if(!isTransitionEvent(ei)||!ei.target)return;let eo=es.get(ei.target);if(eo&&(eo.delete(ei.propertyName),0===eo.size&&(ei.target.removeEventListener("transitioncancel",onTransitionEnd),es.delete(ei.target)),0===es.size)){for(let ei of eu)ei();eu.clear()}};document.body.addEventListener("transitionrun",onTransitionStart),document.body.addEventListener("transitionend",onTransitionEnd)}function $bbed8b41f857bcc0$export$24490316f764c430(ei){requestAnimationFrame(()=>{0===es.size?ei():eu.add(ei)})}"undefined"!=typeof document&&("loading"!==document.readyState?$bbed8b41f857bcc0$var$setupGlobalEvents():document.addEventListener("DOMContentLoaded",$bbed8b41f857bcc0$var$setupGlobalEvents))},44369:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return $2f04cbc44ee30ce0$export$53a0910f038337bd},G:function(){return $2f04cbc44ee30ce0$export$c826860796309d1b}});var es=ea(96791);function $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(ei,eo){let ea=[];for(;ei&&ei!==document.documentElement;)(0,es.a)(ei,eo)&&ea.push(ei),ei=ei.parentElement;return ea}function $2f04cbc44ee30ce0$export$53a0910f038337bd(ei,eo){let ea=$2f04cbc44ee30ce0$var$relativeOffset(ei,eo,"left"),es=$2f04cbc44ee30ce0$var$relativeOffset(ei,eo,"top"),eu=eo.offsetWidth,ec=eo.offsetHeight,ed=ei.scrollLeft,ef=ei.scrollTop,{borderTopWidth:eh,borderLeftWidth:ep}=getComputedStyle(ei),em=ei.scrollLeft+parseInt(ep,10),eg=ei.scrollTop+parseInt(eh,10),eb=em+ei.clientWidth,ey=eg+ei.clientHeight;ea<=ed?ed=ea-parseInt(ep,10):ea+eu>eb&&(ed+=ea+eu-eb),es<=eg?ef=es-parseInt(eh,10):es+ec>ey&&(ef+=es+ec-ey),ei.scrollLeft=ed,ei.scrollTop=ef}function $2f04cbc44ee30ce0$var$relativeOffset(ei,eo,ea){let es="left"===ea?"offsetLeft":"offsetTop",eu=0;for(;eo.offsetParent&&(eu+=eo[es],eo.offsetParent!==ei);){if(eo.offsetParent.contains(ei)){eu-=ei[es];break}eo=eo.offsetParent}return eu}function $2f04cbc44ee30ce0$export$c826860796309d1b(ei,eo){if(document.contains(ei)){let ed=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(ed).overflow)for(let eo of $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(ei))$2f04cbc44ee30ce0$export$53a0910f038337bd(eo,ei);else{var ea,es,eu,ec;let{left:ed,top:ef}=ei.getBoundingClientRect();null==ei||null===(ea=ei.scrollIntoView)||void 0===ea||ea.call(ei,{block:"nearest"});let{left:eh,top:ep}=ei.getBoundingClientRect();(Math.abs(ed-eh)>1||Math.abs(ef-ep)>1)&&(null==eo||null===(eu=eo.containingElement)||void 0===eu||null===(es=eu.scrollIntoView)||void 0===es||es.call(eu,{block:"center",inline:"center"}),null===(ec=ei.scrollIntoView)||void 0===ec||ec.call(ei,{block:"nearest"}))}}}},1325:function(ei,eo,ea){"use strict";ea.d(eo,{P:function(){return $ef06256079686ba0$export$f8aeda7b10753fa1}});var es=ea(69786),eu=ea(67294);let ec=0,ed=new Map;function $ef06256079686ba0$export$f8aeda7b10753fa1(ei){let[eo,ea]=(0,eu.useState)();return(0,es.b)(()=>{if(!ei)return;let eo=ed.get(ei);if(eo)ea(eo.element.id);else{let es=`react-aria-description-${ec++}`;ea(es);let eu=document.createElement("div");eu.id=es,eu.style.display="none",eu.textContent=ei,document.body.appendChild(eu),eo={refCount:0,element:eu},ed.set(ei,eo)}return eo.refCount++,()=>{eo&&0==--eo.refCount&&(eo.element.remove(),ed.delete(ei))}},[ei]),{"aria-describedby":ei?eo:void 0}}},61718:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return $8ae05eaa5c114e9c$export$7f54fc3180508a52}});var es=ea(69786),eu=ea(67294);function $8ae05eaa5c114e9c$export$7f54fc3180508a52(ei){let eo=(0,eu.useRef)(null);return(0,es.b)(()=>{eo.current=ei},[ei]),(0,eu.useCallback)((...ei)=>{let ea=eo.current;return null==ea?void 0:ea(...ei)},[])}},68278:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return $e9faafb641e167db$export$90fc3a17d93f704c}});var es=ea(61718),eu=ea(67294);function $e9faafb641e167db$export$90fc3a17d93f704c(ei,eo,ea,ec){let ed=(0,es.i)(ea),ef=null==ea;(0,eu.useEffect)(()=>{if(ef||!ei.current)return;let ea=ei.current;return ea.addEventListener(eo,ed,ec),()=>{ea.removeEventListener(eo,ed,ec)}},[ei,eo,ec,ef,ed])}},85952:function(ei,eo,ea){"use strict";ea.d(eo,{y:function(){return $99facab73266f662$export$5add1d006293d136}});var es=ea(61718),eu=ea(67294);function $99facab73266f662$export$5add1d006293d136(ei,eo,ea){let ec=(0,eu.useRef)(eo),ed=(0,es.i)(()=>{ea&&ea(ec.current)});(0,eu.useEffect)(()=>{var eo;let ea=null==ei?void 0:null===(eo=ei.current)||void 0===eo?void 0:eo.form;return null==ea||ea.addEventListener("reset",ed),()=>{null==ea||ea.removeEventListener("reset",ed)}},[ei,ed])}},36116:function(ei,eo,ea){"use strict";ea.d(eo,{x:function(){return $03deb23ff14920c4$export$4eaf04e54aa8eed6}});var es=ea(67294);function $03deb23ff14920c4$export$4eaf04e54aa8eed6(){let ei=(0,es.useRef)(new Map),eo=(0,es.useCallback)((eo,ea,es,eu)=>{let ec=(null==eu?void 0:eu.once)?(...eo)=>{ei.current.delete(es),es(...eo)}:es;ei.current.set(es,{type:ea,eventTarget:eo,fn:ec,options:eu}),eo.addEventListener(ea,es,eu)},[]),ea=(0,es.useCallback)((eo,ea,es,eu)=>{var ec;let ed=(null===(ec=ei.current.get(es))||void 0===ec?void 0:ec.fn)||es;eo.removeEventListener(ea,ed,eu),ei.current.delete(es)},[]),eu=(0,es.useCallback)(()=>{ei.current.forEach((ei,eo)=>{ea(ei.eventTarget,ei.type,eo,ei.options)})},[ea]);return(0,es.useEffect)(()=>eu,[eu]),{addGlobalListener:eo,removeGlobalListener:ea,removeAllGlobalListeners:eu}}},9188:function(ei,eo,ea){"use strict";ea.d(eo,{ur:function(){return $bdb11010cef70236$export$cd8c9cb68f842629},Me:function(){return $bdb11010cef70236$export$f680877a34711e37},mp:function(){return $bdb11010cef70236$export$b4cc09c592e8fdb8}});var es=ea(69786),eu=ea(61718),ec=ea(67294);function $1dbecbe27a04f9af$export$14d238f342723f25(ei){let[eo,ea]=(0,ec.useState)(ei),ed=(0,ec.useRef)(null),ef=(0,eu.i)(()=>{if(!ed.current)return;let ei=ed.current.next();if(ei.done){ed.current=null;return}eo===ei.value?ef():ea(ei.value)});(0,es.b)(()=>{ed.current&&ef()});let eh=(0,eu.i)(ei=>{ed.current=ei(eo),ef()});return[eo,eh]}var ed=ea(37385);let ef=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eh=new Map;function $bdb11010cef70236$export$f680877a34711e37(ei){let[eo,ea]=(0,ec.useState)(ei),eu=(0,ec.useRef)(null),ep=(0,ed.gP)(eo),em=(0,ec.useCallback)(ei=>{eu.current=ei},[]);return ef&&eh.set(ep,em),(0,es.b)(()=>{let ei=ep;return()=>{eh.delete(ei)}},[ep]),(0,ec.useEffect)(()=>{let ei=eu.current;ei&&(eu.current=null,ea(ei))}),ep}function $bdb11010cef70236$export$cd8c9cb68f842629(ei,eo){if(ei===eo)return ei;let ea=eh.get(ei);if(ea)return ea(eo),eo;let es=eh.get(eo);return es?(es(ei),ei):eo}function $bdb11010cef70236$export$b4cc09c592e8fdb8(ei=[]){let eo=$bdb11010cef70236$export$f680877a34711e37(),[ea,eu]=$1dbecbe27a04f9af$export$14d238f342723f25(eo),ed=(0,ec.useCallback)(()=>{eu(function*(){yield eo,yield document.getElementById(eo)?eo:void 0})},[eo,eu]);return(0,es.b)(ed,[eo,ed,...ei]),ea}},79955:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return $313b98861ee5dd6c$export$d6875122194c7b44}});var es=ea(9188);function $313b98861ee5dd6c$export$d6875122194c7b44(ei,eo){let{id:ea,"aria-label":eu,"aria-labelledby":ec}=ei;return ea=(0,es.Me)(ea),ec&&eu?ec=[...new Set([ea,...ec.trim().split(/\s+/)])].join(" "):ec&&(ec=ec.trim().split(/\s+/).join(" ")),eu||ec||!eo||(eu=eo),{id:ea,"aria-label":eu,"aria-labelledby":ec}}},69786:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return eu}});var es=ea(67294);let eu="undefined"!=typeof document?es.useLayoutEffect:()=>{}},72970:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return $e7801be82b4b2a53$export$4debdb1a3f0fa79e}});var es=ea(69786);function $e7801be82b4b2a53$export$4debdb1a3f0fa79e(ei,eo){(0,es.b)(()=>{if(ei&&ei.ref&&eo)return ei.ref.current=eo.current,()=>{ei.ref&&(ei.ref.current=null)}})}},73699:function(ei,eo,ea){"use strict";ea.d(eo,{S:function(){return $5c3e21d68f1c4674$export$a966af930f325cab},T:function(){return $5c3e21d68f1c4674$export$439d29a4e110a164}});var es=ea(37127),eu=ea(67294),ec=ea(44971);let ed={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function $5c3e21d68f1c4674$export$a966af930f325cab(ei={}){let{style:eo,isFocusable:ea}=ei,[es,ef]=(0,eu.useState)(!1),{focusWithinProps:eh}=(0,ec.L)({isDisabled:!ea,onFocusWithinChange:ei=>ef(ei)}),ep=(0,eu.useMemo)(()=>es?eo:eo?{...ed,...eo}:ed,[es]);return{visuallyHiddenProps:{...eh,style:ep}}}function $5c3e21d68f1c4674$export$439d29a4e110a164(ei){let{children:eo,elementType:ea="div",isFocusable:ec,style:ed,...ef}=ei,{visuallyHiddenProps:eh}=$5c3e21d68f1c4674$export$a966af930f325cab(ei);return eu.createElement(ea,(0,es.d)(ef,eh),eo)}},11594:function(ei,eo,ea){"use strict";ea.d(eo,{c:function(){return eu}});var es=ea(67294);function $c1d7fb2ec91bae71$var$Item(ei){return null}function $c1d7fb2ec91bae71$var$hasChildItems(ei){return null!=ei.hasChildItems?ei.hasChildItems:!!(ei.childItems||ei.title&&es.Children.count(ei.children)>0)}$c1d7fb2ec91bae71$var$Item.getCollectionNode=function*(ei,eo){let{childItems:ea,title:eu,children:ec}=ei,ed=ei.title||ei.children,ef=ei.textValue||("string"==typeof ed?ed:"")||ei["aria-label"]||"";ef||(null==eo?void 0:eo.suppressTextValueWarning)||console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:ei,rendered:ed,textValue:ef,"aria-label":ei["aria-label"],hasChildNodes:$c1d7fb2ec91bae71$var$hasChildItems(ei),*childNodes(){if(ea)for(let ei of ea)yield{type:"item",value:ei};else if(eu){let ei=[];es.Children.forEach(ec,eo=>{ei.push({type:"item",element:eo})}),yield*ei}}}};let eu=$c1d7fb2ec91bae71$var$Item},50024:function(ei,eo,ea){"use strict";ea.d(eo,{$:function(){return eu}});var es=ea(67294);function $9fc4852771d079eb$var$Section(ei){return null}$9fc4852771d079eb$var$Section.getCollectionNode=function*(ei){let{children:eo,title:ea,items:eu}=ei;yield{type:"section",props:ei,hasChildNodes:!0,rendered:ea,"aria-label":ei["aria-label"],*childNodes(){if("function"==typeof eo){if(!eu)throw Error("props.children was a function but props.items is missing");for(let ei of eu)yield{type:"item",value:ei,renderer:eo}}else{let ei=[];es.Children.forEach(eo,eo=>{ei.push({type:"item",element:eo})}),yield*ei}}}};let eu=$9fc4852771d079eb$var$Section},66685:function(ei,eo,ea){"use strict";function $c5a24bc478652b5f$export$1005530eda016c13(ei,eo){return"function"==typeof eo.getChildren?eo.getChildren(ei.key):ei.childNodes}function $c5a24bc478652b5f$export$fbdeaa6a76694f71(ei){return $c5a24bc478652b5f$export$5f3398f8733f90e2(ei,0)}function $c5a24bc478652b5f$export$5f3398f8733f90e2(ei,eo){if(eo<0)return;let ea=0;for(let es of ei){if(ea===eo)return es;ea++}}function $c5a24bc478652b5f$export$7475b2c64539e4cf(ei){let eo;for(let ea of ei)eo=ea;return eo}function $c5a24bc478652b5f$export$8c434b3a7a4dad6(ei,eo,ea){if(eo.parentKey===ea.parentKey)return eo.index-ea.index;let es=[...$c5a24bc478652b5f$var$getAncestors(ei,eo),eo],eu=[...$c5a24bc478652b5f$var$getAncestors(ei,ea),ea],ec=es.slice(0,eu.length).findIndex((ei,eo)=>ei!==eu[eo]);return -1!==ec?(eo=es[ec],ea=eu[ec],eo.index-ea.index):es.findIndex(ei=>ei===ea)>=0?1:(eu.findIndex(ei=>ei===eo),-1)}function $c5a24bc478652b5f$var$getAncestors(ei,eo){let ea=[];for(;(null==eo?void 0:eo.parentKey)!=null;)ea.unshift(eo=ei.getItem(eo.parentKey));return ea}ea.d(eo,{Em:function(){return $c5a24bc478652b5f$export$5f3398f8733f90e2},_P:function(){return $c5a24bc478652b5f$export$1005530eda016c13},eg:function(){return $c5a24bc478652b5f$export$8c434b3a7a4dad6},l8:function(){return $c5a24bc478652b5f$export$fbdeaa6a76694f71},s:function(){return $c5a24bc478652b5f$export$7475b2c64539e4cf}})},92411:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return $453cc9f0df89c0a5$export$77d5aafae4e095b2}});var es=ea(66685);let eu=new WeakMap;function $453cc9f0df89c0a5$export$77d5aafae4e095b2(ei){let eo=eu.get(ei);if(null!=eo)return eo;eo=0;let countItems=ea=>{for(let eu of ea)"section"===eu.type?countItems((0,es._P)(eu,ei)):eo++};return countItems(ei),eu.set(ei,eo),eo}},19825:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return $7613b1592d41b092$export$6cd28814d92fa9c9}});var es=ea(67294);let $eb2240fc39a57fa5$export$bf788dd355e3a401=class $eb2240fc39a57fa5$export$bf788dd355e3a401{build(ei,eo){return this.context=eo,$eb2240fc39a57fa5$var$iterable(()=>this.iterateCollection(ei))}*iterateCollection(ei){let{children:eo,items:ea}=ei;if("function"==typeof eo){if(!ea)throw Error("props.children was a function but props.items is missing");for(let ea of ei.items)yield*this.getFullNode({value:ea},{renderer:eo})}else{let ei=[];es.Children.forEach(eo,eo=>{ei.push(eo)});let ea=0;for(let eo of ei)for(let ei of this.getFullNode({element:eo,index:ea},{}))ea++,yield ei}}getKey(ei,eo,ea,es){if(null!=ei.key)return ei.key;if("cell"===eo.type&&null!=eo.key)return`${es}${eo.key}`;let eu=eo.value;if(null!=eu){var ec;let ei=null!==(ec=eu.key)&&void 0!==ec?ec:eu.id;if(null==ei)throw Error("No key found for item");return ei}return es?`${es}.${eo.index}`:`$.${eo.index}`}getChildState(ei,eo){return{renderer:eo.renderer||ei.renderer}}*getFullNode(ei,eo,ea,eu){let ec=ei.element;if(!ec&&ei.value&&eo&&eo.renderer){let ea=this.cache.get(ei.value);if(ea&&(!ea.shouldInvalidate||!ea.shouldInvalidate(this.context))){ea.index=ei.index,ea.parentKey=eu?eu.key:null,yield ea;return}ec=eo.renderer(ei.value)}if(es.isValidElement(ec)){let es=ec.type;if("function"!=typeof es&&"function"!=typeof es.getCollectionNode){let ei="function"==typeof ec.type?ec.type.name:ec.type;throw Error(`Unknown element <${ei}> in collection.`)}let ed=es.getCollectionNode(ec.props,this.context),ef=ei.index,eh=ed.next();for(;!eh.done&&eh.value;){let es=eh.value;ei.index=ef;let ep=es.key;ep||(ep=es.element?null:this.getKey(ec,ei,eo,ea));let em=[...this.getFullNode({...es,key:ep,index:ef,wrapper:$eb2240fc39a57fa5$var$compose(ei.wrapper,es.wrapper)},this.getChildState(eo,es),ea?`${ea}${ec.key}`:ec.key,eu)];for(let eo of em){if(eo.value=es.value||ei.value,eo.value&&this.cache.set(eo.value,eo),ei.type&&eo.type!==ei.type)throw Error(`Unsupported type <${$eb2240fc39a57fa5$var$capitalize(eo.type)}> in <${$eb2240fc39a57fa5$var$capitalize(eu.type)}>. Only <${$eb2240fc39a57fa5$var$capitalize(ei.type)}> is supported.`);ef++,yield eo}eh=ed.next(em)}return}if(null==ei.key)return;let ed=this,ef={type:ei.type,props:ei.props,key:ei.key,parentKey:eu?eu.key:null,value:ei.value,level:eu?eu.level+1:0,index:ei.index,rendered:ei.rendered,textValue:ei.textValue,"aria-label":ei["aria-label"],wrapper:ei.wrapper,shouldInvalidate:ei.shouldInvalidate,hasChildNodes:ei.hasChildNodes,childNodes:$eb2240fc39a57fa5$var$iterable(function*(){if(!ei.hasChildNodes)return;let ea=0;for(let es of ei.childNodes())for(let ei of(null!=es.key&&(es.key=`${ef.key}${es.key}`),es.index=ea,ed.getFullNode(es,ed.getChildState(eo,es),ef.key,ef)))ea++,yield ei})};yield ef}constructor(){this.cache=new WeakMap}};function $eb2240fc39a57fa5$var$iterable(ei){let eo=[],ea=null;return{*[Symbol.iterator](){for(let ei of eo)yield ei;for(let es of(ea||(ea=ei()),ea))eo.push(es),yield es}}}function $eb2240fc39a57fa5$var$compose(ei,eo){return ei&&eo?ea=>ei(eo(ea)):ei||eo||void 0}function $eb2240fc39a57fa5$var$capitalize(ei){return ei[0].toUpperCase()+ei.slice(1)}function $7613b1592d41b092$export$6cd28814d92fa9c9(ei,eo,ea){let eu=(0,es.useMemo)(()=>new $eb2240fc39a57fa5$export$bf788dd355e3a401,[]),{children:ec,items:ed,collection:ef}=ei;return(0,es.useMemo)(()=>ef||eo(eu.build({children:ec,items:ed},ea)),[eu,ec,ed,ef,ea,eo])}},48750:function(ei,eo,ea){"use strict";ea.d(eo,{PS:function(){return ed},Q3:function(){return $e5be200c675c3b3a$export$fc1a364ae1f3ff10},W0:function(){return $e5be200c675c3b3a$export$75ee7c75d68f5b0e},tL:function(){return eh},zl:function(){return eu}});var es=ea(67294);let eu={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ec={...eu,customError:!0,valid:!1},ed={isInvalid:!1,validationDetails:eu,validationErrors:[]},ef=(0,es.createContext)({}),eh="__formValidationState"+Date.now();function $e5be200c675c3b3a$export$fc1a364ae1f3ff10(ei){if(ei[eh]){let{realtimeValidation:eo,displayValidation:ea,updateValidation:es,resetValidation:eu,commitValidation:ec}=ei[eh];return{realtimeValidation:eo,displayValidation:ea,updateValidation:es,resetValidation:eu,commitValidation:ec}}return $e5be200c675c3b3a$var$useFormValidationStateImpl(ei)}function $e5be200c675c3b3a$var$useFormValidationStateImpl(ei){let{isInvalid:eo,validationState:ea,name:eu,value:eh,builtinValidation:ep,validate:em,validationBehavior:eg="aria"}=ei;ea&&(eo||(eo="invalid"===ea));let eb=void 0!==eo?{isInvalid:eo,validationErrors:[],validationDetails:ec}:null,ey=(0,es.useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult($e5be200c675c3b3a$var$runValidate(em,eh)),[em,eh]);(null==ep?void 0:ep.validationDetails.valid)&&(ep=null);let ew=(0,es.useContext)(ef),ex=(0,es.useMemo)(()=>eu?Array.isArray(eu)?eu.flatMap(ei=>$e5be200c675c3b3a$var$asArray(ew[ei])):$e5be200c675c3b3a$var$asArray(ew[eu]):[],[ew,eu]),[eP,eS]=(0,es.useState)(ew),[eE,ek]=(0,es.useState)(!1);ew!==eP&&(eS(ew),ek(!1));let eT=(0,es.useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult(eE?[]:ex),[eE,ex]),eC=(0,es.useRef)(ed),[e_,eA]=(0,es.useState)(ed),eO=(0,es.useRef)(ed),commitValidation=()=>{if(!eM)return;eR(!1);let ei=ey||ep||eC.current;$e5be200c675c3b3a$var$isEqualValidation(ei,eO.current)||(eO.current=ei,eA(ei))},[eM,eR]=(0,es.useState)(!1);return(0,es.useEffect)(commitValidation),{realtimeValidation:eb||eT||ey||ep||ed,displayValidation:"native"===eg?eb||eT||e_:eb||eT||ey||ep||e_,updateValidation(ei){"aria"!==eg||$e5be200c675c3b3a$var$isEqualValidation(e_,ei)?eC.current=ei:eA(ei)},resetValidation(){let ei=ed;$e5be200c675c3b3a$var$isEqualValidation(ei,eO.current)||(eO.current=ei,eA(ei)),"native"===eg&&eR(!1),ek(!0)},commitValidation(){"native"===eg&&eR(!0),ek(!0)}}}function $e5be200c675c3b3a$var$asArray(ei){return ei?Array.isArray(ei)?ei:[ei]:[]}function $e5be200c675c3b3a$var$runValidate(ei,eo){if("function"==typeof ei){let ea=ei(eo);if(ea&&"boolean"!=typeof ea)return $e5be200c675c3b3a$var$asArray(ea)}return[]}function $e5be200c675c3b3a$var$getValidationResult(ei){return ei.length?{isInvalid:!0,validationErrors:ei,validationDetails:ec}:null}function $e5be200c675c3b3a$var$isEqualValidation(ei,eo){return ei===eo||ei&&eo&&ei.isInvalid===eo.isInvalid&&ei.validationErrors.length===eo.validationErrors.length&&ei.validationErrors.every((ei,ea)=>ei===eo.validationErrors[ea])&&Object.entries(ei.validationDetails).every(([ei,ea])=>eo.validationDetails[ei]===ea)}function $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...ei){let eo=new Set,ea=!1,es={...eu};for(let eu of ei){var ec,ed;for(let ei of eu.validationErrors)eo.add(ei);for(let ei in ea||(ea=eu.isInvalid),es)(ec=es)[ed=ei]||(ec[ed]=eu.validationDetails[ei])}return es.valid=!ea,{isInvalid:ea,validationErrors:[...eo],validationDetails:es}}},41923:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return $a02d57049d202695$export$d085fb9e920b5ca7}});let $a02d57049d202695$export$d085fb9e920b5ca7=class $a02d57049d202695$export$d085fb9e920b5ca7{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(ei){let eo=this.keyMap.get(ei);return eo?eo.prevKey:null}getKeyAfter(ei){let eo=this.keyMap.get(ei);return eo?eo.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(ei){return this.keyMap.get(ei)}at(ei){let eo=[...this.getKeys()];return this.getItem(eo[ei])}getChildren(ei){let eo=this.keyMap.get(ei);return(null==eo?void 0:eo.childNodes)||[]}constructor(ei){let eo;this.keyMap=new Map,this.iterable=ei;let visit=ei=>{if(this.keyMap.set(ei.key,ei),ei.childNodes&&"section"===ei.type)for(let eo of ei.childNodes)visit(eo)};for(let eo of ei)visit(eo);let ea=0;for(let[ei,es]of this.keyMap)eo?(eo.nextKey=ei,es.prevKey=eo.key):(this.firstKey=ei,es.prevKey=void 0),"item"===es.type&&(es.index=ea++),(eo=es).nextKey=void 0;this.lastKey=null==eo?void 0:eo.key}}},31932:function(ei,eo,ea){"use strict";ea.d(eo,{n:function(){return $e72dd72e1c76a225$export$2f645645f7bca764}});var es=ea(41923),eu=ea(54155),ec=ea(44212),ed=ea(67294),ef=ea(19825);function $e72dd72e1c76a225$export$2f645645f7bca764(ei){let{filter:eo}=ei,ea=(0,eu.q)(ei),eh=(0,ed.useMemo)(()=>ei.disabledKeys?new Set(ei.disabledKeys):new Set,[ei.disabledKeys]),ep=(0,ed.useCallback)(ei=>new es.D(eo?eo(ei):ei),[eo]),em=(0,ed.useMemo)(()=>({suppressTextValueWarning:ei.suppressTextValueWarning}),[ei.suppressTextValueWarning]),eg=(0,ef.K)(ei,ep,em),eb=(0,ed.useMemo)(()=>new ec.Z(eg,ea),[eg,ea]),ey=(0,ed.useRef)(null);return(0,ed.useEffect)(()=>{if(null!=ea.focusedKey&&!eg.getItem(ea.focusedKey)){let ei;let eo=ey.current.getItem(ea.focusedKey),es=[...ey.current.getKeys()].map(ei=>{let eo=ey.current.getItem(ei);return"item"===eo.type?eo:null}).filter(ei=>null!==ei),eu=[...eg.getKeys()].map(ei=>{let eo=eg.getItem(ei);return"item"===eo.type?eo:null}).filter(ei=>null!==ei),ec=es.length-eu.length,ed=Math.min(ec>1?Math.max(eo.index-ec+1,0):eo.index,eu.length-1);for(;ed>=0;){if(!eb.isDisabled(eu[ed].key)){ei=eu[ed];break}ed<eu.length-1?ed++:(ed>eo.index&&(ed=eo.index),ed--)}ea.setFocusedKey(ei?ei.key:null)}ey.current=eg},[eg,eb,ea,ea.focusedKey]),{collection:eg,disabledKeys:eh,selectionManager:eb}}},65367:function(ei,eo,ea){"use strict";ea.d(eo,{W:function(){return $a28c903ee9ad8dc5$export$79fefeb1c2091ac3}});var es=ea(16551),eu=ea(67294);function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(ei){let eo=(0,es.d)(ei),[ea,ec]=(0,eu.useState)(null),[ed,ef]=(0,eu.useState)([]),closeAll=()=>{ef([]),eo.close()},openSubmenu=(ei,eo)=>{ef(ea=>eo>ea.length?ea:[...ea.slice(0,eo),ei])},closeSubmenu=(ei,eo)=>{ef(ea=>ea[eo]===ei?ea.slice(0,eo):ea)};return{focusStrategy:ea,...eo,open(ei=null){ec(ei),eo.open()},toggle(ei=null){ec(ei),eo.toggle()},close(){closeAll()},expandedKeysStack:ed,openSubmenu:openSubmenu,closeSubmenu:closeSubmenu}}},16551:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return $fc909762b330b746$export$61c6a8c84e605fb6}});var es=ea(67294),eu=ea(99373);function $fc909762b330b746$export$61c6a8c84e605fb6(ei){let[eo,ea]=(0,eu.z)(ei.isOpen,ei.defaultOpen||!1,ei.onOpenChange),ec=(0,es.useCallback)(()=>{ea(!0)},[ea]),ed=(0,es.useCallback)(()=>{ea(!1)},[ea]),ef=(0,es.useCallback)(()=>{ea(!eo)},[ea,eo]);return{isOpen:eo,setOpen:ea,open:ec,close:ed,toggle:ef}}},71823:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return $e40ea825a81a3709$export$52baac22726c72bf}});let $e40ea825a81a3709$export$52baac22726c72bf=class $e40ea825a81a3709$export$52baac22726c72bf extends Set{constructor(ei,eo,ea){super(ei),ei instanceof $e40ea825a81a3709$export$52baac22726c72bf?(this.anchorKey=eo||ei.anchorKey,this.currentKey=ea||ei.currentKey):(this.anchorKey=eo,this.currentKey=ea)}}},44212:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return $d496c0a20b6e58ec$export$6c8a5aaad13c9852}});var es=ea(71823),eu=ea(66685);let $d496c0a20b6e58ec$export$6c8a5aaad13c9852=class $d496c0a20b6e58ec$export$6c8a5aaad13c9852{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(ei){this.state.setSelectionBehavior(ei)}get isFocused(){return this.state.isFocused}setFocused(ei){this.state.setFocused(ei)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(ei,eo){(null==ei||this.collection.getItem(ei))&&this.state.setFocusedKey(ei,eo)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(ei){return"none"!==this.state.selectionMode&&(ei=this.getKey(ei),"all"===this.state.selectedKeys?this.canSelectItem(ei):this.state.selectedKeys.has(ei))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let ei=this.getSelectAllKeys(),eo=this.state.selectedKeys;return this._isSelectAll=ei.every(ei=>eo.has(ei)),this._isSelectAll}get firstSelectedKey(){let ei=null;for(let eo of this.state.selectedKeys){let ea=this.collection.getItem(eo);(!ei||ea&&0>(0,eu.eg)(this.collection,ea,ei))&&(ei=ea)}return null==ei?void 0:ei.key}get lastSelectedKey(){let ei=null;for(let eo of this.state.selectedKeys){let ea=this.collection.getItem(eo);(!ei||ea&&(0,eu.eg)(this.collection,ea,ei)>0)&&(ei=ea)}return null==ei?void 0:ei.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(ei){let eo;if("none"!==this.selectionMode){if("single"===this.selectionMode){this.replaceSelection(ei);return}if(ei=this.getKey(ei),"all"===this.state.selectedKeys)eo=new es.Y([ei],ei,ei);else{let ea=this.state.selectedKeys,eu=ea.anchorKey||ei;for(let ec of(eo=new es.Y(ea,eu,ei),this.getKeyRange(eu,ea.currentKey||ei)))eo.delete(ec);for(let ea of this.getKeyRange(ei,eu))this.canSelectItem(ea)&&eo.add(ea)}this.state.setSelectedKeys(eo)}}getKeyRange(ei,eo){let ea=this.collection.getItem(ei),es=this.collection.getItem(eo);return ea&&es?0>=(0,eu.eg)(this.collection,ea,es)?this.getKeyRangeInternal(ei,eo):this.getKeyRangeInternal(eo,ei):[]}getKeyRangeInternal(ei,eo){let ea=[],es=ei;for(;es;){let ei=this.collection.getItem(es);if((ei&&"item"===ei.type||"cell"===ei.type&&this.allowsCellSelection)&&ea.push(es),es===eo)return ea;es=this.collection.getKeyAfter(es)}return[]}getKey(ei){let eo=this.collection.getItem(ei);if(!eo||"cell"===eo.type&&this.allowsCellSelection)return ei;for(;"item"!==eo.type&&null!=eo.parentKey;)eo=this.collection.getItem(eo.parentKey);return eo&&"item"===eo.type?eo.key:null}toggleSelection(ei){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(ei)){this.replaceSelection(ei);return}if(null==(ei=this.getKey(ei)))return;let eo=new es.Y("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);eo.has(ei)?eo.delete(ei):this.canSelectItem(ei)&&(eo.add(ei),eo.anchorKey=ei,eo.currentKey=ei),this.disallowEmptySelection&&0===eo.size||this.state.setSelectedKeys(eo)}replaceSelection(ei){if("none"===this.selectionMode||null==(ei=this.getKey(ei)))return;let eo=this.canSelectItem(ei)?new es.Y([ei],ei,ei):new es.Y;this.state.setSelectedKeys(eo)}setSelectedKeys(ei){if("none"===this.selectionMode)return;let eo=new es.Y;for(let ea of ei)if(null!=(ea=this.getKey(ea))&&(eo.add(ea),"single"===this.selectionMode))break;this.state.setSelectedKeys(eo)}getSelectAllKeys(){let ei=[],addKeys=eo=>{for(;eo;){if(this.canSelectItem(eo)){let ea=this.collection.getItem(eo);"item"===ea.type&&ei.push(eo),ea.hasChildNodes&&(this.allowsCellSelection||"item"!==ea.type)&&addKeys((0,eu.l8)((0,eu._P)(ea,this.collection)).key)}eo=this.collection.getKeyAfter(eo)}};return addKeys(this.collection.getFirstKey()),ei}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new es.Y)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(ei,eo){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(ei)&&!this.disallowEmptySelection?this.toggleSelection(ei):this.replaceSelection(ei):"toggle"===this.selectionBehavior||eo&&("touch"===eo.pointerType||"virtual"===eo.pointerType)?this.toggleSelection(ei):this.replaceSelection(ei))}isSelectionEqual(ei){if(ei===this.state.selectedKeys)return!0;let eo=this.selectedKeys;if(ei.size!==eo.size)return!1;for(let ea of ei)if(!eo.has(ea))return!1;for(let ea of eo)if(!ei.has(ea))return!1;return!0}canSelectItem(ei){var eo;if("none"===this.state.selectionMode||this.state.disabledKeys.has(ei))return!1;let ea=this.collection.getItem(ei);return!!ea&&(null==ea||null===(eo=ea.props)||void 0===eo||!eo.isDisabled)&&("cell"!==ea.type||!!this.allowsCellSelection)}isDisabled(ei){var eo,ea;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(ei)||!!(null===(ea=this.collection.getItem(ei))||void 0===ea?void 0:null===(eo=ea.props)||void 0===eo?void 0:eo.isDisabled))}isLink(ei){var eo,ea;return!!(null===(ea=this.collection.getItem(ei))||void 0===ea?void 0:null===(eo=ea.props)||void 0===eo?void 0:eo.href)}getItemProps(ei){var eo;return null===(eo=this.collection.getItem(ei))||void 0===eo?void 0:eo.props}constructor(ei,eo,ea){var es;this.collection=ei,this.state=eo,this.allowsCellSelection=null!==(es=null==ea?void 0:ea.allowsCellSelection)&&void 0!==es&&es,this._isSelectAll=null}}},54155:function(ei,eo,ea){"use strict";ea.d(eo,{q:function(){return $7af3f5b51489e0b5$export$253fe78d46329472}});var es=ea(71823),eu=ea(99373),ec=ea(67294);function $7af3f5b51489e0b5$var$equalSets(ei,eo){if(ei.size!==eo.size)return!1;for(let ea of ei)if(!eo.has(ea))return!1;return!0}function $7af3f5b51489e0b5$export$253fe78d46329472(ei){let{selectionMode:eo="none",disallowEmptySelection:ea,allowDuplicateSelectionEvents:ed,selectionBehavior:ef="toggle",disabledBehavior:eh="all"}=ei,ep=(0,ec.useRef)(!1),[,em]=(0,ec.useState)(!1),eg=(0,ec.useRef)(null),eb=(0,ec.useRef)(null),[,ey]=(0,ec.useState)(null),ew=(0,ec.useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(ei.selectedKeys),[ei.selectedKeys]),ex=(0,ec.useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(ei.defaultSelectedKeys,new es.Y),[ei.defaultSelectedKeys]),[eP,eS]=(0,eu.z)(ew,ex,ei.onSelectionChange),eE=(0,ec.useMemo)(()=>ei.disabledKeys?new Set(ei.disabledKeys):new Set,[ei.disabledKeys]),[ek,eT]=(0,ec.useState)(ef);"replace"===ef&&"toggle"===ek&&"object"==typeof eP&&0===eP.size&&eT("replace");let eC=(0,ec.useRef)(ef);return(0,ec.useEffect)(()=>{ef!==eC.current&&(eT(ef),eC.current=ef)},[ef]),{selectionMode:eo,disallowEmptySelection:ea,selectionBehavior:ek,setSelectionBehavior:eT,get isFocused(){return ep.current},setFocused(ei){ep.current=ei,em(ei)},get focusedKey(){return eg.current},get childFocusStrategy(){return eb.current},setFocusedKey(ei,eo="first"){eg.current=ei,eb.current=eo,ey(ei)},selectedKeys:eP,setSelectedKeys(ei){(ed||!$7af3f5b51489e0b5$var$equalSets(ei,eP))&&eS(ei)},disabledKeys:eE,disabledBehavior:eh}}function $7af3f5b51489e0b5$var$convertSelection(ei,eo){return ei?"all"===ei?"all":new es.Y(ei):eo}},74619:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return $3017fa7ffdddec74$export$8042c6c013fd5226}});var es=ea(99373);function $3017fa7ffdddec74$export$8042c6c013fd5226(ei={}){let{isReadOnly:eo}=ei,[ea,eu]=(0,es.z)(ei.isSelected,ei.defaultSelected||!1,ei.onChange);function toggleState(){eo||eu(!ea)}return{isSelected:ea,setSelected:function(ei){eo||eu(ei)},toggle:toggleState}}},90502:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return $875d6693e12af071$export$728d6ba534403756}});let $05ca4cd7c4a5a999$export$863faf230ee2118a=class $05ca4cd7c4a5a999$export$863faf230ee2118a{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(ei){let eo=this.keyMap.get(ei);return eo?eo.prevKey:null}getKeyAfter(ei){let eo=this.keyMap.get(ei);return eo?eo.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(ei){return this.keyMap.get(ei)}at(ei){let eo=[...this.getKeys()];return this.getItem(eo[ei])}constructor(ei,{expandedKeys:eo}={}){let ea;this.keyMap=new Map,this.iterable=ei,eo=eo||new Set;let visit=ei=>{if(this.keyMap.set(ei.key,ei),ei.childNodes&&("section"===ei.type||eo.has(ei.key)))for(let eo of ei.childNodes)visit(eo)};for(let eo of ei)visit(eo);let es=0;for(let[ei,eo]of this.keyMap)ea?(ea.nextKey=ei,eo.prevKey=ea.key):(this.firstKey=ei,eo.prevKey=void 0),"item"===eo.type&&(eo.index=es++),(ea=eo).nextKey=void 0;this.lastKey=null==ea?void 0:ea.key}};var es=ea(54155),eu=ea(44212),ec=ea(67294),ed=ea(19825),ef=ea(99373);function $875d6693e12af071$export$728d6ba534403756(ei){let{onExpandedChange:eo}=ei,[ea,eh]=(0,ef.z)(ei.expandedKeys?new Set(ei.expandedKeys):void 0,ei.defaultExpandedKeys?new Set(ei.defaultExpandedKeys):new Set,eo),ep=(0,es.q)(ei),em=(0,ec.useMemo)(()=>ei.disabledKeys?new Set(ei.disabledKeys):new Set,[ei.disabledKeys]),eg=(0,ed.K)(ei,(0,ec.useCallback)(ei=>new $05ca4cd7c4a5a999$export$863faf230ee2118a(ei,{expandedKeys:ea}),[ea]),null);(0,ec.useEffect)(()=>{null==ep.focusedKey||eg.getItem(ep.focusedKey)||ep.setFocusedKey(null)},[eg,ep.focusedKey]);let onToggle=ei=>{eh($875d6693e12af071$var$toggleKey(ea,ei))};return{collection:eg,expandedKeys:ea,disabledKeys:em,toggleKey:onToggle,setExpandedKeys:eh,selectionManager:new eu.Z(eg,ep)}}function $875d6693e12af071$var$toggleKey(ei,eo){let ea=new Set(ei);return ea.has(eo)?ea.delete(eo):ea.add(eo),ea}},18399:function(ei,eo,ea){"use strict";function $9446cca9a3875146$export$7d15b64cf5a3a4c4(ei,eo=-1/0,ea=1/0){return Math.min(Math.max(ei,eo),ea)}ea.d(eo,{uZ:function(){return $9446cca9a3875146$export$7d15b64cf5a3a4c4}})},99373:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return $458b0a5536c1a7cf$export$40bfa8c7b0832715}});var es=ea(67294);function $458b0a5536c1a7cf$export$40bfa8c7b0832715(ei,eo,ea){let[eu,ec]=(0,es.useState)(ei||eo),ed=(0,es.useRef)(void 0!==ei),ef=void 0!==ei;(0,es.useEffect)(()=>{let ei=ed.current;ei!==ef&&console.warn(`WARN: A component changed from ${ei?"controlled":"uncontrolled"} to ${ef?"controlled":"uncontrolled"}.`),ed.current=ef},[ef]);let eh=ef?ei:eu,ep=(0,es.useCallback)((ei,...eo)=>{let onChangeCaller=(ei,...eo)=>{ea&&!Object.is(eh,ei)&&ea(ei,...eo),ef||(eh=ei)};"function"==typeof ei?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),ec((ea,...es)=>{let eu=ei(ef?eh:ea,...es);return(onChangeCaller(eu,...eo),ef)?ea:eu})):(ef||ec(ei),onChangeCaller(ei,...eo))},[ef,eh,ea]);return[eh,ep]}},66474:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return ec}});var es=ea(7506),eu=ea(24139),ec=new class extends es.l{#d;#f;#h;constructor(){super(),this.#h=ei=>{if(!eu.sk&&window.addEventListener){let listener=()=>ei();return window.addEventListener("visibilitychange",listener,!1),()=>{window.removeEventListener("visibilitychange",listener)}}}}onSubscribe(){this.#f||this.setEventListener(this.#h)}onUnsubscribe(){this.hasListeners()||(this.#f?.(),this.#f=void 0)}setEventListener(ei){this.#h=ei,this.#f?.(),this.#f=ei(ei=>{"boolean"==typeof ei?this.setFocused(ei):this.onFocus()})}setFocused(ei){let eo=this.#d!==ei;eo&&(this.#d=ei,this.onFocus())}onFocus(){let ei=this.isFocused();this.listeners.forEach(eo=>{eo(ei)})}isFocused(){return"boolean"==typeof this.#d?this.#d:globalThis.document?.visibilityState!=="hidden"}}},59289:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return getDefaultState},m:function(){return ed}});var es=ea(27037),eu=ea(48907),ec=ea(72008),ed=class extends eu.F{#p;#i;#m;constructor(ei){super(),this.mutationId=ei.mutationId,this.#i=ei.mutationCache,this.#p=[],this.state=ei.state||getDefaultState(),this.setOptions(ei.options),this.scheduleGc()}setOptions(ei){this.options=ei,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(ei){this.#p.includes(ei)||(this.#p.push(ei),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:ei}))}removeObserver(ei){this.#p=this.#p.filter(eo=>eo!==ei),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:ei})}optionalRemove(){this.#p.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#m?.continue()??this.execute(this.state.variables)}async execute(ei){this.#m=(0,ec.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(ei):Promise.reject(Error("No mutationFn found")),onFail:(ei,eo)=>{this.#g({type:"failed",failureCount:ei,error:eo})},onPause:()=>{this.#g({type:"pause"})},onContinue:()=>{this.#g({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let eo="pending"===this.state.status,ea=!this.#m.canStart();try{if(!eo){this.#g({type:"pending",variables:ei,isPaused:ea}),await this.#i.config.onMutate?.(ei,this);let eo=await this.options.onMutate?.(ei);eo!==this.state.context&&this.#g({type:"pending",context:eo,variables:ei,isPaused:ea})}let es=await this.#m.start();return await this.#i.config.onSuccess?.(es,ei,this.state.context,this),await this.options.onSuccess?.(es,ei,this.state.context),await this.#i.config.onSettled?.(es,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(es,null,ei,this.state.context),this.#g({type:"success",data:es}),es}catch(eo){try{throw await this.#i.config.onError?.(eo,ei,this.state.context,this),await this.options.onError?.(eo,ei,this.state.context),await this.#i.config.onSettled?.(void 0,eo,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,eo,ei,this.state.context),eo}finally{this.#g({type:"error",error:eo})}}finally{this.#i.runNext(this)}}#g(ei){let reducer=eo=>{switch(ei.type){case"failed":return{...eo,failureCount:ei.failureCount,failureReason:ei.error};case"pause":return{...eo,isPaused:!0};case"continue":return{...eo,isPaused:!1};case"pending":return{...eo,context:ei.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:ei.isPaused,status:"pending",variables:ei.variables,submittedAt:Date.now()};case"success":return{...eo,data:ei.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...eo,data:void 0,error:ei.error,failureCount:eo.failureCount+1,failureReason:ei.error,isPaused:!1,status:"error"}}};this.state=reducer(this.state),es.V.batch(()=>{this.#p.forEach(eo=>{eo.onMutationUpdate(ei)}),this.#i.notify({mutation:this,type:"updated",action:ei})})}};function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},27037:function(ei,eo,ea){"use strict";ea.d(eo,{V:function(){return es}});var es=function(){let ei=[],eo=0,notifyFn=ei=>{ei()},batchNotifyFn=ei=>{ei()},scheduleFn=ei=>setTimeout(ei,0),setScheduler=ei=>{scheduleFn=ei},batch=ei=>{let ea;eo++;try{ea=ei()}finally{--eo||flush()}return ea},schedule=ea=>{eo?ei.push(ea):scheduleFn(()=>{notifyFn(ea)})},batchCalls=ei=>(...eo)=>{schedule(()=>{ei(...eo)})},flush=()=>{let eo=ei;ei=[],eo.length&&scheduleFn(()=>{batchNotifyFn(()=>{eo.forEach(ei=>{notifyFn(ei)})})})},setNotifyFunction=ei=>{notifyFn=ei},setBatchNotifyFunction=ei=>{batchNotifyFn=ei};return{batch,batchCalls,schedule,setNotifyFunction,setBatchNotifyFunction,setScheduler}}()},14304:function(ei,eo,ea){"use strict";ea.d(eo,{N:function(){return ec}});var es=ea(7506),eu=ea(24139),ec=new class extends es.l{#b=!0;#f;#h;constructor(){super(),this.#h=ei=>{if(!eu.sk&&window.addEventListener){let onlineListener=()=>ei(!0),offlineListener=()=>ei(!1);return window.addEventListener("online",onlineListener,!1),window.addEventListener("offline",offlineListener,!1),()=>{window.removeEventListener("online",onlineListener),window.removeEventListener("offline",offlineListener)}}}}onSubscribe(){this.#f||this.setEventListener(this.#h)}onUnsubscribe(){this.hasListeners()||(this.#f?.(),this.#f=void 0)}setEventListener(ei){this.#h=ei,this.#f?.(),this.#f=ei(this.setOnline.bind(this))}setOnline(ei){let eo=this.#b!==ei;eo&&(this.#b=ei,this.listeners.forEach(eo=>{eo(ei)}))}isOnline(){return this.#b}}},56888:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return ef},z:function(){return fetchState}});var es=ea(24139),eu=ea(27037),ec=ea(72008),ed=ea(48907),ef=class extends ed.F{#v;#y;#w;#m;#o;#x;constructor(ei){super(),this.#x=!1,this.#o=ei.defaultOptions,this.setOptions(ei.options),this.observers=[],this.#w=ei.cache,this.queryKey=ei.queryKey,this.queryHash=ei.queryHash,this.#v=ei.state||getDefaultState(this.options),this.state=this.#v,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#m?.promise}setOptions(ei){this.options={...this.#o,...ei},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#w.remove(this)}setData(ei,eo){let ea=(0,es.oE)(this.state.data,ei,this.options);return this.#g({data:ea,type:"success",dataUpdatedAt:eo?.updatedAt,manual:eo?.manual}),ea}setState(ei,eo){this.#g({type:"setState",state:ei,setStateOptions:eo})}cancel(ei){let eo=this.#m?.promise;return this.#m?.cancel(ei),eo?eo.then(es.ZT).catch(es.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#v)}isActive(){return this.observers.some(ei=>!1!==(0,es.Nc)(ei.options.enabled,this))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(ei=>ei.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(ei=0){return this.state.isInvalidated||void 0===this.state.data||!(0,es.Kp)(this.state.dataUpdatedAt,ei)}onFocus(){let ei=this.observers.find(ei=>ei.shouldFetchOnWindowFocus());ei?.refetch({cancelRefetch:!1}),this.#m?.continue()}onOnline(){let ei=this.observers.find(ei=>ei.shouldFetchOnReconnect());ei?.refetch({cancelRefetch:!1}),this.#m?.continue()}addObserver(ei){this.observers.includes(ei)||(this.observers.push(ei),this.clearGcTimeout(),this.#w.notify({type:"observerAdded",query:this,observer:ei}))}removeObserver(ei){this.observers.includes(ei)&&(this.observers=this.observers.filter(eo=>eo!==ei),this.observers.length||(this.#m&&(this.#x?this.#m.cancel({revert:!0}):this.#m.cancelRetry()),this.scheduleGc()),this.#w.notify({type:"observerRemoved",query:this,observer:ei}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#g({type:"invalidate"})}fetch(ei,eo){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&eo?.cancelRefetch)this.cancel({silent:!0});else if(this.#m)return this.#m.continueRetry(),this.#m.promise}if(ei&&this.setOptions(ei),!this.options.queryFn){let ei=this.observers.find(ei=>ei.options.queryFn);ei&&this.setOptions(ei.options)}let ea=new AbortController,addSignalProperty=ei=>{Object.defineProperty(ei,"signal",{enumerable:!0,get:()=>(this.#x=!0,ea.signal)})},fetchFn=()=>{let ei=(0,es.cG)(this.options,eo),ea={queryKey:this.queryKey,meta:this.meta};return(addSignalProperty(ea),this.#x=!1,this.options.persister)?this.options.persister(ei,ea,this):ei(ea)},eu={fetchOptions:eo,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn};addSignalProperty(eu),this.options.behavior?.onFetch(eu,this),this.#y=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==eu.fetchOptions?.meta)&&this.#g({type:"fetch",meta:eu.fetchOptions?.meta});let onError=ei=>{(0,ec.DV)(ei)&&ei.silent||this.#g({type:"error",error:ei}),(0,ec.DV)(ei)||(this.#w.config.onError?.(ei,this),this.#w.config.onSettled?.(this.state.data,ei,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#m=(0,ec.Mz)({initialPromise:eo?.initialPromise,fn:eu.fetchFn,abort:ea.abort.bind(ea),onSuccess:ei=>{if(void 0===ei){onError(Error(`${this.queryHash} data is undefined`));return}this.setData(ei),this.#w.config.onSuccess?.(ei,this),this.#w.config.onSettled?.(ei,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError,onFail:(ei,eo)=>{this.#g({type:"failed",failureCount:ei,error:eo})},onPause:()=>{this.#g({type:"pause"})},onContinue:()=>{this.#g({type:"continue"})},retry:eu.options.retry,retryDelay:eu.options.retryDelay,networkMode:eu.options.networkMode,canRun:()=>!0}),this.#m.start()}#g(ei){let reducer=eo=>{switch(ei.type){case"failed":return{...eo,fetchFailureCount:ei.failureCount,fetchFailureReason:ei.error};case"pause":return{...eo,fetchStatus:"paused"};case"continue":return{...eo,fetchStatus:"fetching"};case"fetch":return{...eo,...fetchState(eo.data,this.options),fetchMeta:ei.meta??null};case"success":return{...eo,data:ei.data,dataUpdateCount:eo.dataUpdateCount+1,dataUpdatedAt:ei.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!ei.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let ea=ei.error;if((0,ec.DV)(ea)&&ea.revert&&this.#y)return{...this.#y,fetchStatus:"idle"};return{...eo,error:ea,errorUpdateCount:eo.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:eo.fetchFailureCount+1,fetchFailureReason:ea,fetchStatus:"idle",status:"error"};case"invalidate":return{...eo,isInvalidated:!0};case"setState":return{...eo,...ei.state}}};this.state=reducer(this.state),eu.V.batch(()=>{this.observers.forEach(ei=>{ei.onQueryUpdate()}),this.#w.notify({query:this,type:"updated",action:ei})})}};function fetchState(ei,eo){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,ec.Kw)(eo.networkMode)?"fetching":"paused",...void 0===ei&&{error:null,status:"pending"}}}function getDefaultState(ei){let eo="function"==typeof ei.initialData?ei.initialData():ei.initialData,ea=void 0!==eo,es=ea?"function"==typeof ei.initialDataUpdatedAt?ei.initialDataUpdatedAt():ei.initialDataUpdatedAt:0;return{data:eo,dataUpdateCount:0,dataUpdatedAt:ea?es??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:ea?"success":"pending",fetchStatus:"idle"}}},48907:function(ei,eo,ea){"use strict";ea.d(eo,{F:function(){return eu}});var es=ea(24139),eu=class{#P;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,es.PN)(this.gcTime)&&(this.#P=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(ei){this.gcTime=Math.max(this.gcTime||0,ei??(es.sk?1/0:3e5))}clearGcTimeout(){this.#P&&(clearTimeout(this.#P),this.#P=void 0)}}},72008:function(ei,eo,ea){"use strict";ea.d(eo,{DV:function(){return isCancelledError},Kw:function(){return canFetch},Mz:function(){return createRetryer}});var es=ea(66474),eu=ea(14304),ec=ea(24139);function defaultRetryDelay(ei){return Math.min(1e3*2**ei,3e4)}function canFetch(ei){return(ei??"online")!=="online"||eu.N.isOnline()}var ed=class{constructor(ei){this.revert=ei?.revert,this.silent=ei?.silent}};function isCancelledError(ei){return ei instanceof ed}function createRetryer(ei){let eo,ea,ef,eh=!1,ep=0,em=!1,eg=new Promise((ei,eo)=>{ea=ei,ef=eo}),cancel=eo=>{em||(reject(new ed(eo)),ei.abort?.())},cancelRetry=()=>{eh=!0},continueRetry=()=>{eh=!1},canContinue=()=>es.j.isFocused()&&("always"===ei.networkMode||eu.N.isOnline())&&ei.canRun(),canStart=()=>canFetch(ei.networkMode)&&ei.canRun(),resolve=es=>{em||(em=!0,ei.onSuccess?.(es),eo?.(),ea(es))},reject=ea=>{em||(em=!0,ei.onError?.(ea),eo?.(),ef(ea))},pause=()=>new Promise(ea=>{eo=ei=>{(em||canContinue())&&ea(ei)},ei.onPause?.()}).then(()=>{eo=void 0,em||ei.onContinue?.()}),run=()=>{let eo;if(em)return;let ea=0===ep?ei.initialPromise:void 0;try{eo=ea??ei.fn()}catch(ei){eo=Promise.reject(ei)}Promise.resolve(eo).then(resolve).catch(eo=>{if(em)return;let ea=ei.retry??(ec.sk?0:3),es=ei.retryDelay??defaultRetryDelay,eu="function"==typeof es?es(ep,eo):es,ed=!0===ea||"number"==typeof ea&&ep<ea||"function"==typeof ea&&ea(ep,eo);if(eh||!ed){reject(eo);return}ep++,ei.onFail?.(ep,eo),(0,ec._v)(eu).then(()=>canContinue()?void 0:pause()).then(()=>{eh?reject(eo):run()})})};return{promise:eg,cancel,continue:()=>(eo?.(),eg),cancelRetry,continueRetry,canStart,start:()=>(canStart()?run():pause().then(run),eg)}}},7506:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return es}});var es=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(ei){return this.listeners.add(ei),this.onSubscribe(),()=>{this.listeners.delete(ei),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},24139:function(ei,eo,ea){"use strict";ea.d(eo,{CN:function(){return eu},Ht:function(){return addToStart},KC:function(){return resolveStaleTime},Kp:function(){return timeUntilStale},Nc:function(){return resolveEnabled},PN:function(){return isValidTimeout},Rm:function(){return hashQueryKeyByOptions},SE:function(){return functionalUpdate},VS:function(){return shallowEqualObjects},VX:function(){return addToEnd},Wk:function(){return keepPreviousData},X7:function(){return matchMutation},Ym:function(){return hashKey},ZT:function(){return noop},_v:function(){return sleep},_x:function(){return matchQuery},cG:function(){return ensureQueryFn},oE:function(){return replaceData},sk:function(){return es},to:function(){return partialMatchKey}});var es="undefined"==typeof window||"Deno"in globalThis;function noop(){}function functionalUpdate(ei,eo){return"function"==typeof ei?ei(eo):ei}function isValidTimeout(ei){return"number"==typeof ei&&ei>=0&&ei!==1/0}function timeUntilStale(ei,eo){return Math.max(ei+(eo||0)-Date.now(),0)}function resolveStaleTime(ei,eo){return"function"==typeof ei?ei(eo):ei}function resolveEnabled(ei,eo){return"function"==typeof ei?ei(eo):ei}function matchQuery(ei,eo){let{type:ea="all",exact:es,fetchStatus:eu,predicate:ec,queryKey:ed,stale:ef}=ei;if(ed){if(es){if(eo.queryHash!==hashQueryKeyByOptions(ed,eo.options))return!1}else if(!partialMatchKey(eo.queryKey,ed))return!1}if("all"!==ea){let ei=eo.isActive();if("active"===ea&&!ei||"inactive"===ea&&ei)return!1}return("boolean"!=typeof ef||eo.isStale()===ef)&&(!eu||eu===eo.state.fetchStatus)&&(!ec||!!ec(eo))}function matchMutation(ei,eo){let{exact:ea,status:es,predicate:eu,mutationKey:ec}=ei;if(ec){if(!eo.options.mutationKey)return!1;if(ea){if(hashKey(eo.options.mutationKey)!==hashKey(ec))return!1}else if(!partialMatchKey(eo.options.mutationKey,ec))return!1}return(!es||eo.state.status===es)&&(!eu||!!eu(eo))}function hashQueryKeyByOptions(ei,eo){let ea=eo?.queryKeyHashFn||hashKey;return ea(ei)}function hashKey(ei){return JSON.stringify(ei,(ei,eo)=>isPlainObject(eo)?Object.keys(eo).sort().reduce((ei,ea)=>(ei[ea]=eo[ea],ei),{}):eo)}function partialMatchKey(ei,eo){return ei===eo||typeof ei==typeof eo&&!!ei&&!!eo&&"object"==typeof ei&&"object"==typeof eo&&!Object.keys(eo).some(ea=>!partialMatchKey(ei[ea],eo[ea]))}function replaceEqualDeep(ei,eo){if(ei===eo)return ei;let ea=isPlainArray(ei)&&isPlainArray(eo);if(ea||isPlainObject(ei)&&isPlainObject(eo)){let es=ea?ei:Object.keys(ei),eu=es.length,ec=ea?eo:Object.keys(eo),ed=ec.length,ef=ea?[]:{},eh=0;for(let eu=0;eu<ed;eu++){let ed=ea?eu:ec[eu];(!ea&&es.includes(ed)||ea)&&void 0===ei[ed]&&void 0===eo[ed]?(ef[ed]=void 0,eh++):(ef[ed]=replaceEqualDeep(ei[ed],eo[ed]),ef[ed]===ei[ed]&&void 0!==ei[ed]&&eh++)}return eu===ed&&eh===eu?ei:ef}return eo}function shallowEqualObjects(ei,eo){if(!eo||Object.keys(ei).length!==Object.keys(eo).length)return!1;for(let ea in ei)if(ei[ea]!==eo[ea])return!1;return!0}function isPlainArray(ei){return Array.isArray(ei)&&ei.length===Object.keys(ei).length}function isPlainObject(ei){if(!hasObjectPrototype(ei))return!1;let eo=ei.constructor;if(void 0===eo)return!0;let ea=eo.prototype;return!!(hasObjectPrototype(ea)&&ea.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(ei)===Object.prototype}function hasObjectPrototype(ei){return"[object Object]"===Object.prototype.toString.call(ei)}function sleep(ei){return new Promise(eo=>{setTimeout(eo,ei)})}function replaceData(ei,eo,ea){return"function"==typeof ea.structuralSharing?ea.structuralSharing(ei,eo):!1!==ea.structuralSharing?replaceEqualDeep(ei,eo):eo}function keepPreviousData(ei){return ei}function addToEnd(ei,eo,ea=0){let es=[...ei,eo];return ea&&es.length>ea?es.slice(1):es}function addToStart(ei,eo,ea=0){let es=[eo,...ei];return ea&&es.length>ea?es.slice(0,-1):es}var eu=Symbol(),ensureQueryFn=(ei,eo)=>!ei.queryFn&&eo?.initialPromise?()=>eo.initialPromise:ei.queryFn&&ei.queryFn!==eu?ei.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${ei.queryHash}'`))},30202:function(ei,eo,ea){"use strict";ea.d(eo,{NL:function(){return useQueryClient},aH:function(){return QueryClientProvider}});var es=ea(67294),eu=ea(85893),ec=es.createContext(void 0),useQueryClient=ei=>{let eo=es.useContext(ec);if(ei)return ei;if(!eo)throw Error("No QueryClient set, use QueryClientProvider to set one");return eo},QueryClientProvider=({client:ei,children:eo})=>(es.useEffect(()=>(ei.mount(),()=>{ei.unmount()}),[ei]),(0,eu.jsx)(ec.Provider,{value:ei,children:eo}))},98029:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return useMutation}});var es=ea(67294),eu=ea(59289),ec=ea(27037),ed=ea(7506),ef=ea(24139),eh=class extends ed.l{#S;#E=void 0;#k;#T;constructor(ei,eo){super(),this.#S=ei,this.setOptions(eo),this.bindMethods(),this.#C()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(ei){let eo=this.options;this.options=this.#S.defaultMutationOptions(ei),(0,ef.VS)(this.options,eo)||this.#S.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#k,observer:this}),eo?.mutationKey&&this.options.mutationKey&&(0,ef.Ym)(eo.mutationKey)!==(0,ef.Ym)(this.options.mutationKey)?this.reset():this.#k?.state.status==="pending"&&this.#k.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#k?.removeObserver(this)}onMutationUpdate(ei){this.#C(),this.#_(ei)}getCurrentResult(){return this.#E}reset(){this.#k?.removeObserver(this),this.#k=void 0,this.#C(),this.#_()}mutate(ei,eo){return this.#T=eo,this.#k?.removeObserver(this),this.#k=this.#S.getMutationCache().build(this.#S,this.options),this.#k.addObserver(this),this.#k.execute(ei)}#C(){let ei=this.#k?.state??(0,eu.R)();this.#E={...ei,isPending:"pending"===ei.status,isSuccess:"success"===ei.status,isError:"error"===ei.status,isIdle:"idle"===ei.status,mutate:this.mutate,reset:this.reset}}#_(ei){ec.V.batch(()=>{if(this.#T&&this.hasListeners()){let eo=this.#E.variables,ea=this.#E.context;ei?.type==="success"?(this.#T.onSuccess?.(ei.data,eo,ea),this.#T.onSettled?.(ei.data,null,eo,ea)):ei?.type==="error"&&(this.#T.onError?.(ei.error,eo,ea),this.#T.onSettled?.(void 0,ei.error,eo,ea))}this.listeners.forEach(ei=>{ei(this.#E)})})}},ep=ea(30202),em=ea(86290);function useMutation(ei,eo){let ea=(0,ep.NL)(eo),[eu]=es.useState(()=>new eh(ea,ei));es.useEffect(()=>{eu.setOptions(ei)},[eu,ei]);let ed=es.useSyncExternalStore(es.useCallback(ei=>eu.subscribe(ec.V.batchCalls(ei)),[eu]),()=>eu.getCurrentResult(),()=>eu.getCurrentResult()),ef=es.useCallback((ei,eo)=>{eu.mutate(ei,eo).catch(em.Z)},[eu]);if(ed.error&&(0,em.L)(eu.options.throwOnError,[ed.error]))throw ed.error;return{...ed,mutate:ef,mutateAsync:ed.mutate}}},10777:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return useQuery}});var es=ea(24139),eu=ea(27037),ec=ea(66474),ed=ea(7506),ef=ea(56888),eh=class extends ed.l{constructor(ei,eo){super(),this.options=eo,this.#S=ei,this.#A=null,this.bindMethods(),this.setOptions(eo)}#S;#O=void 0;#M=void 0;#E=void 0;#R;#j;#A;#N;#L;#D;#I;#z;#B;#F=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#O.addObserver(this),shouldFetchOnMount(this.#O,this.options)?this.#H():this.updateResult(),this.#U())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(this.#O,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(this.#O,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#V(),this.#X(),this.#O.removeObserver(this)}setOptions(ei,eo){let ea=this.options,eu=this.#O;if(this.options=this.#S.defaultQueryOptions(ei),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,es.Nc)(this.options.enabled,this.#O))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#q(),this.#O.setOptions(this.options),ea._defaulted&&!(0,es.VS)(this.options,ea)&&this.#S.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#O,observer:this});let ec=this.hasListeners();ec&&shouldFetchOptionally(this.#O,eu,this.options,ea)&&this.#H(),this.updateResult(eo),ec&&(this.#O!==eu||(0,es.Nc)(this.options.enabled,this.#O)!==(0,es.Nc)(ea.enabled,this.#O)||(0,es.KC)(this.options.staleTime,this.#O)!==(0,es.KC)(ea.staleTime,this.#O))&&this.#$();let ed=this.#W();ec&&(this.#O!==eu||(0,es.Nc)(this.options.enabled,this.#O)!==(0,es.Nc)(ea.enabled,this.#O)||ed!==this.#B)&&this.#K(ed)}getOptimisticResult(ei){let eo=this.#S.getQueryCache().build(this.#S,ei),ea=this.createResult(eo,ei);return shouldAssignObserverCurrentProperties(this,ea)&&(this.#E=ea,this.#j=this.options,this.#R=this.#O.state),ea}getCurrentResult(){return this.#E}trackResult(ei,eo){let ea={};return Object.keys(ei).forEach(es=>{Object.defineProperty(ea,es,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(es),eo?.(es),ei[es])})}),ea}trackProp(ei){this.#F.add(ei)}getCurrentQuery(){return this.#O}refetch({...ei}={}){return this.fetch({...ei})}fetchOptimistic(ei){let eo=this.#S.defaultQueryOptions(ei),ea=this.#S.getQueryCache().build(this.#S,eo);return ea.isFetchingOptimistic=!0,ea.fetch().then(()=>this.createResult(ea,eo))}fetch(ei){return this.#H({...ei,cancelRefetch:ei.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#E))}#H(ei){this.#q();let eo=this.#O.fetch(this.options,ei);return ei?.throwOnError||(eo=eo.catch(es.ZT)),eo}#$(){this.#V();let ei=(0,es.KC)(this.options.staleTime,this.#O);if(es.sk||this.#E.isStale||!(0,es.PN)(ei))return;let eo=(0,es.Kp)(this.#E.dataUpdatedAt,ei),ea=eo+1;this.#I=setTimeout(()=>{this.#E.isStale||this.updateResult()},ea)}#W(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#O):this.options.refetchInterval)??!1}#K(ei){this.#X(),this.#B=ei,!es.sk&&!1!==(0,es.Nc)(this.options.enabled,this.#O)&&(0,es.PN)(this.#B)&&0!==this.#B&&(this.#z=setInterval(()=>{(this.options.refetchIntervalInBackground||ec.j.isFocused())&&this.#H()},this.#B))}#U(){this.#$(),this.#K(this.#W())}#V(){this.#I&&(clearTimeout(this.#I),this.#I=void 0)}#X(){this.#z&&(clearInterval(this.#z),this.#z=void 0)}createResult(ei,eo){let ea;let eu=this.#O,ec=this.options,ed=this.#E,eh=this.#R,ep=this.#j,em=ei!==eu,eg=em?ei.state:this.#M,{state:eb}=ei,ey={...eb},ew=!1;if(eo._optimisticResults){let ea=this.hasListeners(),es=!ea&&shouldFetchOnMount(ei,eo),ed=ea&&shouldFetchOptionally(ei,eu,eo,ec);(es||ed)&&(ey={...ey,...(0,ef.z)(eb.data,ei.options)}),"isRestoring"===eo._optimisticResults&&(ey.fetchStatus="idle")}let{error:ex,errorUpdatedAt:eP,status:eS}=ey;if(eo.select&&void 0!==ey.data){if(ed&&ey.data===eh?.data&&eo.select===this.#N)ea=this.#L;else try{this.#N=eo.select,ea=eo.select(ey.data),ea=(0,es.oE)(ed?.data,ea,eo),this.#L=ea,this.#A=null}catch(ei){this.#A=ei}}else ea=ey.data;if(void 0!==eo.placeholderData&&void 0===ea&&"pending"===eS){let ei;if(ed?.isPlaceholderData&&eo.placeholderData===ep?.placeholderData)ei=ed.data;else if(ei="function"==typeof eo.placeholderData?eo.placeholderData(this.#D?.state.data,this.#D):eo.placeholderData,eo.select&&void 0!==ei)try{ei=eo.select(ei),this.#A=null}catch(ei){this.#A=ei}void 0!==ei&&(eS="success",ea=(0,es.oE)(ed?.data,ei,eo),ew=!0)}this.#A&&(ex=this.#A,ea=this.#L,eP=Date.now(),eS="error");let eE="fetching"===ey.fetchStatus,ek="pending"===eS,eT="error"===eS,eC=ek&&eE,e_=void 0!==ea,eA={status:eS,fetchStatus:ey.fetchStatus,isPending:ek,isSuccess:"success"===eS,isError:eT,isInitialLoading:eC,isLoading:eC,data:ea,dataUpdatedAt:ey.dataUpdatedAt,error:ex,errorUpdatedAt:eP,failureCount:ey.fetchFailureCount,failureReason:ey.fetchFailureReason,errorUpdateCount:ey.errorUpdateCount,isFetched:ey.dataUpdateCount>0||ey.errorUpdateCount>0,isFetchedAfterMount:ey.dataUpdateCount>eg.dataUpdateCount||ey.errorUpdateCount>eg.errorUpdateCount,isFetching:eE,isRefetching:eE&&!ek,isLoadingError:eT&&!e_,isPaused:"paused"===ey.fetchStatus,isPlaceholderData:ew,isRefetchError:eT&&e_,isStale:isStale(ei,eo),refetch:this.refetch};return eA}updateResult(ei){let eo=this.#E,ea=this.createResult(this.#O,this.options);if(this.#R=this.#O.state,this.#j=this.options,void 0!==this.#R.data&&(this.#D=this.#O),(0,es.VS)(ea,eo))return;this.#E=ea;let eu={},shouldNotifyListeners=()=>{if(!eo)return!0;let{notifyOnChangeProps:ei}=this.options,ea="function"==typeof ei?ei():ei;if("all"===ea||!ea&&!this.#F.size)return!0;let es=new Set(ea??this.#F);return this.options.throwOnError&&es.add("error"),Object.keys(this.#E).some(ei=>{let ea=ei,eu=this.#E[ea]!==eo[ea];return eu&&es.has(ea)})};ei?.listeners!==!1&&shouldNotifyListeners()&&(eu.listeners=!0),this.#_({...eu,...ei})}#q(){let ei=this.#S.getQueryCache().build(this.#S,this.options);if(ei===this.#O)return;let eo=this.#O;this.#O=ei,this.#M=ei.state,this.hasListeners()&&(eo?.removeObserver(this),ei.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#U()}#_(ei){eu.V.batch(()=>{ei.listeners&&this.listeners.forEach(ei=>{ei(this.#E)}),this.#S.getQueryCache().notify({query:this.#O,type:"observerResultsUpdated"})})}};function shouldLoadOnMount(ei,eo){return!1!==(0,es.Nc)(eo.enabled,ei)&&void 0===ei.state.data&&!("error"===ei.state.status&&!1===eo.retryOnMount)}function shouldFetchOnMount(ei,eo){return shouldLoadOnMount(ei,eo)||void 0!==ei.state.data&&shouldFetchOn(ei,eo,eo.refetchOnMount)}function shouldFetchOn(ei,eo,ea){if(!1!==(0,es.Nc)(eo.enabled,ei)){let es="function"==typeof ea?ea(ei):ea;return"always"===es||!1!==es&&isStale(ei,eo)}return!1}function shouldFetchOptionally(ei,eo,ea,eu){return(ei!==eo||!1===(0,es.Nc)(eu.enabled,ei))&&(!ea.suspense||"error"!==ei.state.status)&&isStale(ei,ea)}function isStale(ei,eo){return!1!==(0,es.Nc)(eo.enabled,ei)&&ei.isStaleByTime((0,es.KC)(eo.staleTime,ei))}function shouldAssignObserverCurrentProperties(ei,eo){return!(0,es.VS)(ei.getCurrentResult(),eo)}var ep=ea(67294);function createValue(){let ei=!1;return{clearReset:()=>{ei=!1},reset:()=>{ei=!0},isReset:()=>ei}}ea(85893);var em=ep.createContext(createValue()),useQueryErrorResetBoundary=()=>ep.useContext(em),eg=ea(30202),eb=ep.createContext(!1),useIsRestoring=()=>ep.useContext(eb);eb.Provider;var ey=ea(86290),ensurePreventErrorBoundaryRetry=(ei,eo)=>{(ei.suspense||ei.throwOnError)&&!eo.isReset()&&(ei.retryOnMount=!1)},useClearResetErrorBoundary=ei=>{ep.useEffect(()=>{ei.clearReset()},[ei])},getHasError=({result:ei,errorResetBoundary:eo,throwOnError:ea,query:es})=>ei.isError&&!eo.isReset()&&!ei.isFetching&&es&&(0,ey.L)(ea,[ei.error,es]),ensureStaleTime=ei=>{ei.suspense&&"number"!=typeof ei.staleTime&&(ei.staleTime=1e3)},shouldSuspend=(ei,eo)=>ei?.suspense&&eo.isPending,fetchOptimistic=(ei,eo,ea)=>eo.fetchOptimistic(ei).catch(()=>{ea.clearReset()});function useBaseQuery(ei,eo,ea){let es=(0,eg.NL)(ea),ec=useIsRestoring(),ed=useQueryErrorResetBoundary(),ef=es.defaultQueryOptions(ei);es.getDefaultOptions().queries?._experimental_beforeQuery?.(ef),ef._optimisticResults=ec?"isRestoring":"optimistic",ensureStaleTime(ef),ensurePreventErrorBoundaryRetry(ef,ed),useClearResetErrorBoundary(ed);let[eh]=ep.useState(()=>new eo(es,ef)),em=eh.getOptimisticResult(ef);if(ep.useSyncExternalStore(ep.useCallback(ei=>{let eo=ec?()=>void 0:eh.subscribe(eu.V.batchCalls(ei));return eh.updateResult(),eo},[eh,ec]),()=>eh.getCurrentResult(),()=>eh.getCurrentResult()),ep.useEffect(()=>{eh.setOptions(ef,{listeners:!1})},[ef,eh]),shouldSuspend(ef,em))throw fetchOptimistic(ef,eh,ed);if(getHasError({result:em,errorResetBoundary:ed,throwOnError:ef.throwOnError,query:es.getQueryCache().get(ef.queryHash)}))throw em.error;return es.getDefaultOptions().queries?._experimental_afterQuery?.(ef,em),ef.notifyOnChangeProps?em:eh.trackResult(em)}function useQuery(ei,eo){return useBaseQuery(ei,eh,eo)}},86290:function(ei,eo,ea){"use strict";function shouldThrowError(ei,eo){return"function"==typeof ei?ei(...eo):!!ei}function noop(){}ea.d(eo,{L:function(){return shouldThrowError},Z:function(){return noop}})},87066:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return tO}});var es,eu,ec,ed,ef={};function bind(ei,eo){return function(){return ei.apply(eo,arguments)}}ea.r(ef),ea.d(ef,{hasBrowserEnv:function(){return eQ},hasStandardBrowserEnv:function(){return e0},hasStandardBrowserWebWorkerEnv:function(){return e1},origin:function(){return e3}});let{toString:eh}=Object.prototype,{getPrototypeOf:ep}=Object,em=(es=Object.create(null),ei=>{let eo=eh.call(ei);return es[eo]||(es[eo]=eo.slice(8,-1).toLowerCase())}),kindOfTest=ei=>(ei=ei.toLowerCase(),eo=>em(eo)===ei),typeOfTest=ei=>eo=>typeof eo===ei,{isArray:eg}=Array,eb=typeOfTest("undefined");function isBuffer(ei){return null!==ei&&!eb(ei)&&null!==ei.constructor&&!eb(ei.constructor)&&ex(ei.constructor.isBuffer)&&ei.constructor.isBuffer(ei)}let ey=kindOfTest("ArrayBuffer");function isArrayBufferView(ei){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(ei):ei&&ei.buffer&&ey(ei.buffer)}let ew=typeOfTest("string"),ex=typeOfTest("function"),eP=typeOfTest("number"),isObject=ei=>null!==ei&&"object"==typeof ei,isBoolean=ei=>!0===ei||!1===ei,isPlainObject=ei=>{if("object"!==em(ei))return!1;let eo=ep(ei);return(null===eo||eo===Object.prototype||null===Object.getPrototypeOf(eo))&&!(Symbol.toStringTag in ei)&&!(Symbol.iterator in ei)},eS=kindOfTest("Date"),eE=kindOfTest("File"),ek=kindOfTest("Blob"),eT=kindOfTest("FileList"),isStream=ei=>isObject(ei)&&ex(ei.pipe),isFormData=ei=>{let eo;return ei&&("function"==typeof FormData&&ei instanceof FormData||ex(ei.append)&&("formdata"===(eo=em(ei))||"object"===eo&&ex(ei.toString)&&"[object FormData]"===ei.toString()))},eC=kindOfTest("URLSearchParams"),[e_,eA,eO,eM]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=ei=>ei.trim?ei.trim():ei.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(ei,eo,{allOwnKeys:ea=!1}={}){let es,eu;if(null!=ei){if("object"!=typeof ei&&(ei=[ei]),eg(ei))for(es=0,eu=ei.length;es<eu;es++)eo.call(null,ei[es],es,ei);else{let eu;let ec=ea?Object.getOwnPropertyNames(ei):Object.keys(ei),ed=ec.length;for(es=0;es<ed;es++)eu=ec[es],eo.call(null,ei[eu],eu,ei)}}}function findKey(ei,eo){let ea;eo=eo.toLowerCase();let es=Object.keys(ei),eu=es.length;for(;eu-- >0;)if(eo===(ea=es[eu]).toLowerCase())return ea;return null}let eR="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=ei=>!eb(ei)&&ei!==eR;function merge(){let{caseless:ei}=isContextDefined(this)&&this||{},eo={},assignValue=(ea,es)=>{let eu=ei&&findKey(eo,es)||es;isPlainObject(eo[eu])&&isPlainObject(ea)?eo[eu]=merge(eo[eu],ea):isPlainObject(ea)?eo[eu]=merge({},ea):eg(ea)?eo[eu]=ea.slice():eo[eu]=ea};for(let ei=0,eo=arguments.length;ei<eo;ei++)arguments[ei]&&forEach(arguments[ei],assignValue);return eo}let extend=(ei,eo,ea,{allOwnKeys:es}={})=>(forEach(eo,(eo,es)=>{ea&&ex(eo)?ei[es]=bind(eo,ea):ei[es]=eo},{allOwnKeys:es}),ei),stripBOM=ei=>(65279===ei.charCodeAt(0)&&(ei=ei.slice(1)),ei),inherits=(ei,eo,ea,es)=>{ei.prototype=Object.create(eo.prototype,es),ei.prototype.constructor=ei,Object.defineProperty(ei,"super",{value:eo.prototype}),ea&&Object.assign(ei.prototype,ea)},toFlatObject=(ei,eo,ea,es)=>{let eu,ec,ed;let ef={};if(eo=eo||{},null==ei)return eo;do{for(ec=(eu=Object.getOwnPropertyNames(ei)).length;ec-- >0;)ed=eu[ec],(!es||es(ed,ei,eo))&&!ef[ed]&&(eo[ed]=ei[ed],ef[ed]=!0);ei=!1!==ea&&ep(ei)}while(ei&&(!ea||ea(ei,eo))&&ei!==Object.prototype);return eo},endsWith=(ei,eo,ea)=>{ei=String(ei),(void 0===ea||ea>ei.length)&&(ea=ei.length),ea-=eo.length;let es=ei.indexOf(eo,ea);return -1!==es&&es===ea},toArray=ei=>{if(!ei)return null;if(eg(ei))return ei;let eo=ei.length;if(!eP(eo))return null;let ea=Array(eo);for(;eo-- >0;)ea[eo]=ei[eo];return ea},ej=(eu="undefined"!=typeof Uint8Array&&ep(Uint8Array),ei=>eu&&ei instanceof eu),forEachEntry=(ei,eo)=>{let ea;let es=ei&&ei[Symbol.iterator],eu=es.call(ei);for(;(ea=eu.next())&&!ea.done;){let es=ea.value;eo.call(ei,es[0],es[1])}},matchAll=(ei,eo)=>{let ea;let es=[];for(;null!==(ea=ei.exec(eo));)es.push(ea);return es},eN=kindOfTest("HTMLFormElement"),toCamelCase=ei=>ei.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ei,eo,ea){return eo.toUpperCase()+ea}),eL=(({hasOwnProperty:ei})=>(eo,ea)=>ei.call(eo,ea))(Object.prototype),eD=kindOfTest("RegExp"),reduceDescriptors=(ei,eo)=>{let ea=Object.getOwnPropertyDescriptors(ei),es={};forEach(ea,(ea,eu)=>{let ec;!1!==(ec=eo(ea,eu,ei))&&(es[eu]=ec||ea)}),Object.defineProperties(ei,es)},freezeMethods=ei=>{reduceDescriptors(ei,(eo,ea)=>{if(ex(ei)&&-1!==["arguments","caller","callee"].indexOf(ea))return!1;let es=ei[ea];if(ex(es)){if(eo.enumerable=!1,"writable"in eo){eo.writable=!1;return}eo.set||(eo.set=()=>{throw Error("Can not rewrite read-only method '"+ea+"'")})}})},toObjectSet=(ei,eo)=>{let ea={},define=ei=>{ei.forEach(ei=>{ea[ei]=!0})};return define(eg(ei)?ei:String(ei).split(eo)),ea},noop=()=>{},toFiniteNumber=(ei,eo)=>null!=ei&&Number.isFinite(ei=+ei)?ei:eo,eI="abcdefghijklmnopqrstuvwxyz",ez="0123456789",eB={DIGIT:ez,ALPHA:eI,ALPHA_DIGIT:eI+eI.toUpperCase()+ez},generateString=(ei=16,eo=eB.ALPHA_DIGIT)=>{let ea="",{length:es}=eo;for(;ei--;)ea+=eo[Math.random()*es|0];return ea};function isSpecCompliantForm(ei){return!!(ei&&ex(ei.append)&&"FormData"===ei[Symbol.toStringTag]&&ei[Symbol.iterator])}let toJSONObject=ei=>{let eo=Array(10),visit=(ei,ea)=>{if(isObject(ei)){if(eo.indexOf(ei)>=0)return;if(!("toJSON"in ei)){eo[ea]=ei;let es=eg(ei)?[]:{};return forEach(ei,(ei,eo)=>{let eu=visit(ei,ea+1);eb(eu)||(es[eo]=eu)}),eo[ea]=void 0,es}}return ei};return visit(ei,0)},eF=kindOfTest("AsyncFunction"),isThenable=ei=>ei&&(isObject(ei)||ex(ei))&&ex(ei.then)&&ex(ei.catch);var eH={isArray:eg,isArrayBuffer:ey,isBuffer,isFormData,isArrayBufferView,isString:ew,isNumber:eP,isBoolean,isObject,isPlainObject,isReadableStream:e_,isRequest:eA,isResponse:eO,isHeaders:eM,isUndefined:eb,isDate:eS,isFile:eE,isBlob:ek,isRegExp:eD,isFunction:ex,isStream,isURLSearchParams:eC,isTypedArray:ej,isFileList:eT,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf:em,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm:eN,hasOwnProperty:eL,hasOwnProp:eL,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:eR,isContextDefined,ALPHABET:eB,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn:eF,isThenable};function AxiosError(ei,eo,ea,es,eu){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=ei,this.name="AxiosError",eo&&(this.code=eo),ea&&(this.config=ea),es&&(this.request=es),eu&&(this.response=eu)}eH.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:eH.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let eU=AxiosError.prototype,eV={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(ei=>{eV[ei]={value:ei}}),Object.defineProperties(AxiosError,eV),Object.defineProperty(eU,"isAxiosError",{value:!0}),AxiosError.from=(ei,eo,ea,es,eu,ec)=>{let ed=Object.create(eU);return eH.toFlatObject(ei,ed,function(ei){return ei!==Error.prototype},ei=>"isAxiosError"!==ei),AxiosError.call(ed,ei.message,eo,ea,es,eu),ed.cause=ei,ed.name=ei.name,ec&&Object.assign(ed,ec),ed};var eX=AxiosError,eq=null,e$=ea(48764).Buffer;function isVisitable(ei){return eH.isPlainObject(ei)||eH.isArray(ei)}function removeBrackets(ei){return eH.endsWith(ei,"[]")?ei.slice(0,-2):ei}function renderKey(ei,eo,ea){return ei?ei.concat(eo).map(function(ei,eo){return ei=removeBrackets(ei),!ea&&eo?"["+ei+"]":ei}).join(ea?".":""):eo}function isFlatArray(ei){return eH.isArray(ei)&&!ei.some(isVisitable)}let eW=eH.toFlatObject(eH,{},null,function(ei){return/^is[A-Z]/.test(ei)});var helpers_toFormData=function(ei,eo,ea){if(!eH.isObject(ei))throw TypeError("target must be an object");eo=eo||new(eq||FormData),ea=eH.toFlatObject(ea,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ei,eo){return!eH.isUndefined(eo[ei])});let es=ea.metaTokens,eu=ea.visitor||defaultVisitor,ec=ea.dots,ed=ea.indexes,ef=ea.Blob||"undefined"!=typeof Blob&&Blob,eh=ef&&eH.isSpecCompliantForm(eo);if(!eH.isFunction(eu))throw TypeError("visitor must be a function");function convertValue(ei){if(null===ei)return"";if(eH.isDate(ei))return ei.toISOString();if(!eh&&eH.isBlob(ei))throw new eX("Blob is not supported. Use a Buffer instead.");return eH.isArrayBuffer(ei)||eH.isTypedArray(ei)?eh&&"function"==typeof Blob?new Blob([ei]):e$.from(ei):ei}function defaultVisitor(ei,ea,eu){let ef=ei;if(ei&&!eu&&"object"==typeof ei){if(eH.endsWith(ea,"{}"))ea=es?ea:ea.slice(0,-2),ei=JSON.stringify(ei);else if(eH.isArray(ei)&&isFlatArray(ei)||(eH.isFileList(ei)||eH.endsWith(ea,"[]"))&&(ef=eH.toArray(ei)))return ea=removeBrackets(ea),ef.forEach(function(ei,es){eH.isUndefined(ei)||null===ei||eo.append(!0===ed?renderKey([ea],es,ec):null===ed?ea:ea+"[]",convertValue(ei))}),!1}return!!isVisitable(ei)||(eo.append(renderKey(eu,ea,ec),convertValue(ei)),!1)}let ep=[],em=Object.assign(eW,{defaultVisitor,convertValue,isVisitable});function build(ei,ea){if(!eH.isUndefined(ei)){if(-1!==ep.indexOf(ei))throw Error("Circular reference detected in "+ea.join("."));ep.push(ei),eH.forEach(ei,function(ei,es){let ec=!(eH.isUndefined(ei)||null===ei)&&eu.call(eo,ei,eH.isString(es)?es.trim():es,ea,em);!0===ec&&build(ei,ea?ea.concat(es):[es])}),ep.pop()}}if(!eH.isObject(ei))throw TypeError("data must be an object");return build(ei),eo};function encode(ei){let eo={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(ei).replace(/[!'()~]|%20|%00/g,function(ei){return eo[ei]})}function AxiosURLSearchParams(ei,eo){this._pairs=[],ei&&helpers_toFormData(ei,this,eo)}let eK=AxiosURLSearchParams.prototype;eK.append=function(ei,eo){this._pairs.push([ei,eo])},eK.toString=function(ei){let eo=ei?function(eo){return ei.call(this,eo,encode)}:encode;return this._pairs.map(function(ei){return eo(ei[0])+"="+eo(ei[1])},"").join("&")};var eG=AxiosURLSearchParams;function buildURL_encode(ei){return encodeURIComponent(ei).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(ei,eo,ea){let es;if(!eo)return ei;let eu=ea&&ea.encode||buildURL_encode,ec=ea&&ea.serialize;if(es=ec?ec(eo,ea):eH.isURLSearchParams(eo)?eo.toString():new eG(eo,ea).toString(eu)){let eo=ei.indexOf("#");-1!==eo&&(ei=ei.slice(0,eo)),ei+=(-1===ei.indexOf("?")?"?":"&")+es}return ei}let InterceptorManager=class InterceptorManager{constructor(){this.handlers=[]}use(ei,eo,ea){return this.handlers.push({fulfilled:ei,rejected:eo,synchronous:!!ea&&ea.synchronous,runWhen:ea?ea.runWhen:null}),this.handlers.length-1}eject(ei){this.handlers[ei]&&(this.handlers[ei]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(ei){eH.forEach(this.handlers,function(eo){null!==eo&&ei(eo)})}};var eZ=InterceptorManager,eJ={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eY={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:eG,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let eQ="undefined"!=typeof window&&"undefined"!=typeof document,e0=(ec="undefined"!=typeof navigator&&navigator.product,eQ&&0>["ReactNative","NativeScript","NS"].indexOf(ec)),e1="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,e3=eQ&&window.location.href||"http://localhost";var e8={...ef,...eY};function toURLEncodedForm(ei,eo){return helpers_toFormData(ei,new e8.classes.URLSearchParams,Object.assign({visitor:function(ei,eo,ea,es){return e8.isNode&&eH.isBuffer(ei)?(this.append(eo,ei.toString("base64")),!1):es.defaultVisitor.apply(this,arguments)}},eo))}function parsePropPath(ei){return eH.matchAll(/\w+|\[(\w*)]/g,ei).map(ei=>"[]"===ei[0]?"":ei[1]||ei[0])}function arrayToObject(ei){let eo,ea;let es={},eu=Object.keys(ei),ec=eu.length;for(eo=0;eo<ec;eo++)es[ea=eu[eo]]=ei[ea];return es}var helpers_formDataToJSON=function(ei){function buildPath(ei,eo,ea,es){let eu=ei[es++];if("__proto__"===eu)return!0;let ec=Number.isFinite(+eu),ed=es>=ei.length;if(eu=!eu&&eH.isArray(ea)?ea.length:eu,ed)return eH.hasOwnProp(ea,eu)?ea[eu]=[ea[eu],eo]:ea[eu]=eo,!ec;ea[eu]&&eH.isObject(ea[eu])||(ea[eu]=[]);let ef=buildPath(ei,eo,ea[eu],es);return ef&&eH.isArray(ea[eu])&&(ea[eu]=arrayToObject(ea[eu])),!ec}if(eH.isFormData(ei)&&eH.isFunction(ei.entries)){let eo={};return eH.forEachEntry(ei,(ei,ea)=>{buildPath(parsePropPath(ei),ea,eo,0)}),eo}return null};function stringifySafely(ei,eo,ea){if(eH.isString(ei))try{return(eo||JSON.parse)(ei),eH.trim(ei)}catch(ei){if("SyntaxError"!==ei.name)throw ei}return(ea||JSON.stringify)(ei)}let e6={transitional:eJ,adapter:["xhr","http","fetch"],transformRequest:[function(ei,eo){let ea;let es=eo.getContentType()||"",eu=es.indexOf("application/json")>-1,ec=eH.isObject(ei);ec&&eH.isHTMLForm(ei)&&(ei=new FormData(ei));let ed=eH.isFormData(ei);if(ed)return eu?JSON.stringify(helpers_formDataToJSON(ei)):ei;if(eH.isArrayBuffer(ei)||eH.isBuffer(ei)||eH.isStream(ei)||eH.isFile(ei)||eH.isBlob(ei)||eH.isReadableStream(ei))return ei;if(eH.isArrayBufferView(ei))return ei.buffer;if(eH.isURLSearchParams(ei))return eo.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),ei.toString();if(ec){if(es.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(ei,this.formSerializer).toString();if((ea=eH.isFileList(ei))||es.indexOf("multipart/form-data")>-1){let eo=this.env&&this.env.FormData;return helpers_toFormData(ea?{"files[]":ei}:ei,eo&&new eo,this.formSerializer)}}return ec||eu?(eo.setContentType("application/json",!1),stringifySafely(ei)):ei}],transformResponse:[function(ei){let eo=this.transitional||e6.transitional,ea=eo&&eo.forcedJSONParsing,es="json"===this.responseType;if(eH.isResponse(ei)||eH.isReadableStream(ei))return ei;if(ei&&eH.isString(ei)&&(ea&&!this.responseType||es)){let ea=eo&&eo.silentJSONParsing,eu=!ea&&es;try{return JSON.parse(ei)}catch(ei){if(eu){if("SyntaxError"===ei.name)throw eX.from(ei,eX.ERR_BAD_RESPONSE,this,null,this.response);throw ei}}}return ei}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:e8.classes.FormData,Blob:e8.classes.Blob},validateStatus:function(ei){return ei>=200&&ei<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};eH.forEach(["delete","get","head","post","put","patch"],ei=>{e6.headers[ei]={}});var e5=e6;let e4=eH.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var parseHeaders=ei=>{let eo,ea,es;let eu={};return ei&&ei.split("\n").forEach(function(ei){es=ei.indexOf(":"),eo=ei.substring(0,es).trim().toLowerCase(),ea=ei.substring(es+1).trim(),!eo||eu[eo]&&e4[eo]||("set-cookie"===eo?eu[eo]?eu[eo].push(ea):eu[eo]=[ea]:eu[eo]=eu[eo]?eu[eo]+", "+ea:ea)}),eu};let e7=Symbol("internals");function normalizeHeader(ei){return ei&&String(ei).trim().toLowerCase()}function normalizeValue(ei){return!1===ei||null==ei?ei:eH.isArray(ei)?ei.map(normalizeValue):String(ei)}function parseTokens(ei){let eo;let ea=Object.create(null),es=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;eo=es.exec(ei);)ea[eo[1]]=eo[2];return ea}let isValidHeaderName=ei=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(ei.trim());function matchHeaderValue(ei,eo,ea,es,eu){if(eH.isFunction(es))return es.call(this,eo,ea);if(eu&&(eo=ea),eH.isString(eo)){if(eH.isString(es))return -1!==eo.indexOf(es);if(eH.isRegExp(es))return es.test(eo)}}function formatHeader(ei){return ei.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(ei,eo,ea)=>eo.toUpperCase()+ea)}function buildAccessors(ei,eo){let ea=eH.toCamelCase(" "+eo);["get","set","has"].forEach(es=>{Object.defineProperty(ei,es+ea,{value:function(ei,ea,eu){return this[es].call(this,eo,ei,ea,eu)},configurable:!0})})}let AxiosHeaders=class AxiosHeaders{constructor(ei){ei&&this.set(ei)}set(ei,eo,ea){let es=this;function setHeader(ei,eo,ea){let eu=normalizeHeader(eo);if(!eu)throw Error("header name must be a non-empty string");let ec=eH.findKey(es,eu);ec&&void 0!==es[ec]&&!0!==ea&&(void 0!==ea||!1===es[ec])||(es[ec||eo]=normalizeValue(ei))}let setHeaders=(ei,eo)=>eH.forEach(ei,(ei,ea)=>setHeader(ei,ea,eo));if(eH.isPlainObject(ei)||ei instanceof this.constructor)setHeaders(ei,eo);else if(eH.isString(ei)&&(ei=ei.trim())&&!isValidHeaderName(ei))setHeaders(parseHeaders(ei),eo);else if(eH.isHeaders(ei))for(let[eo,es]of ei.entries())setHeader(es,eo,ea);else null!=ei&&setHeader(eo,ei,ea);return this}get(ei,eo){if(ei=normalizeHeader(ei)){let ea=eH.findKey(this,ei);if(ea){let ei=this[ea];if(!eo)return ei;if(!0===eo)return parseTokens(ei);if(eH.isFunction(eo))return eo.call(this,ei,ea);if(eH.isRegExp(eo))return eo.exec(ei);throw TypeError("parser must be boolean|regexp|function")}}}has(ei,eo){if(ei=normalizeHeader(ei)){let ea=eH.findKey(this,ei);return!!(ea&&void 0!==this[ea]&&(!eo||matchHeaderValue(this,this[ea],ea,eo)))}return!1}delete(ei,eo){let ea=this,es=!1;function deleteHeader(ei){if(ei=normalizeHeader(ei)){let eu=eH.findKey(ea,ei);eu&&(!eo||matchHeaderValue(ea,ea[eu],eu,eo))&&(delete ea[eu],es=!0)}}return eH.isArray(ei)?ei.forEach(deleteHeader):deleteHeader(ei),es}clear(ei){let eo=Object.keys(this),ea=eo.length,es=!1;for(;ea--;){let eu=eo[ea];(!ei||matchHeaderValue(this,this[eu],eu,ei,!0))&&(delete this[eu],es=!0)}return es}normalize(ei){let eo=this,ea={};return eH.forEach(this,(es,eu)=>{let ec=eH.findKey(ea,eu);if(ec){eo[ec]=normalizeValue(es),delete eo[eu];return}let ed=ei?formatHeader(eu):String(eu).trim();ed!==eu&&delete eo[eu],eo[ed]=normalizeValue(es),ea[ed]=!0}),this}concat(...ei){return this.constructor.concat(this,...ei)}toJSON(ei){let eo=Object.create(null);return eH.forEach(this,(ea,es)=>{null!=ea&&!1!==ea&&(eo[es]=ei&&eH.isArray(ea)?ea.join(", "):ea)}),eo}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([ei,eo])=>ei+": "+eo).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(ei){return ei instanceof this?ei:new this(ei)}static concat(ei,...eo){let ea=new this(ei);return eo.forEach(ei=>ea.set(ei)),ea}static accessor(ei){let eo=this[e7]=this[e7]={accessors:{}},ea=eo.accessors,es=this.prototype;function defineAccessor(ei){let eo=normalizeHeader(ei);ea[eo]||(buildAccessors(es,ei),ea[eo]=!0)}return eH.isArray(ei)?ei.forEach(defineAccessor):defineAccessor(ei),this}};AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),eH.reduceDescriptors(AxiosHeaders.prototype,({value:ei},eo)=>{let ea=eo[0].toUpperCase()+eo.slice(1);return{get:()=>ei,set(ei){this[ea]=ei}}}),eH.freezeMethods(AxiosHeaders);var e9=AxiosHeaders;function transformData(ei,eo){let ea=this||e5,es=eo||ea,eu=e9.from(es.headers),ec=es.data;return eH.forEach(ei,function(ei){ec=ei.call(ea,ec,eu.normalize(),eo?eo.status:void 0)}),eu.normalize(),ec}function isCancel(ei){return!!(ei&&ei.__CANCEL__)}function CanceledError(ei,eo,ea){eX.call(this,null==ei?"canceled":ei,eX.ERR_CANCELED,eo,ea),this.name="CanceledError"}eH.inherits(CanceledError,eX,{__CANCEL__:!0});var tr=CanceledError;function settle(ei,eo,ea){let es=ea.config.validateStatus;!ea.status||!es||es(ea.status)?ei(ea):eo(new eX("Request failed with status code "+ea.status,[eX.ERR_BAD_REQUEST,eX.ERR_BAD_RESPONSE][Math.floor(ea.status/100)-4],ea.config,ea.request,ea))}function parseProtocol(ei){let eo=/^([-+\w]{1,25})(:?\/\/|:)/.exec(ei);return eo&&eo[1]||""}var helpers_speedometer=function(ei,eo){let ea;ei=ei||10;let es=Array(ei),eu=Array(ei),ec=0,ed=0;return eo=void 0!==eo?eo:1e3,function(ef){let eh=Date.now(),ep=eu[ed];ea||(ea=eh),es[ec]=ef,eu[ec]=eh;let em=ed,eg=0;for(;em!==ec;)eg+=es[em++],em%=ei;if((ec=(ec+1)%ei)===ed&&(ed=(ed+1)%ei),eh-ea<eo)return;let eb=ep&&eh-ep;return eb?Math.round(1e3*eg/eb):void 0}},helpers_throttle=function(ei,eo){let ea=0,es=1e3/eo,eu=null;return function(){let eo=this===!0,ec=Date.now();if(eo||ec-ea>es)return eu&&(clearTimeout(eu),eu=null),ea=ec,ei.apply(null,arguments);eu||(eu=setTimeout(()=>(eu=null,ea=Date.now(),ei.apply(null,arguments)),es-(ec-ea)))}},progressEventReducer=(ei,eo,ea=3)=>{let es=0,eu=helpers_speedometer(50,250);return helpers_throttle(ea=>{let ec=ea.loaded,ed=ea.lengthComputable?ea.total:void 0,ef=ec-es,eh=eu(ef),ep=ec<=ed;es=ec;let em={loaded:ec,total:ed,progress:ed?ec/ed:void 0,bytes:ef,rate:eh||void 0,estimated:eh&&ed&&ep?(ed-ec)/eh:void 0,event:ea,lengthComputable:null!=ed};em[eo?"download":"upload"]=!0,ei(em)},ea)},tn=e8.hasStandardBrowserEnv?function(){let ei;let eo=/(msie|trident)/i.test(navigator.userAgent),ea=document.createElement("a");function resolveURL(ei){let es=ei;return eo&&(ea.setAttribute("href",es),es=ea.href),ea.setAttribute("href",es),{href:ea.href,protocol:ea.protocol?ea.protocol.replace(/:$/,""):"",host:ea.host,search:ea.search?ea.search.replace(/^\?/,""):"",hash:ea.hash?ea.hash.replace(/^#/,""):"",hostname:ea.hostname,port:ea.port,pathname:"/"===ea.pathname.charAt(0)?ea.pathname:"/"+ea.pathname}}return ei=resolveURL(window.location.href),function(eo){let ea=eH.isString(eo)?resolveURL(eo):eo;return ea.protocol===ei.protocol&&ea.host===ei.host}}():function(){return function(){return!0}}(),ti=e8.hasStandardBrowserEnv?{write(ei,eo,ea,es,eu,ec){let ed=[ei+"="+encodeURIComponent(eo)];eH.isNumber(ea)&&ed.push("expires="+new Date(ea).toGMTString()),eH.isString(es)&&ed.push("path="+es),eH.isString(eu)&&ed.push("domain="+eu),!0===ec&&ed.push("secure"),document.cookie=ed.join("; ")},read(ei){let eo=document.cookie.match(RegExp("(^|;\\s*)("+ei+")=([^;]*)"));return eo?decodeURIComponent(eo[3]):null},remove(ei){this.write(ei,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function isAbsoluteURL(ei){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(ei)}function combineURLs(ei,eo){return eo?ei.replace(/\/?\/$/,"")+"/"+eo.replace(/^\/+/,""):ei}function buildFullPath(ei,eo){return ei&&!isAbsoluteURL(eo)?combineURLs(ei,eo):eo}let headersToObject=ei=>ei instanceof e9?{...ei}:ei;function mergeConfig(ei,eo){eo=eo||{};let ea={};function getMergedValue(ei,eo,ea){return eH.isPlainObject(ei)&&eH.isPlainObject(eo)?eH.merge.call({caseless:ea},ei,eo):eH.isPlainObject(eo)?eH.merge({},eo):eH.isArray(eo)?eo.slice():eo}function mergeDeepProperties(ei,eo,ea){return eH.isUndefined(eo)?eH.isUndefined(ei)?void 0:getMergedValue(void 0,ei,ea):getMergedValue(ei,eo,ea)}function valueFromConfig2(ei,eo){if(!eH.isUndefined(eo))return getMergedValue(void 0,eo)}function defaultToConfig2(ei,eo){return eH.isUndefined(eo)?eH.isUndefined(ei)?void 0:getMergedValue(void 0,ei):getMergedValue(void 0,eo)}function mergeDirectKeys(ea,es,eu){return eu in eo?getMergedValue(ea,es):eu in ei?getMergedValue(void 0,ea):void 0}let es={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(ei,eo)=>mergeDeepProperties(headersToObject(ei),headersToObject(eo),!0)};return eH.forEach(Object.keys(Object.assign({},ei,eo)),function(eu){let ec=es[eu]||mergeDeepProperties,ed=ec(ei[eu],eo[eu],eu);eH.isUndefined(ed)&&ec!==mergeDirectKeys||(ea[eu]=ed)}),ea}var resolveConfig=ei=>{let eo;let ea=mergeConfig({},ei),{data:es,withXSRFToken:eu,xsrfHeaderName:ec,xsrfCookieName:ed,headers:ef,auth:eh}=ea;if(ea.headers=ef=e9.from(ef),ea.url=buildURL(buildFullPath(ea.baseURL,ea.url),ei.params,ei.paramsSerializer),eh&&ef.set("Authorization","Basic "+btoa((eh.username||"")+":"+(eh.password?unescape(encodeURIComponent(eh.password)):""))),eH.isFormData(es)){if(e8.hasStandardBrowserEnv||e8.hasStandardBrowserWebWorkerEnv)ef.setContentType(void 0);else if(!1!==(eo=ef.getContentType())){let[ei,...ea]=eo?eo.split(";").map(ei=>ei.trim()).filter(Boolean):[];ef.setContentType([ei||"multipart/form-data",...ea].join("; "))}}if(e8.hasStandardBrowserEnv&&(eu&&eH.isFunction(eu)&&(eu=eu(ea)),eu||!1!==eu&&tn(ea.url))){let ei=ec&&ed&&ti.read(ed);ei&&ef.set(ec,ei)}return ea};let ta="undefined"!=typeof XMLHttpRequest;var ts=ta&&function(ei){return new Promise(function(eo,ea){let es;let eu=resolveConfig(ei),ec=eu.data,ed=e9.from(eu.headers).normalize(),{responseType:ef}=eu;function done(){eu.cancelToken&&eu.cancelToken.unsubscribe(es),eu.signal&&eu.signal.removeEventListener("abort",es)}let eh=new XMLHttpRequest;function onloadend(){if(!eh)return;let es=e9.from("getAllResponseHeaders"in eh&&eh.getAllResponseHeaders()),eu=ef&&"text"!==ef&&"json"!==ef?eh.response:eh.responseText,ec={data:eu,status:eh.status,statusText:eh.statusText,headers:es,config:ei,request:eh};settle(function(ei){eo(ei),done()},function(ei){ea(ei),done()},ec),eh=null}eh.open(eu.method.toUpperCase(),eu.url,!0),eh.timeout=eu.timeout,"onloadend"in eh?eh.onloadend=onloadend:eh.onreadystatechange=function(){eh&&4===eh.readyState&&(0!==eh.status||eh.responseURL&&0===eh.responseURL.indexOf("file:"))&&setTimeout(onloadend)},eh.onabort=function(){eh&&(ea(new eX("Request aborted",eX.ECONNABORTED,eu,eh)),eh=null)},eh.onerror=function(){ea(new eX("Network Error",eX.ERR_NETWORK,eu,eh)),eh=null},eh.ontimeout=function(){let ei=eu.timeout?"timeout of "+eu.timeout+"ms exceeded":"timeout exceeded",eo=eu.transitional||eJ;eu.timeoutErrorMessage&&(ei=eu.timeoutErrorMessage),ea(new eX(ei,eo.clarifyTimeoutError?eX.ETIMEDOUT:eX.ECONNABORTED,eu,eh)),eh=null},void 0===ec&&ed.setContentType(null),"setRequestHeader"in eh&&eH.forEach(ed.toJSON(),function(ei,eo){eh.setRequestHeader(eo,ei)}),eH.isUndefined(eu.withCredentials)||(eh.withCredentials=!!eu.withCredentials),ef&&"json"!==ef&&(eh.responseType=eu.responseType),"function"==typeof eu.onDownloadProgress&&eh.addEventListener("progress",progressEventReducer(eu.onDownloadProgress,!0)),"function"==typeof eu.onUploadProgress&&eh.upload&&eh.upload.addEventListener("progress",progressEventReducer(eu.onUploadProgress)),(eu.cancelToken||eu.signal)&&(es=eo=>{eh&&(ea(!eo||eo.type?new tr(null,ei,eh):eo),eh.abort(),eh=null)},eu.cancelToken&&eu.cancelToken.subscribe(es),eu.signal&&(eu.signal.aborted?es():eu.signal.addEventListener("abort",es)));let ep=parseProtocol(eu.url);if(ep&&-1===e8.protocols.indexOf(ep)){ea(new eX("Unsupported protocol "+ep+":",eX.ERR_BAD_REQUEST,ei));return}eh.send(ec||null)})};let composeSignals=(ei,eo)=>{let ea,es=new AbortController,onabort=function(ei){if(!ea){ea=!0,unsubscribe();let eo=ei instanceof Error?ei:this.reason;es.abort(eo instanceof eX?eo:new tr(eo instanceof Error?eo.message:eo))}},eu=eo&&setTimeout(()=>{onabort(new eX(`timeout ${eo} of ms exceeded`,eX.ETIMEDOUT))},eo),unsubscribe=()=>{ei&&(eu&&clearTimeout(eu),eu=null,ei.forEach(ei=>{ei&&(ei.removeEventListener?ei.removeEventListener("abort",onabort):ei.unsubscribe(onabort))}),ei=null)};ei.forEach(ei=>ei&&ei.addEventListener&&ei.addEventListener("abort",onabort));let{signal:ec}=es;return ec.unsubscribe=unsubscribe,[ec,()=>{eu&&clearTimeout(eu),eu=null}]};var tl=composeSignals;let streamChunk=function*(ei,eo){let ea,es=ei.byteLength;if(!eo||es<eo){yield ei;return}let eu=0;for(;eu<es;)ea=eu+eo,yield ei.slice(eu,ea),eu=ea},readBytes=async function*(ei,eo,ea){for await(let es of ei)yield*streamChunk(ArrayBuffer.isView(es)?es:await ea(String(es)),eo)},trackStream=(ei,eo,ea,es,eu)=>{let ec=readBytes(ei,eo,eu),ed=0;return new ReadableStream({type:"bytes",async pull(ei){let{done:eo,value:eu}=await ec.next();if(eo){ei.close(),es();return}let ef=eu.byteLength;ea&&ea(ed+=ef),ei.enqueue(new Uint8Array(eu))},cancel:ei=>(es(ei),ec.return())},{highWaterMark:2})},fetchProgressDecorator=(ei,eo)=>{let ea=null!=ei;return es=>setTimeout(()=>eo({lengthComputable:ea,total:ei,loaded:es}))},tu="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,tc=tu&&"function"==typeof ReadableStream,td=tu&&("function"==typeof TextEncoder?(ed=new TextEncoder,ei=>ed.encode(ei)):async ei=>new Uint8Array(await new Response(ei).arrayBuffer())),tf=tc&&(()=>{let ei=!1,eo=new Request(e8.origin,{body:new ReadableStream,method:"POST",get duplex(){return ei=!0,"half"}}).headers.has("Content-Type");return ei&&!eo})(),th=65536,tp=tc&&!!(()=>{try{return eH.isReadableStream(new Response("").body)}catch(ei){}})(),tm={stream:tp&&(ei=>ei.body)};tu&&(ei=>{["text","arrayBuffer","blob","formData","stream"].forEach(eo=>{tm[eo]||(tm[eo]=eH.isFunction(ei[eo])?ei=>ei[eo]():(ei,ea)=>{throw new eX(`Response type '${eo}' is not supported`,eX.ERR_NOT_SUPPORT,ea)})})})(new Response);let getBodyLength=async ei=>null==ei?0:eH.isBlob(ei)?ei.size:eH.isSpecCompliantForm(ei)?(await new Request(ei).arrayBuffer()).byteLength:eH.isArrayBufferView(ei)?ei.byteLength:(eH.isURLSearchParams(ei)&&(ei+=""),eH.isString(ei))?(await td(ei)).byteLength:void 0,resolveBodyLength=async(ei,eo)=>{let ea=eH.toFiniteNumber(ei.getContentLength());return null==ea?getBodyLength(eo):ea};var tg=tu&&(async ei=>{let eo,ea,es,{url:eu,method:ec,data:ed,signal:ef,cancelToken:eh,timeout:ep,onDownloadProgress:em,onUploadProgress:eg,responseType:eb,headers:ey,withCredentials:ew="same-origin",fetchOptions:ex}=resolveConfig(ei);eb=eb?(eb+"").toLowerCase():"text";let[eP,eS]=ef||eh||ep?tl([ef,eh],ep):[],onFinish=()=>{eo||setTimeout(()=>{eP&&eP.unsubscribe()}),eo=!0};try{if(eg&&tf&&"get"!==ec&&"head"!==ec&&0!==(es=await resolveBodyLength(ey,ed))){let ei,eo=new Request(eu,{method:"POST",body:ed,duplex:"half"});eH.isFormData(ed)&&(ei=eo.headers.get("content-type"))&&ey.setContentType(ei),eo.body&&(ed=trackStream(eo.body,th,fetchProgressDecorator(es,progressEventReducer(eg)),null,td))}eH.isString(ew)||(ew=ew?"cors":"omit"),ea=new Request(eu,{...ex,signal:eP,method:ec.toUpperCase(),headers:ey.normalize().toJSON(),body:ed,duplex:"half",withCredentials:ew});let eo=await fetch(ea),ef=tp&&("stream"===eb||"response"===eb);if(tp&&(em||ef)){let ei={};["status","statusText","headers"].forEach(ea=>{ei[ea]=eo[ea]});let ea=eH.toFiniteNumber(eo.headers.get("content-length"));eo=new Response(trackStream(eo.body,th,em&&fetchProgressDecorator(ea,progressEventReducer(em,!0)),ef&&onFinish,td),ei)}eb=eb||"text";let eh=await tm[eH.findKey(tm,eb)||"text"](eo,ei);return ef||onFinish(),eS&&eS(),await new Promise((es,eu)=>{settle(es,eu,{data:eh,headers:e9.from(eo.headers),status:eo.status,statusText:eo.statusText,config:ei,request:ea})})}catch(eo){if(onFinish(),eo&&"TypeError"===eo.name&&/fetch/i.test(eo.message))throw Object.assign(new eX("Network Error",eX.ERR_NETWORK,ei,ea),{cause:eo.cause||eo});throw eX.from(eo,eo&&eo.code,ei,ea)}});let tb={http:eq,xhr:ts,fetch:tg};eH.forEach(tb,(ei,eo)=>{if(ei){try{Object.defineProperty(ei,"name",{value:eo})}catch(ei){}Object.defineProperty(ei,"adapterName",{value:eo})}});let renderReason=ei=>`- ${ei}`,isResolvedHandle=ei=>eH.isFunction(ei)||null===ei||!1===ei;var ty={getAdapter:ei=>{let eo,ea;ei=eH.isArray(ei)?ei:[ei];let{length:es}=ei,eu={};for(let ec=0;ec<es;ec++){let es;if(ea=eo=ei[ec],!isResolvedHandle(eo)&&void 0===(ea=tb[(es=String(eo)).toLowerCase()]))throw new eX(`Unknown adapter '${es}'`);if(ea)break;eu[es||"#"+ec]=ea}if(!ea){let ei=Object.entries(eu).map(([ei,eo])=>`adapter ${ei} `+(!1===eo?"is not supported by the environment":"is not available in the build")),eo=es?ei.length>1?"since :\n"+ei.map(renderReason).join("\n"):" "+renderReason(ei[0]):"as no adapter specified";throw new eX("There is no suitable adapter to dispatch the request "+eo,"ERR_NOT_SUPPORT")}return ea},adapters:tb};function throwIfCancellationRequested(ei){if(ei.cancelToken&&ei.cancelToken.throwIfRequested(),ei.signal&&ei.signal.aborted)throw new tr(null,ei)}function dispatchRequest(ei){throwIfCancellationRequested(ei),ei.headers=e9.from(ei.headers),ei.data=transformData.call(ei,ei.transformRequest),-1!==["post","put","patch"].indexOf(ei.method)&&ei.headers.setContentType("application/x-www-form-urlencoded",!1);let eo=ty.getAdapter(ei.adapter||e5.adapter);return eo(ei).then(function(eo){return throwIfCancellationRequested(ei),eo.data=transformData.call(ei,ei.transformResponse,eo),eo.headers=e9.from(eo.headers),eo},function(eo){return!isCancel(eo)&&(throwIfCancellationRequested(ei),eo&&eo.response&&(eo.response.data=transformData.call(ei,ei.transformResponse,eo.response),eo.response.headers=e9.from(eo.response.headers))),Promise.reject(eo)})}let tw="1.7.2",tx={};["object","boolean","number","function","string","symbol"].forEach((ei,eo)=>{tx[ei]=function(ea){return typeof ea===ei||"a"+(eo<1?"n ":" ")+ei}});let tP={};tx.transitional=function(ei,eo,ea){function formatMessage(ei,eo){return"[Axios v"+tw+"] Transitional option '"+ei+"'"+eo+(ea?". "+ea:"")}return(ea,es,eu)=>{if(!1===ei)throw new eX(formatMessage(es," has been removed"+(eo?" in "+eo:"")),eX.ERR_DEPRECATED);return eo&&!tP[es]&&(tP[es]=!0,console.warn(formatMessage(es," has been deprecated since v"+eo+" and will be removed in the near future"))),!ei||ei(ea,es,eu)}};var tS={assertOptions:function(ei,eo,ea){if("object"!=typeof ei)throw new eX("options must be an object",eX.ERR_BAD_OPTION_VALUE);let es=Object.keys(ei),eu=es.length;for(;eu-- >0;){let ec=es[eu],ed=eo[ec];if(ed){let eo=ei[ec],ea=void 0===eo||ed(eo,ec,ei);if(!0!==ea)throw new eX("option "+ec+" must be "+ea,eX.ERR_BAD_OPTION_VALUE);continue}if(!0!==ea)throw new eX("Unknown option "+ec,eX.ERR_BAD_OPTION)}},validators:tx};let tE=tS.validators;let Axios=class Axios{constructor(ei){this.defaults=ei,this.interceptors={request:new eZ,response:new eZ}}async request(ei,eo){try{return await this._request(ei,eo)}catch(ei){if(ei instanceof Error){let eo;Error.captureStackTrace?Error.captureStackTrace(eo={}):eo=Error();let ea=eo.stack?eo.stack.replace(/^.+\n/,""):"";try{ei.stack?ea&&!String(ei.stack).endsWith(ea.replace(/^.+\n.+\n/,""))&&(ei.stack+="\n"+ea):ei.stack=ea}catch(ei){}}throw ei}}_request(ei,eo){let ea,es;"string"==typeof ei?(eo=eo||{}).url=ei:eo=ei||{},eo=mergeConfig(this.defaults,eo);let{transitional:eu,paramsSerializer:ec,headers:ed}=eo;void 0!==eu&&tS.assertOptions(eu,{silentJSONParsing:tE.transitional(tE.boolean),forcedJSONParsing:tE.transitional(tE.boolean),clarifyTimeoutError:tE.transitional(tE.boolean)},!1),null!=ec&&(eH.isFunction(ec)?eo.paramsSerializer={serialize:ec}:tS.assertOptions(ec,{encode:tE.function,serialize:tE.function},!0)),eo.method=(eo.method||this.defaults.method||"get").toLowerCase();let ef=ed&&eH.merge(ed.common,ed[eo.method]);ed&&eH.forEach(["delete","get","head","post","put","patch","common"],ei=>{delete ed[ei]}),eo.headers=e9.concat(ef,ed);let eh=[],ep=!0;this.interceptors.request.forEach(function(ei){("function"!=typeof ei.runWhen||!1!==ei.runWhen(eo))&&(ep=ep&&ei.synchronous,eh.unshift(ei.fulfilled,ei.rejected))});let em=[];this.interceptors.response.forEach(function(ei){em.push(ei.fulfilled,ei.rejected)});let eg=0;if(!ep){let ei=[dispatchRequest.bind(this),void 0];for(ei.unshift.apply(ei,eh),ei.push.apply(ei,em),es=ei.length,ea=Promise.resolve(eo);eg<es;)ea=ea.then(ei[eg++],ei[eg++]);return ea}es=eh.length;let eb=eo;for(eg=0;eg<es;){let ei=eh[eg++],eo=eh[eg++];try{eb=ei(eb)}catch(ei){eo.call(this,ei);break}}try{ea=dispatchRequest.call(this,eb)}catch(ei){return Promise.reject(ei)}for(eg=0,es=em.length;eg<es;)ea=ea.then(em[eg++],em[eg++]);return ea}getUri(ei){ei=mergeConfig(this.defaults,ei);let eo=buildFullPath(ei.baseURL,ei.url);return buildURL(eo,ei.params,ei.paramsSerializer)}};eH.forEach(["delete","get","head","options"],function(ei){Axios.prototype[ei]=function(eo,ea){return this.request(mergeConfig(ea||{},{method:ei,url:eo,data:(ea||{}).data}))}}),eH.forEach(["post","put","patch"],function(ei){function generateHTTPMethod(eo){return function(ea,es,eu){return this.request(mergeConfig(eu||{},{method:ei,headers:eo?{"Content-Type":"multipart/form-data"}:{},url:ea,data:es}))}}Axios.prototype[ei]=generateHTTPMethod(),Axios.prototype[ei+"Form"]=generateHTTPMethod(!0)});var tk=Axios;let CancelToken=class CancelToken{constructor(ei){let eo;if("function"!=typeof ei)throw TypeError("executor must be a function.");this.promise=new Promise(function(ei){eo=ei});let ea=this;this.promise.then(ei=>{if(!ea._listeners)return;let eo=ea._listeners.length;for(;eo-- >0;)ea._listeners[eo](ei);ea._listeners=null}),this.promise.then=ei=>{let eo;let es=new Promise(ei=>{ea.subscribe(ei),eo=ei}).then(ei);return es.cancel=function(){ea.unsubscribe(eo)},es},ei(function(ei,es,eu){ea.reason||(ea.reason=new tr(ei,es,eu),eo(ea.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(ei){if(this.reason){ei(this.reason);return}this._listeners?this._listeners.push(ei):this._listeners=[ei]}unsubscribe(ei){if(!this._listeners)return;let eo=this._listeners.indexOf(ei);-1!==eo&&this._listeners.splice(eo,1)}static source(){let ei;let eo=new CancelToken(function(eo){ei=eo});return{token:eo,cancel:ei}}};var tT=CancelToken;function spread(ei){return function(eo){return ei.apply(null,eo)}}function isAxiosError(ei){return eH.isObject(ei)&&!0===ei.isAxiosError}let tC={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tC).forEach(([ei,eo])=>{tC[eo]=ei});var t_=tC;function createInstance(ei){let eo=new tk(ei),ea=bind(tk.prototype.request,eo);return eH.extend(ea,tk.prototype,eo,{allOwnKeys:!0}),eH.extend(ea,eo,null,{allOwnKeys:!0}),ea.create=function(eo){return createInstance(mergeConfig(ei,eo))},ea}let tA=createInstance(e5);tA.Axios=tk,tA.CanceledError=tr,tA.CancelToken=tT,tA.isCancel=isCancel,tA.VERSION=tw,tA.toFormData=helpers_toFormData,tA.AxiosError=eX,tA.Cancel=tA.CanceledError,tA.all=function(ei){return Promise.all(ei)},tA.spread=spread,tA.isAxiosError=isAxiosError,tA.mergeConfig=mergeConfig,tA.AxiosHeaders=e9,tA.formToJSON=ei=>helpers_formDataToJSON(eH.isHTMLForm(ei)?new FormData(ei):ei),tA.getAdapter=ty.getAdapter,tA.HttpStatusCode=t_,tA.default=tA;var tO=tA},85086:function(ei,eo,ea){"use strict";ea.d(eo,{S:function(){return spring}});var es=ea(86917),eu=ea(25753),ec=ea(45487),ed=ea(24169);let ef=.001,eh=.01,ep=10,em=.05,eg=1;function findSpring({duration:ei=800,bounce:eo=.25,velocity:ea=0,mass:eu=1}){let eb,ey;(0,ec.K)(ei<=(0,es.w)(ep),"Spring duration must be 10 seconds or less");let ew=1-eo;ew=(0,ed.u)(em,eg,ew),ei=(0,ed.u)(eh,ep,(0,es.X)(ei)),ew<1?(eb=eo=>{let es=eo*ew,eu=es*ei,ec=es-ea,ed=calcAngularFreq(eo,ew),eh=Math.exp(-eu);return ef-ec/ed*eh},ey=eo=>{let es=eo*ew,eu=es*ei,ec=eu*ea+ea,ed=Math.pow(ew,2)*Math.pow(eo,2)*ei,eh=Math.exp(-eu),ep=calcAngularFreq(Math.pow(eo,2),ew),em=-eb(eo)+ef>0?-1:1;return em*((ec-ed)*eh)/ep}):(eb=eo=>{let es=Math.exp(-eo*ei),eu=(eo-ea)*ei+1;return-ef+es*eu},ey=eo=>{let es=Math.exp(-eo*ei),eu=(ea-eo)*(ei*ei);return es*eu});let ex=5/ei,eP=approximateRoot(eb,ey,ex);if(ei=(0,es.w)(ei),isNaN(eP))return{stiffness:100,damping:10,duration:ei};{let eo=Math.pow(eP,2)*eu;return{stiffness:eo,damping:2*ew*Math.sqrt(eu*eo),duration:ei}}}let eb=12;function approximateRoot(ei,eo,ea){let es=ea;for(let ea=1;ea<eb;ea++)es-=ei(es)/eo(es);return es}function calcAngularFreq(ei,eo){return ei*Math.sqrt(1-eo*eo)}let ey=["duration","bounce"],ew=["stiffness","damping","mass"];function isSpringType(ei,eo){return eo.some(eo=>void 0!==ei[eo])}function getSpringOptions(ei){let eo={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...ei};if(!isSpringType(ei,ew)&&isSpringType(ei,ey)){let ea=findSpring(ei);(eo={...eo,...ea,mass:1}).isResolvedFromDuration=!0}return eo}function spring({keyframes:ei,restDelta:eo,restSpeed:ea,...ec}){let ed;let ef=ei[0],eh=ei[ei.length-1],ep={done:!1,value:ef},{stiffness:em,damping:eg,mass:eb,duration:ey,velocity:ew,isResolvedFromDuration:ex}=getSpringOptions({...ec,velocity:-(0,es.X)(ec.velocity||0)}),eP=ew||0,eS=eg/(2*Math.sqrt(em*eb)),eE=eh-ef,ek=(0,es.X)(Math.sqrt(em/eb)),eT=5>Math.abs(eE);if(ea||(ea=eT?.01:2),eo||(eo=eT?.005:.5),eS<1){let ei=calcAngularFreq(ek,eS);ed=eo=>{let ea=Math.exp(-eS*ek*eo);return eh-ea*((eP+eS*ek*eE)/ei*Math.sin(ei*eo)+eE*Math.cos(ei*eo))}}else if(1===eS)ed=ei=>eh-Math.exp(-ek*ei)*(eE+(eP+ek*eE)*ei);else{let ei=ek*Math.sqrt(eS*eS-1);ed=eo=>{let ea=Math.exp(-eS*ek*eo),es=Math.min(ei*eo,300);return eh-ea*((eP+eS*ek*eE)*Math.sinh(es)+ei*eE*Math.cosh(es))/ei}}return{calculatedDuration:ex&&ey||null,next:ei=>{let es=ed(ei);if(ex)ep.done=ei>=ey;else{let ec=eP;0!==ei&&(ec=eS<1?(0,eu.P)(ed,ei,es):0);let ef=Math.abs(ec)<=ea,em=Math.abs(eh-es)<=eo;ep.done=ef&&em}return ep.value=ep.done?eh:es,ep}}}},42284:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return es},i:function(){return calcGeneratorDuration}});let es=2e4;function calcGeneratorDuration(ei){let eo=0,ea=50,eu=ei.next(eo);for(;!eu.done&&eo<es;)eo+=ea,eu=ei.next(eo);return eo>=es?1/0:eo}},25753:function(ei,eo,ea){"use strict";ea.d(eo,{P:function(){return calcGeneratorVelocity}});var es=ea(3038);let eu=5;function calcGeneratorVelocity(ei,eo,ea){let ec=Math.max(eo-eu,0);return(0,es.R)(ea-ei(ec),eo-ec)}},67461:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return animateMotionValue}});var es=ea(86917),eu=ea(94714);let ec={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=ei=>({type:"spring",stiffness:550,damping:0===ei?2*Math.sqrt(550):30,restSpeed:10}),ed={type:"keyframes",duration:.8},ef={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(ei,{keyframes:eo})=>eo.length>2?ed:eu.G.has(ei)?ei.startsWith("scale")?criticallyDampedSpring(eo[1]):ec:ef;var eh=ea(31056),ep=ea(22081);let em={current:!1},isNotNull=ei=>null!==ei;function getFinalKeyframe(ei,{repeat:eo,repeatType:ea="loop"},es){let eu=ei.filter(isNotNull),ec=eo&&"loop"!==ea&&eo%2==1?0:eu.length-1;return ec&&void 0!==es?es:eu[ec]}var eg=ea(26166),eb=ea(1117),ey=ea(20204),ew=ea(4522),ex=ea(81662),eP=ea(41568),eS=ea(45487),eE=ea(51550);let isAnimatable=(ei,eo)=>"zIndex"!==eo&&!!("number"==typeof ei||Array.isArray(ei)||"string"==typeof ei&&(eE.P.test(ei)||"0"===ei)&&!ei.startsWith("url("));function hasKeyframesChanged(ei){let eo=ei[0];if(1===ei.length)return!0;for(let ea=0;ea<ei.length;ea++)if(ei[ea]!==eo)return!0}function canAnimate(ei,eo,ea,es){let eu=ei[0];if(null===eu)return!1;let ec=ei[ei.length-1],ed=isAnimatable(eu,eo),ef=isAnimatable(ec,eo);return(0,eS.K)(ed===ef,`You are trying to animate ${eo} from "${eu}" to "${ec}". ${eu} is not an animatable value - to enable this animation set ${eu} to a value animatable to ${ec} via the \`style\` property.`),!!ed&&!!ef&&(hasKeyframesChanged(ei)||"spring"===ea&&es)}let BaseAnimation=class BaseAnimation{constructor({autoplay:ei=!0,delay:eo=0,type:ea="keyframes",repeat:es=0,repeatDelay:eu=0,repeatType:ec="loop",...ed}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:ei,delay:eo,type:ea,repeat:es,repeatDelay:eu,repeatType:ec,...ed},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,eP.m)(),this._resolved}onKeyframesResolved(ei,eo){this.hasAttemptedResolve=!0;let{name:ea,type:es,velocity:eu,delay:ec,onComplete:ed,onUpdate:ef,isGenerator:eh}=this.options;if(!eh&&!canAnimate(ei,ea,es,eu)){if(em.current||!ec){null==ef||ef(getFinalKeyframe(ei,this.options,eo)),null==ed||ed(),this.resolveFinishedPromise();return}this.options.duration=0}let ep=this.initPlayback(ei,eo);!1!==ep&&(this._resolved={keyframes:ei,finalKeyframe:eo,...ep},this.onPostResolved())}onPostResolved(){}then(ei,eo){return this.currentFinishedPromise.then(ei,eo)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(ei=>{this.resolveFinishedPromise=ei})}};var ek=ea(85086),eT=ea(25753);function inertia({keyframes:ei,velocity:eo=0,power:ea=.8,timeConstant:es=325,bounceDamping:eu=10,bounceStiffness:ec=500,modifyTarget:ed,min:ef,max:eh,restDelta:ep=.5,restSpeed:em}){let eg,eb;let ey=ei[0],ew={done:!1,value:ey},isOutOfBounds=ei=>void 0!==ef&&ei<ef||void 0!==eh&&ei>eh,nearestBoundary=ei=>void 0===ef?eh:void 0===eh?ef:Math.abs(ef-ei)<Math.abs(eh-ei)?ef:eh,ex=ea*eo,eP=ey+ex,eS=void 0===ed?eP:ed(eP);eS!==eP&&(ex=eS-ey);let calcDelta=ei=>-ex*Math.exp(-ei/es),calcLatest=ei=>eS+calcDelta(ei),applyFriction=ei=>{let eo=calcDelta(ei),ea=calcLatest(ei);ew.done=Math.abs(eo)<=ep,ew.value=ew.done?eS:ea},checkCatchBoundary=ei=>{isOutOfBounds(ew.value)&&(eg=ei,eb=(0,ek.S)({keyframes:[ew.value,nearestBoundary(ew.value)],velocity:(0,eT.P)(calcLatest,ei,ew.value),damping:eu,stiffness:ec,restDelta:ep,restSpeed:em}))};return checkCatchBoundary(0),{calculatedDuration:null,next:ei=>{let eo=!1;return(eb||void 0!==eg||(eo=!0,applyFriction(ei),checkCatchBoundary(ei)),void 0!==eg&&ei>=eg)?eb.next(ei-eg):(eo||applyFriction(ei),ew)}}}let calcBezier=(ei,eo,ea)=>(((1-3*ea+3*eo)*ei+(3*ea-6*eo))*ei+3*eo)*ei,eC=1e-7,e_=12;function binarySubdivide(ei,eo,ea,es,eu){let ec,ed;let ef=0;do(ec=calcBezier(ed=eo+(ea-eo)/2,es,eu)-ei)>0?ea=ed:eo=ed;while(Math.abs(ec)>eC&&++ef<e_);return ed}function cubicBezier(ei,eo,ea,es){if(ei===eo&&ea===es)return ex.Z;let getTForX=eo=>binarySubdivide(eo,0,1,ei,ea);return ei=>0===ei||1===ei?ei:calcBezier(getTForX(ei),eo,es)}let eA=cubicBezier(.42,0,1,1),eO=cubicBezier(0,0,.58,1),eM=cubicBezier(.42,0,.58,1);var eR=ea(43338),ej=ea(27255),eN=ea(90415),eL=ea(75129);let eD=cubicBezier(.33,1.53,.69,.99),eI=(0,eL.M)(eD),ez=(0,eN.o)(eI),anticipate=ei=>(ei*=2)<1?.5*eI(ei):.5*(2-Math.pow(2,-10*(ei-1))),eB={linear:ex.Z,easeIn:eA,easeInOut:eM,easeOut:eO,circIn:ej.Z7,circInOut:ej.X7,circOut:ej.Bn,backIn:eI,backInOut:ez,backOut:eD,anticipate:anticipate},easingDefinitionToFunction=ei=>{if(Array.isArray(ei)){(0,eS.k)(4===ei.length,"Cubic bezier arrays must contain four numerical values.");let[eo,ea,es,eu]=ei;return cubicBezier(eo,ea,es,eu)}return"string"==typeof ei?((0,eS.k)(void 0!==eB[ei],`Invalid easing type '${ei}'`),eB[ei]):ei};var eF=ea(71884),eH=ea(60599);function convertOffsetToTimes(ei,eo){return ei.map(ei=>ei*eo)}function defaultEasing(ei,eo){return ei.map(()=>eo||eM).splice(0,ei.length-1)}function keyframes({duration:ei=300,keyframes:eo,times:ea,ease:es="easeInOut"}){let eu=(0,eR.N)(es)?es.map(easingDefinitionToFunction):easingDefinitionToFunction(es),ec={done:!1,value:eo[0]},ed=convertOffsetToTimes(ea&&ea.length===eo.length?ea:(0,eH.Y)(eo),ei),ef=(0,eF.s)(ed,eo,{ease:Array.isArray(eu)?eu:defaultEasing(eo,eu)});return{calculatedDuration:ei,next:eo=>(ec.value=ef(eo),ec.done=eo>=ei,ec)}}var eU=ea(83624),eV=ea(22499),eX=ea(42284),eq=ea(24169);let frameloopDriver=ei=>{let passTimestamp=({timestamp:eo})=>ei(eo);return{start:()=>eg.Wi.update(passTimestamp,!0),stop:()=>(0,eg.Pn)(passTimestamp),now:()=>eg.frameData.isProcessing?eg.frameData.timestamp:eb.X.now()}},e$={decay:inertia,inertia:inertia,tween:keyframes,keyframes:keyframes,spring:ek.S},percentToProgress=ei=>ei/100;let MainThreadAnimation=class MainThreadAnimation extends BaseAnimation{constructor({KeyframeResolver:ei=eP.e,...eo}){super(eo),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";let{name:ea,motionValue:es,keyframes:eu}=this.options,onResolved=(ei,eo)=>this.onKeyframesResolved(ei,eo);ea&&es&&es.owner?this.resolver=es.owner.resolveKeyframes(eu,onResolved,ea,es):this.resolver=new ei(eu,onResolved,ea,es),this.resolver.scheduleResolve()}initPlayback(ei){let eo,ea;let{type:es="keyframes",repeat:eu=0,repeatDelay:ec=0,repeatType:ed,velocity:ef=0}=this.options,eh=e$[es]||keyframes;eh!==keyframes&&"number"!=typeof ei[0]&&(eo=(0,eU.z)(percentToProgress,(0,eV.C)(ei[0],ei[1])),ei=[0,100]);let ep=eh({...this.options,keyframes:ei});"mirror"===ed&&(ea=eh({...this.options,keyframes:[...ei].reverse(),velocity:-ef})),null===ep.calculatedDuration&&(ep.calculatedDuration=(0,eX.i)(ep));let{calculatedDuration:em}=ep,eg=em+ec,eb=eg*(eu+1)-ec;return{generator:ep,mirroredGenerator:ea,mapPercentToKeyframes:eo,calculatedDuration:em,resolvedDuration:eg,totalDuration:eb}}onPostResolved(){let{autoplay:ei=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&ei?this.state=this.pendingPlayState:this.pause()}tick(ei,eo=!1){let{resolved:ea}=this;if(!ea){let{keyframes:ei}=this.options;return{done:!0,value:ei[ei.length-1]}}let{finalKeyframe:es,generator:eu,mirroredGenerator:ec,mapPercentToKeyframes:ed,keyframes:ef,calculatedDuration:eh,totalDuration:ep,resolvedDuration:em}=ea;if(null===this.startTime)return eu.next(0);let{delay:eg,repeat:eb,repeatType:ey,repeatDelay:ew,onUpdate:ex}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,ei):this.speed<0&&(this.startTime=Math.min(ei-ep/this.speed,this.startTime)),eo?this.currentTime=ei:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(ei-this.startTime)*this.speed;let eP=this.currentTime-eg*(this.speed>=0?1:-1),eS=this.speed>=0?eP<0:eP>ep;this.currentTime=Math.max(eP,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=ep);let eE=this.currentTime,ek=eu;if(eb){let ei=Math.min(this.currentTime,ep)/em,eo=Math.floor(ei),ea=ei%1;!ea&&ei>=1&&(ea=1),1===ea&&eo--,eo=Math.min(eo,eb+1);let es=!!(eo%2);es&&("reverse"===ey?(ea=1-ea,ew&&(ea-=ew/em)):"mirror"===ey&&(ek=ec)),eE=(0,eq.u)(0,1,ea)*em}let eT=eS?{done:!1,value:ef[0]}:ek.next(eE);ed&&(eT.value=ed(eT.value));let{done:eC}=eT;eS||null===eh||(eC=this.speed>=0?this.currentTime>=ep:this.currentTime<=0);let e_=null===this.holdTime&&("finished"===this.state||"running"===this.state&&eC);return e_&&void 0!==es&&(eT.value=getFinalKeyframe(ef,this.options,es)),ex&&ex(eT.value),e_&&this.finish(),eT}get duration(){let{resolved:ei}=this;return ei?(0,es.X)(ei.calculatedDuration):0}get time(){return(0,es.X)(this.currentTime)}set time(ei){ei=(0,es.w)(ei),this.currentTime=ei,null!==this.holdTime||0===this.speed?this.holdTime=ei:this.driver&&(this.startTime=this.driver.now()-ei/this.speed)}get speed(){return this.playbackSpeed}set speed(ei){let eo=this.playbackSpeed!==ei;this.playbackSpeed=ei,eo&&(this.time=(0,es.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:ei=frameloopDriver,onPlay:eo}=this.options;this.driver||(this.driver=ei(ei=>this.tick(ei))),eo&&eo();let ea=this.driver.now();null!==this.holdTime?this.startTime=ea-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=ea),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var ei;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(ei=this.currentTime)&&void 0!==ei?ei:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:ei}=this.options;ei&&ei()}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:ei}=this.options;ei&&ei()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(ei){return this.startTime=0,this.tick(ei,!0)}};let isBezierDefinition=ei=>Array.isArray(ei)&&"number"==typeof ei[0];function isWaapiSupportedEasing(ei){return!!(!ei||"string"==typeof ei&&ei in eW||isBezierDefinition(ei)||Array.isArray(ei)&&ei.every(isWaapiSupportedEasing))}let cubicBezierAsString=([ei,eo,ea,es])=>`cubic-bezier(${ei}, ${eo}, ${ea}, ${es})`,eW={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasingWithDefault(ei){return mapEasingToNativeEasing(ei)||eW.easeOut}function mapEasingToNativeEasing(ei){if(ei)return isBezierDefinition(ei)?cubicBezierAsString(ei):Array.isArray(ei)?ei.map(mapEasingToNativeEasingWithDefault):eW[ei]}function animateStyle(ei,eo,ea,{delay:es=0,duration:eu=300,repeat:ec=0,repeatType:ed="loop",ease:ef,times:eh}={}){let ep={[eo]:ea};eh&&(ep.offset=eh);let em=mapEasingToNativeEasing(ef);return Array.isArray(em)&&(ep.easing=em),ei.animate(ep,{delay:es,duration:eu,easing:Array.isArray(em)?"linear":em,fill:"both",iterations:ec+1,direction:"reverse"===ed?"alternate":"normal"})}let eK=(0,ew.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),eG=new Set(["opacity","clipPath","filter","transform"]),eZ=10,eJ=2e4;function requiresPregeneratedKeyframes(ei){return"spring"===ei.type||"backgroundColor"===ei.name||!isWaapiSupportedEasing(ei.ease)}function pregenerateKeyframes(ei,eo){let ea=new MainThreadAnimation({...eo,keyframes:ei,repeat:0,delay:0,isGenerator:!0}),es={done:!1,value:ei[0]},eu=[],ec=0;for(;!es.done&&ec<eJ;)eu.push((es=ea.sample(ec)).value),ec+=eZ;return{times:void 0,keyframes:eu,duration:ec-eZ,ease:"linear"}}let AcceleratedAnimation=class AcceleratedAnimation extends BaseAnimation{constructor(ei){super(ei);let{name:eo,motionValue:ea,keyframes:es}=this.options;this.resolver=new ey.s(es,(ei,eo)=>this.onKeyframesResolved(ei,eo),eo,ea),this.resolver.scheduleResolve()}initPlayback(ei,eo){var ea;let{duration:es=300,times:eu,ease:ec,type:ed,motionValue:ef,name:eh}=this.options;if(!(null===(ea=ef.owner)||void 0===ea?void 0:ea.current))return!1;if(requiresPregeneratedKeyframes(this.options)){let{onComplete:eo,onUpdate:ea,motionValue:ef,...eh}=this.options,ep=pregenerateKeyframes(ei,eh);1===(ei=ep.keyframes).length&&(ei[1]=ei[0]),es=ep.duration,eu=ep.times,ec=ep.ease,ed="keyframes"}let ep=animateStyle(ef.owner.current,eh,ei,{...this.options,duration:es,times:eu,ease:ec});return ep.startTime=eb.X.now(),this.pendingTimeline?(ep.timeline=this.pendingTimeline,this.pendingTimeline=void 0):ep.onfinish=()=>{let{onComplete:ea}=this.options;ef.set(getFinalKeyframe(ei,this.options,eo)),ea&&ea(),this.cancel(),this.resolveFinishedPromise()},{animation:ep,duration:es,times:eu,type:ed,ease:ec,keyframes:ei}}get duration(){let{resolved:ei}=this;if(!ei)return 0;let{duration:eo}=ei;return(0,es.X)(eo)}get time(){let{resolved:ei}=this;if(!ei)return 0;let{animation:eo}=ei;return(0,es.X)(eo.currentTime||0)}set time(ei){let{resolved:eo}=this;if(!eo)return;let{animation:ea}=eo;ea.currentTime=(0,es.w)(ei)}get speed(){let{resolved:ei}=this;if(!ei)return 1;let{animation:eo}=ei;return eo.playbackRate}set speed(ei){let{resolved:eo}=this;if(!eo)return;let{animation:ea}=eo;ea.playbackRate=ei}get state(){let{resolved:ei}=this;if(!ei)return"idle";let{animation:eo}=ei;return eo.playState}attachTimeline(ei){if(this._resolved){let{resolved:eo}=this;if(!eo)return ex.Z;let{animation:ea}=eo;ea.timeline=ei,ea.onfinish=null}else this.pendingTimeline=ei;return ex.Z}play(){if(this.isStopped)return;let{resolved:ei}=this;if(!ei)return;let{animation:eo}=ei;"finished"===eo.playState&&this.updateFinishedPromise(),eo.play()}pause(){let{resolved:ei}=this;if(!ei)return;let{animation:eo}=ei;eo.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:ei}=this;if(!ei)return;let{animation:eo,keyframes:ea,duration:eu,type:ec,ease:ed,times:ef}=ei;if("idle"!==eo.playState&&"finished"!==eo.playState){if(this.time){let{motionValue:ei,onUpdate:eo,onComplete:eh,...ep}=this.options,em=new MainThreadAnimation({...ep,keyframes:ea,duration:eu,type:ec,ease:ed,times:ef,isGenerator:!0}),eg=(0,es.w)(this.time);ei.setWithVelocity(em.sample(eg-eZ).value,em.sample(eg).value,eZ)}this.cancel()}}complete(){let{resolved:ei}=this;ei&&ei.animation.finish()}cancel(){let{resolved:ei}=this;ei&&ei.animation.cancel()}static supports(ei){let{motionValue:eo,name:ea,repeatDelay:es,repeatType:eu,damping:ec,type:ed}=ei;return eK()&&ea&&eG.has(ea)&&eo&&eo.owner&&eo.owner.current instanceof HTMLElement&&!eo.owner.getProps().onUpdate&&!es&&"mirror"!==eu&&0!==ec&&"inertia"!==ed}};let animateMotionValue=(ei,eo,ea,eu={},ec,ed)=>ef=>{let eb=(0,eh.e)(eu,ei)||{},ey=eb.delay||eu.delay||0,{elapsed:ew=0}=eu;ew-=(0,es.w)(ey);let ex={keyframes:Array.isArray(ea)?ea:[null,ea],ease:"easeOut",velocity:eo.getVelocity(),...eb,delay:-ew,onUpdate:ei=>{eo.set(ei),eb.onUpdate&&eb.onUpdate(ei)},onComplete:()=>{ef(),eb.onComplete&&eb.onComplete()},name:ei,motionValue:eo,element:ed?void 0:ec};(0,eh.r)(eb)||(ex={...ex,...getDefaultTransition(ei,ex)}),ex.duration&&(ex.duration=(0,es.w)(ex.duration)),ex.repeatDelay&&(ex.repeatDelay=(0,es.w)(ex.repeatDelay)),void 0!==ex.from&&(ex.keyframes[0]=ex.from);let eP=!1;if(!1!==ex.type&&(0!==ex.duration||ex.repeatDelay)||(ex.duration=0,0!==ex.delay||(eP=!0)),(em.current||ep.c.skipAnimations)&&(eP=!0,ex.duration=0,ex.delay=0),eP&&!ed&&void 0!==eo.get()){let ei=getFinalKeyframe(ex.keyframes,eb);if(void 0!==ei){eg.Wi.update(()=>{ex.onUpdate(ei),ex.onComplete()});return}}return!ed&&AcceleratedAnimation.supports(ex)?new AcceleratedAnimation(ex):new MainThreadAnimation(ex)}},61059:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return animateSingleValue}});var es=ea(67461),eu=ea(33234),ec=ea(40406);function animateSingleValue(ei,eo,ea){let ed=(0,ec.i)(ei)?ei:(0,eu.BX)(ei);return ed.start((0,es.v)("",ed,eo,ea)),ed.animation}},45809:function(ei,eo,ea){"use strict";ea.d(eo,{w:function(){return animateTarget}});var es=ea(94714),eu=ea(68588),ec=ea(67461),ed=ea(12490),ef=ea(8715),eh=ea(33234),ep=ea(52248);function setMotionValue(ei,eo,ea){ei.hasValue(eo)?ei.getValue(eo).set(ea):ei.addValue(eo,(0,eh.BX)(ea))}function setTarget(ei,eo){let ea=(0,ep.x)(ei,eo),{transitionEnd:es={},transition:eu={},...ec}=ea||{};for(let eo in ec={...ec,...es}){let ea=(0,ef.Y)(ec[eo]);setMotionValue(ei,eo,ea)}}var em=ea(31056),eg=ea(26166);function shouldBlockAnimation({protectedKeys:ei,needsAnimating:eo},ea){let es=ei.hasOwnProperty(ea)&&!0!==eo[ea];return eo[ea]=!1,es}function animateTarget(ei,eo,{delay:ea=0,transitionOverride:ef,type:eh}={}){var ep;let{transition:eb=ei.getDefaultTransition(),transitionEnd:ey,...ew}=eo,ex=ei.getValue("willChange");ef&&(eb=ef);let eP=[],eS=eh&&ei.animationState&&ei.animationState.getState()[eh];for(let eo in ew){let ef=ei.getValue(eo,null!==(ep=ei.latestValues[eo])&&void 0!==ep?ep:null),eh=ew[eo];if(void 0===eh||eS&&shouldBlockAnimation(eS,eo))continue;let eg={delay:ea,elapsed:0,...(0,em.e)(eb||{},eo)},ey=!1;if(window.HandoffAppearAnimations){let ea=ei.getProps(),es=ea[eu.M];if(es){let ei=window.HandoffAppearAnimations(es,eo);null!==ei&&(eg.elapsed=ei,ey=!0)}}ef.start((0,ec.v)(eo,ef,eh,ei.shouldReduceMotion&&es.G.has(eo)?{type:!1}:eg,ei,ey));let eE=ef.animation;eE&&((0,ed.L)(ex)&&(ex.add(eo),eE.then(()=>ex.remove(eo))),eP.push(eE))}return ey&&Promise.all(eP).then(()=>{eg.Wi.update(()=>{ey&&setTarget(ei,ey)})}),eP}},68588:function(ei,eo,ea){"use strict";ea.d(eo,{M:function(){return ec}});var es=ea(93193);let eu="framerAppearId",ec="data-"+(0,es.D)(eu)},2445:function(ei,eo,ea){"use strict";function isAnimationControls(ei){return null!==ei&&"object"==typeof ei&&"function"==typeof ei.start}ea.d(eo,{H:function(){return isAnimationControls}})},48488:function(ei,eo,ea){"use strict";ea.d(eo,{C:function(){return isKeyframesTarget}});let isKeyframesTarget=ei=>Array.isArray(ei)},31056:function(ei,eo,ea){"use strict";function isTransitionDefined({when:ei,delay:eo,delayChildren:ea,staggerChildren:es,staggerDirection:eu,repeat:ec,repeatType:ed,repeatDelay:ef,from:eh,elapsed:ep,...em}){return!!Object.keys(em).length}function getValueTransition(ei,eo){return ei[eo]||ei.default||ei}ea.d(eo,{e:function(){return getValueTransition},r:function(){return isTransitionDefined}})},82703:function(ei,eo,ea){"use strict";ea.d(eo,{M:function(){return AnimatePresence}});var es=ea(85893),eu=ea(67294),ec=ea(6337),ed=ea(4454),ef=ea(240),eh=ea(96681),ep=ea(16014);let PopChildMeasure=class PopChildMeasure extends eu.Component{getSnapshotBeforeUpdate(ei){let eo=this.props.childRef.current;if(eo&&ei.isPresent&&!this.props.isPresent){let ei=this.props.sizeRef.current;ei.height=eo.offsetHeight||0,ei.width=eo.offsetWidth||0,ei.top=eo.offsetTop,ei.left=eo.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:ei,isPresent:eo}){let ea=(0,eu.useId)(),ec=(0,eu.useRef)(null),ed=(0,eu.useRef)({width:0,height:0,top:0,left:0}),{nonce:ef}=(0,eu.useContext)(ep._);return(0,eu.useInsertionEffect)(()=>{let{width:ei,height:es,top:eu,left:eh}=ed.current;if(eo||!ec.current||!ei||!es)return;ec.current.dataset.motionPopId=ea;let ep=document.createElement("style");return ef&&(ep.nonce=ef),document.head.appendChild(ep),ep.sheet&&ep.sheet.insertRule(`
          [data-motion-pop-id="${ea}"] {
            position: absolute !important;
            width: ${ei}px !important;
            height: ${es}px !important;
            top: ${eu}px !important;
            left: ${eh}px !important;
          }
        `),()=>{document.head.removeChild(ep)}},[eo]),(0,es.jsx)(PopChildMeasure,{isPresent:eo,childRef:ec,sizeRef:ed,children:eu.cloneElement(ei,{ref:ec})})}let PresenceChild=({children:ei,initial:eo,isPresent:ea,onExitComplete:ec,custom:ed,presenceAffectsLayout:ep,mode:em})=>{let eg=(0,eh.h)(newChildrenMap),eb=(0,eu.useId)(),ey=(0,eu.useMemo)(()=>({id:eb,initial:eo,isPresent:ea,custom:ed,onExitComplete:ei=>{for(let eo of(eg.set(ei,!0),eg.values()))if(!eo)return;ec&&ec()},register:ei=>(eg.set(ei,!1),()=>eg.delete(ei))}),ep?[Math.random()]:[ea]);return(0,eu.useMemo)(()=>{eg.forEach((ei,eo)=>eg.set(eo,!1))},[ea]),eu.useEffect(()=>{ea||eg.size||!ec||ec()},[ea]),"popLayout"===em&&(ei=(0,es.jsx)(PopChild,{isPresent:ea,children:ei})),(0,es.jsx)(ef.O.Provider,{value:ey,children:ei})};function newChildrenMap(){return new Map}var em=ea(25364),eg=ea(58868);function useUnmountEffect(ei){return(0,eu.useEffect)(()=>()=>ei(),[])}var eb=ea(45487);let getChildKey=ei=>ei.key||"";function updateChildLookup(ei,eo){ei.forEach(ei=>{let ea=getChildKey(ei);eo.set(ea,ei)})}function onlyElements(ei){let eo=[];return eu.Children.forEach(ei,ei=>{(0,eu.isValidElement)(ei)&&eo.push(ei)}),eo}let AnimatePresence=({children:ei,custom:eo,initial:ea=!0,onExitComplete:ef,exitBeforeEnter:eh,presenceAffectsLayout:ep=!0,mode:ey="sync"})=>{(0,eb.k)(!eh,"Replace exitBeforeEnter with mode='wait'");let ew=(0,eu.useContext)(em.p).forceRender||(0,ec.N)()[0],ex=(0,ed.t)(),eP=onlyElements(ei),eS=eP,eE=(0,eu.useRef)(new Map).current,ek=(0,eu.useRef)(eS),eT=(0,eu.useRef)(new Map).current,eC=(0,eu.useRef)(!0);if((0,eg.L)(()=>{eC.current=!1,updateChildLookup(eP,eT),ek.current=eS}),useUnmountEffect(()=>{eC.current=!0,eT.clear(),eE.clear()}),eC.current)return(0,es.jsx)(es.Fragment,{children:eS.map(ei=>(0,es.jsx)(PresenceChild,{isPresent:!0,initial:!!ea&&void 0,presenceAffectsLayout:ep,mode:ey,children:ei},getChildKey(ei)))});eS=[...eS];let e_=ek.current.map(getChildKey),eA=eP.map(getChildKey),eO=e_.length;for(let ei=0;ei<eO;ei++){let eo=e_[ei];-1!==eA.indexOf(eo)||eE.has(eo)||eE.set(eo,void 0)}return"wait"===ey&&eE.size&&(eS=[]),eE.forEach((ei,ea)=>{if(-1!==eA.indexOf(ea))return;let eu=eT.get(ea);if(!eu)return;let ec=e_.indexOf(ea),ed=ei;if(!ed){let onExit=()=>{eE.delete(ea);let ei=Array.from(eT.keys()).filter(ei=>!eA.includes(ei));if(ei.forEach(ei=>eT.delete(ei)),ek.current=eP.filter(eo=>{let es=getChildKey(eo);return es===ea||ei.includes(es)}),!eE.size){if(!1===ex.current)return;ew(),ef&&ef()}};ed=(0,es.jsx)(PresenceChild,{isPresent:!1,onExitComplete:onExit,custom:eo,presenceAffectsLayout:ep,mode:ey,children:eu},getChildKey(eu)),eE.set(ea,ed)}eS.splice(ec,0,ed)}),eS=eS.map(ei=>{let eo=ei.key;return eE.has(eo)?ei:(0,es.jsx)(PresenceChild,{isPresent:!0,presenceAffectsLayout:ep,mode:ey,children:ei},getChildKey(ei))}),(0,es.jsx)(es.Fragment,{children:eE.size?eS:eS.map(ei=>(0,eu.cloneElement)(ei))})}},18522:function(ei,eo,ea){"use strict";ea.d(eo,{X:function(){return LazyMotion}});var es=ea(85893),eu=ea(67294),ec=ea(70398),ed=ea(81879);function LazyMotion({children:ei,features:eo,strict:ea=!1}){let[,ef]=(0,eu.useState)(!isLazyBundle(eo)),eh=(0,eu.useRef)(void 0);if(!isLazyBundle(eo)){let{renderer:ei,...ea}=eo;eh.current=ei,(0,ed.K)(ea)}return(0,eu.useEffect)(()=>{isLazyBundle(eo)&&eo().then(({renderer:ei,...eo})=>{(0,ed.K)(eo),eh.current=ei,ef(!0)})},[]),(0,es.jsx)(ec.u.Provider,{value:{renderer:eh.current,strict:ea},children:ei})}function isLazyBundle(ei){return"function"==typeof ei}},25364:function(ei,eo,ea){"use strict";ea.d(eo,{p:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)({})},70398:function(ei,eo,ea){"use strict";ea.d(eo,{u:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)({strict:!1})},16014:function(ei,eo,ea){"use strict";ea.d(eo,{_:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)({transformPagePoint:ei=>ei,isStatic:!1,reducedMotion:"never"})},24451:function(ei,eo,ea){"use strict";ea.d(eo,{v:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)({})},240:function(ei,eo,ea){"use strict";ea.d(eo,{O:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)(null)},41705:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return eu}});var es=ea(67294);let eu=(0,es.createContext)({})},27255:function(ei,eo,ea){"use strict";ea.d(eo,{Bn:function(){return ec},X7:function(){return ed},Z7:function(){return circIn}});var es=ea(90415),eu=ea(75129);let circIn=ei=>1-Math.sin(Math.acos(ei)),ec=(0,eu.M)(circIn),ed=(0,es.o)(circIn)},90415:function(ei,eo,ea){"use strict";ea.d(eo,{o:function(){return mirrorEasing}});let mirrorEasing=ei=>eo=>eo<=.5?ei(2*eo)/2:(2-ei(2*(1-eo)))/2},75129:function(ei,eo,ea){"use strict";ea.d(eo,{M:function(){return reverseEasing}});let reverseEasing=ei=>eo=>1-ei(1-eo)},43338:function(ei,eo,ea){"use strict";ea.d(eo,{N:function(){return isEasingArray}});let isEasingArray=ei=>Array.isArray(ei)&&"number"!=typeof ei[0]},18456:function(ei,eo,ea){"use strict";function addDomEvent(ei,eo,ea,es={passive:!0}){return ei.addEventListener(eo,ea,es),()=>ei.removeEventListener(eo,ea)}ea.d(eo,{E:function(){return addDomEvent}})},70486:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return addPointerEvent}});var es=ea(18456),eu=ea(28148);function addPointerEvent(ei,eo,ea,ec){return(0,es.E)(ei,eo,(0,eu.s)(ea),ec)}},28148:function(ei,eo,ea){"use strict";ea.d(eo,{Q:function(){return extractEventInfo},s:function(){return addPointerInfo}});var es=ea(9403);function extractEventInfo(ei,eo="page"){return{point:{x:ei[`${eo}X`],y:ei[`${eo}Y`]}}}let addPointerInfo=ei=>eo=>(0,es.D)(eo)&&ei(eo,extractEventInfo(eo))},9403:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return isPrimaryPointer}});let isPrimaryPointer=ei=>"mouse"===ei.pointerType?"number"!=typeof ei.button||ei.button<=0:!1!==ei.isPrimary},89727:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return createRenderBatcher}});var es=ea(22081);let Queue=class Queue{constructor(){this.order=[],this.scheduled=new Set}add(ei){if(!this.scheduled.has(ei))return this.scheduled.add(ei),this.order.push(ei),!0}remove(ei){let eo=this.order.indexOf(ei);-1!==eo&&(this.order.splice(eo,1),this.scheduled.delete(ei))}clear(){this.order.length=0,this.scheduled.clear()}};function createRenderStep(ei){let eo=new Queue,ea=new Queue,es=0,eu=!1,ec=!1,ed=new WeakSet,ef={schedule:(ei,ec=!1,ef=!1)=>{let eh=ef&&eu,ep=eh?eo:ea;return ec&&ed.add(ei),ep.add(ei)&&eh&&eu&&(es=eo.order.length),ei},cancel:ei=>{ea.remove(ei),ed.delete(ei)},process:eh=>{if(eu){ec=!0;return}if(eu=!0,[eo,ea]=[ea,eo],ea.clear(),es=eo.order.length)for(let ea=0;ea<es;ea++){let es=eo.order[ea];ed.has(es)&&(ef.schedule(es),ei()),es(eh)}eu=!1,ec&&(ec=!1,ef.process(eh))}};return ef}let eu=["read","resolveKeyframes","update","preRender","render","postRender"],ec=40;function createRenderBatcher(ei,eo){let ea=!1,ed=!0,ef={delta:0,timestamp:0,isProcessing:!1},eh=eu.reduce((ei,eo)=>(ei[eo]=createRenderStep(()=>ea=!0),ei),{}),processStep=ei=>{eh[ei].process(ef)},processBatch=()=>{let eh=es.c.useManualTiming?ef.timestamp:performance.now();ea=!1,ef.delta=ed?1e3/60:Math.max(Math.min(eh-ef.timestamp,ec),1),ef.timestamp=eh,ef.isProcessing=!0,eu.forEach(processStep),ef.isProcessing=!1,ea&&eo&&(ed=!1,ei(processBatch))},wake=()=>{ea=!0,ed=!0,ef.isProcessing||ei(processBatch)},ep=eu.reduce((ei,eo)=>{let es=eh[eo];return ei[eo]=(ei,eo=!1,eu=!1)=>(ea||wake(),es.schedule(ei,eo,eu)),ei},{}),cancel=ei=>eu.forEach(eo=>eh[eo].cancel(ei));return{schedule:ep,cancel,state:ef,steps:eh}}},26166:function(ei,eo,ea){"use strict";ea.d(eo,{Pn:function(){return ed},S6:function(){return eh},Wi:function(){return ec},frameData:function(){return ef}});var es=ea(81662),eu=ea(89727);let{schedule:ec,cancel:ed,state:ef,steps:eh}=(0,eu.Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:es.Z,!0)},83582:function(ei,eo,ea){"use strict";ea.d(eo,{g:function(){return eu}});var es=ea(89727);let{schedule:eu,cancel:ec}=(0,es.Z)(queueMicrotask,!1)},1117:function(ei,eo,ea){"use strict";let es;ea.d(eo,{X:function(){return ed}});var eu=ea(22081),ec=ea(26166);function clearTime(){es=void 0}let ed={now:()=>(void 0===es&&ed.set(ec.frameData.isProcessing||eu.c.useManualTiming?ec.frameData.timestamp:performance.now()),es),set:ei=>{es=ei,queueMicrotask(clearTime)}}},37544:function(ei,eo,ea){"use strict";function createLock(ei){let eo=null;return()=>{let openLock=()=>{eo=null};return null===eo&&(eo=ei,openLock)}}ea.d(eo,{fJ:function(){return getGlobalLock},gD:function(){return isDragActive}});let es=createLock("dragHorizontal"),eu=createLock("dragVertical");function getGlobalLock(ei){let eo=!1;if("y"===ei)eo=eu();else if("x"===ei)eo=es();else{let ei=es(),ea=eu();ei&&ea?eo=()=>{ei(),ea()}:(ei&&ei(),ea&&ea())}return eo}function isDragActive(){let ei=getGlobalLock(!0);return!ei||(ei(),!1)}},50806:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return Feature}});let Feature=class Feature{constructor(ei){this.isMounted=!1,this.node=ei}update(){}}},49673:function(ei,eo,ea){"use strict";ea.d(eo,{s:function(){return ew}});var es=ea(2445),eu=ea(48488);function shallowCompare(ei,eo){if(!Array.isArray(eo))return!1;let ea=eo.length;if(ea!==ei.length)return!1;for(let es=0;es<ea;es++)if(eo[es]!==ei[es])return!1;return!0}var ec=ea(97732),ed=ea(52248),ef=ea(22963),eh=ea(45809);function animateVariant(ei,eo,ea={}){var es;let eu=(0,ed.x)(ei,eo,"exit"===ea.type?null===(es=ei.presenceContext)||void 0===es?void 0:es.custom:void 0),{transition:ec=ei.getDefaultTransition()||{}}=eu||{};ea.transitionOverride&&(ec=ea.transitionOverride);let ef=eu?()=>Promise.all((0,eh.w)(ei,eu,ea)):()=>Promise.resolve(),ep=ei.variantChildren&&ei.variantChildren.size?(es=0)=>{let{delayChildren:eu=0,staggerChildren:ed,staggerDirection:ef}=ec;return animateChildren(ei,eo,eu+es,ed,ef,ea)}:()=>Promise.resolve(),{when:em}=ec;if(!em)return Promise.all([ef(),ep(ea.delay)]);{let[ei,eo]="beforeChildren"===em?[ef,ep]:[ep,ef];return ei().then(()=>eo())}}function animateChildren(ei,eo,ea=0,es=0,eu=1,ec){let ed=[],ef=(ei.variantChildren.size-1)*es,eh=1===eu?(ei=0)=>ei*es:(ei=0)=>ef-ei*es;return Array.from(ei.variantChildren).sort(sortByTreeOrder).forEach((ei,es)=>{ei.notify("AnimationStart",eo),ed.push(animateVariant(ei,eo,{...ec,delay:ea+eh(es)}).then(()=>ei.notify("AnimationComplete",eo)))}),Promise.all(ed)}function sortByTreeOrder(ei,eo){return ei.sortNodePosition(eo)}var ep=ea(26166);function animateVisualElement(ei,eo,ea={}){let es;if(ei.notify("AnimationStart",eo),Array.isArray(eo)){let eu=eo.map(eo=>animateVariant(ei,eo,ea));es=Promise.all(eu)}else if("string"==typeof eo)es=animateVariant(ei,eo,ea);else{let eu="function"==typeof eo?(0,ed.x)(ei,eo,ea.custom):eo;es=Promise.all((0,eh.w)(ei,eu,ea))}return es.then(()=>{ep.Wi.postRender(()=>{ei.notify("AnimationComplete",eo)})})}let em=[...ef.e].reverse(),eg=ef.e.length;function animateList(ei){return eo=>Promise.all(eo.map(({animation:eo,options:ea})=>animateVisualElement(ei,eo,ea)))}function createAnimationState(ei){let eo=animateList(ei),ea=createState(),ef=!0,buildResolvedTypeValues=eo=>(ea,es)=>{var eu;let ec=(0,ed.x)(ei,es,"exit"===eo?null===(eu=ei.presenceContext)||void 0===eu?void 0:eu.custom:void 0);if(ec){let{transition:ei,transitionEnd:eo,...es}=ec;ea={...ea,...es,...eo}}return ea};function animateChanges(ed){let eh=ei.getProps(),ep=ei.getVariantContext(!0)||{},eb=[],ey=new Set,ew={},ex=1/0;for(let eo=0;eo<eg;eo++){let eg=em[eo],eP=ea[eg],eS=void 0!==eh[eg]?eh[eg]:ep[eg],eE=(0,ec.$)(eS),ek=eg===ed?eP.isActive:null;!1===ek&&(ex=eo);let eT=eS===ep[eg]&&eS!==eh[eg]&&eE;if(eT&&ef&&ei.manuallyAnimateOnMount&&(eT=!1),eP.protectedKeys={...ew},!eP.isActive&&null===ek||!eS&&!eP.prevProp||(0,es.H)(eS)||"boolean"==typeof eS)continue;let eC=checkVariantsDidChange(eP.prevProp,eS),e_=eC||eg===ed&&eP.isActive&&!eT&&eE||eo>ex&&eE,eA=!1,eO=Array.isArray(eS)?eS:[eS],eM=eO.reduce(buildResolvedTypeValues(eg),{});!1===ek&&(eM={});let{prevResolvedValues:eR={}}=eP,ej={...eR,...eM},markToAnimate=eo=>{e_=!0,ey.has(eo)&&(eA=!0,ey.delete(eo)),eP.needsAnimating[eo]=!0;let ea=ei.getValue(eo);ea&&(ea.liveStyle=!1)};for(let ei in ej){let eo=eM[ei],ea=eR[ei];if(ew.hasOwnProperty(ei))continue;let es=!1;(es=(0,eu.C)(eo)&&(0,eu.C)(ea)?!shallowCompare(eo,ea):eo!==ea)?null!=eo?markToAnimate(ei):ey.add(ei):void 0!==eo&&ey.has(ei)?markToAnimate(ei):eP.protectedKeys[ei]=!0}eP.prevProp=eS,eP.prevResolvedValues=eM,eP.isActive&&(ew={...ew,...eM}),ef&&ei.blockInitialAnimation&&(e_=!1),e_&&(!eT||eA)&&eb.push(...eO.map(ei=>({animation:ei,options:{type:eg}})))}if(ey.size){let eo={};ey.forEach(ea=>{let es=ei.getBaseTarget(ea),eu=ei.getValue(ea);eu&&(eu.liveStyle=!0),eo[ea]=null!=es?es:null}),eb.push({animation:eo})}let eP=!!eb.length;return ef&&(!1===eh.initial||eh.initial===eh.animate)&&!ei.manuallyAnimateOnMount&&(eP=!1),ef=!1,eP?eo(eb):Promise.resolve()}return{animateChanges,setActive:function(eo,es){var eu;if(ea[eo].isActive===es)return Promise.resolve();null===(eu=ei.variantChildren)||void 0===eu||eu.forEach(ei=>{var ea;return null===(ea=ei.animationState)||void 0===ea?void 0:ea.setActive(eo,es)}),ea[eo].isActive=es;let ec=animateChanges(eo);for(let ei in ea)ea[ei].protectedKeys={};return ec},setAnimateFunction:function(ea){eo=ea(ei)},getState:()=>ea}}function checkVariantsDidChange(ei,eo){return"string"==typeof eo?eo!==ei:!!Array.isArray(eo)&&!shallowCompare(eo,ei)}function createTypeState(ei=!1){return{isActive:ei,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}var eb=ea(50806);let AnimationFeature=class AnimationFeature extends eb.L{constructor(ei){super(ei),ei.animationState||(ei.animationState=createAnimationState(ei))}updateAnimationControlsSubscription(){let{animate:ei}=this.node.getProps();this.unmount(),(0,es.H)(ei)&&(this.unmount=ei.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:ei}=this.node.getProps(),{animate:eo}=this.node.prevProps||{};ei!==eo&&this.updateAnimationControlsSubscription()}unmount(){}};let ey=0;let ExitAnimationFeature=class ExitAnimationFeature extends eb.L{constructor(){super(...arguments),this.id=ey++}update(){if(!this.node.presenceContext)return;let{isPresent:ei,onExitComplete:eo}=this.node.presenceContext,{isPresent:ea}=this.node.prevPresenceContext||{};if(!this.node.animationState||ei===ea)return;let es=this.node.animationState.setActive("exit",!ei);eo&&!ei&&es.then(()=>eo(this.id))}mount(){let{register:ei}=this.node.presenceContext||{};ei&&(this.unmount=ei(this.id))}unmount(){}};let ew={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}}},9442:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return eu}});let es={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},eu={};for(let ei in es)eu[ei]={isEnabled:eo=>es[ei].some(ei=>!!eo[ei])}},76295:function(ei,eo,ea){"use strict";ea.d(eo,{o:function(){return eL}});var es=ea(50806),eu=ea(81662),ec=ea(45487),ed=ea(28148),ef=ea(86917),eh=ea(70486),ep=ea(83624);let distance=(ei,eo)=>Math.abs(ei-eo);function distance2D(ei,eo){let ea=distance(ei.x,eo.x),es=distance(ei.y,eo.y);return Math.sqrt(ea**2+es**2)}var em=ea(9403),eg=ea(26166);let PanSession=class PanSession{constructor(ei,eo,{transformPagePoint:ea,contextWindow:es,dragSnapToOrigin:eu=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let ei=getPanInfo(this.lastMoveEventInfo,this.history),eo=null!==this.startEvent,ea=distance2D(ei.offset,{x:0,y:0})>=3;if(!eo&&!ea)return;let{point:es}=ei,{timestamp:eu}=eg.frameData;this.history.push({...es,timestamp:eu});let{onStart:ec,onMove:ed}=this.handlers;eo||(ec&&ec(this.lastMoveEvent,ei),this.startEvent=this.lastMoveEvent),ed&&ed(this.lastMoveEvent,ei)},this.handlePointerMove=(ei,eo)=>{this.lastMoveEvent=ei,this.lastMoveEventInfo=transformPoint(eo,this.transformPagePoint),eg.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(ei,eo)=>{this.end();let{onEnd:ea,onSessionEnd:es,resumeAnimation:eu}=this.handlers;if(this.dragSnapToOrigin&&eu&&eu(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let ec=getPanInfo("pointercancel"===ei.type?this.lastMoveEventInfo:transformPoint(eo,this.transformPagePoint),this.history);this.startEvent&&ea&&ea(ei,ec),es&&es(ei,ec)},!(0,em.D)(ei))return;this.dragSnapToOrigin=eu,this.handlers=eo,this.transformPagePoint=ea,this.contextWindow=es||window;let ec=(0,ed.Q)(ei),ef=transformPoint(ec,this.transformPagePoint),{point:eb}=ef,{timestamp:ey}=eg.frameData;this.history=[{...eb,timestamp:ey}];let{onSessionStart:ew}=eo;ew&&ew(ei,getPanInfo(ef,this.history)),this.removeListeners=(0,ep.z)((0,eh.a)(this.contextWindow,"pointermove",this.handlePointerMove),(0,eh.a)(this.contextWindow,"pointerup",this.handlePointerUp),(0,eh.a)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(ei){this.handlers=ei}end(){this.removeListeners&&this.removeListeners(),(0,eg.Pn)(this.updatePoint)}};function transformPoint(ei,eo){return eo?{point:eo(ei.point)}:ei}function subtractPoint(ei,eo){return{x:ei.x-eo.x,y:ei.y-eo.y}}function getPanInfo({point:ei},eo){return{point:ei,delta:subtractPoint(ei,lastDevicePoint(eo)),offset:subtractPoint(ei,startDevicePoint(eo)),velocity:getVelocity(eo,.1)}}function startDevicePoint(ei){return ei[0]}function lastDevicePoint(ei){return ei[ei.length-1]}function getVelocity(ei,eo){if(ei.length<2)return{x:0,y:0};let ea=ei.length-1,es=null,eu=lastDevicePoint(ei);for(;ea>=0&&(es=ei[ea],!(eu.timestamp-es.timestamp>(0,ef.w)(eo)));)ea--;if(!es)return{x:0,y:0};let ec=(0,ef.X)(eu.timestamp-es.timestamp);if(0===ec)return{x:0,y:0};let ed={x:(eu.x-es.x)/ec,y:(eu.y-es.y)/ec};return ed.x===1/0&&(ed.x=0),ed.y===1/0&&(ed.y=0),ed}var eb=ea(37544),ey=ea(51804),ew=ea(23967),ex=ea(16645),eP=ea(24169),eS=ea(40179);function applyConstraints(ei,{min:eo,max:ea},es){return void 0!==eo&&ei<eo?ei=es?(0,eS.t)(eo,ei,es.min):Math.max(ei,eo):void 0!==ea&&ei>ea&&(ei=es?(0,eS.t)(ea,ei,es.max):Math.min(ei,ea)),ei}function calcRelativeAxisConstraints(ei,eo,ea){return{min:void 0!==eo?ei.min+eo:void 0,max:void 0!==ea?ei.max+ea-(ei.max-ei.min):void 0}}function calcRelativeConstraints(ei,{top:eo,left:ea,bottom:es,right:eu}){return{x:calcRelativeAxisConstraints(ei.x,ea,eu),y:calcRelativeAxisConstraints(ei.y,eo,es)}}function calcViewportAxisConstraints(ei,eo){let ea=eo.min-ei.min,es=eo.max-ei.max;return eo.max-eo.min<ei.max-ei.min&&([ea,es]=[es,ea]),{min:ea,max:es}}function calcViewportConstraints(ei,eo){return{x:calcViewportAxisConstraints(ei.x,eo.x),y:calcViewportAxisConstraints(ei.y,eo.y)}}function calcOrigin(ei,eo){let ea=.5,es=(0,ex.JO)(ei),eu=(0,ex.JO)(eo);return eu>es?ea=(0,ew.Y)(eo.min,eo.max-es,ei.min):es>eu&&(ea=(0,ew.Y)(ei.min,ei.max-eu,eo.min)),(0,eP.u)(0,1,ea)}function rebaseAxisConstraints(ei,eo){let ea={};return void 0!==eo.min&&(ea.min=eo.min-ei.min),void 0!==eo.max&&(ea.max=eo.max-ei.min),ea}let eE=.35;function resolveDragElastic(ei=eE){return!1===ei?ei=0:!0===ei&&(ei=eE),{x:resolveAxisElastic(ei,"left","right"),y:resolveAxisElastic(ei,"top","bottom")}}function resolveAxisElastic(ei,eo,ea){return{min:resolvePointElastic(ei,eo),max:resolvePointElastic(ei,ea)}}function resolvePointElastic(ei,eo){return"number"==typeof ei?ei:ei[eo]||0}var ek=ea(61512),eT=ea(91730),eC=ea(56460),e_=ea(76117),eA=ea(18456),eO=ea(96190),eM=ea(67461);let getContextWindow=({current:ei})=>ei?ei.ownerDocument.defaultView:null,eR=new WeakMap;let VisualElementDragControls=class VisualElementDragControls{constructor(ei){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,ek.dO)(),this.visualElement=ei}start(ei,{snapToCursor:eo=!1}={}){let{presenceContext:ea}=this.visualElement;if(ea&&!1===ea.isPresent)return;let onSessionStart=ei=>{let{dragSnapToOrigin:ea}=this.getProps();ea?this.pauseAnimation():this.stopAnimation(),eo&&this.snapToCursor((0,ed.Q)(ei,"page").point)},onStart=(ei,eo)=>{let{drag:ea,dragPropagation:es,onDragStart:eu}=this.getProps();if(ea&&!es&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,eb.fJ)(ea),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,eT.U)(ei=>{let eo=this.getAxisMotionValue(ei).get()||0;if(eO.aQ.test(eo)){let{projection:ea}=this.visualElement;if(ea&&ea.layout){let es=ea.layout.layoutBox[ei];if(es){let ei=(0,ex.JO)(es);eo=ei*(parseFloat(eo)/100)}}}this.originPoint[ei]=eo}),eu&&eu(ei,eo);let{animationState:ec}=this.visualElement;ec&&ec.setActive("whileDrag",!0)},onMove=(ei,eo)=>{let{dragPropagation:ea,dragDirectionLock:es,onDirectionLock:eu,onDrag:ec}=this.getProps();if(!ea&&!this.openGlobalLock)return;let{offset:ed}=eo;if(es&&null===this.currentDirection){this.currentDirection=getCurrentDirection(ed),null!==this.currentDirection&&eu&&eu(this.currentDirection);return}this.updateAxis("x",eo.point,ed),this.updateAxis("y",eo.point,ed),this.visualElement.render(),ec&&ec(ei,eo)},onSessionEnd=(ei,eo)=>this.stop(ei,eo),resumeAnimation=()=>(0,eT.U)(ei=>{var eo;return"paused"===this.getAnimationState(ei)&&(null===(eo=this.getAxisMotionValue(ei).animation)||void 0===eo?void 0:eo.play())}),{dragSnapToOrigin:es}=this.getProps();this.panSession=new PanSession(ei,{onSessionStart,onStart,onMove,onSessionEnd,resumeAnimation},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:es,contextWindow:getContextWindow(this.visualElement)})}stop(ei,eo){let ea=this.isDragging;if(this.cancel(),!ea)return;let{velocity:es}=eo;this.startAnimation(es);let{onDragEnd:eu}=this.getProps();eu&&eu(ei,eo)}cancel(){this.isDragging=!1;let{projection:ei,animationState:eo}=this.visualElement;ei&&(ei.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:ea}=this.getProps();!ea&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),eo&&eo.setActive("whileDrag",!1)}updateAxis(ei,eo,ea){let{drag:es}=this.getProps();if(!ea||!shouldDrag(ei,es,this.currentDirection))return;let eu=this.getAxisMotionValue(ei),ec=this.originPoint[ei]+ea[ei];this.constraints&&this.constraints[ei]&&(ec=applyConstraints(ec,this.constraints[ei],this.elastic[ei])),eu.set(ec)}resolveConstraints(){var ei;let{dragConstraints:eo,dragElastic:ea}=this.getProps(),es=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(ei=this.visualElement.projection)||void 0===ei?void 0:ei.layout,eu=this.constraints;eo&&(0,ey.I)(eo)?this.constraints||(this.constraints=this.resolveRefConstraints()):eo&&es?this.constraints=calcRelativeConstraints(es.layoutBox,eo):this.constraints=!1,this.elastic=resolveDragElastic(ea),eu!==this.constraints&&es&&this.constraints&&!this.hasMutatedConstraints&&(0,eT.U)(ei=>{!1!==this.constraints&&this.getAxisMotionValue(ei)&&(this.constraints[ei]=rebaseAxisConstraints(es.layoutBox[ei],this.constraints[ei]))})}resolveRefConstraints(){let{dragConstraints:ei,onMeasureDragConstraints:eo}=this.getProps();if(!ei||!(0,ey.I)(ei))return!1;let ea=ei.current;(0,ec.k)(null!==ea,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:es}=this.visualElement;if(!es||!es.layout)return!1;let eu=(0,eC.z)(ea,es.root,this.visualElement.getTransformPagePoint()),ed=calcViewportConstraints(es.layout.layoutBox,eu);if(eo){let ei=eo((0,e_.z2)(ed));this.hasMutatedConstraints=!!ei,ei&&(ed=(0,e_.i8)(ei))}return ed}startAnimation(ei){let{drag:eo,dragMomentum:ea,dragElastic:es,dragTransition:eu,dragSnapToOrigin:ec,onDragTransitionEnd:ed}=this.getProps(),ef=this.constraints||{},eh=(0,eT.U)(ed=>{if(!shouldDrag(ed,eo,this.currentDirection))return;let eh=ef&&ef[ed]||{};ec&&(eh={min:0,max:0});let ep=es?200:1e6,em=es?40:1e7,eg={type:"inertia",velocity:ea?ei[ed]:0,bounceStiffness:ep,bounceDamping:em,timeConstant:750,restDelta:1,restSpeed:10,...eu,...eh};return this.startAxisValueAnimation(ed,eg)});return Promise.all(eh).then(ed)}startAxisValueAnimation(ei,eo){let ea=this.getAxisMotionValue(ei);return ea.start((0,eM.v)(ei,ea,0,eo,this.visualElement))}stopAnimation(){(0,eT.U)(ei=>this.getAxisMotionValue(ei).stop())}pauseAnimation(){(0,eT.U)(ei=>{var eo;return null===(eo=this.getAxisMotionValue(ei).animation)||void 0===eo?void 0:eo.pause()})}getAnimationState(ei){var eo;return null===(eo=this.getAxisMotionValue(ei).animation)||void 0===eo?void 0:eo.state}getAxisMotionValue(ei){let eo=`_drag${ei.toUpperCase()}`,ea=this.visualElement.getProps(),es=ea[eo];return es||this.visualElement.getValue(ei,(ea.initial?ea.initial[ei]:void 0)||0)}snapToCursor(ei){(0,eT.U)(eo=>{let{drag:ea}=this.getProps();if(!shouldDrag(eo,ea,this.currentDirection))return;let{projection:es}=this.visualElement,eu=this.getAxisMotionValue(eo);if(es&&es.layout){let{min:ea,max:ec}=es.layout.layoutBox[eo];eu.set(ei[eo]-(0,eS.t)(ea,ec,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:ei,dragConstraints:eo}=this.getProps(),{projection:ea}=this.visualElement;if(!(0,ey.I)(eo)||!ea||!this.constraints)return;this.stopAnimation();let es={x:0,y:0};(0,eT.U)(ei=>{let eo=this.getAxisMotionValue(ei);if(eo&&!1!==this.constraints){let ea=eo.get();es[ei]=calcOrigin({min:ea,max:ea},this.constraints[ei])}});let{transformTemplate:eu}=this.visualElement.getProps();this.visualElement.current.style.transform=eu?eu({},""):"none",ea.root&&ea.root.updateScroll(),ea.updateLayout(),this.resolveConstraints(),(0,eT.U)(eo=>{if(!shouldDrag(eo,ei,null))return;let ea=this.getAxisMotionValue(eo),{min:eu,max:ec}=this.constraints[eo];ea.set((0,eS.t)(eu,ec,es[eo]))})}addListeners(){if(!this.visualElement.current)return;eR.set(this.visualElement,this);let ei=this.visualElement.current,eo=(0,eh.a)(ei,"pointerdown",ei=>{let{drag:eo,dragListener:ea=!0}=this.getProps();eo&&ea&&this.start(ei)}),measureDragConstraints=()=>{let{dragConstraints:ei}=this.getProps();(0,ey.I)(ei)&&(this.constraints=this.resolveRefConstraints())},{projection:ea}=this.visualElement,es=ea.addEventListener("measure",measureDragConstraints);ea&&!ea.layout&&(ea.root&&ea.root.updateScroll(),ea.updateLayout()),measureDragConstraints();let eu=(0,eA.E)(window,"resize",()=>this.scalePositionWithinConstraints()),ec=ea.addEventListener("didUpdate",({delta:ei,hasLayoutChanged:eo})=>{this.isDragging&&eo&&((0,eT.U)(eo=>{let ea=this.getAxisMotionValue(eo);ea&&(this.originPoint[eo]+=ei[eo].translate,ea.set(ea.get()+ei[eo].translate))}),this.visualElement.render())});return()=>{eu(),eo(),es(),ec&&ec()}}getProps(){let ei=this.visualElement.getProps(),{drag:eo=!1,dragDirectionLock:ea=!1,dragPropagation:es=!1,dragConstraints:eu=!1,dragElastic:ec=eE,dragMomentum:ed=!0}=ei;return{...ei,drag:eo,dragDirectionLock:ea,dragPropagation:es,dragConstraints:eu,dragElastic:ec,dragMomentum:ed}}};function shouldDrag(ei,eo,ea){return(!0===eo||eo===ei)&&(null===ea||ea===ei)}function getCurrentDirection(ei,eo=10){let ea=null;return Math.abs(ei.y)>eo?ea="y":Math.abs(ei.x)>eo&&(ea="x"),ea}let DragGesture=class DragGesture extends es.L{constructor(ei){super(ei),this.removeGroupControls=eu.Z,this.removeListeners=eu.Z,this.controls=new VisualElementDragControls(ei)}mount(){let{dragControls:ei}=this.node.getProps();ei&&(this.removeGroupControls=ei.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eu.Z}unmount(){this.removeGroupControls(),this.removeListeners()}};let asyncHandler=ei=>(eo,ea)=>{ei&&ei(eo,ea)};let PanGesture=class PanGesture extends es.L{constructor(){super(...arguments),this.removePointerDownListener=eu.Z}onPointerDown(ei){this.session=new PanSession(ei,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){let{onPanSessionStart:ei,onPanStart:eo,onPan:ea,onPanEnd:es}=this.node.getProps();return{onSessionStart:asyncHandler(ei),onStart:asyncHandler(eo),onMove:ea,onEnd:(ei,eo)=>{delete this.session,es&&es(ei,eo)}}}mount(){this.removePointerDownListener=(0,eh.a)(this.node.current,"pointerdown",ei=>this.onPointerDown(ei))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var ej=ea(81023),eN=ea(90690);let eL={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:eN.u,MeasureLayout:ej.q}}},33899:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return ey}});var es=ea(70486),eu=ea(83624),ec=ea(37544),ed=ea(50806);function addHoverEvent(ei,eo){let ea=eo?"pointerenter":"pointerleave",eu=eo?"onHoverStart":"onHoverEnd",handleEvent=(ea,es)=>{if("touch"===ea.pointerType||(0,ec.gD)())return;let ed=ei.getProps();ei.animationState&&ed.whileHover&&ei.animationState.setActive("whileHover",eo);let ef=ed[eu];ef&&ef(ea,es)};return(0,es.a)(ei.current,ea,handleEvent,{passive:!ei.getProps()[eu]})}let HoverGesture=class HoverGesture extends ed.L{mount(){this.unmount=(0,eu.z)(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}};var ef=ea(18456);let FocusGesture=class FocusGesture extends ed.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let ei=!1;try{ei=this.node.current.matches(":focus-visible")}catch(eo){ei=!0}ei&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eu.z)((0,ef.E)(this.node.current,"focus",()=>this.onFocus()),(0,ef.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var eh=ea(28148);let isNodeOrChild=(ei,eo)=>!!eo&&(ei===eo||isNodeOrChild(ei,eo.parentElement));var ep=ea(81662);function fireSyntheticPointerEvent(ei,eo){if(!eo)return;let ea=new PointerEvent("pointer"+ei);eo(ea,(0,eh.Q)(ea))}let PressGesture=class PressGesture extends ed.L{constructor(){super(...arguments),this.removeStartListeners=ep.Z,this.removeEndListeners=ep.Z,this.removeAccessibleListeners=ep.Z,this.startPointerPress=(ei,eo)=>{if(this.isPressing)return;this.removeEndListeners();let ea=this.node.getProps(),endPointerPress=(ei,eo)=>{if(!this.checkPressEnd())return;let{onTap:ea,onTapCancel:es,globalTapTarget:eu}=this.node.getProps();eu||isNodeOrChild(this.node.current,ei.target)?ea&&ea(ei,eo):es&&es(ei,eo)},ec=(0,es.a)(window,"pointerup",endPointerPress,{passive:!(ea.onTap||ea.onPointerUp)}),ed=(0,es.a)(window,"pointercancel",(ei,eo)=>this.cancelPress(ei,eo),{passive:!(ea.onTapCancel||ea.onPointerCancel)});this.removeEndListeners=(0,eu.z)(ec,ed),this.startPress(ei,eo)},this.startAccessiblePress=()=>{let handleKeydown=ei=>{if("Enter"!==ei.key||this.isPressing)return;let handleKeyup=ei=>{"Enter"===ei.key&&this.checkPressEnd()&&fireSyntheticPointerEvent("up",(ei,eo)=>{let{onTap:ea}=this.node.getProps();ea&&ea(ei,eo)})};this.removeEndListeners(),this.removeEndListeners=(0,ef.E)(this.node.current,"keyup",handleKeyup),fireSyntheticPointerEvent("down",(ei,eo)=>{this.startPress(ei,eo)})},ei=(0,ef.E)(this.node.current,"keydown",handleKeydown),handleBlur=()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(ei,eo)=>this.cancelPress(ei,eo))},eo=(0,ef.E)(this.node.current,"blur",handleBlur);this.removeAccessibleListeners=(0,eu.z)(ei,eo)}}startPress(ei,eo){this.isPressing=!0;let{onTapStart:ea,whileTap:es}=this.node.getProps();es&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),ea&&ea(ei,eo)}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let ei=this.node.getProps();return ei.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,ec.gD)()}cancelPress(ei,eo){if(!this.checkPressEnd())return;let{onTapCancel:ea}=this.node.getProps();ea&&ea(ei,eo)}mount(){let ei=this.node.getProps(),eo=(0,es.a)(ei.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(ei.onTapStart||ei.onPointerStart)}),ea=(0,ef.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,eu.z)(eo,ea)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};let em=new WeakMap,eg=new WeakMap,fireObserverCallback=ei=>{let eo=em.get(ei.target);eo&&eo(ei)},fireAllObserverCallbacks=ei=>{ei.forEach(fireObserverCallback)};function initIntersectionObserver({root:ei,...eo}){let ea=ei||document;eg.has(ea)||eg.set(ea,{});let es=eg.get(ea),eu=JSON.stringify(eo);return es[eu]||(es[eu]=new IntersectionObserver(fireAllObserverCallbacks,{root:ei,...eo})),es[eu]}function observeIntersection(ei,eo,ea){let es=initIntersectionObserver(eo);return em.set(ei,ea),es.observe(ei),()=>{em.delete(ei),es.unobserve(ei)}}let eb={some:0,all:1};let InViewFeature=class InViewFeature extends ed.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:ei={}}=this.node.getProps(),{root:eo,margin:ea,amount:es="some",once:eu}=ei,ec={root:eo?eo.current:void 0,rootMargin:ea,threshold:"number"==typeof es?es:eb[es]},onIntersectionUpdate=ei=>{let{isIntersecting:eo}=ei;if(this.isInView===eo||(this.isInView=eo,eu&&!eo&&this.hasEnteredView))return;eo&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",eo);let{onViewportEnter:ea,onViewportLeave:es}=this.node.getProps(),ec=eo?ea:es;ec&&ec(ei)};return observeIntersection(this.node.current,ec,onIntersectionUpdate)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:ei,prevProps:eo}=this.node,ea=["amount","margin","root"].some(hasViewportOptionChanged(ei,eo));ea&&this.startObserver()}unmount(){}};function hasViewportOptionChanged({viewport:ei={}},{viewport:eo={}}={}){return ea=>ei[ea]!==eo[ea]}let ey={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}}},30237:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return ec}});var es=ea(90690),eu=ea(81023);let ec={layout:{ProjectionNode:es.u,MeasureLayout:eu.q}}},81023:function(ei,eo,ea){"use strict";ea.d(eo,{q:function(){return MeasureLayout}});var es=ea(85893),eu=ea(67294),ec=ea(240);function usePresence(){let ei=(0,eu.useContext)(ec.O);if(null===ei)return[!0,null];let{isPresent:eo,onExitComplete:ea,register:es}=ei,ed=(0,eu.useId)();(0,eu.useEffect)(()=>es(ed),[]);let safeToRemove=()=>ea&&ea(ed);return!eo&&ea?[!1,safeToRemove]:[!0]}var ed=ea(25364),ef=ea(41705),eh=ea(93083),ep=ea(96190);function pixelsToPercent(ei,eo){return eo.max===eo.min?0:ei/(eo.max-eo.min)*100}let em={correct:(ei,eo)=>{if(!eo.target)return ei;if("string"==typeof ei){if(!ep.px.test(ei))return ei;ei=parseFloat(ei)}let ea=pixelsToPercent(ei,eo.target.x),es=pixelsToPercent(ei,eo.target.y);return`${ea}% ${es}%`}};var eg=ea(40179),eb=ea(51550);let ey={correct:(ei,{treeScale:eo,projectionDelta:ea})=>{let es=ei,eu=eb.P.parse(ei);if(eu.length>5)return es;let ec=eb.P.createTransformer(ei),ed="number"!=typeof eu[0]?1:0,ef=ea.x.scale*eo.x,eh=ea.y.scale*eo.y;eu[0+ed]/=ef,eu[1+ed]/=eh;let ep=(0,eg.t)(ef,eh,.5);return"number"==typeof eu[2+ed]&&(eu[2+ed]/=ep),"number"==typeof eu[3+ed]&&(eu[3+ed]/=ep),ec(eu)}};var ew=ea(64561),ex=ea(83582),eP=ea(26166);let MeasureLayoutWithContext=class MeasureLayoutWithContext extends eu.Component{componentDidMount(){let{visualElement:ei,layoutGroup:eo,switchLayoutGroup:ea,layoutId:es}=this.props,{projection:eu}=ei;(0,ew.B)(eS),eu&&(eo.group&&eo.group.add(eu),ea&&ea.register&&es&&ea.register(eu),eu.root.didUpdate(),eu.addEventListener("animationComplete",()=>{this.safeToRemove()}),eu.setOptions({...eu.options,onExitComplete:()=>this.safeToRemove()})),eh.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(ei){let{layoutDependency:eo,visualElement:ea,drag:es,isPresent:eu}=this.props,ec=ea.projection;return ec&&(ec.isPresent=eu,es||ei.layoutDependency!==eo||void 0===eo?ec.willUpdate():this.safeToRemove(),ei.isPresent===eu||(eu?ec.promote():ec.relegate()||eP.Wi.postRender(()=>{let ei=ec.getStack();ei&&ei.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:ei}=this.props.visualElement;ei&&(ei.root.didUpdate(),ex.g.postRender(()=>{!ei.currentAnimation&&ei.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:ei,layoutGroup:eo,switchLayoutGroup:ea}=this.props,{projection:es}=ei;es&&(es.scheduleCheckAfterUnmount(),eo&&eo.group&&eo.group.remove(es),ea&&ea.deregister&&ea.deregister(es))}safeToRemove(){let{safeToRemove:ei}=this.props;ei&&ei()}render(){return null}};function MeasureLayout(ei){let[eo,ea]=usePresence(),ec=(0,eu.useContext)(ed.p);return(0,es.jsx)(MeasureLayoutWithContext,{...ei,layoutGroup:ec,switchLayoutGroup:(0,eu.useContext)(ef.g),isPresent:eo,safeToRemove:ea})}let eS={borderRadius:{...em,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:em,borderTopRightRadius:em,borderBottomLeftRadius:em,borderBottomRightRadius:em,boxShadow:ey}},81879:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return loadFeatures}});var es=ea(9442);function loadFeatures(ei){for(let eo in ei)es.A[eo]={...es.A[eo],...ei[eo]}}},56816:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return isForcedMotionValue}});var es=ea(64561),eu=ea(94714);function isForcedMotionValue(ei,{layout:eo,layoutId:ea}){return eu.G.has(ei)||ei.startsWith("origin")||(eo||void 0!==ea)&&(!!es.P[ei]||"opacity"===ei)}},76117:function(ei,eo,ea){"use strict";function convertBoundingBoxToBox({top:ei,left:eo,right:ea,bottom:es}){return{x:{min:eo,max:ea},y:{min:ei,max:es}}}function convertBoxToBoundingBox({x:ei,y:eo}){return{top:eo.min,right:ei.max,bottom:eo.max,left:ei.min}}function transformBoxPoints(ei,eo){if(!eo)return ei;let ea=eo({x:ei.left,y:ei.top}),es=eo({x:ei.right,y:ei.bottom});return{top:ea.y,left:ea.x,bottom:es.y,right:es.x}}ea.d(eo,{d7:function(){return transformBoxPoints},i8:function(){return convertBoundingBoxToBox},z2:function(){return convertBoxToBoundingBox}})},16e3:function(ei,eo,ea){"use strict";ea.d(eo,{D2:function(){return transformBox},YY:function(){return applyTreeDeltas},am:function(){return translateAxis},o2:function(){return applyBoxDelta},q2:function(){return scalePoint}});var es=ea(40179),eu=ea(99527);function scalePoint(ei,eo,ea){let es=ei-ea,eu=eo*es;return ea+eu}function applyPointDelta(ei,eo,ea,es,eu){return void 0!==eu&&(ei=scalePoint(ei,eu,es)),scalePoint(ei,ea,es)+eo}function applyAxisDelta(ei,eo=0,ea=1,es,eu){ei.min=applyPointDelta(ei.min,eo,ea,es,eu),ei.max=applyPointDelta(ei.max,eo,ea,es,eu)}function applyBoxDelta(ei,{x:eo,y:ea}){applyAxisDelta(ei.x,eo.translate,eo.scale,eo.originPoint),applyAxisDelta(ei.y,ea.translate,ea.scale,ea.originPoint)}function applyTreeDeltas(ei,eo,ea,es=!1){let ec,ed;let ef=ea.length;if(ef){eo.x=eo.y=1;for(let eh=0;eh<ef;eh++){ed=(ec=ea[eh]).projectionDelta;let ef=ec.instance;(!ef||!ef.style||"contents"!==ef.style.display)&&(es&&ec.options.layoutScroll&&ec.scroll&&ec!==ec.root&&transformBox(ei,{x:-ec.scroll.offset.x,y:-ec.scroll.offset.y}),ed&&(eo.x*=ed.x.scale,eo.y*=ed.y.scale,applyBoxDelta(ei,ed)),es&&(0,eu.ud)(ec.latestValues)&&transformBox(ei,ec.latestValues))}eo.x=snapToDefault(eo.x),eo.y=snapToDefault(eo.y)}}function snapToDefault(ei){return Number.isInteger(ei)?ei:ei>1.0000000000001||ei<.999999999999?ei:1}function translateAxis(ei,eo){ei.min=ei.min+eo,ei.max=ei.max+eo}function transformAxis(ei,eo,[ea,eu,ec]){let ed=void 0!==eo[ec]?eo[ec]:.5,ef=(0,es.t)(ei.min,ei.max,ed);applyAxisDelta(ei,eo[ea],eo[eu],ef,eo.scale)}let ec=["x","scaleX","originX"],ed=["y","scaleY","originY"];function transformBox(ei,eo){transformAxis(ei.x,eo,ec),transformAxis(ei.y,eo,ed)}},16645:function(ei,eo,ea){"use strict";ea.d(eo,{JO:function(){return calcLength},b3:function(){return calcRelativePosition},tf:function(){return calcRelativeBox},wS:function(){return isNear},y$:function(){return calcBoxDelta}});var es=ea(40179);function calcLength(ei){return ei.max-ei.min}function isNear(ei,eo=0,ea=.01){return Math.abs(ei-eo)<=ea}function calcAxisDelta(ei,eo,ea,eu=.5){ei.origin=eu,ei.originPoint=(0,es.t)(eo.min,eo.max,ei.origin),ei.scale=calcLength(ea)/calcLength(eo),(isNear(ei.scale,1,1e-4)||isNaN(ei.scale))&&(ei.scale=1),ei.translate=(0,es.t)(ea.min,ea.max,ei.origin)-ei.originPoint,(isNear(ei.translate)||isNaN(ei.translate))&&(ei.translate=0)}function calcBoxDelta(ei,eo,ea,es){calcAxisDelta(ei.x,eo.x,ea.x,es?es.originX:void 0),calcAxisDelta(ei.y,eo.y,ea.y,es?es.originY:void 0)}function calcRelativeAxis(ei,eo,ea){ei.min=ea.min+eo.min,ei.max=ei.min+calcLength(eo)}function calcRelativeBox(ei,eo,ea){calcRelativeAxis(ei.x,eo.x,ea.x),calcRelativeAxis(ei.y,eo.y,ea.y)}function calcRelativeAxisPosition(ei,eo,ea){ei.min=eo.min-ea.min,ei.max=ei.min+calcLength(eo)}function calcRelativePosition(ei,eo,ea){calcRelativeAxisPosition(ei.x,eo.x,ea.x),calcRelativeAxisPosition(ei.y,eo.y,ea.y)}},61512:function(ei,eo,ea){"use strict";ea.d(eo,{dO:function(){return createBox},wc:function(){return createDelta}});let createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()})},90690:function(ei,eo,ea){"use strict";ea.d(eo,{u:function(){return eW}});var es=ea(21560),eu=ea(27255),ec=ea(23967),ed=ea(40179),ef=ea(81662),eh=ea(96190);let ep=["TopLeft","TopRight","BottomLeft","BottomRight"],em=ep.length,asNumber=ei=>"string"==typeof ei?parseFloat(ei):ei,isPx=ei=>"number"==typeof ei||eh.px.test(ei);function mixValues(ei,eo,ea,es,eu,ec){eu?(ei.opacity=(0,ed.t)(0,void 0!==ea.opacity?ea.opacity:1,eg(es)),ei.opacityExit=(0,ed.t)(void 0!==eo.opacity?eo.opacity:1,0,eb(es))):ec&&(ei.opacity=(0,ed.t)(void 0!==eo.opacity?eo.opacity:1,void 0!==ea.opacity?ea.opacity:1,es));for(let eu=0;eu<em;eu++){let ec=`border${ep[eu]}Radius`,ef=getRadius(eo,ec),em=getRadius(ea,ec);if(void 0===ef&&void 0===em)continue;ef||(ef=0),em||(em=0);let eg=0===ef||0===em||isPx(ef)===isPx(em);eg?(ei[ec]=Math.max((0,ed.t)(asNumber(ef),asNumber(em),es),0),(eh.aQ.test(em)||eh.aQ.test(ef))&&(ei[ec]+="%")):ei[ec]=em}(eo.rotate||ea.rotate)&&(ei.rotate=(0,ed.t)(eo.rotate||0,ea.rotate||0,es))}function getRadius(ei,eo){return void 0!==ei[eo]?ei[eo]:ei.borderRadius}let eg=compress(0,.5,eu.Bn),eb=compress(.5,.95,ef.Z);function compress(ei,eo,ea){return es=>es<ei?0:es>eo?1:ea((0,ec.Y)(ei,eo,es))}function copyAxisInto(ei,eo){ei.min=eo.min,ei.max=eo.max}function copyBoxInto(ei,eo){copyAxisInto(ei.x,eo.x),copyAxisInto(ei.y,eo.y)}var ey=ea(16e3),ew=ea(16645);function removePointDelta(ei,eo,ea,es,eu){return ei-=eo,ei=(0,ey.q2)(ei,1/ea,es),void 0!==eu&&(ei=(0,ey.q2)(ei,1/eu,es)),ei}function removeAxisDelta(ei,eo=0,ea=1,es=.5,eu,ec=ei,ef=ei){if(eh.aQ.test(eo)){eo=parseFloat(eo);let ei=(0,ed.t)(ef.min,ef.max,eo/100);eo=ei-ef.min}if("number"!=typeof eo)return;let ep=(0,ed.t)(ec.min,ec.max,es);ei===ec&&(ep-=eo),ei.min=removePointDelta(ei.min,eo,ea,ep,eu),ei.max=removePointDelta(ei.max,eo,ea,ep,eu)}function removeAxisTransforms(ei,eo,[ea,es,eu],ec,ed){removeAxisDelta(ei,eo[ea],eo[es],eo[eu],eo.scale,ec,ed)}let ex=["x","scaleX","originX"],eP=["y","scaleY","originY"];function removeBoxTransforms(ei,eo,ea,es){removeAxisTransforms(ei.x,eo,ex,ea?ea.x:void 0,es?es.x:void 0),removeAxisTransforms(ei.y,eo,eP,ea?ea.y:void 0,es?es.y:void 0)}var eS=ea(61512),eE=ea(31056);function isAxisDeltaZero(ei){return 0===ei.translate&&1===ei.scale}function isDeltaZero(ei){return isAxisDeltaZero(ei.x)&&isAxisDeltaZero(ei.y)}function boxEquals(ei,eo){return ei.x.min===eo.x.min&&ei.x.max===eo.x.max&&ei.y.min===eo.y.min&&ei.y.max===eo.y.max}function boxEqualsRounded(ei,eo){return Math.round(ei.x.min)===Math.round(eo.x.min)&&Math.round(ei.x.max)===Math.round(eo.x.max)&&Math.round(ei.y.min)===Math.round(eo.y.min)&&Math.round(ei.y.max)===Math.round(eo.y.max)}function aspectRatio(ei){return(0,ew.JO)(ei.x)/(0,ew.JO)(ei.y)}var ek=ea(10010);let NodeStack=class NodeStack{constructor(){this.members=[]}add(ei){(0,ek.y4)(this.members,ei),ei.scheduleRender()}remove(ei){if((0,ek.cl)(this.members,ei),ei===this.prevLead&&(this.prevLead=void 0),ei===this.lead){let ei=this.members[this.members.length-1];ei&&this.promote(ei)}}relegate(ei){let eo;let ea=this.members.findIndex(eo=>ei===eo);if(0===ea)return!1;for(let ei=ea;ei>=0;ei--){let ea=this.members[ei];if(!1!==ea.isPresent){eo=ea;break}}return!!eo&&(this.promote(eo),!0)}promote(ei,eo){let ea=this.lead;if(ei!==ea&&(this.prevLead=ea,this.lead=ei,ei.show(),ea)){ea.instance&&ea.scheduleRender(),ei.scheduleRender(),ei.resumeFrom=ea,eo&&(ei.resumeFrom.preserveOpacity=!0),ea.snapshot&&(ei.snapshot=ea.snapshot,ei.snapshot.latestValues=ea.animationValues||ea.latestValues),ei.root&&ei.root.isUpdating&&(ei.isLayoutDirty=!0);let{crossfade:es}=ei.options;!1===es&&ea.hide()}}exitAnimationComplete(){this.members.forEach(ei=>{let{options:eo,resumingFrom:ea}=ei;eo.onExitComplete&&eo.onExitComplete(),ea&&ea.options.onExitComplete&&ea.options.onExitComplete()})}scheduleRender(){this.members.forEach(ei=>{ei.instance&&ei.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};var eT=ea(64561);function buildProjectionTransform(ei,eo,ea){let es="",eu=ei.x.translate/eo.x,ec=ei.y.translate/eo.y,ed=(null==ea?void 0:ea.z)||0;if((eu||ec||ed)&&(es=`translate3d(${eu}px, ${ec}px, ${ed}px) `),(1!==eo.x||1!==eo.y)&&(es+=`scale(${1/eo.x}, ${1/eo.y}) `),ea){let{transformPerspective:ei,rotate:eo,rotateX:eu,rotateY:ec,skewX:ed,skewY:ef}=ea;ei&&(es=`perspective(${ei}px) ${es}`),eo&&(es+=`rotate(${eo}deg) `),eu&&(es+=`rotateX(${eu}deg) `),ec&&(es+=`rotateY(${ec}deg) `),ed&&(es+=`skewX(${ed}deg) `),ef&&(es+=`skewY(${ef}deg) `)}let ef=ei.x.scale*eo.x,eh=ei.y.scale*eo.y;return(1!==ef||1!==eh)&&(es+=`scale(${ef}, ${eh})`),es||"none"}var eC=ea(91730),e_=ea(99527);let compareByDepth=(ei,eo)=>ei.depth-eo.depth;let FlatTree=class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(ei){(0,ek.y4)(this.children,ei),this.isDirty=!0}remove(ei){(0,ek.cl)(this.children,ei),this.isDirty=!0}forEach(ei){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(ei)}};var eA=ea(16399),eO=ea(93083),eM=ea(1117),eR=ea(26166);function delay(ei,eo){let ea=eM.X.now(),checkElapsed=({timestamp:es})=>{let eu=es-ea;eu>=eo&&((0,eR.Pn)(checkElapsed),ei(eu-eo))};return eR.Wi.read(checkElapsed,!0),()=>(0,eR.Pn)(checkElapsed)}function record(ei){window.MotionDebug&&window.MotionDebug.record(ei)}var ej=ea(75194),eN=ea(61059),eL=ea(24169),eD=ea(83582);let eI=["","X","Y","Z"],ez={visibility:"hidden"},eB=1e3,eF=0,eH={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function resetDistortingTransform(ei,eo,ea,es){let{latestValues:eu}=eo;eu[ei]&&(ea[ei]=eu[ei],eo.setStaticValue(ei,0),es&&(es[ei]=0))}function createProjectionNode({attachResizeListener:ei,defaultParent:eo,measureScroll:ea,checkIsScrollRoot:eu,resetTransform:ec}){return class{constructor(ei={},ea=null==eo?void 0:eo()){this.id=eF++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eH.totalNodes=eH.resolvedTargetDeltas=eH.recalculatedProjection=0,this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),record(eH)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=ei,this.root=ea?ea.root||ea:this,this.path=ea?[...ea.path,ea]:[],this.parent=ea,this.depth=ea?ea.depth+1:0;for(let ei=0;ei<this.path.length;ei++)this.path[ei].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(ei,eo){return this.eventHandlers.has(ei)||this.eventHandlers.set(ei,new es.L),this.eventHandlers.get(ei).add(eo)}notifyListeners(ei,...eo){let ea=this.eventHandlers.get(ei);ea&&ea.notify(...eo)}hasListeners(ei){return this.eventHandlers.has(ei)}mount(eo,ea=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,ej.v)(eo),this.instance=eo;let{layoutId:es,layout:eu,visualElement:ec}=this.options;if(ec&&!ec.current&&ec.mount(eo),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),ea&&(eu||es)&&(this.isLayoutDirty=!0),ei){let ea;let resizeUnblockUpdate=()=>this.root.updateBlockedByResize=!1;ei(eo,()=>{this.root.updateBlockedByResize=!0,ea&&ea(),ea=delay(resizeUnblockUpdate,250),eO.V.hasAnimatedSinceResize&&(eO.V.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}es&&this.root.registerSharedNode(es,this),!1!==this.options.animate&&ec&&(es||eu)&&this.addEventListener("didUpdate",({delta:ei,hasLayoutChanged:eo,hasRelativeTargetChanged:ea,layout:es})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let eu=this.options.transition||ec.getDefaultTransition()||eU,{onLayoutAnimationStart:ed,onLayoutAnimationComplete:ef}=ec.getProps(),eh=!this.targetLayout||!boxEqualsRounded(this.targetLayout,es)||ea,ep=!eo&&ea;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||ep||eo&&(eh||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(ei,ep);let eo={...(0,eE.e)(eu,"layout"),onPlay:ed,onComplete:ef};(ec.shouldReduceMotion||this.options.layoutRoot)&&(eo.delay=0,eo.type=!1),this.startAnimation(eo)}else eo||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=es})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let ei=this.getStack();ei&&ei.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,eR.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){let{visualElement:ei}=this.options;return ei&&ei.getProps().transformTemplate}willUpdate(ei=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let ei=0;ei<this.path.length;ei++){let eo=this.path[ei];eo.shouldResetTransform=!0,eo.updateScroll("snapshot"),eo.options.layoutRoot&&eo.willUpdate(!1)}let{layoutId:eo,layout:ea}=this.options;if(void 0===eo&&!ea)return;let es=this.getTransformTemplate();this.prevTransformTemplateValue=es?es(this.latestValues,""):void 0,this.updateSnapshot(),ei&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;let ei=this.isUpdateBlocked();if(ei){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();let eo=eM.X.now();eR.frameData.delta=(0,eL.u)(0,1e3/60,eo-eR.frameData.timestamp),eR.frameData.timestamp=eo,eR.frameData.isProcessing=!0,eR.S6.update.process(eR.frameData),eR.S6.preRender.process(eR.frameData),eR.S6.render.process(eR.frameData),eR.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eD.g.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eR.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eR.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let ei=0;ei<this.path.length;ei++){let eo=this.path[ei];eo.updateScroll()}let ei=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,eS.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:eo}=this.options;eo&&eo.notify("LayoutMeasure",this.layout.layoutBox,ei?ei.layoutBox:void 0)}updateScroll(ei="measure"){let eo=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===ei&&(eo=!1),eo&&(this.scroll={animationId:this.root.animationId,phase:ei,isRoot:eu(this.instance),offset:ea(this.instance)})}resetTransform(){if(!ec)return;let ei=this.isLayoutDirty||this.shouldResetTransform,eo=this.projectionDelta&&!isDeltaZero(this.projectionDelta),ea=this.getTransformTemplate(),es=ea?ea(this.latestValues,""):void 0,eu=es!==this.prevTransformTemplateValue;ei&&(eo||(0,e_.ud)(this.latestValues)||eu)&&(ec(this.instance,es),this.shouldResetTransform=!1,this.scheduleRender())}measure(ei=!0){let eo=this.measurePageBox(),ea=this.removeElementScroll(eo);return ei&&(ea=this.removeTransform(ea)),roundBox(ea),{animationId:this.root.animationId,measuredBox:eo,layoutBox:ea,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:ei}=this.options;if(!ei)return(0,eS.dO)();let eo=ei.measureViewportBox(),{scroll:ea}=this.root;return ea&&((0,ey.am)(eo.x,ea.offset.x),(0,ey.am)(eo.y,ea.offset.y)),eo}removeElementScroll(ei){let eo=(0,eS.dO)();copyBoxInto(eo,ei);for(let ea=0;ea<this.path.length;ea++){let es=this.path[ea],{scroll:eu,options:ec}=es;if(es!==this.root&&eu&&ec.layoutScroll){if(eu.isRoot){copyBoxInto(eo,ei);let{scroll:ea}=this.root;ea&&((0,ey.am)(eo.x,-ea.offset.x),(0,ey.am)(eo.y,-ea.offset.y))}(0,ey.am)(eo.x,eu.offset.x),(0,ey.am)(eo.y,eu.offset.y)}}return eo}applyTransform(ei,eo=!1){let ea=(0,eS.dO)();copyBoxInto(ea,ei);for(let ei=0;ei<this.path.length;ei++){let es=this.path[ei];!eo&&es.options.layoutScroll&&es.scroll&&es!==es.root&&(0,ey.D2)(ea,{x:-es.scroll.offset.x,y:-es.scroll.offset.y}),(0,e_.ud)(es.latestValues)&&(0,ey.D2)(ea,es.latestValues)}return(0,e_.ud)(this.latestValues)&&(0,ey.D2)(ea,this.latestValues),ea}removeTransform(ei){let eo=(0,eS.dO)();copyBoxInto(eo,ei);for(let ei=0;ei<this.path.length;ei++){let ea=this.path[ei];if(!ea.instance||!(0,e_.ud)(ea.latestValues))continue;(0,e_.Lj)(ea.latestValues)&&ea.updateSnapshot();let es=(0,eS.dO)(),eu=ea.measurePageBox();copyBoxInto(es,eu),removeBoxTransforms(eo,ea.latestValues,ea.snapshot?ea.snapshot.layoutBox:void 0,es)}return(0,e_.ud)(this.latestValues)&&removeBoxTransforms(eo,this.latestValues),eo}setTargetDelta(ei){this.targetDelta=ei,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(ei){this.options={...this.options,...ei,crossfade:void 0===ei.crossfade||ei.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eR.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(ei=!1){var eo;let ea=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=ea.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=ea.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=ea.isSharedProjectionDirty);let es=!!this.resumingFrom||this!==ea,eu=!(ei||es&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(eo=this.parent)||void 0===eo?void 0:eo.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(eu)return;let{layout:ec,layoutId:ed}=this.options;if(this.layout&&(ec||ed)){if(this.resolvedRelativeTargetAt=eR.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let ei=this.getClosestProjectingParent();ei&&ei.layout&&1!==this.animationProgress?(this.relativeParent=ei,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,eS.dO)(),this.relativeTargetOrigin=(0,eS.dO)(),(0,ew.b3)(this.relativeTargetOrigin,this.layout.layoutBox,ei.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,eS.dO)(),this.targetWithTransforms=(0,eS.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,ew.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),(0,ey.o2)(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let ei=this.getClosestProjectingParent();ei&&!!ei.resumingFrom==!!this.resumingFrom&&!ei.options.layoutScroll&&ei.target&&1!==this.animationProgress?(this.relativeParent=ei,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,eS.dO)(),this.relativeTargetOrigin=(0,eS.dO)(),(0,ew.b3)(this.relativeTargetOrigin,this.target,ei.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eH.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,e_.Lj)(this.parent.latestValues)||(0,e_.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var ei;let eo=this.getLead(),ea=!!this.resumingFrom||this!==eo,es=!0;if((this.isProjectionDirty||(null===(ei=this.parent)||void 0===ei?void 0:ei.isProjectionDirty))&&(es=!1),ea&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(es=!1),this.resolvedRelativeTargetAt===eR.frameData.timestamp&&(es=!1),es)return;let{layout:eu,layoutId:ec}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(eu||ec))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);let ed=this.treeScale.x,ef=this.treeScale.y;(0,ey.YY)(this.layoutCorrected,this.treeScale,this.path,ea),eo.layout&&!eo.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(eo.target=eo.layout.layoutBox,eo.targetWithTransforms=(0,eS.dO)());let{target:eh}=eo;if(!eh){this.projectionTransform&&(this.projectionDelta=(0,eS.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,eS.wc)(),this.projectionDeltaWithTransform=(0,eS.wc)());let ep=this.projectionTransform;(0,ew.y$)(this.projectionDelta,this.layoutCorrected,eh,this.latestValues),this.projectionTransform=buildProjectionTransform(this.projectionDelta,this.treeScale),(this.projectionTransform!==ep||this.treeScale.x!==ed||this.treeScale.y!==ef)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",eh)),eH.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(ei=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),ei){let ei=this.getStack();ei&&ei.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(ei,eo=!1){let ea;let es=this.snapshot,eu=es?es.latestValues:{},ec={...this.latestValues},ed=(0,eS.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!eo;let ef=(0,eS.dO)(),eh=es?es.source:void 0,ep=this.layout?this.layout.source:void 0,em=eh!==ep,eg=this.getStack(),eb=!eg||eg.members.length<=1,ey=!!(em&&!eb&&!0===this.options.crossfade&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0,this.mixTargetDelta=eo=>{let es=eo/1e3;mixAxisDelta(ed.x,ei.x,es),mixAxisDelta(ed.y,ei.y,es),this.setTargetDelta(ed),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,ew.b3)(ef,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mixBox(this.relativeTarget,this.relativeTargetOrigin,ef,es),ea&&boxEquals(this.relativeTarget,ea)&&(this.isProjectionDirty=!1),ea||(ea=(0,eS.dO)()),copyBoxInto(ea,this.relativeTarget)),em&&(this.animationValues=ec,mixValues(ec,eu,this.latestValues,es,ey,eb)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=es},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(ei){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eR.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eR.Wi.update(()=>{eO.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,eN.D)(0,eB,{...ei,onUpdate:eo=>{this.mixTargetDelta(eo),ei.onUpdate&&ei.onUpdate(eo)},onComplete:()=>{ei.onComplete&&ei.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let ei=this.getStack();ei&&ei.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(eB),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let ei=this.getLead(),{targetWithTransforms:eo,target:ea,layout:es,latestValues:eu}=ei;if(eo&&ea&&es){if(this!==ei&&this.layout&&es&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,es.layoutBox)){ea=this.target||(0,eS.dO)();let eo=(0,ew.JO)(this.layout.layoutBox.x);ea.x.min=ei.target.x.min,ea.x.max=ea.x.min+eo;let es=(0,ew.JO)(this.layout.layoutBox.y);ea.y.min=ei.target.y.min,ea.y.max=ea.y.min+es}copyBoxInto(eo,ea),(0,ey.D2)(eo,eu),(0,ew.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,eo,eu)}}registerSharedNode(ei,eo){this.sharedNodes.has(ei)||this.sharedNodes.set(ei,new NodeStack);let ea=this.sharedNodes.get(ei);ea.add(eo);let es=eo.options.initialPromotionConfig;eo.promote({transition:es?es.transition:void 0,preserveFollowOpacity:es&&es.shouldPreserveFollowOpacity?es.shouldPreserveFollowOpacity(eo):void 0})}isLead(){let ei=this.getStack();return!ei||ei.lead===this}getLead(){var ei;let{layoutId:eo}=this.options;return eo&&(null===(ei=this.getStack())||void 0===ei?void 0:ei.lead)||this}getPrevLead(){var ei;let{layoutId:eo}=this.options;return eo?null===(ei=this.getStack())||void 0===ei?void 0:ei.prevLead:void 0}getStack(){let{layoutId:ei}=this.options;if(ei)return this.root.sharedNodes.get(ei)}promote({needsReset:ei,transition:eo,preserveFollowOpacity:ea}={}){let es=this.getStack();es&&es.promote(this,ea),ei&&(this.projectionDelta=void 0,this.needsReset=!0),eo&&this.setOptions({transition:eo})}relegate(){let ei=this.getStack();return!!ei&&ei.relegate(this)}resetSkewAndRotation(){let{visualElement:ei}=this.options;if(!ei)return;let eo=!1,{latestValues:ea}=ei;if((ea.z||ea.rotate||ea.rotateX||ea.rotateY||ea.rotateZ||ea.skewX||ea.skewY)&&(eo=!0),!eo)return;let es={};ea.z&&resetDistortingTransform("z",ei,es,this.animationValues);for(let eo=0;eo<eI.length;eo++)resetDistortingTransform(`rotate${eI[eo]}`,ei,es,this.animationValues),resetDistortingTransform(`skew${eI[eo]}`,ei,es,this.animationValues);for(let eo in ei.render(),es)ei.setStaticValue(eo,es[eo]),this.animationValues&&(this.animationValues[eo]=es[eo]);ei.scheduleRender()}getProjectionStyles(ei){var eo,ea;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ez;let es={visibility:""},eu=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,es.opacity="",es.pointerEvents=(0,eA.b)(null==ei?void 0:ei.pointerEvents)||"",es.transform=eu?eu(this.latestValues,""):"none",es;let ec=this.getLead();if(!this.projectionDelta||!this.layout||!ec.target){let eo={};return this.options.layoutId&&(eo.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,eo.pointerEvents=(0,eA.b)(null==ei?void 0:ei.pointerEvents)||""),this.hasProjected&&!(0,e_.ud)(this.latestValues)&&(eo.transform=eu?eu({},""):"none",this.hasProjected=!1),eo}let ed=ec.animationValues||ec.latestValues;this.applyTransformsToTarget(),es.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,ed),eu&&(es.transform=eu(ed,es.transform));let{x:ef,y:eh}=this.projectionDelta;for(let ei in es.transformOrigin=`${100*ef.origin}% ${100*eh.origin}% 0`,ec.animationValues?es.opacity=ec===this?null!==(ea=null!==(eo=ed.opacity)&&void 0!==eo?eo:this.latestValues.opacity)&&void 0!==ea?ea:1:this.preserveOpacity?this.latestValues.opacity:ed.opacityExit:es.opacity=ec===this?void 0!==ed.opacity?ed.opacity:"":void 0!==ed.opacityExit?ed.opacityExit:0,eT.P){if(void 0===ed[ei])continue;let{correct:eo,applyTo:ea}=eT.P[ei],eu="none"===es.transform?ed[ei]:eo(ed[ei],ec);if(ea){let ei=ea.length;for(let eo=0;eo<ei;eo++)es[ea[eo]]=eu}else es[ei]=eu}return this.options.layoutId&&(es.pointerEvents=ec===this?(0,eA.b)(null==ei?void 0:ei.pointerEvents)||"":"none"),es}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(ei=>{var eo;return null===(eo=ei.currentAnimation)||void 0===eo?void 0:eo.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(ei){ei.updateLayout()}function notifyLayoutUpdate(ei){var eo;let ea=(null===(eo=ei.resumeFrom)||void 0===eo?void 0:eo.snapshot)||ei.snapshot;if(ei.isLead()&&ei.layout&&ea&&ei.hasListeners("didUpdate")){let{layoutBox:eo,measuredBox:es}=ei.layout,{animationType:eu}=ei.options,ec=ea.source!==ei.layout.source;"size"===eu?(0,eC.U)(ei=>{let es=ec?ea.measuredBox[ei]:ea.layoutBox[ei],eu=(0,ew.JO)(es);es.min=eo[ei].min,es.max=es.min+eu}):shouldAnimatePositionOnly(eu,ea.layoutBox,eo)&&(0,eC.U)(es=>{let eu=ec?ea.measuredBox[es]:ea.layoutBox[es],ed=(0,ew.JO)(eo[es]);eu.max=eu.min+ed,ei.relativeTarget&&!ei.currentAnimation&&(ei.isProjectionDirty=!0,ei.relativeTarget[es].max=ei.relativeTarget[es].min+ed)});let ed=(0,eS.wc)();(0,ew.y$)(ed,eo,ea.layoutBox);let ef=(0,eS.wc)();ec?(0,ew.y$)(ef,ei.applyTransform(es,!0),ea.measuredBox):(0,ew.y$)(ef,eo,ea.layoutBox);let eh=!isDeltaZero(ed),ep=!1;if(!ei.resumeFrom){let es=ei.getClosestProjectingParent();if(es&&!es.resumeFrom){let{snapshot:eu,layout:ec}=es;if(eu&&ec){let ed=(0,eS.dO)();(0,ew.b3)(ed,ea.layoutBox,eu.layoutBox);let ef=(0,eS.dO)();(0,ew.b3)(ef,eo,ec.layoutBox),boxEqualsRounded(ed,ef)||(ep=!0),es.options.layoutRoot&&(ei.relativeTarget=ef,ei.relativeTargetOrigin=ed,ei.relativeParent=es)}}}ei.notifyListeners("didUpdate",{layout:eo,snapshot:ea,delta:ef,layoutDelta:ed,hasLayoutChanged:eh,hasRelativeTargetChanged:ep})}else if(ei.isLead()){let{onExitComplete:eo}=ei.options;eo&&eo()}ei.options.transition=void 0}function propagateDirtyNodes(ei){eH.totalNodes++,ei.parent&&(ei.isProjecting()||(ei.isProjectionDirty=ei.parent.isProjectionDirty),ei.isSharedProjectionDirty||(ei.isSharedProjectionDirty=!!(ei.isProjectionDirty||ei.parent.isProjectionDirty||ei.parent.isSharedProjectionDirty)),ei.isTransformDirty||(ei.isTransformDirty=ei.parent.isTransformDirty))}function cleanDirtyNodes(ei){ei.isProjectionDirty=ei.isSharedProjectionDirty=ei.isTransformDirty=!1}function clearSnapshot(ei){ei.clearSnapshot()}function clearMeasurements(ei){ei.clearMeasurements()}function clearIsLayoutDirty(ei){ei.isLayoutDirty=!1}function resetTransformStyle(ei){let{visualElement:eo}=ei.options;eo&&eo.getProps().onBeforeLayoutMeasure&&eo.notify("BeforeLayoutMeasure"),ei.resetTransform()}function finishAnimation(ei){ei.finishAnimation(),ei.targetDelta=ei.relativeTarget=ei.target=void 0,ei.isProjectionDirty=!0}function resolveTargetDelta(ei){ei.resolveTargetDelta()}function calcProjection(ei){ei.calcProjection()}function resetSkewAndRotation(ei){ei.resetSkewAndRotation()}function removeLeadSnapshots(ei){ei.removeLeadSnapshot()}function mixAxisDelta(ei,eo,ea){ei.translate=(0,ed.t)(eo.translate,0,ea),ei.scale=(0,ed.t)(eo.scale,1,ea),ei.origin=eo.origin,ei.originPoint=eo.originPoint}function mixAxis(ei,eo,ea,es){ei.min=(0,ed.t)(eo.min,ea.min,es),ei.max=(0,ed.t)(eo.max,ea.max,es)}function mixBox(ei,eo,ea,es){mixAxis(ei.x,eo.x,ea.x,es),mixAxis(ei.y,eo.y,ea.y,es)}function hasOpacityCrossfade(ei){return ei.animationValues&&void 0!==ei.animationValues.opacityExit}let eU={duration:.45,ease:[.4,0,.1,1]},userAgentContains=ei=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(ei),eV=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:ef.Z;function roundAxis(ei){ei.min=eV(ei.min),ei.max=eV(ei.max)}function roundBox(ei){roundAxis(ei.x),roundAxis(ei.y)}function shouldAnimatePositionOnly(ei,eo,ea){return"position"===ei||"preserve-aspect"===ei&&!(0,ew.wS)(aspectRatio(eo),aspectRatio(ea),.2)}var eX=ea(18456);let eq=createProjectionNode({attachResizeListener:(ei,eo)=>(0,eX.E)(ei,"resize",eo),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e$={current:void 0},eW=createProjectionNode({measureScroll:ei=>({x:ei.scrollLeft,y:ei.scrollTop}),defaultParent:()=>{if(!e$.current){let ei=new eq({});ei.mount(window),ei.setOptions({layoutScroll:!0}),e$.current=ei}return e$.current},resetTransform:(ei,eo)=>{ei.style.transform=void 0!==eo?eo:"none"},checkIsScrollRoot:ei=>"fixed"===window.getComputedStyle(ei).position})},93083:function(ei,eo,ea){"use strict";ea.d(eo,{V:function(){return es}});let es={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},64561:function(ei,eo,ea){"use strict";ea.d(eo,{B:function(){return addScaleCorrector},P:function(){return es}});let es={};function addScaleCorrector(ei){Object.assign(es,ei)}},91730:function(ei,eo,ea){"use strict";function eachAxis(ei){return[ei("x"),ei("y")]}ea.d(eo,{U:function(){return eachAxis}})},99527:function(ei,eo,ea){"use strict";function isIdentityScale(ei){return void 0===ei||1===ei}function hasScale({scale:ei,scaleX:eo,scaleY:ea}){return!isIdentityScale(ei)||!isIdentityScale(eo)||!isIdentityScale(ea)}function hasTransform(ei){return hasScale(ei)||has2DTranslate(ei)||ei.z||ei.rotate||ei.rotateX||ei.rotateY||ei.skewX||ei.skewY}function has2DTranslate(ei){return is2DTranslate(ei.x)||is2DTranslate(ei.y)}function is2DTranslate(ei){return ei&&"0%"!==ei}ea.d(eo,{D_:function(){return has2DTranslate},Lj:function(){return hasScale},ud:function(){return hasTransform}})},56460:function(ei,eo,ea){"use strict";ea.d(eo,{J:function(){return measureViewportBox},z:function(){return measurePageBox}});var es=ea(76117),eu=ea(16e3);function measureViewportBox(ei,eo){return(0,es.i8)((0,es.d7)(ei.getBoundingClientRect(),eo))}function measurePageBox(ei,eo,ea){let es=measureViewportBox(ei,ea),{scroll:ec}=eo;return ec&&((0,eu.am)(es.x,ec.offset.x),(0,eu.am)(es.y,ec.offset.y)),es}},20204:function(ei,eo,ea){"use strict";ea.d(eo,{s:function(){return DOMKeyframesResolver}});var es=ea(30681);function isNone(ei){return"number"==typeof ei?0===ei:null===ei||"none"===ei||"0"===ei||(0,es.W)(ei)}var eu=ea(45487),ec=ea(33441),ed=ea(57630);let ef=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(ei){let eo=ef.exec(ei);if(!eo)return[,];let[,ea,es,eu]=eo;return[`--${null!=ea?ea:es}`,eu]}let eh=4;function getVariableValue(ei,eo,ea=1){(0,eu.k)(ea<=eh,`Max CSS variable fallback depth detected in property "${ei}". This may indicate a circular fallback dependency.`);let[es,ef]=parseCSSVariable(ei);if(!es)return;let ep=window.getComputedStyle(eo).getPropertyValue(es);if(ep){let ei=ep.trim();return(0,ec.P)(ei)?parseFloat(ei):ei}return(0,ed.t)(ef)?getVariableValue(ef,eo,ea+1):ef}var ep=ea(6383),em=ea(56440),eg=ea(41568),eb=ea(79135);function makeNoneKeyframesAnimatable(ei,eo,ea){let es,eu=0;for(;eu<ei.length&&!es;)"string"==typeof ei[eu]&&"none"!==ei[eu]&&"0"!==ei[eu]&&(es=ei[eu]),eu++;if(es&&ea)for(let eu of eo)ei[eu]=(0,eb.T)(ea,es)}let DOMKeyframesResolver=class DOMKeyframesResolver extends eg.e{constructor(ei,eo,ea,es){super(ei,eo,ea,es,null==es?void 0:es.owner,!0)}readKeyframes(){let{unresolvedKeyframes:ei,element:eo,name:ea}=this;if(!eo.current)return;super.readKeyframes();for(let ea=0;ea<ei.length;ea++){let es=ei[ea];if("string"==typeof es&&(0,ed.t)(es)){let eu=getVariableValue(es,eo.current);void 0!==eu&&(ei[ea]=eu),ea===ei.length-1&&(this.finalKeyframe=es)}}if(!ep.z2.has(ea)||2!==ei.length)return this.resolveNoneKeyframes();let[es,eu]=ei,ec=(0,em.C)(es),ef=(0,em.C)(eu);if(ec!==ef){if((0,ep.mP)(ec)&&(0,ep.mP)(ef))for(let eo=0;eo<ei.length;eo++){let ea=ei[eo];"string"==typeof ea&&(ei[eo]=parseFloat(ea))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:ei,name:eo}=this,ea=[];for(let eo=0;eo<ei.length;eo++)isNone(ei[eo])&&ea.push(eo);ea.length&&makeNoneKeyframesAnimatable(ei,ea,eo)}measureInitialState(){let{element:ei,unresolvedKeyframes:eo,name:ea}=this;if(!ei.current)return;"height"===ea&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ep.lw[ea](ei.measureViewportBox(),window.getComputedStyle(ei.current)),eo[0]=this.measuredOrigin;let es=eo[eo.length-1];void 0!==es&&ei.getValue(ea,es).jump(es,!1)}measureEndState(){var ei;let{element:eo,name:ea,unresolvedKeyframes:es}=this;if(!eo.current)return;let eu=eo.getValue(ea);eu&&eu.jump(this.measuredOrigin,!1);let ec=es.length-1,ed=es[ec];es[ec]=ep.lw[ea](eo.measureViewportBox(),window.getComputedStyle(eo.current)),null!==ed&&void 0===this.finalKeyframe&&(this.finalKeyframe=ed),(null===(ei=this.removedTransforms)||void 0===ei?void 0:ei.length)&&this.removedTransforms.forEach(([ei,ea])=>{eo.getValue(ei).set(ea)}),this.resolveNoneKeyframes()}}},3166:function(ei,eo,ea){"use strict";ea.d(eo,{J:function(){return DOMVisualElement}});var es=ea(61512),eu=ea(51804),ec=ea(11741);let ed={current:null},ef={current:!1};function initPrefersReducedMotion(){if(ef.current=!0,ec.j){if(window.matchMedia){let ei=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>ed.current=ei.matches;ei.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else ed.current=!1}}var eh=ea(21560),ep=ea(33234),em=ea(12490),eg=ea(40406),eb=ea(94714),ey=ea(7504),ew=ea(97732);function updateMotionValuesFromProps(ei,eo,ea){let{willChange:es}=eo;for(let eu in eo){let ec=eo[eu],ed=ea[eu];if((0,eg.i)(ec))ei.addValue(eu,ec),(0,em.L)(es)&&es.add(eu);else if((0,eg.i)(ed))ei.addValue(eu,(0,ep.BX)(ec,{owner:ei})),(0,em.L)(es)&&es.remove(eu);else if(ed!==ec){if(ei.hasValue(eu)){let eo=ei.getValue(eu);!0===eo.liveStyle?eo.jump(ec):eo.hasAnimated||eo.set(ec)}else{let eo=ei.getStaticValue(eu);ei.addValue(eu,(0,ep.BX)(void 0!==eo?eo:ec,{owner:ei}))}}}for(let es in ea)void 0===eo[es]&&ei.removeValue(es);return eo}var ex=ea(79432),eP=ea(9442),eS=ea(22963),eE=ea(56955),ek=ea(41568),eT=ea(33441),eC=ea(30681),e_=ea(85385),eA=ea(51550),eO=ea(56440),eM=ea(88340);let eR=[...eO.$,e_.$,eA.P],findValueType=ei=>eR.find((0,eM.l)(ei));var ej=ea(79135),eN=ea(26166);let eL=Object.keys(eP.A),eD=eL.length,eI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ez=eS.V.length;function getClosestProjectingNode(ei){if(ei)return!1!==ei.options.allowProjection?ei.projection:getClosestProjectingNode(ei.parent)}let VisualElement=class VisualElement{scrapeMotionValuesFromProps(ei,eo,ea){return{}}constructor({parent:ei,props:eo,presenceContext:ea,reducedMotionConfig:es,blockInitialAnimation:eu,visualState:ec},ed={}){this.resolveKeyframes=(ei,eo,ea,es)=>new this.KeyframeResolver(ei,eo,ea,es,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ek.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eN.Wi.render(this.render,!1,!0);let{latestValues:ef,renderState:eh}=ec;this.latestValues=ef,this.baseTarget={...ef},this.initialValues=eo.initial?{...ef}:{},this.renderState=eh,this.parent=ei,this.props=eo,this.presenceContext=ea,this.depth=ei?ei.depth+1:0,this.reducedMotionConfig=es,this.options=ed,this.blockInitialAnimation=!!eu,this.isControllingVariants=(0,ey.G)(eo),this.isVariantNode=(0,ey.M)(eo),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(ei&&ei.current);let{willChange:ep,...eb}=this.scrapeMotionValuesFromProps(eo,{},this);for(let ei in eb){let eo=eb[ei];void 0!==ef[ei]&&(0,eg.i)(eo)&&(eo.set(ef[ei],!1),(0,em.L)(ep)&&ep.add(ei))}}mount(ei){this.current=ei,eE.R.set(ei,this),this.projection&&!this.projection.instance&&this.projection.mount(ei),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((ei,eo)=>this.bindToMotionValue(eo,ei)),ef.current||initPrefersReducedMotion(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ed.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var ei;for(let ei in eE.R.delete(this.current),this.projection&&this.projection.unmount(),(0,eN.Pn)(this.notifyUpdate),(0,eN.Pn)(this.render),this.valueSubscriptions.forEach(ei=>ei()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[ei].clear();for(let eo in this.features)null===(ei=this.features[eo])||void 0===ei||ei.unmount();this.current=null}bindToMotionValue(ei,eo){let ea=eb.G.has(ei),es=eo.on("change",eo=>{this.latestValues[ei]=eo,this.props.onUpdate&&eN.Wi.preRender(this.notifyUpdate),ea&&this.projection&&(this.projection.isTransformDirty=!0)}),eu=eo.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(ei,()=>{es(),eu(),eo.owner&&eo.stop()})}sortNodePosition(ei){return this.current&&this.sortInstanceNodePosition&&this.type===ei.type?this.sortInstanceNodePosition(this.current,ei.current):0}loadFeatures({children:ei,...eo},ea,es,ec){let ed,ef;for(let ei=0;ei<eD;ei++){let ea=eL[ei],{isEnabled:es,Feature:eu,ProjectionNode:ec,MeasureLayout:eh}=eP.A[ea];ec&&(ed=ec),es(eo)&&(!this.features[ea]&&eu&&(this.features[ea]=new eu(this)),eh&&(ef=eh))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&ed){this.projection=new ed(this.latestValues,getClosestProjectingNode(this.parent));let{layoutId:ei,layout:ea,drag:es,dragConstraints:ef,layoutScroll:eh,layoutRoot:ep}=eo;this.projection.setOptions({layoutId:ei,layout:ea,alwaysMeasureLayout:!!es||ef&&(0,eu.I)(ef),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof ea?ea:"both",initialPromotionConfig:ec,layoutScroll:eh,layoutRoot:ep})}return ef}updateFeatures(){for(let ei in this.features){let eo=this.features[ei];eo.isMounted?eo.update():(eo.mount(),eo.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,es.dO)()}getStaticValue(ei){return this.latestValues[ei]}setStaticValue(ei,eo){this.latestValues[ei]=eo}update(ei,eo){(ei.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=ei,this.prevPresenceContext=this.presenceContext,this.presenceContext=eo;for(let eo=0;eo<eI.length;eo++){let ea=eI[eo];this.propEventSubscriptions[ea]&&(this.propEventSubscriptions[ea](),delete this.propEventSubscriptions[ea]);let es="on"+ea,eu=ei[es];eu&&(this.propEventSubscriptions[ea]=this.on(ea,eu))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(ei,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(ei){return this.props.variants?this.props.variants[ei]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(ei=!1){if(ei)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let ei=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(ei.initial=this.props.initial),ei}let eo={};for(let ei=0;ei<ez;ei++){let ea=eS.V[ei],es=this.props[ea];((0,ew.$)(es)||!1===es)&&(eo[ea]=es)}return eo}addVariantChild(ei){let eo=this.getClosestVariantNode();if(eo)return eo.variantChildren&&eo.variantChildren.add(ei),()=>eo.variantChildren.delete(ei)}addValue(ei,eo){let ea=this.values.get(ei);eo!==ea&&(ea&&this.removeValue(ei),this.bindToMotionValue(ei,eo),this.values.set(ei,eo),this.latestValues[ei]=eo.get())}removeValue(ei){this.values.delete(ei);let eo=this.valueSubscriptions.get(ei);eo&&(eo(),this.valueSubscriptions.delete(ei)),delete this.latestValues[ei],this.removeValueFromRenderState(ei,this.renderState)}hasValue(ei){return this.values.has(ei)}getValue(ei,eo){if(this.props.values&&this.props.values[ei])return this.props.values[ei];let ea=this.values.get(ei);return void 0===ea&&void 0!==eo&&(ea=(0,ep.BX)(null===eo?void 0:eo,{owner:this}),this.addValue(ei,ea)),ea}readValue(ei,eo){var ea;let es=void 0===this.latestValues[ei]&&this.current?null!==(ea=this.getBaseTargetFromProps(this.props,ei))&&void 0!==ea?ea:this.readValueFromInstance(this.current,ei,this.options):this.latestValues[ei];return null!=es&&("string"==typeof es&&((0,eT.P)(es)||(0,eC.W)(es))?es=parseFloat(es):!findValueType(es)&&eA.P.test(eo)&&(es=(0,ej.T)(ei,eo)),this.setBaseTarget(ei,(0,eg.i)(es)?es.get():es)),(0,eg.i)(es)?es.get():es}setBaseTarget(ei,eo){this.baseTarget[ei]=eo}getBaseTarget(ei){var eo;let ea;let{initial:es}=this.props;if("string"==typeof es||"object"==typeof es){let eu=(0,ex.o)(this.props,es,null===(eo=this.presenceContext)||void 0===eo?void 0:eo.custom);eu&&(ea=eu[ei])}if(es&&void 0!==ea)return ea;let eu=this.getBaseTargetFromProps(this.props,ei);return void 0===eu||(0,eg.i)(eu)?void 0!==this.initialValues[ei]&&void 0===ea?void 0:this.baseTarget[ei]:eu}on(ei,eo){return this.events[ei]||(this.events[ei]=new eh.L),this.events[ei].add(eo)}notify(ei,...eo){this.events[ei]&&this.events[ei].notify(...eo)}};var eB=ea(20204);let DOMVisualElement=class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=eB.s}sortInstanceNodePosition(ei,eo){return 2&ei.compareDocumentPosition(eo)?1:-1}getBaseTargetFromProps(ei,eo){return ei.style?ei.style[eo]:void 0}removeValueFromRenderState(ei,{vars:eo,style:ea}){delete eo[ei],delete ea[ei]}}},42002:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return createDomVisualElement}});var es=ea(67294),eu=ea(34547),ec=ea(25794),ed=ea(62627);let createDomVisualElement=(ei,eo)=>(0,ed.q)(ei)?new ec.e(eo,{enableHardwareAcceleration:!1}):new eu.W(eo,{allowProjection:ei!==es.Fragment,enableHardwareAcceleration:!0})},1673:function(ei,eo,ea){"use strict";ea.d(eo,{H:function(){return ed}});var es=ea(49673),eu=ea(33899),ec=ea(42002);let ed={renderer:ec.b,...es.s,...eu.E}},12560:function(ei,eo,ea){"use strict";ea.d(eo,{m:function(){return ec}});var es=ea(5401),eu=ea(4007);let ec=(0,es.D)(eu.w)},5401:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return createMotionProxy}});var es=ea(85893),eu=ea(67294),ec=ea(16014),ed=ea(24451),ef=ea(240),eh=ea(58868),ep=ea(70398),em=ea(68588),eg=ea(83582);function useVisualElement(ei,eo,ea,es){let{visualElement:eb}=(0,eu.useContext)(ed.v),ey=(0,eu.useContext)(ep.u),ew=(0,eu.useContext)(ef.O),ex=(0,eu.useContext)(ec._).reducedMotion,eP=(0,eu.useRef)();es=es||ey.renderer,!eP.current&&es&&(eP.current=es(ei,{visualState:eo,parent:eb,props:ea,presenceContext:ew,blockInitialAnimation:!!ew&&!1===ew.initial,reducedMotionConfig:ex}));let eS=eP.current;(0,eu.useInsertionEffect)(()=>{eS&&eS.update(ea,ew)});let eE=(0,eu.useRef)(!!(ea[em.M]&&!window.HandoffComplete));return(0,eh.L)(()=>{eS&&(eg.g.postRender(eS.render),eE.current&&eS.animationState&&eS.animationState.animateChanges())}),(0,eu.useEffect)(()=>{eS&&(eS.updateFeatures(),!eE.current&&eS.animationState&&eS.animationState.animateChanges(),eE.current&&(eE.current=!1,window.HandoffComplete=!0))}),eS}var eb=ea(51804);function useMotionRef(ei,eo,ea){return(0,eu.useCallback)(es=>{es&&ei.mount&&ei.mount(es),eo&&(es?eo.mount(es):eo.unmount()),ea&&("function"==typeof ea?ea(es):(0,eb.I)(ea)&&(ea.current=es))},[eo])}var ey=ea(97732),ew=ea(7504);function getCurrentTreeVariants(ei,eo){if((0,ew.G)(ei)){let{initial:eo,animate:ea}=ei;return{initial:!1===eo||(0,ey.$)(eo)?eo:void 0,animate:(0,ey.$)(ea)?ea:void 0}}return!1!==ei.inherit?eo:{}}function useCreateMotionContext(ei){let{initial:eo,animate:ea}=getCurrentTreeVariants(ei,(0,eu.useContext)(ed.v));return(0,eu.useMemo)(()=>({initial:eo,animate:ea}),[variantLabelsAsDependency(eo),variantLabelsAsDependency(ea)])}function variantLabelsAsDependency(ei){return Array.isArray(ei)?ei.join(" "):ei}var ex=ea(81879),eP=ea(11741),eS=ea(25364),eE=ea(41705);let ek=Symbol.for("motionComponentSymbol");function createMotionComponent({preloadedFeatures:ei,createVisualElement:eo,useRender:ea,useVisualState:ef,Component:eh}){function MotionComponent(em,eg){let eb;let ey={...(0,eu.useContext)(ec._),...em,layoutId:useLayoutId(em)},{isStatic:ew}=ey,ex=useCreateMotionContext(em),eS=ef(em,ew);if(!ew&&eP.j){ex.visualElement=useVisualElement(eh,eS,ey,eo);let ea=(0,eu.useContext)(eE.g),es=(0,eu.useContext)(ep.u).strict;ex.visualElement&&(eb=ex.visualElement.loadFeatures(ey,es,ei,ea))}return(0,es.jsxs)(ed.v.Provider,{value:ex,children:[eb&&ex.visualElement?(0,es.jsx)(eb,{visualElement:ex.visualElement,...ey}):null,ea(eh,em,useMotionRef(eS,ex.visualElement,eg),eS,ew,ex.visualElement)]})}ei&&(0,ex.K)(ei);let em=(0,eu.forwardRef)(MotionComponent);return em[ek]=eh,em}function useLayoutId({layoutId:ei}){let eo=(0,eu.useContext)(eS.p).id;return eo&&void 0!==ei?eo+"-"+ei:ei}function createMotionProxy(ei){function custom(eo,ea={}){return createMotionComponent(ei(eo,ea))}if("undefined"==typeof Proxy)return custom;let eo=new Map;return new Proxy(custom,{get:(ei,ea)=>(eo.has(ea)||eo.set(ea,custom(ea)),eo.get(ea))})}},7312:function(ei,eo,ea){"use strict";ea.d(eo,{E:function(){return eg}});var es=ea(5401),eu=ea(4007),ec=ea(33899),ed=ea(49673),ef=ea(76295),eh=ea(42002),ep=ea(30237);let em={...ed.s,...ec.E,...ef.o,...ep.b},eg=(0,es.D)((ei,eo)=>(0,eu.w)(ei,eo,em,eh.b))},93193:function(ei,eo,ea){"use strict";ea.d(eo,{D:function(){return camelToDash}});let camelToDash=ei=>ei.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},4007:function(ei,eo,ea){"use strict";ea.d(eo,{w:function(){return createDomMotionConfig}});var es=ea(62627),eu=ea(67294),ec=ea(56816),ed=ea(40406),ef=ea(38057);let createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(ei,eo,ea){for(let es in eo)(0,ed.i)(eo[es])||(0,ec.j)(es,ea)||(ei[es]=eo[es])}function useInitialMotionValues({transformTemplate:ei},eo,ea){return(0,eu.useMemo)(()=>{let es=createHtmlRenderState();return(0,ef.r)(es,eo,{enableHardwareAcceleration:!ea},ei),Object.assign({},es.vars,es.style)},[eo])}function useStyle(ei,eo,ea){let es=ei.style||{},eu={};return copyRawValuesOnly(eu,es,ei),Object.assign(eu,useInitialMotionValues(ei,eo,ea)),eu}function useHTMLProps(ei,eo,ea){let es={},eu=useStyle(ei,eo,ea);return ei.drag&&!1!==ei.dragListener&&(es.draggable=!1,eu.userSelect=eu.WebkitUserSelect=eu.WebkitTouchCallout="none",eu.touchAction=!0===ei.drag?"none":`pan-${"x"===ei.drag?"y":"x"}`),void 0===ei.tabIndex&&(ei.onTap||ei.onTapStart||ei.whileTap)&&(es.tabIndex=0),es.style=eu,es}let eh=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function isValidMotionProp(ei){return ei.startsWith("while")||ei.startsWith("drag")&&"draggable"!==ei||ei.startsWith("layout")||ei.startsWith("onTap")||ei.startsWith("onPan")||ei.startsWith("onLayout")||eh.has(ei)}let shouldForward=ei=>!isValidMotionProp(ei);function loadExternalIsValidProp(ei){ei&&(shouldForward=eo=>eo.startsWith("on")?!isValidMotionProp(eo):ei(eo))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch(ei){}function filterProps(ei,eo,ea){let es={};for(let eu in ei)("values"!==eu||"object"!=typeof ei.values)&&(shouldForward(eu)||!0===ea&&isValidMotionProp(eu)||!eo&&!isValidMotionProp(eu)||ei.draggable&&eu.startsWith("onDrag"))&&(es[eu]=ei[eu]);return es}var ep=ea(85415);let createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}});var em=ea(79854);function useSVGProps(ei,eo,ea,es){let ec=(0,eu.useMemo)(()=>{let ea=createSvgRenderState();return(0,ep.i)(ea,eo,{enableHardwareAcceleration:!1},(0,em.a)(es),ei.transformTemplate),{...ea.attrs,style:{...ea.style}}},[eo]);if(ei.style){let eo={};copyRawValuesOnly(eo,ei.style,ei),ec.style={...eo,...ec.style}}return ec}function createUseRender(ei=!1){let useRender=(eo,ea,ec,{latestValues:ef},eh)=>{let ep=(0,es.q)(eo)?useSVGProps:useHTMLProps,em=ep(ea,ef,eh,eo),eg=filterProps(ea,"string"==typeof eo,ei),eb=eo!==eu.Fragment?{...eg,...em,ref:ec}:{},{children:ey}=ea,ew=(0,eu.useMemo)(()=>(0,ed.i)(ey)?ey.get():ey,[ey]);return(0,eu.createElement)(eo,{...eb,children:ew})};return useRender}var eg=ea(68504),eb=ea(16832),ey=ea(2445),ew=ea(240),ex=ea(79432),eP=ea(96681),eS=ea(16399),eE=ea(24451),ek=ea(7504);function makeState({scrapeMotionValuesFromProps:ei,createRenderState:eo,onMount:ea},es,eu,ec){let ed={latestValues:makeLatestValues(es,eu,ec,ei),renderState:eo()};return ea&&(ed.mount=ei=>ea(es,ei,ed)),ed}let makeUseVisualState=ei=>(eo,ea)=>{let es=(0,eu.useContext)(eE.v),ec=(0,eu.useContext)(ew.O),make=()=>makeState(ei,eo,es,ec);return ea?make():(0,eP.h)(make)};function makeLatestValues(ei,eo,ea,es){let eu={},ec=es(ei,{});for(let ei in ec)eu[ei]=(0,eS.b)(ec[ei]);let{initial:ed,animate:ef}=ei,eh=(0,ek.G)(ei),ep=(0,ek.M)(ei);eo&&ep&&!eh&&!1!==ei.inherit&&(void 0===ed&&(ed=eo.initial),void 0===ef&&(ef=eo.animate));let em=!!ea&&!1===ea.initial;em=em||!1===ed;let eg=em?ef:ed;if(eg&&"boolean"!=typeof eg&&!(0,ey.H)(eg)){let eo=Array.isArray(eg)?eg:[eg];eo.forEach(eo=>{let ea=(0,ex.o)(ei,eo);if(!ea)return;let{transitionEnd:es,transition:ec,...ed}=ea;for(let ei in ed){let eo=ed[ei];if(Array.isArray(eo)){let ei=em?eo.length-1:0;eo=eo[ei]}null!==eo&&(eu[ei]=eo)}for(let ei in es)eu[ei]=es[ei]})}return eu}var eT=ea(26166);let eC={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:eb.U,createRenderState:createSvgRenderState,onMount:(ei,eo,{renderState:ea,latestValues:es})=>{eT.Wi.read(()=>{try{ea.dimensions="function"==typeof eo.getBBox?eo.getBBox():eo.getBoundingClientRect()}catch(ei){ea.dimensions={x:0,y:0,width:0,height:0}}}),eT.Wi.render(()=>{(0,ep.i)(ea,es,{enableHardwareAcceleration:!1},(0,em.a)(eo.tagName),ei.transformTemplate),(0,eg.K)(eo,ea)})}})};var e_=ea(50189);let eA={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:e_.U,createRenderState:createHtmlRenderState})};function createDomMotionConfig(ei,{forwardMotionProps:eo=!1},ea,eu){let ec=(0,es.q)(ei)?eC:eA;return{...ec,preloadedFeatures:ea,useRender:createUseRender(eo),createVisualElement:eu,Component:ei}}},57630:function(ei,eo,ea){"use strict";ea.d(eo,{f:function(){return es},t:function(){return isCSSVariableToken}});let checkStringStartsWith=ei=>eo=>"string"==typeof eo&&eo.startsWith(ei),es=checkStringStartsWith("--"),eu=checkStringStartsWith("var(--"),isCSSVariableToken=ei=>{let eo=eu(ei);return!!eo&&ec.test(ei.split("/*")[0].trim())},ec=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},62627:function(ei,eo,ea){"use strict";ea.d(eo,{q:function(){return isSVGComponent}});let es=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(ei){if("string"!=typeof ei||ei.includes("-"));else if(es.indexOf(ei)>-1||/[A-Z]/u.test(ei))return!0;return!1}},75194:function(ei,eo,ea){"use strict";function isSVGElement(ei){return ei instanceof SVGElement&&"svg"!==ei.tagName}ea.d(eo,{v:function(){return isSVGElement}})},6383:function(ei,eo,ea){"use strict";ea.d(eo,{Ei:function(){return removeNonTranslationalTransform},lw:function(){return ep},mP:function(){return isNumOrPxType},z2:function(){return ed}});var es=ea(94714),eu=ea(61649),ec=ea(96190);let ed=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isNumOrPxType=ei=>ei===eu.Rx||ei===ec.px,getPosFromMatrix=(ei,eo)=>parseFloat(ei.split(", ")[eo]),getTranslateFromMatrix=(ei,eo)=>(ea,{transform:es})=>{if("none"===es||!es)return 0;let eu=es.match(/^matrix3d\((.+)\)$/u);if(eu)return getPosFromMatrix(eu[1],eo);{let eo=es.match(/^matrix\((.+)\)$/u);return eo?getPosFromMatrix(eo[1],ei):0}},ef=new Set(["x","y","z"]),eh=es._.filter(ei=>!ef.has(ei));function removeNonTranslationalTransform(ei){let eo=[];return eh.forEach(ea=>{let es=ei.getValue(ea);void 0!==es&&(eo.push([ea,es.get()]),es.set(ea.startsWith("scale")?1:0))}),eo}let ep={width:({x:ei},{paddingLeft:eo="0",paddingRight:ea="0"})=>ei.max-ei.min-parseFloat(eo)-parseFloat(ea),height:({y:ei},{paddingTop:eo="0",paddingBottom:ea="0"})=>ei.max-ei.min-parseFloat(eo)-parseFloat(ea),top:(ei,{top:eo})=>parseFloat(eo),left:(ei,{left:eo})=>parseFloat(eo),bottom:({y:ei},{top:eo})=>parseFloat(eo)+(ei.max-ei.min),right:({x:ei},{left:eo})=>parseFloat(eo)+(ei.max-ei.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};ep.translateX=ep.x,ep.translateY=ep.y},79135:function(ei,eo,ea){"use strict";ea.d(eo,{T:function(){return getAnimatableNone}});var es=ea(51550),eu=ea(97197),ec=ea(2728);function getAnimatableNone(ei,eo){let ea=(0,ec.A)(ei);return ea!==eu.h&&(ea=es.P),ea.getAnimatableNone?ea.getAnimatableNone(eo):void 0}},2728:function(ei,eo,ea){"use strict";ea.d(eo,{A:function(){return getDefaultValueType}});var es=ea(85385),eu=ea(97197),ec=ea(36173);let ed={...ec.j,color:es.$,backgroundColor:es.$,outlineColor:es.$,fill:es.$,stroke:es.$,borderColor:es.$,borderTopColor:es.$,borderRightColor:es.$,borderBottomColor:es.$,borderLeftColor:es.$,filter:eu.h,WebkitFilter:eu.h},getDefaultValueType=ei=>ed[ei]},56440:function(ei,eo,ea){"use strict";ea.d(eo,{$:function(){return ef},C:function(){return findDimensionValueType}});var es=ea(61649),eu=ea(96190),ec=ea(88340);let ed={test:ei=>"auto"===ei,parse:ei=>ei},ef=[es.Rx,eu.px,eu.aQ,eu.RW,eu.vw,eu.vh,ed],findDimensionValueType=ei=>ef.find((0,ec.l)(ei))},36173:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return ed}});var es=ea(61649),eu=ea(96190);let ec={...es.Rx,transform:Math.round},ed={borderWidth:eu.px,borderTopWidth:eu.px,borderRightWidth:eu.px,borderBottomWidth:eu.px,borderLeftWidth:eu.px,borderRadius:eu.px,radius:eu.px,borderTopLeftRadius:eu.px,borderTopRightRadius:eu.px,borderBottomRightRadius:eu.px,borderBottomLeftRadius:eu.px,width:eu.px,maxWidth:eu.px,height:eu.px,maxHeight:eu.px,size:eu.px,top:eu.px,right:eu.px,bottom:eu.px,left:eu.px,padding:eu.px,paddingTop:eu.px,paddingRight:eu.px,paddingBottom:eu.px,paddingLeft:eu.px,margin:eu.px,marginTop:eu.px,marginRight:eu.px,marginBottom:eu.px,marginLeft:eu.px,rotate:eu.RW,rotateX:eu.RW,rotateY:eu.RW,rotateZ:eu.RW,scale:es.bA,scaleX:es.bA,scaleY:es.bA,scaleZ:es.bA,skew:eu.RW,skewX:eu.RW,skewY:eu.RW,distance:eu.px,translateX:eu.px,translateY:eu.px,translateZ:eu.px,x:eu.px,y:eu.px,z:eu.px,perspective:eu.px,transformPerspective:eu.px,opacity:es.Fq,originX:eu.$C,originY:eu.$C,originZ:eu.px,zIndex:ec,backgroundPositionX:eu.px,backgroundPositionY:eu.px,fillOpacity:es.Fq,strokeOpacity:es.Fq,numOctaves:ec}},88340:function(ei,eo,ea){"use strict";ea.d(eo,{l:function(){return testValueType}});let testValueType=ei=>eo=>eo.test(ei)},34547:function(ei,eo,ea){"use strict";ea.d(eo,{W:function(){return HTMLVisualElement}});var es=ea(38057),eu=ea(57630),ec=ea(94714),ed=ea(50189),ef=ea(34242),eh=ea(2728),ep=ea(56460),em=ea(3166),eg=ea(40406);function getComputedStyle(ei){return window.getComputedStyle(ei)}let HTMLVisualElement=class HTMLVisualElement extends em.J{constructor(){super(...arguments),this.type="html"}readValueFromInstance(ei,eo){if(ec.G.has(eo)){let ei=(0,eh.A)(eo);return ei&&ei.default||0}{let ea=getComputedStyle(ei),es=((0,eu.f)(eo)?ea.getPropertyValue(eo):ea[eo])||0;return"string"==typeof es?es.trim():es}}measureInstanceViewportBox(ei,{transformPagePoint:eo}){return(0,ep.J)(ei,eo)}build(ei,eo,ea,eu){(0,es.r)(ei,eo,ea,eu.transformTemplate)}scrapeMotionValuesFromProps(ei,eo,ea){return(0,ed.U)(ei,eo,ea)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:ei}=this.props;(0,eg.i)(ei)&&(this.childSubscription=ei.on("change",ei=>{this.current&&(this.current.textContent=`${ei}`)}))}renderInstance(ei,eo,ea,es){(0,ef.N)(ei,eo,ea,es)}}},38057:function(ei,eo,ea){"use strict";ea.d(eo,{r:function(){return buildHTMLStyles}});var es=ea(94714);let eu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ec=es._.length;function buildTransform(ei,{enableHardwareAcceleration:eo=!0,allowTransformNone:ea=!0},ed,ef){let eh="";for(let eo=0;eo<ec;eo++){let ea=es._[eo];if(void 0!==ei[ea]){let eo=eu[ea]||ea;eh+=`${eo}(${ei[ea]}) `}}return eo&&!ei.z&&(eh+="translateZ(0)"),eh=eh.trim(),ef?eh=ef(ei,ed?"":eh):ea&&ed&&(eh="none"),eh}var ed=ea(57630);let getValueAsType=(ei,eo)=>eo&&"number"==typeof ei?eo.transform(ei):ei;var ef=ea(36173);function buildHTMLStyles(ei,eo,ea,eu){let{style:ec,vars:eh,transform:ep,transformOrigin:em}=ei,eg=!1,eb=!1,ey=!0;for(let ei in eo){let ea=eo[ei];if((0,ed.f)(ei)){eh[ei]=ea;continue}let eu=ef.j[ei],ew=getValueAsType(ea,eu);if(es.G.has(ei)){if(eg=!0,ep[ei]=ew,!ey)continue;ea!==(eu.default||0)&&(ey=!1)}else ei.startsWith("origin")?(eb=!0,em[ei]=ew):ec[ei]=ew}if(!eo.transform&&(eg||eu?ec.transform=buildTransform(ei.transform,ea,ey,eu):ec.transform&&(ec.transform="none")),eb){let{originX:ei="50%",originY:eo="50%",originZ:ea=0}=em;ec.transformOrigin=`${ei} ${eo} ${ea}`}}},34242:function(ei,eo,ea){"use strict";function renderHTML(ei,{style:eo,vars:ea},es,eu){for(let ec in Object.assign(ei.style,eo,eu&&eu.getProjectionStyles(es)),ea)ei.style.setProperty(ec,ea[ec])}ea.d(eo,{N:function(){return renderHTML}})},50189:function(ei,eo,ea){"use strict";ea.d(eo,{U:function(){return scrapeMotionValuesFromProps}});var es=ea(56816),eu=ea(40406);function scrapeMotionValuesFromProps(ei,eo,ea){var ec;let{style:ed}=ei,ef={};for(let eh in ed)((0,eu.i)(ed[eh])||eo.style&&(0,eu.i)(eo.style[eh])||(0,es.j)(eh,ei)||(null===(ec=null==ea?void 0:ea.getValue(eh))||void 0===ec?void 0:ec.liveStyle)!==void 0)&&(ef[eh]=ed[eh]);return ef}},94714:function(ei,eo,ea){"use strict";ea.d(eo,{G:function(){return eu},_:function(){return es}});let es=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],eu=new Set(es)},56955:function(ei,eo,ea){"use strict";ea.d(eo,{R:function(){return es}});let es=new WeakMap},25794:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return SVGVisualElement}});var es=ea(16832),eu=ea(3166),ec=ea(85415),ed=ea(93193),ef=ea(77302),eh=ea(94714),ep=ea(68504),em=ea(2728),eg=ea(61512),eb=ea(79854);let SVGVisualElement=class SVGVisualElement extends eu.J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(ei,eo){return ei[eo]}readValueFromInstance(ei,eo){if(eh.G.has(eo)){let ei=(0,em.A)(eo);return ei&&ei.default||0}return eo=ef.s.has(eo)?eo:(0,ed.D)(eo),ei.getAttribute(eo)}measureInstanceViewportBox(){return(0,eg.dO)()}scrapeMotionValuesFromProps(ei,eo,ea){return(0,es.U)(ei,eo,ea)}build(ei,eo,ea,es){(0,ec.i)(ei,eo,ea,this.isSVGTag,es.transformTemplate)}renderInstance(ei,eo,ea,es){(0,ep.K)(ei,eo,ea,es)}mount(ei){this.isSVGTag=(0,eb.a)(ei.tagName),super.mount(ei)}}},85415:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return buildSVGAttrs}});var es=ea(38057),eu=ea(96190);function calcOrigin(ei,eo,ea){return"string"==typeof ei?ei:eu.px.transform(eo+ea*ei)}function calcSVGTransformOrigin(ei,eo,ea){let es=calcOrigin(eo,ei.x,ei.width),eu=calcOrigin(ea,ei.y,ei.height);return`${es} ${eu}`}let ec={offset:"stroke-dashoffset",array:"stroke-dasharray"},ed={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(ei,eo,ea=1,es=0,ef=!0){ei.pathLength=1;let eh=ef?ec:ed;ei[eh.offset]=eu.px.transform(-es);let ep=eu.px.transform(eo),em=eu.px.transform(ea);ei[eh.array]=`${ep} ${em}`}function buildSVGAttrs(ei,{attrX:eo,attrY:ea,attrScale:eu,originX:ec,originY:ed,pathLength:ef,pathSpacing:eh=1,pathOffset:ep=0,...em},eg,eb,ey){if((0,es.r)(ei,em,eg,ey),eb){ei.style.viewBox&&(ei.attrs.viewBox=ei.style.viewBox);return}ei.attrs=ei.style,ei.style={};let{attrs:ew,style:ex,dimensions:eP}=ei;ew.transform&&(eP&&(ex.transform=ew.transform),delete ew.transform),eP&&(void 0!==ec||void 0!==ed||ex.transform)&&(ex.transformOrigin=calcSVGTransformOrigin(eP,void 0!==ec?ec:.5,void 0!==ed?ed:.5)),void 0!==eo&&(ew.x=eo),void 0!==ea&&(ew.y=ea),void 0!==eu&&(ew.scale=eu),void 0!==ef&&buildSVGPath(ew,ef,eh,ep,!1)}},77302:function(ei,eo,ea){"use strict";ea.d(eo,{s:function(){return es}});let es=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},79854:function(ei,eo,ea){"use strict";ea.d(eo,{a:function(){return isSVGTag}});let isSVGTag=ei=>"string"==typeof ei&&"svg"===ei.toLowerCase()},68504:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return renderSVG}});var es=ea(93193),eu=ea(34242),ec=ea(77302);function renderSVG(ei,eo,ea,ed){for(let ea in(0,eu.N)(ei,eo,void 0,ed),eo.attrs)ei.setAttribute(ec.s.has(ea)?ea:(0,es.D)(ea),eo.attrs[ea])}},16832:function(ei,eo,ea){"use strict";ea.d(eo,{U:function(){return scrapeMotionValuesFromProps}});var es=ea(40406),eu=ea(50189),ec=ea(94714);function scrapeMotionValuesFromProps(ei,eo,ea){let ed=(0,eu.U)(ei,eo,ea);for(let ea in ei)if((0,es.i)(ei[ea])||(0,es.i)(eo[ea])){let eo=-1!==ec._.indexOf(ea)?"attr"+ea.charAt(0).toUpperCase()+ea.substring(1):ea;ed[eo]=ei[ea]}return ed}},41568:function(ei,eo,ea){"use strict";ea.d(eo,{e:function(){return KeyframeResolver},m:function(){return flushKeyframeResolvers}});var es=ea(6383),eu=ea(26166);let ec=new Set,ed=!1,ef=!1;function measureAllKeyframes(){if(ef){let ei=Array.from(ec).filter(ei=>ei.needsMeasurement),eo=new Set(ei.map(ei=>ei.element)),ea=new Map;eo.forEach(ei=>{let eo=(0,es.Ei)(ei);eo.length&&(ea.set(ei,eo),ei.render())}),ei.forEach(ei=>ei.measureInitialState()),eo.forEach(ei=>{ei.render();let eo=ea.get(ei);eo&&eo.forEach(([eo,ea])=>{var es;null===(es=ei.getValue(eo))||void 0===es||es.set(ea)})}),ei.forEach(ei=>ei.measureEndState()),ei.forEach(ei=>{void 0!==ei.suspendedScrollY&&window.scrollTo(0,ei.suspendedScrollY)})}ef=!1,ed=!1,ec.forEach(ei=>ei.complete()),ec.clear()}function readAllKeyframes(){ec.forEach(ei=>{ei.readKeyframes(),ei.needsMeasurement&&(ef=!0)})}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}let KeyframeResolver=class KeyframeResolver{constructor(ei,eo,ea,es,eu,ec=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...ei],this.onComplete=eo,this.name=ea,this.motionValue=es,this.element=eu,this.isAsync=ec}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ec.add(this),ed||(ed=!0,eu.Wi.read(readAllKeyframes),eu.Wi.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:ei,name:eo,element:ea,motionValue:es}=this;for(let eu=0;eu<ei.length;eu++)if(null===ei[eu]){if(0===eu){let eu=null==es?void 0:es.get(),ec=ei[ei.length-1];if(void 0!==eu)ei[0]=eu;else if(ea&&eo){let es=ea.readValue(eo,ec);null!=es&&(ei[0]=es)}void 0===ei[0]&&(ei[0]=ec),es&&void 0===eu&&es.set(ei[0])}else ei[eu]=ei[eu-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ec.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ec.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},7504:function(ei,eo,ea){"use strict";ea.d(eo,{G:function(){return isControllingVariants},M:function(){return isVariantNode}});var es=ea(2445),eu=ea(97732),ec=ea(22963);function isControllingVariants(ei){return(0,es.H)(ei.animate)||ec.V.some(eo=>(0,eu.$)(ei[eo]))}function isVariantNode(ei){return!!(isControllingVariants(ei)||ei.variants)}},97732:function(ei,eo,ea){"use strict";function isVariantLabel(ei){return"string"==typeof ei||Array.isArray(ei)}ea.d(eo,{$:function(){return isVariantLabel}})},52248:function(ei,eo,ea){"use strict";ea.d(eo,{x:function(){return resolveVariant}});var es=ea(79432);function getCurrent(ei){let eo={};return ei.values.forEach((ei,ea)=>eo[ea]=ei.get()),eo}function getVelocity(ei){let eo={};return ei.values.forEach((ei,ea)=>eo[ea]=ei.getVelocity()),eo}function resolveVariant(ei,eo,ea){let eu=ei.getProps();return(0,es.o)(eu,eo,void 0!==ea?ea:eu.custom,getCurrent(ei),getVelocity(ei))}},79432:function(ei,eo,ea){"use strict";function resolveVariantFromProps(ei,eo,ea,es={},eu={}){return"function"==typeof eo&&(eo=eo(void 0!==ea?ea:ei.custom,es,eu)),"string"==typeof eo&&(eo=ei.variants&&ei.variants[eo]),"function"==typeof eo&&(eo=eo(void 0!==ea?ea:ei.custom,es,eu)),eo}ea.d(eo,{o:function(){return resolveVariantFromProps}})},22963:function(ei,eo,ea){"use strict";ea.d(eo,{V:function(){return eu},e:function(){return es}});let es=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...es]},22081:function(ei,eo,ea){"use strict";ea.d(eo,{c:function(){return es}});let es={skipAnimations:!1,useManualTiming:!1}},10010:function(ei,eo,ea){"use strict";function addUniqueItem(ei,eo){-1===ei.indexOf(eo)&&ei.push(eo)}function removeItem(ei,eo){let ea=ei.indexOf(eo);ea>-1&&ei.splice(ea,1)}function moveItem([...ei],eo,ea){let es=eo<0?ei.length+eo:eo;if(es>=0&&es<ei.length){let es=ea<0?ei.length+ea:ea,[eu]=ei.splice(eo,1);ei.splice(es,0,eu)}return ei}ea.d(eo,{cl:function(){return removeItem},uo:function(){return moveItem},y4:function(){return addUniqueItem}})},24169:function(ei,eo,ea){"use strict";ea.d(eo,{u:function(){return clamp}});let clamp=(ei,eo,ea)=>ea>eo?eo:ea<ei?ei:ea},45487:function(ei,eo,ea){"use strict";ea.d(eo,{K:function(){return eu},k:function(){return ec}});var es=ea(81662);let eu=es.Z,ec=es.Z},71884:function(ei,eo,ea){"use strict";ea.d(eo,{s:function(){return interpolate}});var es=ea(45487),eu=ea(24169),ec=ea(83624),ed=ea(23967),ef=ea(81662),eh=ea(22499);function createMixers(ei,eo,ea){let es=[],eu=ea||eh.C,ed=ei.length-1;for(let ea=0;ea<ed;ea++){let ed=eu(ei[ea],ei[ea+1]);if(eo){let ei=Array.isArray(eo)?eo[ea]||ef.Z:eo;ed=(0,ec.z)(ei,ed)}es.push(ed)}return es}function interpolate(ei,eo,{clamp:ea=!0,ease:ec,mixer:ef}={}){let eh=ei.length;if((0,es.k)(eh===eo.length,"Both input and output ranges must be the same length"),1===eh)return()=>eo[0];if(2===eh&&ei[0]===ei[1])return()=>eo[1];ei[0]>ei[eh-1]&&(ei=[...ei].reverse(),eo=[...eo].reverse());let ep=createMixers(eo,ec,ef),em=ep.length,interpolator=eo=>{let ea=0;if(em>1)for(;ea<ei.length-2&&!(eo<ei[ea+1]);ea++);let es=(0,ed.Y)(ei[ea],ei[ea+1],eo);return ep[ea](es)};return ea?eo=>interpolator((0,eu.u)(ei[0],ei[eh-1],eo)):interpolator}},11741:function(ei,eo,ea){"use strict";ea.d(eo,{j:function(){return es}});let es="undefined"!=typeof document},33441:function(ei,eo,ea){"use strict";ea.d(eo,{P:function(){return isNumericalString}});let isNumericalString=ei=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(ei)},51804:function(ei,eo,ea){"use strict";function isRefObject(ei){return ei&&"object"==typeof ei&&Object.prototype.hasOwnProperty.call(ei,"current")}ea.d(eo,{I:function(){return isRefObject}})},30681:function(ei,eo,ea){"use strict";ea.d(eo,{W:function(){return isZeroValueString}});let isZeroValueString=ei=>/^0[^.\s]+$/u.test(ei)},4522:function(ei,eo,ea){"use strict";function memo(ei){let eo;return()=>(void 0===eo&&(eo=ei()),eo)}ea.d(eo,{X:function(){return memo}})},22499:function(ei,eo,ea){"use strict";ea.d(eo,{C:function(){return mix}});var es=ea(40179),eu=ea(45487);function hueToRgb(ei,eo,ea){return(ea<0&&(ea+=1),ea>1&&(ea-=1),ea<1/6)?ei+(eo-ei)*6*ea:ea<.5?eo:ea<2/3?ei+(eo-ei)*(2/3-ea)*6:ei}function hslaToRgba({hue:ei,saturation:eo,lightness:ea,alpha:es}){ei/=360,ea/=100;let eu=0,ec=0,ed=0;if(eo/=100){let es=ea<.5?ea*(1+eo):ea+eo-ea*eo,ef=2*ea-es;eu=hueToRgb(ef,es,ei+1/3),ec=hueToRgb(ef,es,ei),ed=hueToRgb(ef,es,ei-1/3)}else eu=ec=ed=ea;return{red:Math.round(255*eu),green:Math.round(255*ec),blue:Math.round(255*ed),alpha:es}}var ec=ea(26382),ed=ea(40819),ef=ea(93184);let mixLinearColor=(ei,eo,ea)=>{let es=ei*ei,eu=ea*(eo*eo-es)+es;return eu<0?0:Math.sqrt(eu)},eh=[ec.$,ed.m,ef.J],getColorType=ei=>eh.find(eo=>eo.test(ei));function asRGBA(ei){let eo=getColorType(ei);(0,eu.k)(!!eo,`'${ei}' is not an animatable color. Use the equivalent color code instead.`);let ea=eo.parse(ei);return eo===ef.J&&(ea=hslaToRgba(ea)),ea}let mixColor=(ei,eo)=>{let ea=asRGBA(ei),eu=asRGBA(eo),ec={...ea};return ei=>(ec.red=mixLinearColor(ea.red,eu.red,ei),ec.green=mixLinearColor(ea.green,eu.green,ei),ec.blue=mixLinearColor(ea.blue,eu.blue,ei),ec.alpha=(0,es.t)(ea.alpha,eu.alpha,ei),ed.m.transform(ec))};var ep=ea(83624),em=ea(85385),eg=ea(51550),eb=ea(57630);function mixImmediate(ei,eo){return ea=>ea>0?eo:ei}function mixNumber(ei,eo){return ea=>(0,es.t)(ei,eo,ea)}function getMixer(ei){return"number"==typeof ei?mixNumber:"string"==typeof ei?(0,eb.t)(ei)?mixImmediate:em.$.test(ei)?mixColor:mixComplex:Array.isArray(ei)?mixArray:"object"==typeof ei?em.$.test(ei)?mixColor:mixObject:mixImmediate}function mixArray(ei,eo){let ea=[...ei],es=ea.length,eu=ei.map((ei,ea)=>getMixer(ei)(ei,eo[ea]));return ei=>{for(let eo=0;eo<es;eo++)ea[eo]=eu[eo](ei);return ea}}function mixObject(ei,eo){let ea={...ei,...eo},es={};for(let eu in ea)void 0!==ei[eu]&&void 0!==eo[eu]&&(es[eu]=getMixer(ei[eu])(ei[eu],eo[eu]));return ei=>{for(let eo in es)ea[eo]=es[eo](ei);return ea}}function matchOrder(ei,eo){var ea;let es=[],eu={color:0,var:0,number:0};for(let ec=0;ec<eo.values.length;ec++){let ed=eo.types[ec],ef=ei.indexes[ed][eu[ed]],eh=null!==(ea=ei.values[ef])&&void 0!==ea?ea:0;es[ec]=eh,eu[ed]++}return es}let mixComplex=(ei,eo)=>{let ea=eg.P.createTransformer(eo),es=(0,eg.V)(ei),ec=(0,eg.V)(eo),ed=es.indexes.var.length===ec.indexes.var.length&&es.indexes.color.length===ec.indexes.color.length&&es.indexes.number.length>=ec.indexes.number.length;return ed?(0,ep.z)(mixArray(matchOrder(es,ec),ec.values),ea):((0,eu.K)(!0,`Complex values '${ei}' and '${eo}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mixImmediate(ei,eo))};function mix(ei,eo,ea){if("number"==typeof ei&&"number"==typeof eo&&"number"==typeof ea)return(0,es.t)(ei,eo,ea);let eu=getMixer(ei);return eu(ei,eo)}},40179:function(ei,eo,ea){"use strict";ea.d(eo,{t:function(){return mixNumber}});let mixNumber=(ei,eo,ea)=>ei+(eo-ei)*ea},81662:function(ei,eo,ea){"use strict";ea.d(eo,{Z:function(){return noop}});let noop=ei=>ei},60599:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return defaultOffset}});var es=ea(26615);function defaultOffset(ei){let eo=[0];return(0,es.c)(eo,ei.length-1),eo}},26615:function(ei,eo,ea){"use strict";ea.d(eo,{c:function(){return fillOffset}});var es=ea(40179),eu=ea(23967);function fillOffset(ei,eo){let ea=ei[ei.length-1];for(let ec=1;ec<=eo;ec++){let ed=(0,eu.Y)(0,eo,ec);ei.push((0,es.t)(ea,1,ed))}}},83624:function(ei,eo,ea){"use strict";ea.d(eo,{z:function(){return pipe}});let combineFunctions=(ei,eo)=>ea=>eo(ei(ea)),pipe=(...ei)=>ei.reduce(combineFunctions)},23967:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return progress}});let progress=(ei,eo,ea)=>{let es=eo-ei;return 0===es?1:(ea-ei)/es}},8715:function(ei,eo,ea){"use strict";ea.d(eo,{Y:function(){return resolveFinalValueInKeyframes},p:function(){return isCustomValue}});var es=ea(48488);let isCustomValue=ei=>!!(ei&&"object"==typeof ei&&ei.mix&&ei.toValue),resolveFinalValueInKeyframes=ei=>(0,es.C)(ei)?ei[ei.length-1]||0:ei},21560:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return SubscriptionManager}});var es=ea(10010);let SubscriptionManager=class SubscriptionManager{constructor(){this.subscriptions=[]}add(ei){return(0,es.y4)(this.subscriptions,ei),()=>(0,es.cl)(this.subscriptions,ei)}notify(ei,eo,ea){let es=this.subscriptions.length;if(es){if(1===es)this.subscriptions[0](ei,eo,ea);else for(let eu=0;eu<es;eu++){let es=this.subscriptions[eu];es&&es(ei,eo,ea)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(ei,eo,ea){"use strict";ea.d(eo,{X:function(){return millisecondsToSeconds},w:function(){return secondsToMilliseconds}});let secondsToMilliseconds=ei=>1e3*ei,millisecondsToSeconds=ei=>ei/1e3},96681:function(ei,eo,ea){"use strict";ea.d(eo,{h:function(){return useConstant}});var es=ea(67294);function useConstant(ei){let eo=(0,es.useRef)(null);return null===eo.current&&(eo.current=ei()),eo.current}},6337:function(ei,eo,ea){"use strict";ea.d(eo,{N:function(){return useForceUpdate}});var es=ea(67294),eu=ea(4454),ec=ea(26166);function useForceUpdate(){let ei=(0,eu.t)(),[eo,ea]=(0,es.useState)(0),ed=(0,es.useCallback)(()=>{ei.current&&ea(eo+1)},[eo]),ef=(0,es.useCallback)(()=>ec.Wi.postRender(ed),[ed]);return[ef,eo]}},4454:function(ei,eo,ea){"use strict";ea.d(eo,{t:function(){return useIsMounted}});var es=ea(67294),eu=ea(58868);function useIsMounted(){let ei=(0,es.useRef)(!1);return(0,eu.L)(()=>(ei.current=!0,()=>{ei.current=!1}),[]),ei}},58868:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return ec}});var es=ea(67294),eu=ea(11741);let ec=eu.j?es.useLayoutEffect:es.useEffect},3038:function(ei,eo,ea){"use strict";function velocityPerSecond(ei,eo){return eo?ei*(1e3/eo):0}ea.d(eo,{R:function(){return velocityPerSecond}})},33234:function(ei,eo,ea){"use strict";ea.d(eo,{BX:function(){return motionValue},Hg:function(){return MotionValue},S1:function(){return eh}});var es=ea(21560),eu=ea(3038),ec=ea(1117),ed=ea(26166);let ef=30,isFloat=ei=>!isNaN(parseFloat(ei)),eh={current:void 0};let MotionValue=class MotionValue{constructor(ei,eo={}){this.version="11.1.5",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(ei,eo=!0)=>{let ea=ec.X.now();this.updatedAt!==ea&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(ei),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),eo&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(ei),this.canTrackVelocity=isFloat(this.current),this.owner=eo.owner}setCurrent(ei){this.current=ei,this.updatedAt=ec.X.now()}setPrevFrameValue(ei=this.current){this.prevFrameValue=ei,this.prevUpdatedAt=this.updatedAt}onChange(ei){return this.on("change",ei)}on(ei,eo){this.events[ei]||(this.events[ei]=new es.L);let ea=this.events[ei].add(eo);return"change"===ei?()=>{ea(),ed.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:ea}clearListeners(){for(let ei in this.events)this.events[ei].clear()}attach(ei,eo){this.passiveEffect=ei,this.stopPassiveEffect=eo}set(ei,eo=!0){eo&&this.passiveEffect?this.passiveEffect(ei,this.updateAndNotify):this.updateAndNotify(ei,eo)}setWithVelocity(ei,eo,ea){this.set(eo),this.prev=void 0,this.prevFrameValue=ei,this.prevUpdatedAt=this.updatedAt-ea}jump(ei,eo=!0){this.updateAndNotify(ei),this.prev=ei,this.prevUpdatedAt=this.prevFrameValue=void 0,eo&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return eh.current&&eh.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let ei=ec.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||ei-this.updatedAt>ef)return 0;let eo=Math.min(this.updatedAt-this.prevUpdatedAt,ef);return(0,eu.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),eo)}start(ei){return this.stop(),new Promise(eo=>{this.hasAnimated=!0,this.animation=ei(eo),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function motionValue(ei,eo){return new MotionValue(ei,eo)}},26382:function(ei,eo,ea){"use strict";ea.d(eo,{$:function(){return ec}});var es=ea(40819),eu=ea(98834);function parseHex(ei){let eo="",ea="",es="",eu="";return ei.length>5?(eo=ei.substring(1,3),ea=ei.substring(3,5),es=ei.substring(5,7),eu=ei.substring(7,9)):(eo=ei.substring(1,2),ea=ei.substring(2,3),es=ei.substring(3,4),eu=ei.substring(4,5),eo+=eo,ea+=ea,es+=es,eu+=eu),{red:parseInt(eo,16),green:parseInt(ea,16),blue:parseInt(es,16),alpha:eu?parseInt(eu,16)/255:1}}let ec={test:(0,eu.i)("#"),parse:parseHex,transform:es.m.transform}},93184:function(ei,eo,ea){"use strict";ea.d(eo,{J:function(){return ef}});var es=ea(61649),eu=ea(96190),ec=ea(36430),ed=ea(98834);let ef={test:(0,ed.i)("hsl","hue"),parse:(0,ed.d)("hue","saturation","lightness"),transform:({hue:ei,saturation:eo,lightness:ea,alpha:ed=1})=>"hsla("+Math.round(ei)+", "+eu.aQ.transform((0,ec.Nw)(eo))+", "+eu.aQ.transform((0,ec.Nw)(ea))+", "+(0,ec.Nw)(es.Fq.transform(ed))+")"}},85385:function(ei,eo,ea){"use strict";ea.d(eo,{$:function(){return ef}});var es=ea(36430),eu=ea(26382),ec=ea(93184),ed=ea(40819);let ef={test:ei=>ed.m.test(ei)||eu.$.test(ei)||ec.J.test(ei),parse:ei=>ed.m.test(ei)?ed.m.parse(ei):ec.J.test(ei)?ec.J.parse(ei):eu.$.parse(ei),transform:ei=>(0,es.HD)(ei)?ei:ei.hasOwnProperty("red")?ed.m.transform(ei):ec.J.transform(ei)}},40819:function(ei,eo,ea){"use strict";ea.d(eo,{m:function(){return eh}});var es=ea(24169),eu=ea(61649),ec=ea(36430),ed=ea(98834);let clampRgbUnit=ei=>(0,es.u)(0,255,ei),ef={...eu.Rx,transform:ei=>Math.round(clampRgbUnit(ei))},eh={test:(0,ed.i)("rgb","red"),parse:(0,ed.d)("red","green","blue"),transform:({red:ei,green:eo,blue:ea,alpha:es=1})=>"rgba("+ef.transform(ei)+", "+ef.transform(eo)+", "+ef.transform(ea)+", "+(0,ec.Nw)(eu.Fq.transform(es))+")"}},98834:function(ei,eo,ea){"use strict";ea.d(eo,{d:function(){return splitColor},i:function(){return isColorString}});var es=ea(36430);let isColorString=(ei,eo)=>ea=>!!((0,es.HD)(ea)&&es.mj.test(ea)&&ea.startsWith(ei)||eo&&Object.prototype.hasOwnProperty.call(ea,eo)),splitColor=(ei,eo,ea)=>eu=>{if(!(0,es.HD)(eu))return eu;let[ec,ed,ef,eh]=eu.match(es.KP);return{[ei]:parseFloat(ec),[eo]:parseFloat(ed),[ea]:parseFloat(ef),alpha:void 0!==eh?parseFloat(eh):1}}},97197:function(ei,eo,ea){"use strict";ea.d(eo,{h:function(){return ef}});var es=ea(51550),eu=ea(36430);let ec=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(ei){let[eo,ea]=ei.slice(0,-1).split("(");if("drop-shadow"===eo)return ei;let[es]=ea.match(eu.KP)||[];if(!es)return ei;let ed=ea.replace(es,""),ef=ec.has(eo)?1:0;return es!==ea&&(ef*=100),eo+"("+ef+ed+")"}let ed=/\b([a-z-]*)\(.*?\)/gu,ef={...es.P,getAnimatableNone:ei=>{let eo=ei.match(ed);return eo?eo.map(applyDefaultFilter).join(" "):ei}}},51550:function(ei,eo,ea){"use strict";ea.d(eo,{P:function(){return eg},V:function(){return analyseComplexValue}});var es=ea(85385),eu=ea(36430);function test(ei){var eo,ea;return isNaN(ei)&&(0,eu.HD)(ei)&&((null===(eo=ei.match(eu.KP))||void 0===eo?void 0:eo.length)||0)+((null===(ea=ei.match(eu.dA))||void 0===ea?void 0:ea.length)||0)>0}let ec="number",ed="color",ef="var",eh="var(",ep="${}",em=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(ei){let eo=ei.toString(),ea=[],eu={color:[],number:[],var:[]},eg=[],eb=0,ey=eo.replace(em,ei=>(es.$.test(ei)?(eu.color.push(eb),eg.push(ed),ea.push(es.$.parse(ei))):ei.startsWith(eh)?(eu.var.push(eb),eg.push(ef),ea.push(ei)):(eu.number.push(eb),eg.push(ec),ea.push(parseFloat(ei))),++eb,ep)),ew=ey.split(ep);return{values:ea,split:ew,indexes:eu,types:eg}}function parseComplexValue(ei){return analyseComplexValue(ei).values}function createTransformer(ei){let{split:eo,types:ea}=analyseComplexValue(ei),ef=eo.length;return ei=>{let eh="";for(let ep=0;ep<ef;ep++)if(eh+=eo[ep],void 0!==ei[ep]){let eo=ea[ep];eo===ec?eh+=(0,eu.Nw)(ei[ep]):eo===ed?eh+=es.$.transform(ei[ep]):eh+=ei[ep]}return eh}}let convertNumbersToZero=ei=>"number"==typeof ei?0:ei;function getAnimatableNone(ei){let eo=parseComplexValue(ei),ea=createTransformer(ei);return ea(eo.map(convertNumbersToZero))}let eg={test,parse:parseComplexValue,createTransformer,getAnimatableNone}},61649:function(ei,eo,ea){"use strict";ea.d(eo,{Fq:function(){return ec},Rx:function(){return eu},bA:function(){return ed}});var es=ea(24169);let eu={test:ei=>"number"==typeof ei,parse:parseFloat,transform:ei=>ei},ec={...eu,transform:ei=>(0,es.u)(0,1,ei)},ed={...eu,default:1}},96190:function(ei,eo,ea){"use strict";ea.d(eo,{$C:function(){return ep},RW:function(){return eu},aQ:function(){return ec},px:function(){return ed},vh:function(){return ef},vw:function(){return eh}});var es=ea(36430);let createUnitType=ei=>({test:eo=>(0,es.HD)(eo)&&eo.endsWith(ei)&&1===eo.split(" ").length,parse:parseFloat,transform:eo=>`${eo}${ei}`}),eu=createUnitType("deg"),ec=createUnitType("%"),ed=createUnitType("px"),ef=createUnitType("vh"),eh=createUnitType("vw"),ep={...ec,parse:ei=>ec.parse(ei)/100,transform:ei=>ec.transform(100*ei)}},36430:function(ei,eo,ea){"use strict";ea.d(eo,{HD:function(){return isString},KP:function(){return es},Nw:function(){return sanitize},dA:function(){return eu},mj:function(){return ec}});let sanitize=ei=>Math.round(1e5*ei)/1e5,es=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ec=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function isString(ei){return"string"==typeof ei}},12490:function(ei,eo,ea){"use strict";ea.d(eo,{L:function(){return isWillChangeMotionValue}});var es=ea(40406);function isWillChangeMotionValue(ei){return!!((0,es.i)(ei)&&ei.add)}},40406:function(ei,eo,ea){"use strict";ea.d(eo,{i:function(){return isMotionValue}});let isMotionValue=ei=>!!(ei&&ei.getVelocity)},16399:function(ei,eo,ea){"use strict";ea.d(eo,{b:function(){return resolveMotionValue}});var es=ea(8715),eu=ea(40406);function resolveMotionValue(ei){let eo=(0,eu.i)(ei)?ei.get():ei;return(0,es.p)(eo)?eo.toValue():eo}},16293:function(ei,eo,ea){"use strict";let es,eu,ec;ea.d(eo,{H:function(){return eU}});var ed,ef,eh,ep=Object.defineProperty,em=Object.defineProperties,eg=Object.getOwnPropertyDescriptors,eb=Object.getOwnPropertySymbols,ey=Object.prototype.hasOwnProperty,ew=Object.prototype.propertyIsEnumerable,__defNormalProp=(ei,eo,ea)=>eo in ei?ep(ei,eo,{enumerable:!0,configurable:!0,writable:!0,value:ea}):ei[eo]=ea,__spreadValues=(ei,eo)=>{for(var ea in eo||(eo={}))ey.call(eo,ea)&&__defNormalProp(ei,ea,eo[ea]);if(eb)for(var ea of eb(eo))ew.call(eo,ea)&&__defNormalProp(ei,ea,eo[ea]);return ei},__spreadProps=(ei,eo)=>em(ei,eg(eo)),__objRest=(ei,eo)=>{var ea={};for(var es in ei)ey.call(ei,es)&&0>eo.indexOf(es)&&(ea[es]=ei[es]);if(null!=ei&&eb)for(var es of eb(ei))0>eo.indexOf(es)&&ew.call(ei,es)&&(ea[es]=ei[es]);return ea},__publicField=(ei,eo,ea)=>(__defNormalProp(ei,"symbol"!=typeof eo?eo+"":eo,ea),ea),__async=(ei,eo,ea)=>new Promise((es,eu)=>{var fulfilled=ei=>{try{step(ea.next(ei))}catch(ei){eu(ei)}},rejected=ei=>{try{step(ea.throw(ei))}catch(ei){eu(ei)}},step=ei=>ei.done?es(ei.value):Promise.resolve(ei.value).then(fulfilled,rejected);step((ea=ea.apply(ei,eo)).next())});let setupAmplitudeIntegration=({apiKey:ei})=>{!function(eo,ea){var es=eo.amplitude||{_q:[],_iq:{}},eu=ea.createElement("script");eu.type="text/javascript",eu.integrity="sha384-+EO59vL/X7v6VE2s6/F4HxfHlK0nDUVWKVg8K9oUlvffAeeaShVBmbORTC2D3UF+",eu.crossOrigin="anonymous",eu.async=!0,eu.src="https://cdn.amplitude.com/libs/amplitude-8.17.0-min.gz.js",eu.onload=function(){eo.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK"),amplitude.getInstance().init(ei)};var ec=ea.getElementsByTagName("script")[0];function s(ei,eo){ei.prototype[eo]=function(){return this._q.push([eo].concat(Array.prototype.slice.call(arguments,0))),this}}ec.parentNode.insertBefore(eu,ec);for(var o=function(){return this._q=[],this},ed=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove"],ef=0;ef<ed.length;ef++)s(o,ed[ef]);es.Identify=o;for(var u=function(){return this._q=[],this},eh=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"],ep=0;ep<eh.length;ep++)s(u,eh[ep]);es.Revenue=u;var em=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];function v(ei){function t2(eo){ei[eo]=function(){ei._q.push([eo].concat(Array.prototype.slice.call(arguments,0)))}}for(var eo=0;eo<em.length;eo++)t2(em[eo])}v(es),es.getInstance=function(ei){return ei=(ei&&0!==ei.length?ei:"$default_instance").toLowerCase(),Object.prototype.hasOwnProperty.call(es._iq,ei)||(es._iq[ei]={_q:[]},v(es._iq[ei])),es._iq[ei]},eo.amplitude=es}(window,document)},setupMixpanelIntegration=({projectToken:ei})=>{if(window.mixpanel)return;!function(ei,eo){if(!eo.__SV){var ea,es;window.mixpanel=eo,eo._i=[],eo.init=function(ei,eu,ec){function g(ei,eo){var ea=eo.split(".");2==ea.length&&(ei=ei[ea[0]],eo=ea[1]),ei[eo]=function(){ei.push([eo].concat(Array.prototype.slice.call(arguments,0)))}}var ed=eo;for(void 0!==ec?ed=eo[ec]=[]:ec="mixpanel",ed.people=ed.people||[],ed.toString=function(ei){var eo="mixpanel";return"mixpanel"!==ec&&(eo+="."+ec),ei||(eo+=" (stub)"),eo},ed.people.toString=function(){return ed.toString(1)+".people (stub)"},ea="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "),es=0;es<ea.length;es++)g(ed,ea[es]);var ef="set set_once union unset remove delete".split(" ");ed.get_group=function(){function b2(ea){ei[ea]=function(){call2_args=arguments,call2=[ea].concat(Array.prototype.slice.call(call2_args,0)),ed.push([eo,call2])}}for(var ei={},eo=["get_group"].concat(Array.prototype.slice.call(arguments,0)),ea=0;ea<ef.length;ea++)b2(ef[ea]);return ei},eo._i.push([ei,eu,ec])},eo.__SV=1.2}}(document,window.mixpanel||[]);let eo=document.createElement("script");eo.src=ex,document.head.appendChild(eo),eo.addEventListener("load",()=>{var eo;null==(eo=window.mixpanel)||eo.init(ei)})},ex="https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";function patch(ei,eo,ea){try{if(!(eo in ei))return()=>{};let es=ei[eo],eu=ea(es);return"function"==typeof eu&&(eu.prototype=eu.prototype||{},Object.defineProperties(eu,{__rrweb_original__:{enumerable:!1,value:es}})),ei[eo]=eu,()=>{ei[eo]=es}}catch(ei){return()=>{}}}function pathToSelector(ei){if(!ei||!ei.outerHTML)return"";let eo="";for(;ei.parentElement;){let ea=ei.localName;if(!ea)break;ea=ea.toLowerCase();let es=ei.parentElement,eu=[];if(es.children&&es.children.length>0)for(let ei=0;ei<es.children.length;ei++){let eo=es.children[ei];eo.localName&&eo.localName.toLowerCase&&eo.localName.toLowerCase()===ea&&eu.push(eo)}eu.length>1&&(ea+=":eq("+eu.indexOf(ei)+")"),eo=ea+(eo?">"+eo:""),ei=es}return eo}function isObject(ei){return"[object Object]"===Object.prototype.toString.call(ei)}function isObjTooDeep(ei,eo){if(0===eo)return!0;let ea=Object.keys(ei);for(let es of ea)if(isObject(ei[es])&&isObjTooDeep(ei[es],eo-1))return!0;return!1}function stringify$2(ei,eo){let ea={numOfKeysLimit:50,depthOfLimit:4};Object.assign(ea,eo);let es=[],eu=[];return JSON.stringify(ei,function(ei,eo){if(es.length>0){let ea=es.indexOf(this);~ea?es.splice(ea+1):es.push(this),~ea?eu.splice(ea,1/0,ei):eu.push(ei),~es.indexOf(eo)&&(eo=es[0]===eo?"[Circular ~]":"[Circular ~."+eu.slice(0,es.indexOf(eo)).join(".")+"]")}else es.push(eo);if(null==eo)return eo;if(shouldIgnore(eo))return toString(eo);if(eo instanceof Event){let ei={};for(let ea in eo){let es=eo[ea];Array.isArray(es)?ei[ea]=pathToSelector(es.length?es[0]:null):ei[ea]=es}return ei}return eo instanceof Node?eo instanceof HTMLElement?eo?eo.outerHTML:"":eo.nodeName:eo instanceof Error?eo.name+": "+eo.message:eo});function shouldIgnore(ei){if(isObject(ei)&&Object.keys(ei).length>ea.numOfKeysLimit||"function"==typeof ei)return!0;if(ei instanceof Event&&!1===ei.isTrusted){let eo=Object.keys(ei);return 1===eo.length}return!!(isObject(ei)&&isObjTooDeep(ei,ea.depthOfLimit))}function toString(ei){let eo=ei.toString();return ea.stringLengthLimit&&eo.length>ea.stringLengthLimit&&(eo=`${eo.slice(0,ea.stringLengthLimit)}...`),eo}}function getDefaultExportFromCjs(ei){return ei&&ei.__esModule&&Object.prototype.hasOwnProperty.call(ei,"default")?ei.default:ei}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var eP={exports:{}},eS={exports:{}};function requireStackframe(){return eh||(eh=1,function(ei,eo){!function(eo,ea){ei.exports=ea()}(0,function(){function _isNumber(ei){return!isNaN(parseFloat(ei))&&isFinite(ei)}function _capitalize(ei){return ei.charAt(0).toUpperCase()+ei.substring(1)}function _getter(ei){return function(){return this[ei]}}var ei=["isConstructor","isEval","isNative","isToplevel"],eo=["columnNumber","lineNumber"],ea=["fileName","functionName","source"],es=["args"],eu=["evalOrigin"],ec=ei.concat(eo,ea,es,eu);function StackFrame(ei){if(ei)for(var eo=0;eo<ec.length;eo++)void 0!==ei[ec[eo]]&&this["set"+_capitalize(ec[eo])](ei[ec[eo]])}StackFrame.prototype={getArgs:function(){return this.args},setArgs:function(ei){if("[object Array]"!==Object.prototype.toString.call(ei))throw TypeError("Args must be an Array");this.args=ei},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(ei){if(ei instanceof StackFrame)this.evalOrigin=ei;else if(ei instanceof Object)this.evalOrigin=new StackFrame(ei);else throw TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var ei=this.getFileName()||"",eo=this.getLineNumber()||"",ea=this.getColumnNumber()||"",es=this.getFunctionName()||"";return this.getIsEval()?ei?"[eval] ("+ei+":"+eo+":"+ea+")":"[eval]:"+eo+":"+ea:es?es+" ("+ei+":"+eo+":"+ea+")":ei+":"+eo+":"+ea}},StackFrame.fromString=function(ei){var eo=ei.indexOf("("),ea=ei.lastIndexOf(")"),es=ei.substring(0,eo),eu=ei.substring(eo+1,ea).split(","),ec=ei.substring(ea+1);if(0===ec.indexOf("@"))var ed=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(ec,""),ef=ed[1],eh=ed[2],ep=ed[3];return new StackFrame({functionName:es,args:eu||void 0,fileName:ef,lineNumber:eh||void 0,columnNumber:ep||void 0})};for(var ed=0;ed<ei.length;ed++)StackFrame.prototype["get"+_capitalize(ei[ed])]=_getter(ei[ed]),StackFrame.prototype["set"+_capitalize(ei[ed])]=function(ei){return function(eo){this[ei]=!!eo}}(ei[ed]);for(var ef=0;ef<eo.length;ef++)StackFrame.prototype["get"+_capitalize(eo[ef])]=_getter(eo[ef]),StackFrame.prototype["set"+_capitalize(eo[ef])]=function(ei){return function(eo){if(!_isNumber(eo))throw TypeError(ei+" must be a Number");this[ei]=Number(eo)}}(eo[ef]);for(var eh=0;eh<ea.length;eh++)StackFrame.prototype["get"+_capitalize(ea[eh])]=_getter(ea[eh]),StackFrame.prototype["set"+_capitalize(ea[eh])]=function(ei){return function(eo){this[ei]=String(eo)}}(ea[eh]);return StackFrame})}(eS)),eS.exports}!function(ei,eo){!function(eo,ea){ei.exports=ea(requireStackframe())}(0,function(ei){var eo=/(^|@)\S+:\d+/,ea=/^\s*at .*(\S+:\d+|\(native\))/m,es=/^(eval@)?(\[native code])?$/;return{parse:function(ei){if(void 0!==ei.stacktrace||void 0!==ei["opera#sourceloc"])return this.parseOpera(ei);if(ei.stack&&ei.stack.match(ea))return this.parseV8OrIE(ei);if(ei.stack)return this.parseFFOrSafari(ei);throw Error("Cannot parse given Error object")},extractLocation:function(ei){if(-1===ei.indexOf(":"))return[ei];var eo=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(ei.replace(/[()]/g,""));return[eo[1],eo[2]||void 0,eo[3]||void 0]},parseV8OrIE:function(eo){return eo.stack.split("\n").filter(function(ei){return!!ei.match(ea)},this).map(function(eo){eo.indexOf("(eval ")>-1&&(eo=eo.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var ea=eo.replace(/^\s+/,"").replace(/\(eval code/g,"("),es=ea.match(/ (\((.+):(\d+):(\d+)\)$)/),eu=(ea=es?ea.replace(es[0],""):ea).split(/\s+/).slice(1),ec=this.extractLocation(es?es[1]:eu.pop()),ed=eu.join(" ")||void 0,ef=["eval","<anonymous>"].indexOf(ec[0])>-1?void 0:ec[0];return new ei({functionName:ed,fileName:ef,lineNumber:ec[1],columnNumber:ec[2],source:eo})},this)},parseFFOrSafari:function(eo){return eo.stack.split("\n").filter(function(ei){return!ei.match(es)},this).map(function(eo){if(eo.indexOf(" > eval")>-1&&(eo=eo.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===eo.indexOf("@")&&-1===eo.indexOf(":"))return new ei({functionName:eo});var ea=/((.*".+"[^@]*)?[^@]*)(?:@)/,es=eo.match(ea),eu=es&&es[1]?es[1]:void 0,ec=this.extractLocation(eo.replace(ea,""));return new ei({functionName:eu,fileName:ec[0],lineNumber:ec[1],columnNumber:ec[2],source:eo})},this)},parseOpera:function(ei){return!ei.stacktrace||ei.message.indexOf("\n")>-1&&ei.message.split("\n").length>ei.stacktrace.split("\n").length?this.parseOpera9(ei):ei.stack?this.parseOpera11(ei):this.parseOpera10(ei)},parseOpera9:function(eo){for(var ea=/Line (\d+).*script (?:in )?(\S+)/i,es=eo.message.split("\n"),eu=[],ec=2,ed=es.length;ec<ed;ec+=2){var ef=ea.exec(es[ec]);ef&&eu.push(new ei({fileName:ef[2],lineNumber:ef[1],source:es[ec]}))}return eu},parseOpera10:function(eo){for(var ea=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,es=eo.stacktrace.split("\n"),eu=[],ec=0,ed=es.length;ec<ed;ec+=2){var ef=ea.exec(es[ec]);ef&&eu.push(new ei({functionName:ef[3]||void 0,fileName:ef[2],lineNumber:ef[1],source:es[ec]}))}return eu},parseOpera11:function(ea){return ea.stack.split("\n").filter(function(ei){return!!ei.match(eo)&&!ei.match(/^Error created at/)},this).map(function(eo){var ea,es=eo.split("@"),eu=this.extractLocation(es.pop()),ec=es.shift()||"",ed=ec.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;ec.match(/\(([^)]*)\)/)&&(ea=ec.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var ef=void 0===ea||"[arguments not available]"===ea?void 0:ea.split(",");return new ei({functionName:ed,args:ef,fileName:eu[0],lineNumber:eu[1],columnNumber:eu[2],source:eo})},this)}}})}(eP);var eE=eP.exports;let ek=getDefaultExportFromCjs(eE);function ConsoleListener(ei,eo){let ea;let es=eo.logger;if(!es)return()=>{};ea="string"==typeof es?window[es]:es;let eu=[];if(eo.level.includes("error")&&window){let errorHandler=ea=>{let{message:es,error:eu}=ea,ec=[];eu&&(ec=ek.parse(eu));let ed=[stringify$2(es,eo.stringifyOptions)];ei({type:"Error",trace:ec,time:Date.now(),value:ed})};window.addEventListener("error",errorHandler),eu.push(()=>{window&&window.removeEventListener("error",errorHandler)})}for(let ei of eo.level)eu.push(replace(ea,ei));return()=>{eu.forEach(ei=>ei())};function replace(ea,es){return ea[es]?patch(ea,es,ea=>(...eu)=>{ea.apply(this,eu);try{let ea=ek.parse(Error()),ec=eu.map(ei=>stringify$2(ei,eo.stringifyOptions));ei({type:es,trace:ea.slice(1),value:ec,time:Date.now()})}catch(ei){ea("highlight logger error:",ei,...eu)}}):()=>{}}}var eT={exports:{}};!function(ei,eo){function stringify2(ei,eo,ea,es){return JSON.stringify(ei,serializer(eo,es),ea)}function serializer(ei,eo){var ea=[],es=[];return null==eo&&(eo=function(ei,eo){return ea[0]===eo?"[Circular ~]":"[Circular ~."+es.slice(0,ea.indexOf(eo)).join(".")+"]"}),function(eu,ec){if(ea.length>0){var ed=ea.indexOf(this);~ed?ea.splice(ed+1):ea.push(this),~ed?es.splice(ed,1/0,eu):es.push(eu),~ea.indexOf(ec)&&(ec=eo.call(this,eu,ec))}else ea.push(ec);return null==ei?ec:ei.call(this,eu,ec)}}(eo=ei.exports=stringify2).getSerialize=serializer}(eT,eT.exports);var eC=eT.exports;let e_=getDefaultExportFromCjs(eC);function handleError(ei,eo,ea,es){var eu,ec,ed,ef;let eh=[];if(eo instanceof Error)eh=ek.parse(eo),eo=eo.message;else try{eh=ek.parse(es)}catch(ei){}let ep=removeHighlightFrameIfExists(eh);ei({event:e_(eo),type:"window.onerror",url:window.location.href,source:null!=ea?ea:"",lineNumber:(null==(eu=ep[0])?void 0:eu.lineNumber)?null==(ec=ep[0])?void 0:ec.lineNumber:0,columnNumber:(null==(ed=ep[0])?void 0:ed.columnNumber)?null==(ef=ep[0])?void 0:ef.columnNumber:0,stackTrace:ep,timestamp:new Date().toISOString()})}let ErrorListener=ei=>{if("undefined"==typeof window)return()=>{};let eo=window.onerror=(eo,ea,es,eu,ec)=>{ec&&handleError(ei,eo,ea,ec)},ea=window.onunhandledrejection=eo=>{if(eo.reason){let ea=eo.promise;ea.getStack?handleError(ei,eo.reason,eo.type,ea.getStack()):handleError(ei,eo.reason,eo.type,Error())}},es=window.Promise.constructor;return window.Promise.constructor=function(ei){es(ei),this.promiseCreationError=Error()},window.Promise.prototype.getStack=function(){return this.promiseCreationError},()=>{window.Promise.constructor=es,window.onunhandledrejection=ea,window.onerror=eo}},removeHighlightFrameIfExists=ei=>{var eo;if(0===ei.length)return ei;let ea=ei[0];return"console.error"===ea.functionName&&(null==(eo=ea.fileName)?void 0:eo.includes("highlight.run"))||"new HighlightPromise"===ea.functionName?ei.slice(1):ei},eA=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],eO=['["\\"Script error.\\""]','[{"isTrusted":true}]','["{}"]','[""]','["\\"\\""]'],eM=["websocket error",'\\"ResizeObserver loop'],sanitizeRequest=(ei,eo,ea)=>{let es=sanitizeHeaders(eo,ei.headers,ea);return __spreadProps(__spreadValues({},ei),{headers:es})},sanitizeResponse=(ei,eo,ea)=>{let es=sanitizeHeaders(eo,ei.headers,ea);return __spreadProps(__spreadValues({},ei),{headers:es})},sanitizeHeaders=(ei,eo,ea)=>{var es,eu;let ec=__spreadValues({},eo);return ea?null==(es=Object.keys(ec))||es.forEach(ei=>{[...ea].includes(null==ei?void 0:ei.toLowerCase())||(ec[ei]="[REDACTED]")}):null==(eu=Object.keys(ec))||eu.forEach(eo=>{[...eR,...ei].includes(null==eo?void 0:eo.toLowerCase())&&(ec[eo]="[REDACTED]")}),ec},eR=["authorization","cookie","proxy-authorization","token"],ej=["https://www.googleapis.com/identitytoolkit","https://securetoken.googleapis.com"],eN="X-Highlight-Request",normalizeUrl=ei=>{let eo=ei;return ei.startsWith("https://")||ei.startsWith("http://")||(eo=`${window.location.origin}${eo}`),eo.replace(/\/+$/,"")},matchPerformanceTimingsWithRequestResponsePair=(ei,eo,ea)=>{ei.sort((ei,eo)=>ei.responseEnd-eo.responseEnd);let es={xmlhttprequest:{},others:{},fetch:{}},eu=ei.reduce((ei,eo)=>{let es=normalizeUrl(eo.name);return eo.initiatorType===ea?ei[ea][es]=[...ei[ea][es]||[],eo]:ei.others[es]=[...ei.others[es]||[],eo],ei},es),ec={};for(let ei in ec=eo.reduce((ei,eo)=>{let ea=normalizeUrl(eo.request.url);return ei[ea]=[...ei[ea]||[],eo],ei},ec),eu[ea]){let eo=eu[ea][ei],es=ec[ei];if(!es)continue;let ed=Math.max(eo.length-es.length,0);for(let ei=ed;ei<eo.length;ei++)eo[ei]&&(eo[ei].requestResponsePair=es[ei-ed])}let ed=[];for(let ei in eu)for(let eo in eu[ei])ed=ed.concat(eu[ei][eo]);return ed.sort((ei,eo)=>ei.fetchStart-eo.fetchStart).map(ei=>(ei.toJSON=function(){return{initiatorType:this.initiatorType,startTime:this.startTime,responseEnd:this.responseEnd,name:this.name,transferSize:this.transferSize,encodedBodySize:this.encodedBodySize,requestResponsePairs:this.requestResponsePair}},ei))},isHighlightNetworkResourceFilter=(ei,eo)=>ei.toLocaleLowerCase().includes("https://pub.highlight.run")||ei.toLocaleLowerCase().includes("highlight.run")||ei.toLocaleLowerCase().includes(eo),shouldNetworkRequestBeRecorded=(ei,eo,ea)=>!isHighlightNetworkResourceFilter(ei,eo)||shouldNetworkRequestBeTraced(ei,ea),shouldNetworkRequestBeTraced=(ei,eo)=>{var ea;let es=[];!0===eo?(es=["localhost",/^\//],(null==(ea=null==window?void 0:window.location)?void 0:ea.host)&&es.push(window.location.host)):eo instanceof Array&&(es=eo);let eu=!1;return es.forEach(eo=>{ei.match(eo)&&(eu=!0)}),eu};function makeId(ei){for(var eo="",ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",es=ea.length,eu=0;eu<ei;eu++)eo+=ea.charAt(Math.floor(Math.random()*es));return eo}let createNetworkRequestId=()=>makeId(10),getHighlightRequestHeader=(ei,eo)=>ei+"/"+eo,XHRListener=(ei,eo,ea,es,eu,ec,ed)=>{let ef=XMLHttpRequest.prototype,eh=ef.open,ep=ef.send,em=ef.setRequestHeader;return ef.open=function(ei,eo){return this._method=ei,this._url=eo,this._requestHeaders={},this._shouldRecordHeaderAndBody=!es.some(ei=>eo.toLowerCase().includes(ei)),eh.apply(this,arguments)},ef.setRequestHeader=function(ei,eo){return this._requestHeaders[ei]=eo,em.apply(this,arguments)},ef.send=function(es){if(!shouldNetworkRequestBeRecorded(this._url,eo,ea))return ep.apply(this,arguments);let ef=createNetworkRequestId();shouldNetworkRequestBeTraced(this._url,ea)&&this.setRequestHeader(eN,getHighlightRequestHeader(eu,ef));let eh=this._shouldRecordHeaderAndBody,em={id:ef,url:this._url,verb:this._method,headers:eh?this._requestHeaders:{},body:void 0};if(eh&&es){let ei=getBodyData(es,em.url);ei&&(em.body=getBodyThatShouldBeRecorded(ei,ec,ed,em.headers))}return this.addEventListener("load",function(){return __async(this,null,function*(){let eo={status:this.status,headers:{},body:void 0};if(eh){let ei=this.getAllResponseHeaders(),ea=ei.trim().split(/[\r\n]+/),eu={};if(ea.forEach(function(ei){let eo=ei.split(": "),ea=eo.shift();eu[ea]=eo.join(": ")}),eo.headers=eu,es){let ei=getBodyData(es,em.url);ei&&(em.body=getBodyThatShouldBeRecorded(ei,ec,ed,eo.headers))}if(""===this.responseType||"text"===this.responseType)eo.body=getBodyThatShouldBeRecorded(this.responseText,ec,ed,eo.headers),eo.size=8*this.responseText.length;else if("blob"===this.responseType){let ei=this.response,ea=yield ei.text();eo.body=getBodyThatShouldBeRecorded(ea,ec,ed,eo.headers),eo.size=ei.size}else try{eo.body=getBodyThatShouldBeRecorded(this.response,ec,ed,eo.headers)}catch(ei){}}let ea={request:em,response:eo,urlBlocked:!eh};ei(ea)})}),this.addEventListener("error",function(){return __async(this,null,function*(){let eo={status:this.status,headers:void 0,body:void 0},ea={request:em,response:eo,urlBlocked:!1};ei(ea)})}),ep.apply(this,arguments)},()=>{ef.open=eh,ef.send=ep,ef.setRequestHeader=em}},getBodyData=(ei,eo)=>{if("string"==typeof ei){if(!(((null==eo?void 0:eo.includes("localhost"))||(null==eo?void 0:eo.includes("highlight.run")))&&ei.includes("pushPayload")))return ei}else if("object"==typeof ei||"number"==typeof ei||"boolean"==typeof ei)return ei.toString();return null},eL=65536,eD={"application/json":67108864,"text/plain":67108864},getBodyThatShouldBeRecorded=(ei,eo,ea,es)=>{var eu,ec,ed;let ef=eL;if(es){let ei="";ei="function"==typeof es.get?null!=(eu=es.get("content-type"))?eu:"":null!=(ec=es["content-type"])?ec:"";try{ei=ei.split(";")[0]}catch(ei){}ef=null!=(ed=eD[ei])?ed:eL}if(ei){if(eo)try{let ea=JSON.parse(ei);Object.keys(ea).forEach(ei=>{eo.includes(ei.toLocaleLowerCase())&&(ea[ei]="[REDACTED]")}),ei=JSON.stringify(ea)}catch(ei){}if(ea)try{let eo=JSON.parse(ei);Object.keys(eo).forEach(ei=>{ea.includes(ei.toLocaleLowerCase())||(eo[ei]="[REDACTED]")}),ei=JSON.stringify(eo)}catch(ei){}}try{ei=ei.slice(0,ef)}catch(ei){}return ei},FetchListener=(ei,eo,ea,es,eu,ec,ed)=>{let ef=window._fetchProxy;return window._fetchProxy=function(eh,ep){let{method:em,url:eg}=getFetchRequestProperties(eh,ep);if(!shouldNetworkRequestBeRecorded(eg,eo,ea))return ef.call(this,eh,ep);let eb=createNetworkRequestId();if(shouldNetworkRequestBeTraced(eg,ea)){ep=ep||{};let ei=new Headers(ep.headers);eh instanceof Request&&[...eh.headers].forEach(([eo,ea])=>ei.set(eo,ea)),ei.set(eN,getHighlightRequestHeader(eu,eb)),ep.headers=Object.fromEntries(ei.entries())}let ey={id:eb,headers:{},body:void 0,url:eg,verb:em},ew=!es.some(ei=>eg.toLowerCase().includes(ei));ew&&(ey.headers=Object.fromEntries(new Headers(null==ep?void 0:ep.headers).entries()),ey.body=getBodyThatShouldBeRecorded(null==ep?void 0:ep.body,ec,ed,null==ep?void 0:ep.headers));let ex=ef.call(this,eh,ep);return logRequest(ex,ey,ei,ew,ec,ed),ex},()=>{window._fetchProxy=ef}},getFetchRequestProperties=(ei,eo)=>{let ea;let es=eo&&eo.method||"object"==typeof ei&&"method"in ei&&ei.method||"GET";return{method:es,url:ea="object"==typeof ei?"url"in ei&&ei.url?ei.url:ei.toString():ei}},logRequest=(ei,eo,ea,es,eu,ec)=>{let onPromiseResolveHandler=ei=>__async(void 0,null,function*(){let ed={body:void 0,headers:void 0,status:0,size:0},ef=!1;if("stack"in ei||ei instanceof Error)ed=__spreadProps(__spreadValues({},ed),{body:ei.message,status:0,size:void 0}),ef=!0;else if("status"in ei){if(ed=__spreadProps(__spreadValues({},ed),{status:ei.status}),es){let eo;try{let ea=ei.clone(),es=ea.body;if(es){let ea,ed=es.getReader(),ef=new TextDecoder,eh="";for(;!(ea=yield ed.read()).done;){let ei=ea.value;eh+=ef.decode(ei)}eo=eh,eo=getBodyThatShouldBeRecorded(eo,eu,ec,ei.headers)}else eo=""}catch(ei){eo=`Unable to clone response: ${ei}`}ed.body=eo,ed.headers=Object.fromEntries(ei.headers.entries()),ed.size=8*eo.length}ef=!0}if(ef){let ei={request:eo,response:ed,urlBlocked:!es};ea(ei)}});ei.then(onPromiseResolveHandler).catch(()=>{})},WebSocketListener=(ei,eo,ea)=>{let es=window._highlightWebSocketRequestCallback;window._highlightWebSocketRequestCallback=ei;let eu=window._highlightWebSocketEventCallback;return window._highlightWebSocketEventCallback=ei=>{let es=ei,{message:eu,size:ec}=es,ed=__objRest(es,["message","size"]),ef=ea.some(eo=>ei.name.toLowerCase().includes(eo)),eh=ef?ed:ei;eo(eh)},()=>{window._highlightWebSocketRequestCallback=es,window._highlightWebSocketEventCallback=eu}},NetworkListener=({xhrCallback:ei,fetchCallback:eo,webSocketRequestCallback:ea,webSocketEventCallback:es,disableWebSocketRecording:eu,headersToRedact:ec,bodyKeysToRedact:ed,backendUrl:ef,tracingOrigins:eh,urlBlocklist:ep,sessionSecureID:em,bodyKeysToRecord:eg,headerKeysToRecord:eb})=>{let ey=XHRListener(eo=>{ei(sanitizeRequestResponsePair(eo,ec,eb))},ef,eh,ep,em,ed,eg),ew=FetchListener(ei=>{eo(sanitizeRequestResponsePair(ei,ec,eb))},ef,eh,ep,em,ed,eg),ex=eu?()=>{}:WebSocketListener(ea,es,ep);return()=>{ey(),ew(),ex()}},sanitizeRequestResponsePair=(ei,eo,ea)=>{var es=ei,{request:eu,response:ec}=es,ed=__objRest(es,["request","response"]);return __spreadValues({request:sanitizeRequest(eu,eo,ea),response:sanitizeResponse(ec,eo,ea)},ed)};let FirstLoadListeners=class FirstLoadListeners{constructor(ei){var eo;__publicField(this,"disableConsoleRecording"),__publicField(this,"reportConsoleErrors"),__publicField(this,"consoleMethodsToRecord"),__publicField(this,"listeners"),__publicField(this,"errors"),__publicField(this,"messages"),__publicField(this,"options"),__publicField(this,"hasNetworkRecording",!0),__publicField(this,"_backendUrl"),__publicField(this,"disableNetworkRecording"),__publicField(this,"enableRecordingNetworkContents"),__publicField(this,"xhrNetworkContents"),__publicField(this,"fetchNetworkContents"),__publicField(this,"disableRecordingWebSocketContents"),__publicField(this,"webSocketNetworkContents"),__publicField(this,"webSocketEventContents"),__publicField(this,"tracingOrigins"),__publicField(this,"networkHeadersToRedact"),__publicField(this,"networkBodyKeysToRedact"),__publicField(this,"networkBodyKeysToRecord"),__publicField(this,"networkHeaderKeysToRecord"),__publicField(this,"urlBlocklist"),this.options=ei,this.disableConsoleRecording=!!ei.disableConsoleRecording,this.reportConsoleErrors=null!=(eo=ei.reportConsoleErrors)&&eo,this.consoleMethodsToRecord=ei.consoleMethodsToRecord||[...eA],this.listeners=[],this.errors=[],this.messages=[]}isListening(){return this.listeners.length>0}startListening(){if(this.isListening())return;let ei=this;this.disableConsoleRecording||this.listeners.push(ConsoleListener(eo=>{var ea,es,eu;if(this.reportConsoleErrors&&("Error"===eo.type||"error"===eo.type)&&eo.value&&eo.trace){let ec=e_(eo.value);if(eO.includes(ec)||eM.some(ei=>ec.includes(ei)))return;ei.errors.push({event:ec,type:"console.error",url:window.location.href,source:(null==(ea=eo.trace[0])?void 0:ea.fileName)?eo.trace[0].fileName:"",lineNumber:(null==(es=eo.trace[0])?void 0:es.lineNumber)?eo.trace[0].lineNumber:0,columnNumber:(null==(eu=eo.trace[0])?void 0:eu.columnNumber)?eo.trace[0].columnNumber:0,stackTrace:eo.trace,timestamp:new Date().toISOString()})}ei.messages.push(eo)},{level:this.consoleMethodsToRecord,logger:"console",stringifyOptions:{depthOfLimit:10,numOfKeysLimit:100,stringLengthLimit:1e3}})),this.listeners.push(ErrorListener(eo=>ei.errors.push(eo))),FirstLoadListeners.setupNetworkListener(this,this.options)}stopListening(){this.listeners.forEach(ei=>ei()),this.listeners=[]}static setupNetworkListener(ei,eo){var ea,es,eu,ec,ed,ef,eh,ep,em,eg,eb;ei._backendUrl=(null==eo?void 0:eo.backendUrl)||"https://pub.highlight.run",ei.xhrNetworkContents=[],ei.fetchNetworkContents=[],ei.webSocketNetworkContents=[],ei.webSocketEventContents=[],ei.networkHeadersToRedact=[],ei.urlBlocklist=[],ei.tracingOrigins=eo.tracingOrigins||[],(null==eo?void 0:eo.disableNetworkRecording)!==void 0?(ei.disableNetworkRecording=null==eo?void 0:eo.disableNetworkRecording,ei.enableRecordingNetworkContents=!1,ei.disableRecordingWebSocketContents=!0,ei.networkHeadersToRedact=[],ei.networkBodyKeysToRedact=[],ei.urlBlocklist=[],ei.networkBodyKeysToRecord=[],ei.networkBodyKeysToRecord=[]):"boolean"==typeof(null==eo?void 0:eo.networkRecording)?(ei.disableNetworkRecording=!eo.networkRecording,ei.enableRecordingNetworkContents=!1,ei.disableRecordingWebSocketContents=!0,ei.networkHeadersToRedact=[],ei.networkBodyKeysToRedact=[],ei.urlBlocklist=[]):((null==(ea=eo.networkRecording)?void 0:ea.enabled)!==void 0?ei.disableNetworkRecording=!eo.networkRecording.enabled:ei.disableNetworkRecording=!1,ei.enableRecordingNetworkContents=(null==(es=eo.networkRecording)?void 0:es.recordHeadersAndBody)||!1,ei.disableRecordingWebSocketContents=(null==(eu=eo.networkRecording)?void 0:eu.disableWebSocketEventRecordings)||!1,ei.networkHeadersToRedact=(null==(ed=null==(ec=eo.networkRecording)?void 0:ec.networkHeadersToRedact)?void 0:ed.map(ei=>ei.toLowerCase()))||[],ei.networkBodyKeysToRedact=(null==(eh=null==(ef=eo.networkRecording)?void 0:ef.networkBodyKeysToRedact)?void 0:eh.map(ei=>ei.toLowerCase()))||[],ei.urlBlocklist=(null==(em=null==(ep=eo.networkRecording)?void 0:ep.urlBlocklist)?void 0:em.map(ei=>ei.toLowerCase()))||[],ei.urlBlocklist=[...ei.urlBlocklist,...ej],ei.networkHeaderKeysToRecord=null==(eg=eo.networkRecording)?void 0:eg.headerKeysToRecord,ei.networkHeaderKeysToRecord&&(ei.networkHeadersToRedact=[],ei.networkHeaderKeysToRecord=ei.networkHeaderKeysToRecord.map(ei=>ei.toLocaleLowerCase())),ei.networkBodyKeysToRecord=null==(eb=eo.networkRecording)?void 0:eb.bodyKeysToRecord,ei.networkBodyKeysToRecord&&(ei.networkBodyKeysToRedact=[],ei.networkBodyKeysToRecord=ei.networkBodyKeysToRecord.map(ei=>ei.toLocaleLowerCase()))),!ei.disableNetworkRecording&&ei.enableRecordingNetworkContents&&ei.listeners.push(NetworkListener({xhrCallback:eo=>{ei.xhrNetworkContents.push(eo)},fetchCallback:eo=>{ei.fetchNetworkContents.push(eo)},webSocketRequestCallback:eo=>{ei.webSocketNetworkContents&&ei.webSocketNetworkContents.push(eo)},webSocketEventCallback:eo=>{ei.webSocketEventContents.push(eo)},disableWebSocketRecording:ei.disableRecordingWebSocketContents,headersToRedact:ei.networkHeadersToRedact,bodyKeysToRedact:ei.networkBodyKeysToRedact,backendUrl:ei._backendUrl,tracingOrigins:ei.tracingOrigins,urlBlocklist:ei.urlBlocklist,sessionSecureID:eo.sessionSecureID,headerKeysToRecord:ei.networkHeaderKeysToRecord,bodyKeysToRecord:ei.networkBodyKeysToRecord}))}static getRecordedNetworkResources(ei,eo){var ea;let es=[],eu=[];if(!ei.disableNetworkRecording){let eu=(null==(ea=null==window?void 0:window.performance)?void 0:ea.timeOrigin)||0;es=performance.getEntriesByType("resource");let ec=(eo-eu)*2;es=es.filter(eo=>shouldNetworkRequestBeRecorded(eo.name,ei._backendUrl,ei.tracingOrigins)).map(ei=>__spreadProps(__spreadValues({},ei.toJSON()),{offsetStartTime:ei.startTime-ec,offsetResponseEnd:ei.responseEnd-ec,offsetFetchStart:ei.fetchStart-ec})),ei.enableRecordingNetworkContents&&(es=matchPerformanceTimingsWithRequestResponsePair(es,ei.xhrNetworkContents,"xmlhttprequest"),es=matchPerformanceTimingsWithRequestResponsePair(es,ei.fetchNetworkContents,"fetch"))}return ei.disableRecordingWebSocketContents||(eu=ei.webSocketNetworkContents||[]),[...es,...eu]}static getRecordedWebSocketEvents(ei){let eo=[];return ei.disableNetworkRecording||ei.disableRecordingWebSocketContents||(eo=ei.webSocketEventContents),eo}static clearRecordedNetworkResources(ei){ei.disableNetworkRecording||(ei.xhrNetworkContents=[],ei.fetchNetworkContents=[],ei.webSocketNetworkContents=[],ei.webSocketEventContents=[],performance.clearResourceTimings())}};let GenerateSecureID=()=>{let ei=28,eo="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var ea,es="";let eu="undefined"!=typeof window&&(null==(ea=window.crypto)?void 0:ea.getRandomValues),ec=new Uint32Array(ei);eu&&window.crypto.getRandomValues(ec);for(let ea=0;ea<ei;ea++)eu?es+=eo.charAt(ec[ea]%eo.length):es+=eo.charAt(Math.floor(Math.random()*eo.length));return es},eI="7.3.9";var ez=((ed=ez||{}).RECORDING_START_TIME="highlightRecordingStartTime",ed.SEGMENT_LAST_SENT_HASH_KEY="HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY",ed.SESSION_DATA="sessionData",ed.SESSION_SECURE_ID="sessionSecureID",ed.USER_IDENTIFIER="highlightIdentifier",ed.USER_OBJECT="highlightUserObject",ed.PAYLOAD_ID="payloadId",ed);let eB=55e3,getPreviousSessionData=()=>{let ei=JSON.parse(window.sessionStorage.getItem(ez.SESSION_DATA)||"{}");if(ei&&ei.lastPushTime&&Date.now()-ei.lastPushTime<eB)return ei},initializeFetchListener=()=>{"undefined"!=typeof window&&void 0===window._highlightFetchPatch&&(window._originalFetch=window.fetch,window._fetchProxy=(ei,eo)=>window._originalFetch(ei,eo),window._highlightFetchPatch=(ei,eo)=>window._fetchProxy.call(window||global,ei,eo),window.fetch=window._highlightFetchPatch)},placeholderCallback=()=>null,initializeWebSocketListener=()=>{if("undefined"!=typeof window){if(void 0!==window._highlightWebSocketRequestCallback)return;window._highlightWebSocketRequestCallback=placeholderCallback,window._highlightWebSocketEventCallback=placeholderCallback;let ei=new Proxy(window.WebSocket,{construct(ei,eo){let ea=createNetworkRequestId(),es=new ei(...eo),openHandler=ei=>{window._highlightWebSocketRequestCallback({socketId:ea,initiatorType:"websocket",type:"open",name:es.url,startTime:ei.timeStamp})},closeHandler=ei=>{window._highlightWebSocketRequestCallback({socketId:ea,initiatorType:"websocket",type:"close",name:es.url,requestEnd:ei.timeStamp}),es.removeEventListener("open",openHandler),es.removeEventListener("error",errorHandler),es.removeEventListener("message",messageHandler),es.removeEventListener("close",closeHandler)},messageHandler=ei=>{let eo;let{data:eu}=ei,ec="string"==typeof eu?ei.data:void 0;eo="string"==typeof eu?eu.length:eu instanceof Blob?eu.size:eu.byteLength||0,window._highlightWebSocketEventCallback({socketId:ea,type:"received",name:es.url,timeStamp:ei.timeStamp,size:eo,message:ec})},errorHandler=ei=>{window._highlightWebSocketEventCallback({socketId:ea,type:"error",name:es.url,timeStamp:ei.timeStamp,size:0})};es.addEventListener("open",openHandler),es.addEventListener("error",errorHandler),es.addEventListener("message",messageHandler),es.addEventListener("close",closeHandler);let eu=new Proxy(es.send,{apply:function(ei,eo,eu){let ec;let ed=eu[0],ef="string"==typeof ed?ed:void 0;ec="string"==typeof ed?ed.length:ed instanceof Blob?ed.size:ed.byteLength||0,window._highlightWebSocketEventCallback({socketId:ea,type:"sent",name:es.url,timeStamp:performance.now(),size:ec,message:ef}),ei.apply(eo,eu)}});return es.send=eu,es}});window.WebSocket=ei}},listenToChromeExtensionMessage=()=>{var ei,eo;"undefined"!=typeof chrome&&(null==(ei=null==chrome?void 0:chrome.runtime)?void 0:ei.onMessage)&&(null==(eo=null==chrome?void 0:chrome.runtime)||eo.onMessage.addListener((ei,eo,ea)=>{let es=ei.action;switch(console.log(`[highlight] received '${es}' event from extension.`),es){case"init":{let ei="http://localhost:8080/dist/index.js";console.log("url",ei),eU.init(1,{debug:!0,scriptUrl:ei}),eU.getSessionURL().then(ei=>{ea({url:ei})});break}case"stop":eU.stop(),ea({success:!0})}return!0}))};var eF=((ef=eF||{}).Device="Device",ef.WebVital="WebVital",ef.Frontend="Frontend",ef.Backend="Backend",ef);let HighlightWarning=(ei,eo)=>{console.warn(`Highlight Warning: (${ei}): `,eo)},eH=!1,eU={options:void 0,init:(ei,eo)=>{var ea,ed,ef,eh,ep,em,eg,eb;try{if(eU.options=eo,"undefined"==typeof window||"undefined"==typeof document)return;if(!ei){console.info("Highlight is not initializing because projectID was passed undefined.");return}if(eH)return;eH=!0,es=document.createElement("script");var ey=(null==eo?void 0:eo.scriptUrl)?eo.scriptUrl:`https://static.highlight.io/v${eI}/index.js`;es.setAttribute("src",ey),es.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(es);let ew=getPreviousSessionData(),ex=GenerateSecureID();(null==ew?void 0:ew.sessionSecureID)&&(ex=ew.sessionSecureID);let eP={organizationID:ei,debug:null==eo?void 0:eo.debug,backendUrl:null==eo?void 0:eo.backendUrl,tracingOrigins:null==eo?void 0:eo.tracingOrigins,disableNetworkRecording:null==eo?void 0:eo.disableNetworkRecording,networkRecording:null==eo?void 0:eo.networkRecording,disableBackgroundRecording:null==eo?void 0:eo.disableBackgroundRecording,disableConsoleRecording:null==eo?void 0:eo.disableConsoleRecording,disableSessionRecording:null==eo?void 0:eo.disableSessionRecording,reportConsoleErrors:null==eo?void 0:eo.reportConsoleErrors,consoleMethodsToRecord:null==eo?void 0:eo.consoleMethodsToRecord,enableSegmentIntegration:null==eo?void 0:eo.enableSegmentIntegration,enableStrictPrivacy:null==eo?void 0:eo.enableStrictPrivacy,enableCanvasRecording:null==eo?void 0:eo.enableCanvasRecording,enablePerformanceRecording:null==eo?void 0:eo.enablePerformanceRecording,samplingStrategy:null==eo?void 0:eo.samplingStrategy,inlineImages:null==eo?void 0:eo.inlineImages,inlineStylesheet:null==eo?void 0:eo.inlineStylesheet,recordCrossOriginIframe:null==eo?void 0:eo.recordCrossOriginIframe,firstloadVersion:eI,environment:(null==eo?void 0:eo.environment)||"production",appVersion:null==eo?void 0:eo.version,sessionShortcut:null==eo?void 0:eo.sessionShortcut,sessionSecureID:ex};ec=new FirstLoadListeners(eP),(null==eo?void 0:eo.manualStart)||ec.startListening(),es.addEventListener("load",()=>{let startFunction=()=>{eu=new window.HighlightIO(eP,ec),(null==eo?void 0:eo.manualStart)||eu.initialize()};if("HighlightIO"in window)startFunction();else{let ei=setInterval(()=>{"HighlightIO"in window&&(startFunction(),clearInterval(ei))},500)}}),!(null==(ed=null==(ea=null==eo?void 0:eo.integrations)?void 0:ea.mixpanel)?void 0:ed.disabled)&&(null==(eh=null==(ef=null==eo?void 0:eo.integrations)?void 0:ef.mixpanel)?void 0:eh.projectToken)&&setupMixpanelIntegration(eo.integrations.mixpanel),!(null==(em=null==(ep=null==eo?void 0:eo.integrations)?void 0:ep.amplitude)?void 0:em.disabled)&&(null==(eb=null==(eg=null==eo?void 0:eo.integrations)?void 0:eg.amplitude)?void 0:eb.apiKey)&&setupAmplitudeIntegration(eo.integrations.amplitude)}catch(ei){HighlightWarning("init",ei)}},addSessionFeedback:({verbatim:ei,userName:eo,userEmail:ea,timestampOverride:es})=>{try{eU.onHighlightReady(()=>eu.addSessionFeedback({verbatim:ei,timestamp:es||new Date().toISOString(),user_email:ea,user_name:eo}))}catch(ei){HighlightWarning("error",ei)}},consumeError:(ei,eo,ea)=>{try{eU.onHighlightReady(()=>eu.consumeCustomError(ei,eo,JSON.stringify(ea)))}catch(ei){HighlightWarning("error",ei)}},error:(ei,eo)=>{try{eU.onHighlightReady(()=>eu.pushCustomError(ei,JSON.stringify(eo)))}catch(ei){HighlightWarning("error",ei)}},track:(ei,eo={})=>{var ea,es,ec,ed,ef,eh,ep,em,eg,eb,ey;try{eU.onHighlightReady(()=>eu.addProperties(__spreadProps(__spreadValues({},eo),{event:ei})));let ew=null==eu?void 0:eu.getCurrentSessionURL();!(null==(ec=null==(es=null==(ea=eU.options)?void 0:ea.integrations)?void 0:es.mixpanel)?void 0:ec.disabled)&&(null==(ed=window.mixpanel)?void 0:ed.track)&&window.mixpanel.track(ei,__spreadProps(__spreadValues({},eo),{highlightSessionURL:ew})),!(null==(ep=null==(eh=null==(ef=eU.options)?void 0:ef.integrations)?void 0:eh.amplitude)?void 0:ep.disabled)&&(null==(em=window.amplitude)?void 0:em.getInstance)&&window.amplitude.getInstance().logEvent(ei,__spreadProps(__spreadValues({},eo),{highlightSessionURL:ew})),(null==(ey=null==(eb=null==(eg=eU.options)?void 0:eg.integrations)?void 0:eb.intercom)?void 0:ey.disabled)||!window.Intercom||window.Intercom("trackEvent",ei,eo)}catch(ei){HighlightWarning("track",ei)}},start:ei=>{try{if((null==eu?void 0:eu.state)==="Recording"){(null==ei?void 0:ei.silent)||console.warn("Highlight is already recording. Please `H.stop()` the current session before starting a new one.");return}ec.startListening();var eo=setInterval(function(){eu&&(clearInterval(eo),eu.initialize(ei))},200)}catch(ei){HighlightWarning("start",ei)}},stop:()=>{try{eU.onHighlightReady(()=>eu.stopRecording(!0))}catch(ei){HighlightWarning("stop",ei)}},identify:(ei,eo={})=>{var ea,es,ec,ed,ef,eh,ep,em;try{eU.onHighlightReady(()=>eu.identify(ei,eo))}catch(ei){HighlightWarning("identify",ei)}if(!(null==(ec=null==(es=null==(ea=eU.options)?void 0:ea.integrations)?void 0:es.mixpanel)?void 0:ec.disabled)&&(null==(ed=window.mixpanel)?void 0:ed.identify)&&(window.mixpanel.identify("string"==typeof(null==eo?void 0:eo.email)?null==eo?void 0:eo.email:ei),eo&&(window.mixpanel.track("identify",eo),window.mixpanel.people.set(eo))),!(null==(ep=null==(eh=null==(ef=eU.options)?void 0:ef.integrations)?void 0:eh.amplitude)?void 0:ep.disabled)&&(null==(em=window.amplitude)?void 0:em.getInstance)&&(window.amplitude.getInstance().setUserId(ei),Object.keys(eo).length>0)){let ei=Object.keys(eo).reduce((ei,ea)=>(ei.set(ea,eo[ea]),ei),new window.amplitude.Identify);window.amplitude.getInstance().identify(ei)}},metrics:ei=>{try{eU.onHighlightReady(()=>eu.recordMetric(ei.map(ei=>__spreadProps(__spreadValues({},ei),{category:"Frontend"}))))}catch(ei){HighlightWarning("metrics",ei)}},getSessionURL:()=>new Promise((ei,eo)=>{eU.onHighlightReady(()=>{let ea=eu.getCurrentSessionURL();ea?ei(ea):eo(Error("Unable to get session URL"))})}),getSessionDetails:()=>new Promise((ei,eo)=>{eU.onHighlightReady(()=>{let ea=eu.getCurrentSessionURL();if(ea){let eo=eu.getCurrentSessionTimestamp(),es=new Date().getTime(),ec=new URL(ea),ed=new URL(ea);ed.searchParams.set("ts",((es-eo)/1e3).toString()),ei({url:ec.toString(),urlWithTimestamp:ed.toString()})}else eo(Error("Could not get session URL"))})}),onHighlightReady:ei=>{try{if(eu&&eu.ready)ei();else var eo=setInterval(function(){eu&&eu.ready&&(clearInterval(eo),ei())},200)}catch(ei){HighlightWarning("onHighlightReady",ei)}}};"undefined"!=typeof window&&(window.H=eU),listenToChromeExtensionMessage(),initializeFetchListener(),initializeWebSocketListener()},48583:function(ei,eo,ea){"use strict";ea.d(eo,{Dv:function(){return useAtomValue},KO:function(){return useAtom},b9:function(){return useSetAtom},oR:function(){return useStore},zt:function(){return Provider}});var es=ea(67294),eu=ea(15103);let ec=(0,es.createContext)(void 0),useStore=ei=>{let eo=(0,es.useContext)(ec);return(null==ei?void 0:ei.store)||eo||(0,eu.K7)()},Provider=({children:ei,store:eo})=>{let ea=(0,es.useRef)();return eo||ea.current||(ea.current=(0,eu.MT)()),(0,es.createElement)(ec.Provider,{value:eo||ea.current},ei)},isPromiseLike=ei=>"function"==typeof(null==ei?void 0:ei.then),ed=es.use||(ei=>{if("pending"===ei.status)throw ei;if("fulfilled"===ei.status)return ei.value;if("rejected"===ei.status)throw ei.reason;throw ei.status="pending",ei.then(eo=>{ei.status="fulfilled",ei.value=eo},eo=>{ei.status="rejected",ei.reason=eo}),ei});function useAtomValue(ei,eo){let ea=useStore(eo),[[eu,ec,ef],eh]=(0,es.useReducer)(eo=>{let es=ea.get(ei);return Object.is(eo[0],es)&&eo[1]===ea&&eo[2]===ei?eo:[es,ea,ei]},void 0,()=>[ea.get(ei),ea,ei]),ep=eu;(ec!==ea||ef!==ei)&&(eh(),ep=ea.get(ei));let em=null==eo?void 0:eo.delay;return(0,es.useEffect)(()=>{let eo=ea.sub(ei,()=>{if("number"==typeof em){setTimeout(eh,em);return}eh()});return eh(),eo},[ea,ei,em]),(0,es.useDebugValue)(ep),isPromiseLike(ep)?ed(ep):ep}function useSetAtom(ei,eo){let ea=useStore(eo),eu=(0,es.useCallback)((...eo)=>{if(!("write"in ei))throw Error("not writable atom");return ea.set(ei,...eo)},[ea,ei]);return eu}function useAtom(ei,eo){return[useAtomValue(ei,eo),useSetAtom(ei,eo)]}},15103:function(ei,eo,ea){"use strict";let es;ea.d(eo,{K7:function(){return ef},MT:function(){return ed},cn:function(){return atom}});let eu=0;function atom(ei,eo){let ea=`atom${++eu}`,es={toString:()=>ea};return"function"==typeof ei?es.read=ei:(es.init=ei,es.read=defaultRead,es.write=defaultWrite),eo&&(es.write=eo),es}function defaultRead(ei){return ei(this)}function defaultWrite(ei,eo,ea){return eo(this,"function"==typeof ea?ea(ei(this)):ea)}let isSelfAtom=(ei,eo)=>ei.unstable_is?ei.unstable_is(eo):eo===ei,hasInitialValue=ei=>"init"in ei,isActuallyWritableAtom=ei=>!!ei.write,ec=new WeakMap,registerCancelPromise=(ei,eo)=>{ec.set(ei,eo),ei.catch(()=>{}).finally(()=>ec.delete(ei))},cancelPromise=(ei,eo)=>{let ea=ec.get(ei);ea&&(ec.delete(ei),ea(eo))},resolvePromise=(ei,eo)=>{ei.status="fulfilled",ei.value=eo},rejectPromise=(ei,eo)=>{ei.status="rejected",ei.reason=eo},isPromiseLike=ei=>"function"==typeof(null==ei?void 0:ei.then),isEqualAtomValue=(ei,eo)=>!!ei&&"v"in ei&&"v"in eo&&Object.is(ei.v,eo.v),isEqualAtomError=(ei,eo)=>!!ei&&"e"in ei&&"e"in eo&&Object.is(ei.e,eo.e),hasPromiseAtomValue=ei=>!!ei&&"v"in ei&&ei.v instanceof Promise,isEqualPromiseAtomValue=(ei,eo)=>"v"in ei&&"v"in eo&&ei.v.orig&&ei.v.orig===eo.v.orig,returnAtomValue=ei=>{if("e"in ei)throw ei.e;return ei.v},createStore$1=()=>{let ei,eo;let ea=new WeakMap,es=new WeakMap,eu=[],ec=new WeakMap;ei=new Set,eo=new Set;let getAtomState=ei=>ea.get(ei),addPendingDependent=(ei,eo)=>{eo.d.forEach((eo,ea)=>{var es;if(!ec.has(ea)){let ei=getAtomState(ea);null==(es=eu[eu.length-1])||es.add(ea),ec.set(ea,[ei,new Set]),ei&&addPendingDependent(ea,ei)}ec.get(ea)[1].add(ei)})},setAtomState=(ei,eo)=>{var es;Object.freeze(eo);let ed=getAtomState(ei);if(ea.set(ei,eo),ec.has(ei)||(null==(es=eu[eu.length-1])||es.add(ei),ec.set(ei,[ed,new Set]),addPendingDependent(ei,eo)),hasPromiseAtomValue(ed)){let ei="v"in eo?eo.v instanceof Promise?eo.v:Promise.resolve(eo.v):Promise.reject(eo.e);ed.v!==ei&&cancelPromise(ed.v,ei)}},updateDependencies=(ei,eo,ea,es)=>{let eu=new Map(es?eo.d:null),ec=!1;ea.forEach((ea,es)=>{!ea&&isSelfAtom(ei,es)&&(ea=eo),ea?(eu.set(es,ea),eo.d.get(es)!==ea&&(ec=!0)):console.warn("[Bug] atom state not found")}),(ec||eo.d.size!==eu.size)&&(eo.d=eu)},setAtomValue=(ei,eo,ea,es)=>{let eu=getAtomState(ei),ec={d:(null==eu?void 0:eu.d)||new Map,v:eo};if(ea&&updateDependencies(ei,ec,ea,es),isEqualAtomValue(eu,ec)&&eu.d===ec.d)return eu;if(hasPromiseAtomValue(eu)&&hasPromiseAtomValue(ec)&&isEqualPromiseAtomValue(eu,ec)){if(eu.d===ec.d)return eu;ec.v=eu.v}return setAtomState(ei,ec),ec},setAtomValueOrPromise=(ei,eo,ea,eu)=>{if(isPromiseLike(eo)){let ec;let updatePromiseDependencies=()=>{let eo=getAtomState(ei);if(!hasPromiseAtomValue(eo)||eo.v!==ed)return;let eu=setAtomValue(ei,ed,ea);es.has(ei)&&eo.d!==eu.d&&mountDependencies(ei,eu,eo.d)},ed=new Promise((ei,ea)=>{let es=!1;eo.then(eo=>{es||(es=!0,resolvePromise(ed,eo),ei(eo),updatePromiseDependencies())},ei=>{es||(es=!0,rejectPromise(ed,ei),ea(ei),updatePromiseDependencies())}),ec=eo=>{es||(es=!0,eo.then(ei=>resolvePromise(ed,ei),ei=>rejectPromise(ed,ei)),ei(eo))}});return ed.orig=eo,ed.status="pending",registerCancelPromise(ed,ei=>{ei&&ec(ei),null==eu||eu()}),setAtomValue(ei,ed,ea,!0)}return setAtomValue(ei,eo,ea)},setAtomError=(ei,eo,ea)=>{let es=getAtomState(ei),eu={d:(null==es?void 0:es.d)||new Map,e:eo};return(ea&&updateDependencies(ei,eu,ea),isEqualAtomError(es,eu)&&es.d===eu.d)?es:(setAtomState(ei,eu),eu)},readAtomState=(ei,eo)=>{let ea,eu;let ec=getAtomState(ei);if(!eo&&ec&&(es.has(ei)||Array.from(ec.d).every(([eo,ea])=>{if(eo===ei)return!0;let es=readAtomState(eo);return es===ea||isEqualAtomValue(es,ea)})))return ec;let ed=new Map,ef=!0,getter=eo=>{if(isSelfAtom(ei,eo)){let ei=getAtomState(eo);if(ei)return ed.set(eo,ei),returnAtomValue(ei);if(hasInitialValue(eo))return ed.set(eo,void 0),eo.init;throw Error("no atom init")}let ea=readAtomState(eo);return ed.set(eo,ea),returnAtomValue(ea)},eh={get signal(){return ea||(ea=new AbortController),ea.signal},get setSelf(){return isActuallyWritableAtom(ei)||console.warn("setSelf function cannot be used with read-only atom"),!eu&&isActuallyWritableAtom(ei)&&(eu=(...eo)=>{if(ef&&console.warn("setSelf function cannot be called in sync"),!ef)return writeAtom(ei,...eo)}),eu}};try{let eo=ei.read(getter,eh);return setAtomValueOrPromise(ei,eo,ed,()=>null==ea?void 0:ea.abort())}catch(eo){return setAtomError(ei,eo,ed)}finally{ef=!1}},readAtom=ei=>returnAtomValue(readAtomState(ei)),recomputeDependents=ei=>{let getDependents=ei=>{var eo,ea;let eu=new Set(null==(eo=es.get(ei))?void 0:eo.t);return null==(ea=ec.get(ei))||ea[1].forEach(ei=>{eu.add(ei)}),eu},eo=[],ea=new Set,visit=ei=>{if(!ea.has(ei)){for(let eo of(ea.add(ei),getDependents(ei)))ei!==eo&&visit(eo);eo.push(ei)}};visit(ei);let eu=new Set([ei]);for(let ei=eo.length-1;ei>=0;--ei){let ea=eo[ei],es=getAtomState(ea);if(!es)continue;let ec=!1;for(let ei of es.d.keys())if(ei!==ea&&eu.has(ei)){ec=!0;break}if(ec){let ei=readAtomState(ea,!0);isEqualAtomValue(es,ei)||eu.add(ea)}}},writeAtomState=(eo,...ea)=>{let getter=ei=>returnAtomValue(readAtomState(ei)),setter=(ea,...es)=>{let ec;let ed=eu.length>0;if(ed||eu.push(new Set([ea])),isSelfAtom(eo,ea)){if(!hasInitialValue(ea))throw Error("atom not writable");let ei=getAtomState(ea),eo=setAtomValueOrPromise(ea,es[0]);isEqualAtomValue(ei,eo)||recomputeDependents(ea)}else ec=writeAtomState(ea,...es);if(!ed){let eo=flushPending(eu.pop());ei.forEach(ei=>ei({type:"async-write",flushed:eo}))}return ec},es=eo.write(getter,setter,...ea);return es},writeAtom=(eo,...ea)=>{eu.push(new Set([eo]));let es=writeAtomState(eo,...ea),ec=flushPending(eu.pop());return ei.forEach(ei=>ei({type:"write",flushed:ec})),es},mountAtom=(ei,ea,eu)=>{var ec;let ed=es.get(ei);if(ed)return ea&&ed.t.add(ea),ed;let ef=eu||[];null==(ec=getAtomState(ei))||ec.d.forEach((eo,ea)=>{ea!==ei&&mountAtom(ea,ei,ef)}),readAtomState(ei);let eh={t:new Set(ea&&[ea]),l:new Set};if(es.set(ei,eh),eo.add(ei),isActuallyWritableAtom(ei)&&ei.onMount){let{onMount:eo}=ei;ef.push(()=>{let ea=eo((...eo)=>writeAtom(ei,...eo));ea&&(eh.u=ea)})}return eu||ef.forEach(ei=>ei()),eh},canUnmountAtom=(ei,eo)=>!eo.l.size&&(!eo.t.size||1===eo.t.size&&eo.t.has(ei)),tryUnmountAtom=(ei,ea)=>{if(!canUnmountAtom(ei,ea))return;let eu=ea.u;eu&&eu(),es.delete(ei),eo.delete(ei);let ec=getAtomState(ei);ec?(hasPromiseAtomValue(ec)&&cancelPromise(ec.v),ec.d.forEach((eo,ea)=>{if(ea!==ei){let eo=es.get(ea);eo&&(eo.t.delete(ei),tryUnmountAtom(ea,eo))}})):console.warn("[Bug] could not find atom state to unmount",ei)},mountDependencies=(ei,eo,ea)=>{let eu=new Set(eo.d.keys()),ec=new Set;null==ea||ea.forEach((eo,ea)=>{if(eu.has(ea)){eu.delete(ea);return}ec.add(ea);let ed=es.get(ea);ed&&ed.t.delete(ei)}),eu.forEach(eo=>{mountAtom(eo,ei)}),ec.forEach(ei=>{let eo=es.get(ei);eo&&tryUnmountAtom(ei,eo)})},flushPending=ei=>{let eo;eo=new Set;let ea=[],collectPending=ei=>{var eo;if(!ec.has(ei))return;let[es,eu]=ec.get(ei);ec.delete(ei),ea.push([ei,es]),eu.forEach(collectPending),null==(eo=getAtomState(ei))||eo.d.forEach((ei,eo)=>collectPending(eo))};return ei.forEach(collectPending),ea.forEach(([ei,ea])=>{let eu=getAtomState(ei);if(!eu){console.warn("[Bug] no atom state to flush");return}if(eu!==ea){let ec=es.get(ei);ec&&eu.d!==(null==ea?void 0:ea.d)&&mountDependencies(ei,eu,null==ea?void 0:ea.d),ec&&!(!hasPromiseAtomValue(ea)&&(isEqualAtomValue(ea,eu)||isEqualAtomError(ea,eu)))&&(ec.l.forEach(ei=>ei()),eo.add(ei))}}),eo},subscribeAtom=(eo,ea)=>{let es=mountAtom(eo),eu=flushPending([eo]),ec=es.l;return ec.add(ea),ei.forEach(ei=>ei({type:"sub",flushed:eu})),()=>{ec.delete(ea),tryUnmountAtom(eo,es),ei.forEach(ei=>ei({type:"unsub"}))}};return{get:readAtom,set:writeAtom,sub:subscribeAtom,dev_subscribe_store:eo=>(ei.add(eo),()=>{ei.delete(eo)}),dev_get_mounted_atoms:()=>eo.values(),dev_get_atom_state:ei=>ea.get(ei),dev_get_mounted:ei=>es.get(ei),dev_restore_atoms:eo=>{for(let[ei,ea]of(eu.push(new Set),eo))hasInitialValue(ei)&&(setAtomValueOrPromise(ei,ea),recomputeDependents(ei));let ea=flushPending(eu.pop());ei.forEach(ei=>ei({type:"restore",flushed:ea}))}}},getDefaultStore$1=()=>(es||(es=createStore$1(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=es),globalThis.__JOTAI_DEFAULT_STORE__!==es&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),es);Symbol("CONTINUE_PROMISE");let ed=createStore$1,ef=getDefaultStore$1},79169:function(ei,eo,ea){"use strict";function _class_extract_field_descriptor(ei,eo,ea){if(!eo.has(ei))throw TypeError("attempted to "+ea+" private field on non-instance");return eo.get(ei)}ea.d(eo,{J:function(){return _class_extract_field_descriptor}})},13094:function(ei,eo,ea){"use strict";function _class_apply_descriptor_get(ei,eo){return eo.get?eo.get.call(ei):eo.value}ea.d(eo,{_:function(){return _class_private_field_get}});var es=ea(79169);function _class_private_field_get(ei,eo){var ea=(0,es.J)(ei,eo,"get");return _class_apply_descriptor_get(ei,ea)}},7321:function(ei,eo,ea){"use strict";function _check_private_redeclaration(ei,eo){if(eo.has(ei))throw TypeError("Cannot initialize the same private elements twice on an object")}function _class_private_field_init(ei,eo,ea){_check_private_redeclaration(ei,eo),eo.set(ei,ea)}ea.d(eo,{_:function(){return _class_private_field_init}})},29677:function(ei,eo,ea){"use strict";function _class_apply_descriptor_set(ei,eo,ea){if(eo.set)eo.set.call(ei,ea);else{if(!eo.writable)throw TypeError("attempted to set read only private field");eo.value=ea}}ea.d(eo,{_:function(){return _class_private_field_set}});var es=ea(79169);function _class_private_field_set(ei,eo,ea){var eu=(0,es.J)(ei,eo,"set");return _class_apply_descriptor_set(ei,eu,ea),ea}},98388:function(ei,eo,ea){"use strict";ea.d(eo,{m6:function(){return eS},q7:function(){return extendTailwindMerge}});let es="-";function createClassGroupUtils(ei){let eo=createClassMap(ei),{conflictingClassGroups:ea,conflictingClassGroupModifiers:eu}=ei;return{getClassGroupId:function(ei){let ea=ei.split(es);return""===ea[0]&&1!==ea.length&&ea.shift(),getGroupRecursive(ea,eo)||getGroupIdForArbitraryProperty(ei)},getConflictingClassGroupIds:function(ei,eo){let es=ea[ei]||[];return eo&&eu[ei]?[...es,...eu[ei]]:es}}}function getGroupRecursive(ei,eo){if(0===ei.length)return eo.classGroupId;let ea=ei[0],eu=eo.nextPart.get(ea),ec=eu?getGroupRecursive(ei.slice(1),eu):void 0;if(ec)return ec;if(0===eo.validators.length)return;let ed=ei.join(es);return eo.validators.find(({validator:ei})=>ei(ed))?.classGroupId}let eu=/^\[(.+)\]$/;function getGroupIdForArbitraryProperty(ei){if(eu.test(ei)){let eo=eu.exec(ei)[1],ea=eo?.substring(0,eo.indexOf(":"));if(ea)return"arbitrary.."+ea}}function createClassMap(ei){let{theme:eo,prefix:ea}=ei,es={nextPart:new Map,validators:[]},eu=getPrefixedClassGroupEntries(Object.entries(ei.classGroups),ea);return eu.forEach(([ei,ea])=>{processClassesRecursively(ea,es,ei,eo)}),es}function processClassesRecursively(ei,eo,ea,es){ei.forEach(ei=>{if("string"==typeof ei){let es=""===ei?eo:getPart(eo,ei);es.classGroupId=ea;return}if("function"==typeof ei){if(isThemeGetter(ei)){processClassesRecursively(ei(es),eo,ea,es);return}eo.validators.push({validator:ei,classGroupId:ea});return}Object.entries(ei).forEach(([ei,eu])=>{processClassesRecursively(eu,getPart(eo,ei),ea,es)})})}function getPart(ei,eo){let ea=ei;return eo.split(es).forEach(ei=>{ea.nextPart.has(ei)||ea.nextPart.set(ei,{nextPart:new Map,validators:[]}),ea=ea.nextPart.get(ei)}),ea}function isThemeGetter(ei){return ei.isThemeGetter}function getPrefixedClassGroupEntries(ei,eo){return eo?ei.map(([ei,ea])=>{let es=ea.map(ei=>"string"==typeof ei?eo+ei:"object"==typeof ei?Object.fromEntries(Object.entries(ei).map(([ei,ea])=>[eo+ei,ea])):ei);return[ei,es]}):ei}function createLruCache(ei){if(ei<1)return{get:()=>void 0,set:()=>{}};let eo=0,ea=new Map,es=new Map;function update(eu,ec){ea.set(eu,ec),++eo>ei&&(eo=0,es=ea,ea=new Map)}return{get(ei){let eo=ea.get(ei);return void 0!==eo?eo:void 0!==(eo=es.get(ei))?(update(ei,eo),eo):void 0},set(ei,eo){ea.has(ei)?ea.set(ei,eo):update(ei,eo)}}}let ec="!";function createParseClassName(ei){let{separator:eo,experimentalParseClassName:ea}=ei,es=1===eo.length,eu=eo[0],ed=eo.length;function parseClassName(ei){let ea;let ef=[],eh=0,ep=0;for(let ec=0;ec<ei.length;ec++){let em=ei[ec];if(0===eh){if(em===eu&&(es||ei.slice(ec,ec+ed)===eo)){ef.push(ei.slice(ep,ec)),ep=ec+ed;continue}if("/"===em){ea=ec;continue}}"["===em?eh++:"]"===em&&eh--}let em=0===ef.length?ei:ei.substring(ep),eg=em.startsWith(ec),eb=eg?em.substring(1):em,ey=ea&&ea>ep?ea-ep:void 0;return{modifiers:ef,hasImportantModifier:eg,baseClassName:eb,maybePostfixModifierPosition:ey}}return ea?function(ei){return ea({className:ei,parseClassName})}:parseClassName}function sortModifiers(ei){if(ei.length<=1)return ei;let eo=[],ea=[];return ei.forEach(ei=>{let es="["===ei[0];es?(eo.push(...ea.sort(),ei),ea=[]):ea.push(ei)}),eo.push(...ea.sort()),eo}function createConfigUtils(ei){return{cache:createLruCache(ei.cacheSize),parseClassName:createParseClassName(ei),...createClassGroupUtils(ei)}}let ed=/\s+/;function mergeClassList(ei,eo){let{parseClassName:ea,getClassGroupId:es,getConflictingClassGroupIds:eu}=eo,ef=new Set;return ei.trim().split(ed).map(ei=>{let{modifiers:eo,hasImportantModifier:eu,baseClassName:ed,maybePostfixModifierPosition:ef}=ea(ei),eh=!!ef,ep=es(eh?ed.substring(0,ef):ed);if(!ep){if(!eh||!(ep=es(ed)))return{isTailwindClass:!1,originalClassName:ei};eh=!1}let em=sortModifiers(eo).join(":"),eg=eu?em+ec:em;return{isTailwindClass:!0,modifierId:eg,classGroupId:ep,originalClassName:ei,hasPostfixModifier:eh}}).reverse().filter(ei=>{if(!ei.isTailwindClass)return!0;let{modifierId:eo,classGroupId:ea,hasPostfixModifier:es}=ei,ec=eo+ea;return!ef.has(ec)&&(ef.add(ec),eu(ea,es).forEach(ei=>ef.add(eo+ei)),!0)}).reverse().map(ei=>ei.originalClassName).join(" ")}function twJoin(){let ei,eo,ea=0,es="";for(;ea<arguments.length;)(ei=arguments[ea++])&&(eo=toValue(ei))&&(es&&(es+=" "),es+=eo);return es}function toValue(ei){let eo;if("string"==typeof ei)return ei;let ea="";for(let es=0;es<ei.length;es++)ei[es]&&(eo=toValue(ei[es]))&&(ea&&(ea+=" "),ea+=eo);return ea}function createTailwindMerge(ei,...eo){let ea,es,eu;let ec=initTailwindMerge;function initTailwindMerge(ed){let ef=eo.reduce((ei,eo)=>eo(ei),ei());return es=(ea=createConfigUtils(ef)).cache.get,eu=ea.cache.set,ec=tailwindMerge,tailwindMerge(ed)}function tailwindMerge(ei){let eo=es(ei);if(eo)return eo;let ec=mergeClassList(ei,ea);return eu(ei,ec),ec}return function(){return ec(twJoin.apply(null,arguments))}}function fromTheme(ei){let themeGetter=eo=>eo[ei]||[];return themeGetter.isThemeGetter=!0,themeGetter}let ef=/^\[(?:([a-z-]+):)?(.+)\]$/i,eh=/^\d+\/\d+$/,ep=new Set(["px","full","screen"]),em=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eg=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ey=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ew=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function isLength(ei){return isNumber(ei)||ep.has(ei)||eh.test(ei)}function isArbitraryLength(ei){return getIsArbitraryValue(ei,"length",isLengthOnly)}function isNumber(ei){return!!ei&&!Number.isNaN(Number(ei))}function isArbitraryNumber(ei){return getIsArbitraryValue(ei,"number",isNumber)}function isInteger(ei){return!!ei&&Number.isInteger(Number(ei))}function isPercent(ei){return ei.endsWith("%")&&isNumber(ei.slice(0,-1))}function isArbitraryValue(ei){return ef.test(ei)}function isTshirtSize(ei){return em.test(ei)}let ex=new Set(["length","size","percentage"]);function isArbitrarySize(ei){return getIsArbitraryValue(ei,ex,isNever)}function isArbitraryPosition(ei){return getIsArbitraryValue(ei,"position",isNever)}let eP=new Set(["image","url"]);function isArbitraryImage(ei){return getIsArbitraryValue(ei,eP,isImage)}function isArbitraryShadow(ei){return getIsArbitraryValue(ei,"",isShadow)}function isAny(){return!0}function getIsArbitraryValue(ei,eo,ea){let es=ef.exec(ei);return!!es&&(es[1]?"string"==typeof eo?es[1]===eo:eo.has(es[1]):ea(es[2]))}function isLengthOnly(ei){return eg.test(ei)&&!eb.test(ei)}function isNever(){return!1}function isShadow(ei){return ey.test(ei)}function isImage(ei){return ew.test(ei)}function getDefaultConfig(){let ei=fromTheme("colors"),eo=fromTheme("spacing"),ea=fromTheme("blur"),es=fromTheme("brightness"),eu=fromTheme("borderColor"),ec=fromTheme("borderRadius"),ed=fromTheme("borderSpacing"),ef=fromTheme("borderWidth"),eh=fromTheme("contrast"),ep=fromTheme("grayscale"),em=fromTheme("hueRotate"),eg=fromTheme("invert"),eb=fromTheme("gap"),ey=fromTheme("gradientColorStops"),ew=fromTheme("gradientColorStopPositions"),ex=fromTheme("inset"),eP=fromTheme("margin"),eS=fromTheme("opacity"),eE=fromTheme("padding"),ek=fromTheme("saturate"),eT=fromTheme("scale"),eC=fromTheme("sepia"),e_=fromTheme("skew"),eA=fromTheme("space"),eO=fromTheme("translate"),getOverscroll=()=>["auto","contain","none"],getOverflow=()=>["auto","hidden","clip","visible","scroll"],getSpacingWithAutoAndArbitrary=()=>["auto",isArbitraryValue,eo],getSpacingWithArbitrary=()=>[isArbitraryValue,eo],getLengthWithEmptyAndArbitrary=()=>["",isLength,isArbitraryLength],getNumberWithAutoAndArbitrary=()=>["auto",isNumber,isArbitraryValue],getPositions=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],getLineStyles=()=>["solid","dashed","dotted","double","none"],getBlendModes=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],getAlign=()=>["start","end","center","between","around","evenly","stretch"],getZeroAndEmpty=()=>["","0",isArbitraryValue],getBreaks=()=>["auto","avoid","all","avoid-page","page","left","right","column"],getNumber=()=>[isNumber,isArbitraryNumber],getNumberAndArbitrary=()=>[isNumber,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:getNumber(),borderColor:[ei],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:getSpacingWithArbitrary(),borderWidth:getLengthWithEmptyAndArbitrary(),contrast:getNumber(),grayscale:getZeroAndEmpty(),hueRotate:getNumberAndArbitrary(),invert:getZeroAndEmpty(),gap:getSpacingWithArbitrary(),gradientColorStops:[ei],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:getSpacingWithAutoAndArbitrary(),margin:getSpacingWithAutoAndArbitrary(),opacity:getNumber(),padding:getSpacingWithArbitrary(),saturate:getNumber(),scale:getNumber(),sepia:getZeroAndEmpty(),skew:getNumberAndArbitrary(),space:getSpacingWithArbitrary(),translate:getSpacingWithArbitrary()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":getBreaks()}],"break-before":[{"break-before":getBreaks()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...getPositions(),isArbitraryValue]}],overflow:[{overflow:getOverflow()}],"overflow-x":[{"overflow-x":getOverflow()}],"overflow-y":[{"overflow-y":getOverflow()}],overscroll:[{overscroll:getOverscroll()}],"overscroll-x":[{"overscroll-x":getOverscroll()}],"overscroll-y":[{"overscroll-y":getOverscroll()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ex]}],"inset-x":[{"inset-x":[ex]}],"inset-y":[{"inset-y":[ex]}],start:[{start:[ex]}],end:[{end:[ex]}],top:[{top:[ex]}],right:[{right:[ex]}],bottom:[{bottom:[ex]}],left:[{left:[ex]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:getSpacingWithAutoAndArbitrary()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:getZeroAndEmpty()}],shrink:[{shrink:getZeroAndEmpty()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":getNumberWithAutoAndArbitrary()}],"col-end":[{"col-end":getNumberWithAutoAndArbitrary()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":getNumberWithAutoAndArbitrary()}],"row-end":[{"row-end":getNumberWithAutoAndArbitrary()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[eb]}],"gap-x":[{"gap-x":[eb]}],"gap-y":[{"gap-y":[eb]}],"justify-content":[{justify:["normal",...getAlign()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...getAlign(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...getAlign(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[eE]}],px:[{px:[eE]}],py:[{py:[eE]}],ps:[{ps:[eE]}],pe:[{pe:[eE]}],pt:[{pt:[eE]}],pr:[{pr:[eE]}],pb:[{pb:[eE]}],pl:[{pl:[eE]}],m:[{m:[eP]}],mx:[{mx:[eP]}],my:[{my:[eP]}],ms:[{ms:[eP]}],me:[{me:[eP]}],mt:[{mt:[eP]}],mr:[{mr:[eP]}],mb:[{mb:[eP]}],ml:[{ml:[eP]}],"space-x":[{"space-x":[eA]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[eA]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,eo]}],"min-w":[{"min-w":[isArbitraryValue,eo,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,eo,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,eo,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,eo,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,eo,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,eo,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[ei]}],"placeholder-opacity":[{"placeholder-opacity":[eS]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[ei]}],"text-opacity":[{"text-opacity":[eS]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...getLineStyles(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[ei]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:getSpacingWithArbitrary()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[eS]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...getPositions(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[ei]}],"gradient-from-pos":[{from:[ew]}],"gradient-via-pos":[{via:[ew]}],"gradient-to-pos":[{to:[ew]}],"gradient-from":[{from:[ey]}],"gradient-via":[{via:[ey]}],"gradient-to":[{to:[ey]}],rounded:[{rounded:[ec]}],"rounded-s":[{"rounded-s":[ec]}],"rounded-e":[{"rounded-e":[ec]}],"rounded-t":[{"rounded-t":[ec]}],"rounded-r":[{"rounded-r":[ec]}],"rounded-b":[{"rounded-b":[ec]}],"rounded-l":[{"rounded-l":[ec]}],"rounded-ss":[{"rounded-ss":[ec]}],"rounded-se":[{"rounded-se":[ec]}],"rounded-ee":[{"rounded-ee":[ec]}],"rounded-es":[{"rounded-es":[ec]}],"rounded-tl":[{"rounded-tl":[ec]}],"rounded-tr":[{"rounded-tr":[ec]}],"rounded-br":[{"rounded-br":[ec]}],"rounded-bl":[{"rounded-bl":[ec]}],"border-w":[{border:[ef]}],"border-w-x":[{"border-x":[ef]}],"border-w-y":[{"border-y":[ef]}],"border-w-s":[{"border-s":[ef]}],"border-w-e":[{"border-e":[ef]}],"border-w-t":[{"border-t":[ef]}],"border-w-r":[{"border-r":[ef]}],"border-w-b":[{"border-b":[ef]}],"border-w-l":[{"border-l":[ef]}],"border-opacity":[{"border-opacity":[eS]}],"border-style":[{border:[...getLineStyles(),"hidden"]}],"divide-x":[{"divide-x":[ef]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[ef]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[eS]}],"divide-style":[{divide:getLineStyles()}],"border-color":[{border:[eu]}],"border-color-x":[{"border-x":[eu]}],"border-color-y":[{"border-y":[eu]}],"border-color-t":[{"border-t":[eu]}],"border-color-r":[{"border-r":[eu]}],"border-color-b":[{"border-b":[eu]}],"border-color-l":[{"border-l":[eu]}],"divide-color":[{divide:[eu]}],"outline-style":[{outline:["",...getLineStyles()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[ei]}],"ring-w":[{ring:getLengthWithEmptyAndArbitrary()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[ei]}],"ring-opacity":[{"ring-opacity":[eS]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[ei]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[eS]}],"mix-blend":[{"mix-blend":[...getBlendModes(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":getBlendModes()}],filter:[{filter:["","none"]}],blur:[{blur:[ea]}],brightness:[{brightness:[es]}],contrast:[{contrast:[eh]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[ep]}],"hue-rotate":[{"hue-rotate":[em]}],invert:[{invert:[eg]}],saturate:[{saturate:[ek]}],sepia:[{sepia:[eC]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[ea]}],"backdrop-brightness":[{"backdrop-brightness":[es]}],"backdrop-contrast":[{"backdrop-contrast":[eh]}],"backdrop-grayscale":[{"backdrop-grayscale":[ep]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[em]}],"backdrop-invert":[{"backdrop-invert":[eg]}],"backdrop-opacity":[{"backdrop-opacity":[eS]}],"backdrop-saturate":[{"backdrop-saturate":[ek]}],"backdrop-sepia":[{"backdrop-sepia":[eC]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[ed]}],"border-spacing-x":[{"border-spacing-x":[ed]}],"border-spacing-y":[{"border-spacing-y":[ed]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:getNumberAndArbitrary()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:getNumberAndArbitrary()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[eT]}],"scale-x":[{"scale-x":[eT]}],"scale-y":[{"scale-y":[eT]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[eO]}],"translate-y":[{"translate-y":[eO]}],"skew-x":[{"skew-x":[e_]}],"skew-y":[{"skew-y":[e_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",ei]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[ei]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":getSpacingWithArbitrary()}],"scroll-mx":[{"scroll-mx":getSpacingWithArbitrary()}],"scroll-my":[{"scroll-my":getSpacingWithArbitrary()}],"scroll-ms":[{"scroll-ms":getSpacingWithArbitrary()}],"scroll-me":[{"scroll-me":getSpacingWithArbitrary()}],"scroll-mt":[{"scroll-mt":getSpacingWithArbitrary()}],"scroll-mr":[{"scroll-mr":getSpacingWithArbitrary()}],"scroll-mb":[{"scroll-mb":getSpacingWithArbitrary()}],"scroll-ml":[{"scroll-ml":getSpacingWithArbitrary()}],"scroll-p":[{"scroll-p":getSpacingWithArbitrary()}],"scroll-px":[{"scroll-px":getSpacingWithArbitrary()}],"scroll-py":[{"scroll-py":getSpacingWithArbitrary()}],"scroll-ps":[{"scroll-ps":getSpacingWithArbitrary()}],"scroll-pe":[{"scroll-pe":getSpacingWithArbitrary()}],"scroll-pt":[{"scroll-pt":getSpacingWithArbitrary()}],"scroll-pr":[{"scroll-pr":getSpacingWithArbitrary()}],"scroll-pb":[{"scroll-pb":getSpacingWithArbitrary()}],"scroll-pl":[{"scroll-pl":getSpacingWithArbitrary()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[ei,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[ei,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function mergeConfigs(ei,{cacheSize:eo,prefix:ea,separator:es,experimentalParseClassName:eu,extend:ec={},override:ed={}}){for(let ec in overrideProperty(ei,"cacheSize",eo),overrideProperty(ei,"prefix",ea),overrideProperty(ei,"separator",es),overrideProperty(ei,"experimentalParseClassName",eu),ed)overrideConfigProperties(ei[ec],ed[ec]);for(let eo in ec)mergeConfigProperties(ei[eo],ec[eo]);return ei}function overrideProperty(ei,eo,ea){void 0!==ea&&(ei[eo]=ea)}function overrideConfigProperties(ei,eo){if(eo)for(let ea in eo)overrideProperty(ei,ea,eo[ea])}function mergeConfigProperties(ei,eo){if(eo)for(let ea in eo){let es=eo[ea];void 0!==es&&(ei[ea]=(ei[ea]||[]).concat(es))}}function extendTailwindMerge(ei,...eo){return"function"==typeof ei?createTailwindMerge(getDefaultConfig,ei,...eo):createTailwindMerge(()=>mergeConfigs(getDefaultConfig(),ei),...eo)}let eS=createTailwindMerge(getDefaultConfig)},49460:function(ei,eo,ea){"use strict";ea.d(eo,{ac:function(){return useMediaQuery},t$:function(){return useOnClickOutside}});var es=ea(67294);ea(91296);var eu="undefined"!=typeof window?es.useLayoutEffect:es.useEffect;function useEventListener(ei,eo,ea,ec){let ed=(0,es.useRef)(eo);eu(()=>{ed.current=eo},[eo]),(0,es.useEffect)(()=>{let eo=(null==ea?void 0:ea.current)??window;if(!(eo&&eo.addEventListener))return;let listener=ei=>{ed.current(ei)};return eo.addEventListener(ei,listener,ec),()=>{eo.removeEventListener(ei,listener,ec)}},[ei,ea,ec])}var ec="undefined"==typeof window;function useMediaQuery(ei,{defaultValue:eo=!1,initializeWithValue:ea=!0}={}){let getMatches=ei=>ec?eo:window.matchMedia(ei).matches,[ed,ef]=(0,es.useState)(()=>ea?getMatches(ei):eo);function handleChange(){ef(getMatches(ei))}return eu(()=>{let eo=window.matchMedia(ei);return handleChange(),eo.addListener?eo.addListener(handleChange):eo.addEventListener("change",handleChange),()=>{eo.removeListener?eo.removeListener(handleChange):eo.removeEventListener("change",handleChange)}},[ei]),ed}function useOnClickOutside(ei,eo,ea="mousedown",es={}){useEventListener(ea,ea=>{let es=ea.target;if(!es||!es.isConnected)return;let eu=Array.isArray(ei)?ei.filter(ei=>!!ei.current).every(ei=>ei.current&&!ei.current.contains(es)):ei.current&&!ei.current.contains(es);eu&&eo(ea)},void 0,es)}}},function(ei){var __webpack_exec__=function(eo){return ei(ei.s=eo)};ei.O(0,[9774,179],function(){return __webpack_exec__(6840),__webpack_exec__(59974)}),_N_E=ei.O()}]);
//# sourceMappingURL=_app-9f0951d3ed26fadb.js.map