=t.length||i>=e.length);++i)t[i+r]=e[i];return i}},(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],c=o[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,c)),l=0,p=c>0?a-4:a;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;su?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},(e,t)=>{
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */
t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<>1,l=-7,p=r?i-1:0,f=r?-1:1,h=e[t+p];for(p+=f,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*c-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=d,s/=256,i-=8);for(a=a<0;e[r+h]=255&a,h+=d,a/=256,u-=8);e[r+h-d]|=128*m}},e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},(e,t,r)=>{var n=r(237),i=r(238).Buffer,o=64;function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(o)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function s(e,t,r,n,i,o){return((t=(t+e&4294967295)+(n+o&4294967295)&4294967295)<>>32-i)+r&4294967295}function c(e,t,r,n,i,o,a){return s(t&r|~t&n,e,t,i,o,a)}function u(e,t,r,n,i,o,a){return s(t&n|r&~n,e,t,i,o,a)}function l(e,t,r,n,i,o,a){return s(t^r^n,e,t,i,o,a)}function p(e,t,r,n,i,o,a){return s(r^(t|~n),e,t,i,o,a)}e.exports=a,a.BLOCK_SIZE=o,a.prototype.update=function(e){if(n.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=n.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,n=t.bufferLength,a=8*t.bytesHashed;if(r.setUint8(this.bufferLength++,128),n%o>=56){for(var s=this.bufferLength;s>>0,!0),r.setUint32(60,Math.floor(a/4294967296),!0),this.hashBuffer(),this.finished=!0}var c=new DataView(new ArrayBuffer(16));for(s=0;s<4;s++)c.setUint32(4*s,this.state[s],!0);var u=new i(c.buffer,c.byteOffset,c.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],o=t[3];r=c(r,n,i,o,e.getUint32(0,!0),7,3614090360),o=c(o,r,n,i,e.getUint32(4,!0),12,3905402710),i=c(i,o,r,n,e.getUint32(8,!0),17,606105819),n=c(n,i,o,r,e.getUint32(12,!0),22,3250441966),r=c(r,n,i,o,e.getUint32(16,!0),7,4118548399),o=c(o,r,n,i,e.getUint32(20,!0),12,1200080426),i=c(i,o,r,n,e.getUint32(24,!0),17,2821735955),n=c(n,i,o,r,e.getUint32(28,!0),22,4249261313),r=c(r,n,i,o,e.getUint32(32,!0),7,1770035416),o=c(o,r,n,i,e.getUint32(36,!0),12,2336552879),i=c(i,o,r,n,e.getUint32(40,!0),17,4294925233),n=c(n,i,o,r,e.getUint32(44,!0),22,2304563134),r=c(r,n,i,o,e.getUint32(48,!0),7,1804603682),o=c(o,r,n,i,e.getUint32(52,!0),12,4254626195),i=c(i,o,r,n,e.getUint32(56,!0),17,2792965006),r=u(r,n=c(n,i,o,r,e.getUint32(60,!0),22,1236535329),i,o,e.getUint32(4,!0),5,4129170786),o=u(o,r,n,i,e.getUint32(24,!0),9,3225465664),i=u(i,o,r,n,e.getUint32(44,!0),14,643717713),n=u(n,i,o,r,e.getUint32(0,!0),20,3921069994),r=u(r,n,i,o,e.getUint32(20,!0),5,3593408605),o=u(o,r,n,i,e.getUint32(40,!0),9,38016083),i=u(i,o,r,n,e.getUint32(60,!0),14,3634488961),n=u(n,i,o,r,e.getUint32(16,!0),20,3889429448),r=u(r,n,i,o,e.getUint32(36,!0),5,568446438),o=u(o,r,n,i,e.getUint32(56,!0),9,3275163606),i=u(i,o,r,n,e.getUint32(12,!0),14,4107603335),n=u(n,i,o,r,e.getUint32(32,!0),20,1163531501),r=u(r,n,i,o,e.getUint32(52,!0),5,2850285829),o=u(o,r,n,i,e.getUint32(8,!0),9,4243563512),i=u(i,o,r,n,e.getUint32(28,!0),14,1735328473),r=l(r,n=u(n,i,o,r,e.getUint32(48,!0),20,2368359562),i,o,e.getUint32(20,!0),4,4294588738),o=l(o,r,n,i,e.getUint32(32,!0),11,2272392833),i=l(i,o,r,n,e.getUint32(44,!0),16,1839030562),n=l(n,i,o,r,e.getUint32(56,!0),23,4259657740),r=l(r,n,i,o,e.getUint32(4,!0),4,2763975236),o=l(o,r,n,i,e.getUint32(16,!0),11,1272893353),i=l(i,o,r,n,e.getUint32(28,!0),16,4139469664),n=l(n,i,o,r,e.getUint32(40,!0),23,3200236656),r=l(r,n,i,o,e.getUint32(52,!0),4,681279174),o=l(o,r,n,i,e.getUint32(0,!0),11,3936430074),i=l(i,o,r,n,e.getUint32(12,!0),16,3572445317),n=l(n,i,o,r,e.getUint32(24,!0),23,76029189),r=l(r,n,i,o,e.getUint32(36,!0),4,3654602809),o=l(o,r,n,i,e.getUint32(48,!0),11,3873151461),i=l(i,o,r,n,e.getUint32(60,!0),16,530742520),r=p(r,n=l(n,i,o,r,e.getUint32(8,!0),23,3299628645),i,o,e.getUint32(0,!0),6,4096336452),o=p(o,r,n,i,e.getUint32(28,!0),10,1126891415),i=p(i,o,r,n,e.getUint32(56,!0),15,2878612391),n=p(n,i,o,r,e.getUint32(20,!0),21,4237533241),r=p(r,n,i,o,e.getUint32(48,!0),6,1700485571),o=p(o,r,n,i,e.getUint32(12,!0),10,2399980690),i=p(i,o,r,n,e.getUint32(40,!0),15,4293915773),n=p(n,i,o,r,e.getUint32(4,!0),21,2240044497),r=p(r,n,i,o,e.getUint32(32,!0),6,1873313359),o=p(o,r,n,i,e.getUint32(60,!0),10,4264355552),i=p(i,o,r,n,e.getUint32(24,!0),15,2734768916),n=p(n,i,o,r,e.getUint32(52,!0),21,1309151649),r=p(r,n,i,o,e.getUint32(16,!0),6,4149444226),o=p(o,r,n,i,e.getUint32(44,!0),10,3174756917),i=p(i,o,r,n,e.getUint32(8,!0),15,718787259),n=p(n,i,o,r,e.getUint32(36,!0),21,3951481745),t[0]=r+t[0]&4294967295,t[1]=n+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=o+t[3]&4294967295}},(e,t,r)=>{var n=r(238).Buffer,i=r(237);new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);function o(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}e.exports=o,o.BLOCK_SIZE=64,o.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=(e=i.convertToBuffer(e)).length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new n(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},o.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,n,i=this.h0,o=this.h1,a=this.h2,s=this.h3,c=this.h4;for(e=0;e<80;e++){e<20?(r=s^o&(a^s),n=1518500249):e<40?(r=o^a^s,n=1859775393):e<60?(r=o&a|s&(o|a),n=2400959708):(r=o^a^s,n=3395469782);var u=(i<<5|i>>>27)+r+c+n+(0|this.block[e]);c=s,s=a,a=o<<30|o>>>2,o=i,i=u}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+a|0,this.h3=this.h3+s|0,this.h4=this.h4+c|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},(e,t,r)=>{var n=r(238).Buffer,i=r(237),o=64,a=new Uint32Array([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]),s=Math.pow(2,53)-1;function c(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}e.exports=c,c.BLOCK_SIZE=o,c.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=0,r=(e=i.convertToBuffer(e)).byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>s)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},c.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%o>=56){for(var a=this.bufferLength;a>>24&255,s[4*a+1]=this.state[a]>>>16&255,s[4*a+2]=this.state[a]>>>8&255,s[4*a+3]=this.state[a]>>>0&255;return e?s.toString(e):s},c.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],s=t[3],c=t[4],u=t[5],l=t[6],p=t[7],f=0;f>>17|h<<15)^(h>>>19|h<<13)^h>>>10,m=((h=this.temp[f-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[f]=(d+this.temp[f-7]|0)+(m+this.temp[f-16]|0)}var y=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&l)|0)+(p+(a[f]+this.temp[f]|0)|0)|0,g=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;p=l,l=u,u=c,c=s+y|0,s=i,i=n,n=r,r=y+g|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=s,t[4]+=c,t[5]+=u,t[6]+=l,t[7]+=p}},(e,t,r)=>{var n=r(246);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=g,t.resolve=function(e,t){return g(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?g(e,!1,!0).resolveObject(t):t},t.format=function(e){v(e)&&(e=g(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),u=["%","/","?",";","#"].concat(c),l=["/","?","#"],p=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(247);function g(e,t,r){if(e&&b(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}function v(e){return"string"==typeof e}function b(e){return"object"==typeof e&&null!==e}function S(e){return null===e}i.prototype.parse=function(e,t,r){if(!v(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=o.exec(i);if(a){var s=(a=a[0]).toLowerCase();this.protocol=s,i=i.substr(a.length)}if(r||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===i.substr(0,2);!g||a&&d[a]||(i=i.substr(2),this.slashes=!0)}if(!d[a]&&(g||a&&!m[a])){for(var b,S,_=-1,E=0;E127?C+="x":C+=P[A];if(!C.match(p)){var R=O.slice(0,E),I=O.slice(E+1),D=P.match(f);D&&(R.push(D[1]),I.unshift(D[2])),I.length&&(i="/"+I.join(".")+i),this.hostname=R.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!x){var M=this.hostname.split("."),N=[];for(E=0;E0)&&r.host.split("@"))&&(r.auth=_.shift(),r.host=r.hostname=_.shift());return r.search=e.search,r.query=e.query,S(r.pathname)&&S(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!p.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var h=p.slice(-1)[0],y=(r.host||e.host)&&("."===h||".."===h)||""===h,g=0,b=p.length;b>=0;b--)"."==(h=p[b])?p.splice(b,1):".."===h?(p.splice(b,1),g++):g&&(p.splice(b,1),g--);if(!u&&!l)for(;g--;g)p.unshift("..");!u||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),y&&"/"!==p.join("/").substr(-1)&&p.push("");var _,E=""===p[0]||p[0]&&"/"===p[0].charAt(0);f&&(r.hostname=r.host=E?"":p.length?p.shift():"",(_=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=_.shift(),r.host=r.hostname=_.shift()));return(u=u||r.host&&p.length)&&!E&&p.unshift(""),p.length?r.pathname=p.join("/"):(r.pathname=null,r.path=null),S(r.pathname)&&S(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var o,a=2147483647,s=36,c=/^xn--/,u=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function d(e){throw RangeError(p[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(l,".")).split("."),t).join(".")}function g(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=s)e=f(e/35);return f(n+36*e/(e+38))}function _(e){var t,r,n,i,o,c,u,l,p,h,m,y=[],g=e.length,b=0,_=128,E=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&d("not-basic"),y.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=g&&d("invalid-input"),((l=(m=e.charCodeAt(i++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:s)>=s||l>f((a-b)/c))&&d("overflow"),b+=l*c,!(l<(p=u<=E?1:u>=E+26?26:u-E));u+=s)c>f(a/(h=s-p))&&d("overflow"),c*=h;E=S(b-o,t=y.length+1,0==o),f(b/t)>a-_&&d("overflow"),_+=f(b/t),b%=t,y.splice(b++,0,_)}return v(y)}function E(e){var t,r,n,i,o,c,u,l,p,m,y,v,_,E,w,x=[];for(v=(e=g(e)).length,t=128,r=0,o=72,c=0;c=t&&yf((a-r)/(_=n+1))&&d("overflow"),r+=(u-t)*_,t=u,c=0;ca&&d("overflow"),y==t){for(l=r,p=s;!(l<(m=p<=o?1:p>=o+26?26:p-o));p+=s)w=l-m,E=s-m,x.push(h(b(m+w%E,0))),l=f(w/E);x.push(h(b(l,0))),o=S(r,_,n==i),r=0,++n}++r,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:v},decode:_,encode:E,toASCII:function(e){return y(e,(function(e){return u.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()},(e,t,r)=>{"use strict";t.decode=t.parse=r(248),t.encode=t.stringify=r(249)},e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u=0?(l=d.substr(0,m),p=d.substr(m+1)):(l=d,p=""),f=decodeURIComponent(l),h=decodeURIComponent(p),t(o,f)?Array.isArray(o[f])?o[f].push(h):o[f]=[o[f],h]:o[f]=h}return o}},e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,r,n,i){return r=r||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(r):o+encodeURIComponent(t(e[i]))})).join(r):i?encodeURIComponent(t(i))+n+encodeURIComponent(t(e)):""}},e=>{e.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},(e,t,r)=>{var n=r(252).eventMessageChunker,i=r(253).parseEvent;e.exports={createEventStream:function(e,t,r){for(var o=n(e),a=[],s=0;s{e.exports={eventMessageChunker:function(e){for(var t=[],r=0;r{var n=r(254).parseMessage;e.exports={parseEvent:function(e,t,r){var i=n(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],r=e.headers[":error-message"],n=new Error(r.value||r);return n.code=n.name=t.value||t,n}(i);if("event"!==o.value)return}var a=i.headers[":event-type"],s=r.members[a.value];if(s){var c={},u=s.eventPayloadMemberName;if(u){var l=s.members[u];"binary"===l.type?c[u]=i.body:c[u]=e.parse(i.body.toString(),l)}for(var p=s.eventHeaderMemberNames,f=0;f{var n=r(255).Int64,i=r(256).splitMessage,o="boolean";function a(e){for(var t={},r=0;r{var n=r(123).util,i=n.buffer.toBuffer;function o(e){if(8!==e.length)throw new Error("Int64 buffers must be exactly 8 bytes");n.Buffer.isBuffer(e)||(e=i(e)),this.bytes=e}function a(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}o.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&a(t),new o(t)},o.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},o.prototype.toString=function(){return String(this.valueOf())},e.exports={Int64:o}},(e,t,r)=>{var n=r(123).util,i=n.buffer.toBuffer;e.exports={splitMessage:function(e){if(n.Buffer.isBuffer(e)||(e=i(e)),e.length<16)throw new Error("Provided message too short to accommodate event stream message overhead");if(e.length!==e.readUInt32BE(0))throw new Error("Reported message length does not match received message length");var t=e.readUInt32BE(8);if(t!==n.crypto.crc32(e.slice(0,8)))throw new Error("The prelude checksum specified in the message ("+t+") does not match the calculated CRC32 checksum.");var r=e.readUInt32BE(e.length-4);if(r!==n.crypto.crc32(e.slice(0,e.length-4)))throw new Error("The message checksum did not match the expected value of "+r);var o=12+e.readUInt32BE(4);return{headers:e.slice(12,o),body:e.slice(o,e.length-4)}}}},(e,t,r)=>{var n=r(123),i=r(258);n.TemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get((function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,(function(r,n){r||t.service.credentialsFrom(n,t),e(r)}))}))},loadMasterCredentials:function(e){for(this.masterCredentials=e||n.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new n.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,r)=>{r(121);var n=r(123),i=n.Service,o=n.apiLoader;o.services.sts={},n.STS=i.defineService("sts",["2011-06-15"]),r(259),Object.defineProperty(o.services.sts,"2011-06-15",{get:function(){var e=r(261);return e.paginators=r(262).pagination,e},enumerable:!0,configurable:!0}),e.exports=n.STS},(e,t,r)=>{var n=r(123),i=r(260);n.util.update(n.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new n.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw n.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var o=r.endpoint.indexOf(".amazonaws.com"),a=r.endpoint.substring(0,o)+"."+r.region+r.endpoint.substring(o);e.httpRequest.updateEndpoint(a),e.httpRequest.region=r.region}}})},(e,t,r)=>{var n=r(123);function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw n.util.error(new Error,t)}}e.exports=function(e,t){var r;if((e=e||{})[t.clientConfig]&&(r=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return r;if(!n.util.isNode())return r;if(Object.prototype.hasOwnProperty.call(process.env,t.env)&&(r=i(process.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+process.env[t.env]+'".'})))return r;var o={};try{o=n.util.getProfilesFromSharedConfig(n.util.iniLoader)[process.env.AWS_PROFILE||n.util.defaultProfile]}catch(e){}return o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)&&(r=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'})),r}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2011-06-15","endpointPrefix":"sts","globalEndpoint":"sts.amazonaws.com","protocol":"query","serviceAbbreviation":"AWS STS","serviceFullName":"AWS Security Token Service","serviceId":"STS","signatureVersion":"v4","uid":"sts-2011-06-15","xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"},"operations":{"AssumeRole":{"input":{"type":"structure","required":["RoleArn","RoleSessionName"],"members":{"RoleArn":{},"RoleSessionName":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"},"TransitiveTagKeys":{"type":"list","member":{}},"ExternalId":{},"SerialNumber":{},"TokenCode":{},"SourceIdentity":{},"ProvidedContexts":{"type":"list","member":{"type":"structure","members":{"ProviderArn":{},"ContextAssertion":{}}}}}},"output":{"resultWrapper":"AssumeRoleResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"SourceIdentity":{}}}},"AssumeRoleWithSAML":{"input":{"type":"structure","required":["RoleArn","PrincipalArn","SAMLAssertion"],"members":{"RoleArn":{},"PrincipalArn":{},"SAMLAssertion":{"type":"string","sensitive":true},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithSAMLResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Subject":{},"SubjectType":{},"Issuer":{},"Audience":{},"NameQualifier":{},"SourceIdentity":{}}}},"AssumeRoleWithWebIdentity":{"input":{"type":"structure","required":["RoleArn","RoleSessionName","WebIdentityToken"],"members":{"RoleArn":{},"RoleSessionName":{},"WebIdentityToken":{"type":"string","sensitive":true},"ProviderId":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithWebIdentityResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"SubjectFromWebIdentityToken":{},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Provider":{},"Audience":{},"SourceIdentity":{}}}},"DecodeAuthorizationMessage":{"input":{"type":"structure","required":["EncodedMessage"],"members":{"EncodedMessage":{}}},"output":{"resultWrapper":"DecodeAuthorizationMessageResult","type":"structure","members":{"DecodedMessage":{}}}},"GetAccessKeyInfo":{"input":{"type":"structure","required":["AccessKeyId"],"members":{"AccessKeyId":{}}},"output":{"resultWrapper":"GetAccessKeyInfoResult","type":"structure","members":{"Account":{}}}},"GetCallerIdentity":{"input":{"type":"structure","members":{}},"output":{"resultWrapper":"GetCallerIdentityResult","type":"structure","members":{"UserId":{},"Account":{},"Arn":{}}}},"GetFederationToken":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Policy":{},"PolicyArns":{"shape":"S4"},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"}}},"output":{"resultWrapper":"GetFederationTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"FederatedUser":{"type":"structure","required":["FederatedUserId","Arn"],"members":{"FederatedUserId":{},"Arn":{}}},"PackedPolicySize":{"type":"integer"}}}},"GetSessionToken":{"input":{"type":"structure","members":{"DurationSeconds":{"type":"integer"},"SerialNumber":{},"TokenCode":{}}},"output":{"resultWrapper":"GetSessionTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"}}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","members":{"arn":{}}}},"S8":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sl":{"type":"structure","required":["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],"members":{"AccessKeyId":{},"SecretAccessKey":{"type":"string","sensitive":true},"SessionToken":{},"Expiration":{"type":"timestamp"}}},"Sq":{"type":"structure","required":["AssumedRoleId","Arn"],"members":{"AssumedRoleId":{},"Arn":{}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,r)=>{var n=r(123),i=r(258);n.ChainableTemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=n.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new n.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=n.util.merge({params:t,credentials:e.masterCredentials||n.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode((function(n,i){var o={};n?e(n):(i&&(o.TokenCode=i),t.service[r](o,(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})))}))},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,(function(r,i){if(r){var o=r;return r instanceof Error&&(o=r.message),void e(n.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)})):e(null)}})},(e,t,r)=>{var n=r(123),i=r(258);n.WebIdentityCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=n.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity((function(r,n){t.data=null,r||(t.data=n,t.service.credentialsFrom(n,t)),e(r)}))},createClients:function(){if(!this.service){var e=n.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},(e,t,r)=>{var n=r(123),i=r(266),o=r(258);n.CognitoIdentityCredentials=n.util.inherit(n.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=n.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId((function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)}))},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){"NotAuthorizedException"==e.code&&this.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId((function(r,n){!r&&n.IdentityId?(t.params.IdentityId=n.IdentityId,e(null,n.IdentityId)):e(r)}))},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity((function(r,n){r?t.clearIdOnNotAuthorized(r):(t.cacheId(n),t.data=n,t.loadCredentials(t.data,t)),e(r)}))},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken((function(r,n){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(n),t.params.WebIdentityToken=n.Token,t.webIdentityCredentials.refresh((function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)})))}))},loadCachedId:function(){var e=this;if(n.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter((function(e){return-1!==r.indexOf(e)})).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new n.WebIdentityCredentials(this.params,e),!this.cognito){var t=n.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,n.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=n.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},(e,t,r)=>{r(121);var n=r(123),i=n.Service,o=n.apiLoader;o.services.cognitoidentity={},n.CognitoIdentity=i.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(o.services.cognitoidentity,"2014-06-30",{get:function(){var e=r(267);return e.paginators=r(268).pagination,e},enumerable:!0,configurable:!0}),e.exports=n.CognitoIdentity},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2014-06-30","endpointPrefix":"cognito-identity","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceFullName":"Amazon Cognito Identity","serviceId":"Cognito Identity","signatureVersion":"v4","targetPrefix":"AWSCognitoIdentityService","uid":"cognito-identity-2014-06-30","auth":["aws.auth#sigv4"]},"operations":{"CreateIdentityPool":{"input":{"type":"structure","required":["IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"output":{"shape":"Sk"}},"DeleteIdentities":{"input":{"type":"structure","required":["IdentityIdsToDelete"],"members":{"IdentityIdsToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"UnprocessedIdentityIds":{"type":"list","member":{"type":"structure","members":{"IdentityId":{},"ErrorCode":{}}}}}}},"DeleteIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}}},"DescribeIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{}}},"output":{"shape":"Sv"}},"DescribeIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"shape":"Sk"}},"GetCredentialsForIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"CustomRoleArn":{}}},"output":{"type":"structure","members":{"IdentityId":{},"Credentials":{"type":"structure","members":{"AccessKeyId":{},"SecretKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetId":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"AccountId":{},"IdentityPoolId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"GetOpenIdToken":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetOpenIdTokenForDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId","Logins"],"members":{"IdentityPoolId":{},"IdentityId":{},"Logins":{"shape":"S10"},"PrincipalTags":{"shape":"S1s"},"TokenDuration":{"type":"long"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}}},"GetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProviderName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"ListIdentities":{"input":{"type":"structure","required":["IdentityPoolId","MaxResults"],"members":{"IdentityPoolId":{},"MaxResults":{"type":"integer"},"NextToken":{},"HideDisabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Identities":{"type":"list","member":{"shape":"Sv"}},"NextToken":{}}}},"ListIdentityPools":{"input":{"type":"structure","required":["MaxResults"],"members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityPools":{"type":"list","member":{"type":"structure","members":{"IdentityPoolId":{},"IdentityPoolName":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"LookupDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{},"IdentityId":{},"DeveloperUserIdentifier":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityId":{},"DeveloperUserIdentifierList":{"type":"list","member":{}},"NextToken":{}}}},"MergeDeveloperIdentities":{"input":{"type":"structure","required":["SourceUserIdentifier","DestinationUserIdentifier","DeveloperProviderName","IdentityPoolId"],"members":{"SourceUserIdentifier":{},"DestinationUserIdentifier":{},"DeveloperProviderName":{},"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityId":{}}}},"SetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId","Roles"],"members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"SetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProviderName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UnlinkDeveloperIdentity":{"input":{"type":"structure","required":["IdentityId","IdentityPoolId","DeveloperProviderName","DeveloperUserIdentifier"],"members":{"IdentityId":{},"IdentityPoolId":{},"DeveloperProviderName":{},"DeveloperUserIdentifier":{}}}},"UnlinkIdentity":{"input":{"type":"structure","required":["IdentityId","Logins","LoginsToRemove"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"LoginsToRemove":{"shape":"Sw"}}},"authtype":"none","auth":["smithy.api#noAuth"]},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIdentityPool":{"input":{"shape":"Sk"},"output":{"shape":"Sk"}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"list","member":{}},"Sb":{"type":"list","member":{"type":"structure","members":{"ProviderName":{},"ClientId":{},"ServerSideTokenCheck":{"type":"boolean"}}}},"Sg":{"type":"list","member":{}},"Sh":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","required":["IdentityPoolId","IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolId":{},"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"Sv":{"type":"structure","members":{"IdentityId":{},"Logins":{"shape":"Sw"},"CreationDate":{"type":"timestamp"},"LastModifiedDate":{"type":"timestamp"}}},"Sw":{"type":"list","member":{}},"S10":{"type":"map","key":{},"value":{}},"S1c":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","required":["Type"],"members":{"Type":{},"AmbiguousRoleResolution":{},"RulesConfiguration":{"type":"structure","required":["Rules"],"members":{"Rules":{"type":"list","member":{"type":"structure","required":["Claim","MatchType","Value","RoleARN"],"members":{"Claim":{},"MatchType":{},"Value":{},"RoleARN":{}}}}}}}}},"S1s":{"type":"map","key":{},"value":{}}}}')},e=>{"use strict";e.exports=JSON.parse('{"pagination":{"ListIdentityPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IdentityPools"}}}')},(e,t,r)=>{var n=r(123),i=r(258);n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML((function(r,n){r||t.service.credentialsFrom(n,t),e(r)}))},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,r)=>{var n=r(122),i=r(130);function o(){}function a(e,t){for(var r=e.getElementsByTagName(t),n=0,i=r.length;n{var n=r(123),i=r(272).EventEmitter;r(156),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var a=this,s=e.endpoint,c=new i,u=s.protocol+"//"+s.hostname;80!==s.port&&443!==s.port&&(u+=":"+s.port),u+=e.path;var l=new XMLHttpRequest,p=!1;e.stream=l,l.addEventListener("readystatechange",(function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!p&&(c.statusCode=l.status,c.headers=a.parseHeaders(l.getAllResponseHeaders()),c.emit("headers",c.statusCode,c.headers,l.statusText),p=!0),this.readyState===this.DONE&&a.finishRequest(l,c)}),!1),l.upload.addEventListener("progress",(function(e){c.emit("sendProgress",e)})),l.addEventListener("progress",(function(e){c.emit("receiveProgress",e)}),!1),l.addEventListener("timeout",(function(){o(n.util.error(new Error("Timeout"),{code:"TimeoutError"}))}),!1),l.addEventListener("error",(function(){o(n.util.error(new Error("Network Failure"),{code:"NetworkingError"}))}),!1),l.addEventListener("abort",(function(){o(n.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))}),!1),r(c),l.open(e.method,u,!1!==t.xhrAsync),n.util.each(e.headers,(function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)})),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return c},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\r?\n/),(function(e){var r=e.split(":",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)})),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),a=0;a{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,a,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(i(o=this._events[e]))return!1;if(r(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),o.apply(this,s)}else if(n(o))for(s=Array.prototype.slice.call(arguments,1),a=(u=o.slice()).length,c=0;c0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,o,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(i=this._events[e]).length,o=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(s=a;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){o=s;break}if(o<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2015-08-04","endpointPrefix":"firehose","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceAbbreviation":"Firehose","serviceFullName":"Amazon Kinesis Firehose","serviceId":"Firehose","signatureVersion":"v4","targetPrefix":"Firehose_20150804","uid":"firehose-2015-08-04","auth":["aws.auth#sigv4"]},"operations":{"CreateDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamType":{},"KinesisStreamSourceConfiguration":{"type":"structure","required":["KinesisStreamARN","RoleARN"],"members":{"KinesisStreamARN":{},"RoleARN":{}}},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"},"S3DestinationConfiguration":{"shape":"Sa","deprecated":true},"ExtendedS3DestinationConfiguration":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationConfiguration":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","S3Configuration"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"Password":{"shape":"S20"},"RetryOptions":{"shape":"S21"},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationConfiguration":{"type":"structure","required":["HECEndpoint","HECEndpointType","S3Configuration"],"members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationConfiguration":{"type":"structure","required":["EndpointConfiguration","S3Configuration"],"members":{"EndpointConfiguration":{"shape":"S3b"},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"SecretsManagerConfiguration":{"shape":"S24"}}},"Tags":{"shape":"S3r"},"AmazonOpenSearchServerlessDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"}}},"MSKSourceConfiguration":{"type":"structure","required":["MSKClusterARN","TopicName","AuthenticationConfiguration"],"members":{"MSKClusterARN":{},"TopicName":{},"AuthenticationConfiguration":{"shape":"S47"},"ReadFromTimestamp":{"type":"timestamp"}}},"SnowflakeDestinationConfiguration":{"type":"structure","required":["AccountUrl","Database","Schema","Table","RoleARN","S3Configuration"],"members":{"AccountUrl":{"shape":"S4b"},"PrivateKey":{"shape":"S4c"},"KeyPassphrase":{"shape":"S4d"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"SnowflakeVpcConfiguration":{"shape":"S4n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"IcebergDestinationConfiguration":{"type":"structure","required":["RoleARN","CatalogConfiguration","S3Configuration"],"members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3Configuration":{"shape":"Sa"}}}}},"output":{"type":"structure","members":{"DeliveryStreamARN":{}}}},"DeleteDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"AllowForceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"Limit":{"type":"integer"},"ExclusiveStartDestinationId":{}}},"output":{"type":"structure","required":["DeliveryStreamDescription"],"members":{"DeliveryStreamDescription":{"type":"structure","required":["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","DeliveryStreamType","VersionId","Destinations","HasMoreDestinations"],"members":{"DeliveryStreamName":{},"DeliveryStreamARN":{},"DeliveryStreamStatus":{},"FailureDescription":{"shape":"S5b"},"DeliveryStreamEncryptionConfiguration":{"type":"structure","members":{"KeyARN":{},"KeyType":{},"Status":{},"FailureDescription":{"shape":"S5b"}}},"DeliveryStreamType":{},"VersionId":{},"CreateTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"Source":{"type":"structure","members":{"KinesisStreamSourceDescription":{"type":"structure","members":{"KinesisStreamARN":{},"RoleARN":{},"DeliveryStartTimestamp":{"type":"timestamp"}}},"MSKSourceDescription":{"type":"structure","members":{"MSKClusterARN":{},"TopicName":{},"AuthenticationConfiguration":{"shape":"S47"},"DeliveryStartTimestamp":{"type":"timestamp"},"ReadFromTimestamp":{"type":"timestamp"}}}}},"Destinations":{"type":"list","member":{"type":"structure","required":["DestinationId"],"members":{"DestinationId":{},"S3DestinationDescription":{"shape":"S5n"},"ExtendedS3DestinationDescription":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S5n"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationDescription":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","S3DestinationDescription"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"RetryOptions":{"shape":"S21"},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S5n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationDescription":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationDescription":{"type":"structure","members":{"EndpointConfiguration":{"type":"structure","members":{"Url":{"shape":"S3c"},"Name":{}}},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"SecretsManagerConfiguration":{"shape":"S24"}}},"SnowflakeDestinationDescription":{"type":"structure","members":{"AccountUrl":{"shape":"S4b"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"SnowflakeVpcConfiguration":{"shape":"S4n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"AmazonOpenSearchServerlessDestinationDescription":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"}}},"IcebergDestinationDescription":{"type":"structure","members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3DestinationDescription":{"shape":"S5n"}}}}}},"HasMoreDestinations":{"type":"boolean"}}}}}},"ListDeliveryStreams":{"input":{"type":"structure","members":{"Limit":{"type":"integer"},"DeliveryStreamType":{},"ExclusiveStartDeliveryStreamName":{}}},"output":{"type":"structure","required":["DeliveryStreamNames","HasMoreDeliveryStreams"],"members":{"DeliveryStreamNames":{"type":"list","member":{}},"HasMoreDeliveryStreams":{"type":"boolean"}}}},"ListTagsForDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"ExclusiveStartTagKey":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","required":["Tags","HasMoreTags"],"members":{"Tags":{"type":"list","member":{"shape":"S3s"}},"HasMoreTags":{"type":"boolean"}}}},"PutRecord":{"input":{"type":"structure","required":["DeliveryStreamName","Record"],"members":{"DeliveryStreamName":{},"Record":{"shape":"S68"}}},"output":{"type":"structure","required":["RecordId"],"members":{"RecordId":{},"Encrypted":{"type":"boolean"}}}},"PutRecordBatch":{"input":{"type":"structure","required":["DeliveryStreamName","Records"],"members":{"DeliveryStreamName":{},"Records":{"type":"list","member":{"shape":"S68"}}}},"output":{"type":"structure","required":["FailedPutCount","RequestResponses"],"members":{"FailedPutCount":{"type":"integer"},"Encrypted":{"type":"boolean"},"RequestResponses":{"type":"list","member":{"type":"structure","members":{"RecordId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"StartDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"}}},"output":{"type":"structure","members":{}}},"StopDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{}}},"output":{"type":"structure","members":{}}},"TagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","Tags"],"members":{"DeliveryStreamName":{},"Tags":{"shape":"S3r"}}},"output":{"type":"structure","members":{}}},"UntagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","TagKeys"],"members":{"DeliveryStreamName":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDestination":{"input":{"type":"structure","required":["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],"members":{"DeliveryStreamName":{},"CurrentDeliveryStreamVersionId":{},"DestinationId":{},"S3DestinationUpdate":{"shape":"S6t","deprecated":true},"ExtendedS3DestinationUpdate":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S6t"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"Password":{"shape":"S20"},"RetryOptions":{"shape":"S21"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S6t"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationUpdate":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationUpdate":{"type":"structure","members":{"EndpointConfiguration":{"shape":"S3b"},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"SecretsManagerConfiguration":{"shape":"S24"}}},"AmazonOpenSearchServerlessDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"SnowflakeDestinationUpdate":{"type":"structure","members":{"AccountUrl":{"shape":"S4b"},"PrivateKey":{"shape":"S4c"},"KeyPassphrase":{"shape":"S4d"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"IcebergDestinationUpdate":{"type":"structure","members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3Configuration":{"shape":"Sa"}}}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"structure","required":["KeyType"],"members":{"KeyARN":{},"KeyType":{}}},"Sa":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"Se":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"Si":{"type":"structure","members":{"NoEncryptionConfig":{},"KMSEncryptionConfig":{"type":"structure","required":["AWSKMSKeyARN"],"members":{"AWSKMSKeyARN":{}}}}},"Sl":{"type":"structure","members":{"Enabled":{"type":"boolean"},"LogGroupName":{},"LogStreamName":{}}},"Sq":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Processors":{"type":"list","member":{"type":"structure","required":["Type"],"members":{"Type":{},"Parameters":{"type":"list","member":{"type":"structure","required":["ParameterName","ParameterValue"],"members":{"ParameterName":{},"ParameterValue":{}}}}}}}}},"Sz":{"type":"structure","members":{"SchemaConfiguration":{"type":"structure","members":{"RoleARN":{},"CatalogId":{},"DatabaseName":{},"TableName":{},"Region":{},"VersionId":{}}},"InputFormatConfiguration":{"type":"structure","members":{"Deserializer":{"type":"structure","members":{"OpenXJsonSerDe":{"type":"structure","members":{"ConvertDotsInJsonKeysToUnderscores":{"type":"boolean"},"CaseInsensitive":{"type":"boolean"},"ColumnToJsonKeyMappings":{"type":"map","key":{},"value":{}}}},"HiveJsonSerDe":{"type":"structure","members":{"TimestampFormats":{"type":"list","member":{}}}}}}}},"OutputFormatConfiguration":{"type":"structure","members":{"Serializer":{"type":"structure","members":{"ParquetSerDe":{"type":"structure","members":{"BlockSizeBytes":{"type":"integer"},"PageSizeBytes":{"type":"integer"},"Compression":{},"EnableDictionaryCompression":{"type":"boolean"},"MaxPaddingBytes":{"type":"integer"},"WriterVersion":{}}},"OrcSerDe":{"type":"structure","members":{"StripeSizeBytes":{"type":"integer"},"BlockSizeBytes":{"type":"integer"},"RowIndexStride":{"type":"integer"},"EnablePadding":{"type":"boolean"},"PaddingTolerance":{"type":"double"},"Compression":{},"BloomFilterColumns":{"shape":"S1m"},"BloomFilterFalsePositiveProbability":{"type":"double"},"DictionaryKeyThreshold":{"type":"double"},"FormatVersion":{}}}}}}},"Enabled":{"type":"boolean"}}},"S1m":{"type":"list","member":{}},"S1o":{"type":"structure","members":{"RetryOptions":{"shape":"S1p"},"Enabled":{"type":"boolean"}}},"S1p":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S1v":{"type":"structure","required":["DataTableName"],"members":{"DataTableName":{},"DataTableColumns":{},"CopyOptions":{}}},"S1z":{"type":"string","sensitive":true},"S20":{"type":"string","sensitive":true},"S21":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S24":{"type":"structure","required":["Enabled"],"members":{"SecretARN":{},"RoleARN":{},"Enabled":{"type":"boolean"}}},"S2c":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2f":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S2i":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds"],"members":{"SubnetIds":{"shape":"S2j"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2k"}}},"S2j":{"type":"list","member":{}},"S2k":{"type":"list","member":{}},"S2l":{"type":"structure","required":["DefaultDocumentIdFormat"],"members":{"DefaultDocumentIdFormat":{}}},"S2t":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2w":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S34":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S37":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S3b":{"type":"structure","required":["Url"],"members":{"Url":{"shape":"S3c"},"Name":{},"AccessKey":{"type":"string","sensitive":true}}},"S3c":{"type":"string","sensitive":true},"S3f":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"S3i":{"type":"structure","members":{"ContentEncoding":{},"CommonAttributes":{"type":"list","member":{"type":"structure","required":["AttributeName","AttributeValue"],"members":{"AttributeName":{"type":"string","sensitive":true},"AttributeValue":{"type":"string","sensitive":true}}}}}},"S3o":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S3r":{"type":"list","member":{"shape":"S3s"}},"S3s":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}},"S3y":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S41":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S47":{"type":"structure","required":["RoleARN","Connectivity"],"members":{"RoleARN":{},"Connectivity":{}}},"S4b":{"type":"string","sensitive":true},"S4c":{"type":"string","sensitive":true},"S4d":{"type":"string","sensitive":true},"S4e":{"type":"string","sensitive":true},"S4f":{"type":"string","sensitive":true},"S4g":{"type":"string","sensitive":true},"S4h":{"type":"string","sensitive":true},"S4i":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SnowflakeRole":{"type":"string","sensitive":true}}},"S4l":{"type":"string","sensitive":true},"S4m":{"type":"string","sensitive":true},"S4n":{"type":"structure","required":["PrivateLinkVpceId"],"members":{"PrivateLinkVpceId":{"type":"string","sensitive":true}}},"S4p":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S4s":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"S4w":{"type":"list","member":{"type":"structure","required":["DestinationTableName","DestinationDatabaseName"],"members":{"DestinationTableName":{},"DestinationDatabaseName":{},"UniqueKeys":{"shape":"S1m"},"S3ErrorOutputPrefix":{}}}},"S4z":{"type":"structure","members":{"CatalogARN":{}}},"S5b":{"type":"structure","required":["Type","Details"],"members":{"Type":{},"Details":{}}},"S5n":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"S5r":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds","VpcId"],"members":{"SubnetIds":{"shape":"S2j"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2k"},"VpcId":{}}},"S68":{"type":"structure","required":["Data"],"members":{"Data":{"type":"blob"}}},"S6t":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,u)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var r,s,f,h,d,m,y,g;if(y=e.split("#"),e=y.shift(),y=e.split("?"),e=y.shift(),(y=e.split("://")).length>1){if(r=y.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;y[0]=e.slice(2)}}if(""===(e=y.join("://")))return!1;if(y=e.split("/"),""===(e=y.shift())&&!t.require_host)return!0;if((y=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===y[0])return!1;if((s=y.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var v=s.split(":"),b=(w=2,function(e){if(Array.isArray(e))return e}(E=v)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(E,w)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(E,w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),S=b[0],_=b[1];if(""===S&&""===_)return!1}var E,w;h=y.join("@"),m=null,g=null;var x=h.match(l);x?(f="",g=x[1],m=x[2]||null):(f=(y=h.split(":")).shift(),y.length&&(m=y.join(":")));if(null!==m&&m.length>0){if(d=parseInt(m,10),!/^[0-9]+$/.test(m)||d<=0||d>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return p(f,t.host_whitelist);if(""===f&&!t.require_host)return!0;if(!((0,o.default)(f)||(0,i.default)(f,t)||g&&(0,o.default)(g,6)))return!1;if(f=f||g,t.host_blacklist&&p(f,t.host_blacklist))return!1;return!0};var n=s(r(276)),i=s(r(277)),o=s(r(279)),a=s(r(278));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,i.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),o=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(o))return!1;return r.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=o(r(276)),i=o(r(278));function o(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,i.default)(t),!(r=String(r)))return e(t,4)||e(t,6);if("4"===r)return s.test(t);if("6"===r)return u.test(t);return!1};var n,i=(n=r(276))&&n.__esModule?n:{default:n};var o="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(o,"[.]){3}").concat(o),s=new RegExp("^".concat(a,"$")),c="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(c,":){7}(?:").concat(c,"|:)|")+"(?:".concat(c,":){6}(?:").concat(a,"|:").concat(c,"|:)|")+"(?:".concat(c,":){5}(?::").concat(a,"|(:").concat(c,"){1,2}|:)|")+"(?:".concat(c,":){4}(?:(:").concat(c,"){0,1}:").concat(a,"|(:").concat(c,"){1,3}|:)|")+"(?:".concat(c,":){3}(?:(:").concat(c,"){0,2}:").concat(a,"|(:").concat(c,"){1,4}|:)|")+"(?:".concat(c,":){2}(?:(:").concat(c,"){0,3}:").concat(a,"|(:").concat(c,"){1,5}|:)|")+"(?:".concat(c,":){1}(?:(:").concat(c,"){0,4}:").concat(a,"|(:").concat(c,"){1,6}|:)|")+"(?::((?::".concat(c,"){0,5}:").concat(a,"|(?::").concat(c,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},,,,,,,,,(e,t,r)=>{"use strict";var n=r(285);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addEventProcessor:()=>C,captureCheckIn:()=>E,captureEvent:()=>d,captureException:()=>f,captureMessage:()=>h,captureSession:()=>I,close:()=>O,endSession:()=>k,flush:()=>x,isEnabled:()=>P,isInitialized:()=>T,lastEventId:()=>_,setContext:()=>m,setExtra:()=>g,setExtras:()=>y,setTag:()=>b,setTags:()=>v,setUser:()=>S,startSession:()=>A,withMonitor:()=>w});var n=r(290),i=r(310),o=r(298),a=r(301),s=r(303),c=r(306),u=r(305),l=r(294),p=r(311);function f(e,t){return(0,n.getCurrentScope)().captureException(e,(0,p.parseEventHintOrCaptureContext)(t))}function h(e,t){const r="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return(0,n.getCurrentScope)().captureMessage(e,r,i)}function d(e,t){return(0,n.getCurrentScope)().captureEvent(e,t)}function m(e,t){(0,n.getIsolationScope)().setContext(e,t)}function y(e){(0,n.getIsolationScope)().setExtras(e)}function g(e,t){(0,n.getIsolationScope)().setExtra(e,t)}function v(e){(0,n.getIsolationScope)().setTags(e)}function b(e,t){(0,n.getIsolationScope)().setTag(e,t)}function S(e){(0,n.getIsolationScope)().setUser(e)}function _(){return(0,n.getIsolationScope)().lastEventId()}function E(e,t){const r=(0,n.getCurrentScope)(),o=(0,n.getClient)();if(o){if(o.captureCheckIn)return o.captureCheckIn(e,t,r);i.DEBUG_BUILD&&s.logger.warn("Cannot capture check-in. Client does not support sending check-ins.")}else i.DEBUG_BUILD&&s.logger.warn("Cannot capture check-in. No client defined.");return(0,c.uuid4)()}function w(e,t,r){const i=E({monitorSlug:e,status:"in_progress"},r),o=(0,u.timestampInSeconds)();function s(t){E({monitorSlug:e,status:t,checkInId:i,duration:(0,u.timestampInSeconds)()-o})}return(0,n.withIsolationScope)((()=>{let e;try{e=t()}catch(e){throw s("error"),e}return(0,a.isThenable)(e)?Promise.resolve(e).then((()=>{s("ok")}),(e=>{throw s("error"),e})):s("ok"),e}))}async function x(e){const t=(0,n.getClient)();return t?t.flush(e):(i.DEBUG_BUILD&&s.logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function O(e){const t=(0,n.getClient)();return t?t.close(e):(i.DEBUG_BUILD&&s.logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function T(){return!!(0,n.getClient)()}function P(){const e=(0,n.getClient)();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}function C(e){(0,n.getIsolationScope)().addEventProcessor(e)}function A(e){const t=(0,n.getIsolationScope)(),r=(0,n.getCurrentScope)(),{userAgent:i}=l.GLOBAL_OBJ.navigator||{},a=(0,o.makeSession)({user:r.getUser()||t.getUser(),...i&&{userAgent:i},...e}),s=t.getSession();return"ok"===s?.status&&(0,o.updateSession)(s,{status:"exited"}),k(),t.setSession(a),a}function k(){const e=(0,n.getIsolationScope)(),t=(0,n.getCurrentScope)().getSession()||e.getSession();t&&(0,o.closeSession)(t),R(),e.setSession()}function R(){const e=(0,n.getIsolationScope)(),t=(0,n.getClient)(),r=e.getSession();r&&t&&t.captureSession(r)}function I(e=!1){e?k():R()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getClient:()=>h,getCurrentScope:()=>c,getGlobalScope:()=>l,getIsolationScope:()=>u,getTraceContextFromScope:()=>d,withIsolationScope:()=>f,withScope:()=>p});var n=r(291),i=r(292),o=r(297),a=r(299),s=r(307);function c(){const e=(0,i.getMainCarrier)();return(0,n.getAsyncContextStrategy)(e).getCurrentScope()}function u(){const e=(0,i.getMainCarrier)();return(0,n.getAsyncContextStrategy)(e).getIsolationScope()}function l(){return(0,i.getGlobalSingleton)("globalScope",(()=>new o.Scope))}function p(...e){const t=(0,i.getMainCarrier)(),r=(0,n.getAsyncContextStrategy)(t);if(2===e.length){const[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function f(...e){const t=(0,i.getMainCarrier)(),r=(0,n.getAsyncContextStrategy)(t);if(2===e.length){const[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])}function h(){return c().getClient()}function d(e){const t=e.getPropagationContext(),{traceId:r,parentSpanId:n,propagationSpanId:i}=t;return(0,a.dropUndefinedKeys)({trace_id:r,span_id:i||(0,s.generateSpanId)(),parent_span_id:n})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getAsyncContextStrategy:()=>a,setAsyncContextStrategy:()=>o});var n=r(292),i=r(295);function o(e){const t=(0,n.getMainCarrier)();(0,n.getSentryCarrier)(t).acs=e}function a(e){const t=(0,n.getSentryCarrier)(e);return t.acs?t.acs:(0,i.getStackAsyncContextStrategy)()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getGlobalSingleton:()=>s,getMainCarrier:()=>o,getSentryCarrier:()=>a});var n=r(293),i=r(294);function o(){return a(i.GLOBAL_OBJ),i.GLOBAL_OBJ}function a(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.SDK_VERSION,t[n.SDK_VERSION]=t[n.SDK_VERSION]||{}}function s(e,t,r=i.GLOBAL_OBJ){const o=r.__SENTRY__=r.__SENTRY__||{},a=o[n.SDK_VERSION]=o[n.SDK_VERSION]||{};return a[e]||(a[e]=t())}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SDK_VERSION:()=>n});const n="9.6.0"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{GLOBAL_OBJ:()=>n});const n=globalThis},(e,t,r)=>{"use strict";r.r(t),r.d(t,{AsyncContextStack:()=>s,getStackAsyncContextStrategy:()=>f});var n=r(296),i=r(297),o=r(301),a=r(292);class s{constructor(e,t){let r,n;r=e||new i.Scope,n=t||new i.Scope,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){const t=this._pushScope();let r;try{r=e(t)}catch(e){throw this._popScope(),e}return(0,o.isThenable)(r)?r.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){const e=(0,a.getMainCarrier)(),t=(0,a.getSentryCarrier)(e);return t.stack=t.stack||new s((0,n.getDefaultCurrentScope)(),(0,n.getDefaultIsolationScope)())}function u(e){return c().withScope(e)}function l(e,t){const r=c();return r.withScope((()=>(r.getStackTop().scope=e,t(e))))}function p(e){return c().withScope((()=>e(c().getIsolationScope())))}function f(){return{withIsolationScope:p,withScope:u,withSetScope:l,withSetIsolationScope:(e,t)=>p(t),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDefaultCurrentScope:()=>o,getDefaultIsolationScope:()=>a});var n=r(292),i=r(297);function o(){return(0,n.getGlobalSingleton)("defaultCurrentScope",(()=>new i.Scope))}function a(){return(0,n.getGlobalSingleton)("defaultIsolationScope",(()=>new i.Scope))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Scope:()=>p});var n=r(298),i=r(301),o=r(303),a=r(306),s=r(307),c=r(305),u=r(308),l=r(309);class p{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,s.generateTraceId)(),sampleRand:Math.random()}}clone(){const e=new p;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,l._setSpanForScope)(e,(0,l._getSpanForScope)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,n.updateSession)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,r=t instanceof p?t.getScopeData():(0,i.isPlainObject)(t)?e:void 0,{tags:n,extra:o,user:a,contexts:s,level:c,fingerprint:u=[],propagationContext:l}=r||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...o},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),l&&(this._propagationContext=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,l._setSpanForScope)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,s.generateTraceId)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const r="number"==typeof t?t:100;if(r<=0)return this;const n={timestamp:(0,c.dateTimestampInSeconds)(),...e};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l._getSpanForScope)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,u.merge)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const r=t?.event_id||(0,a.uuid4)();if(!this._client)return o.logger.warn("No client configured on scope - will not capture exception!"),r;const n=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){const n=r?.event_id||(0,a.uuid4)();if(!this._client)return o.logger.warn("No client configured on scope - will not capture message!"),n;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...r,event_id:n},this),n}captureEvent(e,t){const r=t?.event_id||(0,a.uuid4)();return this._client?(this._client.captureEvent(e,{...t,event_id:r},this),r):(o.logger.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeSession:()=>c,makeSession:()=>a,updateSession:()=>s});var n=r(299),i=r(305),o=r(306);function a(e){const t=(0,i.timestampInSeconds)(),r={sid:(0,o.uuid4)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,n.dropUndefinedKeys)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(r)};return e&&s(r,e),r}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.timestampInSeconds)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.uuid4)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function c(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),s(e,r)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addNonEnumerableProperty:()=>u,convertToPlainObject:()=>f,dropUndefinedKeys:()=>y,extractExceptionKeysForMessage:()=>m,fill:()=>c,getOriginalFunction:()=>p,markFunctionWrapped:()=>l,objectify:()=>v});var n=r(300),i=r(302),o=r(301),a=r(303),s=r(304);function c(e,t,r){if(!(t in e))return;const n=e[t];if("function"!=typeof n)return;const o=r(n);"function"==typeof o&&l(o,n);try{e[t]=o}catch{i.DEBUG_BUILD&&a.logger.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch(r){i.DEBUG_BUILD&&a.logger.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function l(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,u(e,"__sentry_original__",t)}catch(e){}}function p(e){return e.__sentry_original__}function f(e){if((0,o.isError)(e))return{message:e.message,name:e.name,stack:e.stack,...d(e)};if((0,o.isEvent)(e)){const t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...d(e)};return"undefined"!=typeof CustomEvent&&(0,o.isInstanceOf)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function h(e){try{return(0,o.isElement)(e)?(0,n.htmlTreeAsString)(e):Object.prototype.toString.call(e)}catch(e){return""}}function d(e){if("object"==typeof e&&null!==e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}return{}}function m(e,t=40){const r=Object.keys(f(e));r.sort();const n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return(0,s.truncate)(n,t);for(let e=r.length;e>0;e--){const n=r.slice(0,e).join(", ");if(!(n.length>t))return e===r.length?n:(0,s.truncate)(n,t)}return""}function y(e){return g(e,new Map)}function g(e,t){if(function(e){if(!(0,o.isPlainObject)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch{return!0}}(e)){const r=t.get(e);if(void 0!==r)return r;const n={};t.set(e,n);for(const r of Object.getOwnPropertyNames(e))void 0!==e[r]&&(n[r]=g(e[r],t));return n}if(Array.isArray(e)){const r=t.get(e);if(void 0!==r)return r;const n=[];return t.set(e,n),e.forEach((e=>{n.push(g(e,t))})),n}return e}function v(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case(0,o.isPrimitive)(e):t=new e.constructor(e);break;default:t=e}return t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getComponentName:()=>u,getLocationHref:()=>c,htmlTreeAsString:()=>a});var n=r(301);const i=r(294).GLOBAL_OBJ,o=80;function a(e,t={}){if(!e)return"";try{let r=e;const n=5,i=[];let a=0,c=0;const u=" > ",l=u.length;let p;const f=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||o;for(;r&&a++1&&c+i.length*l+p.length>=h));)i.push(p),c+=p.length,r=r.parentNode;return i.reverse().join(u)}catch(e){return""}}function s(e,t){const r=e,o=[];if(!r?.tagName)return"";if(i.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}o.push(r.tagName.toLowerCase());const a=t?.length?t.filter((e=>r.getAttribute(e))).map((e=>[e,r.getAttribute(e)])):null;if(a?.length)a.forEach((e=>{o.push(`[${e[0]}="${e[1]}"]`)}));else{r.id&&o.push(`#${r.id}`);const e=r.className;if(e&&(0,n.isString)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const s=["aria-label","type","name","title","alt"];for(const e of s){const t=r.getAttribute(e);t&&o.push(`[${e}="${t}"]`)}return o.join("")}function c(){try{return i.document.location.href}catch(e){return""}}function u(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isDOMError:()=>s,isDOMException:()=>c,isElement:()=>d,isError:()=>i,isErrorEvent:()=>a,isEvent:()=>h,isInstanceOf:()=>v,isParameterizedString:()=>l,isPlainObject:()=>f,isPrimitive:()=>p,isRegExp:()=>m,isString:()=>u,isSyntheticEvent:()=>g,isThenable:()=>y,isVueViewModel:()=>b});const n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function o(e,t){return n.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function c(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function l(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function p(e){return null===e||l(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function h(e){return"undefined"!=typeof Event&&v(e,Event)}function d(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return o(e,"RegExp")}function y(e){return Boolean(e?.then&&"function"==typeof e.then)}function g(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEBUG_BUILD:()=>n});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONSOLE_LEVELS:()=>a,consoleSandbox:()=>c,logger:()=>u,originalConsoleMethods:()=>s});var n=r(292),i=r(302),o=r(294);const a=["debug","info","warn","error","log","assert","trace"],s={};function c(e){if(!("console"in o.GLOBAL_OBJ))return e();const t=o.GLOBAL_OBJ.console,r={},n=Object.keys(s);n.forEach((e=>{const n=s[e];r[e]=t[e],t[e]=n}));try{return e()}finally{n.forEach((e=>{t[e]=r[e]}))}}const u=(0,n.getGlobalSingleton)("logger",(function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return i.DEBUG_BUILD?a.forEach((r=>{t[r]=(...t)=>{e&&c((()=>{o.GLOBAL_OBJ.console[r](`Sentry Logger [${r}]:`,...t)}))}})):a.forEach((e=>{t[e]=()=>{}})),t}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isMatchingPattern:()=>s,safeJoin:()=>a,snipLine:()=>o,stringMatchesSomePattern:()=>c,truncate:()=>i});var n=r(301);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){let r=e;const n=r.length;if(n<=150)return r;t>n&&(t=n);let i=Math.max(t-60,0);i<5&&(i=0);let o=Math.min(i+140,n);return o>n-5&&(o=n),o===n&&(i=Math.max(o-140,0)),r=r.slice(i,o),i>0&&(r=`'{snip} ${r}`),os(e,t,r)))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{browserPerformanceTimeOrigin:()=>c,dateTimestampInSeconds:()=>o,timestampInSeconds:()=>a});var n=r(294);const i=1e3;function o(){return Date.now()/i}const a=function(){const{performance:e}=n.GLOBAL_OBJ;if(!e?.now)return o;const t=Date.now()-e.now(),r=null==e.timeOrigin?t:e.timeOrigin;return()=>(r+e.now())/i}();let s;function c(){return s||(s=function(){const{performance:e}=n.GLOBAL_OBJ;if(!e?.now)return[void 0,"none"];const t=36e5,r=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+r-i):t,a=o{"use strict";r.r(t),r.d(t,{addContextToFrame:()=>d,addExceptionMechanism:()=>l,addExceptionTypeValue:()=>u,checkOrSetAlreadyCaught:()=>m,getEventDescription:()=>c,parseSemver:()=>h,uuid4:()=>a});var n=r(299),i=r(304),o=r(294);function a(e=function(){const e=o.GLOBAL_OBJ;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&t())>>e/4).toString(16)))}function s(e){return e.exception?.values?.[0]}function c(e){const{message:t,event_id:r}=e;if(t)return t;const n=s(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"":r||""}function u(e,t,r){const n=e.exception=e.exception||{},i=n.values=n.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")}function l(e,t){const r=s(e);if(!r)return;const n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){const e={...n?.data,...t.data};r.mechanism.data=e}}const p=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function f(e){return parseInt(e||"",10)}function h(e){const t=e.match(p)||[],r=f(t[1]),n=f(t[2]),i=f(t[3]);return{buildmetadata:t[5],major:isNaN(r)?void 0:r,minor:isNaN(n)?void 0:n,patch:isNaN(i)?void 0:i,prerelease:t[4]}}function d(e,t,r=5){if(void 0===t.lineno)return;const n=e.length,o=Math.max(Math.min(n-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-r),o).map((e=>(0,i.snipLine)(e,0)));const a=Math.min(n-1,o);t.context_line=(0,i.snipLine)(e[a],t.colno||0),t.post_context=e.slice(Math.min(o+1,n),o+1+r).map((e=>(0,i.snipLine)(e,0)))}function m(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,n.addNonEnumerableProperty)(e,"__sentry_captured__",!0)}catch(e){}return!1}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{generateSpanId:()=>o,generateTraceId:()=>i});var n=r(306);function i(){return(0,n.uuid4)()}function o(){return(0,n.uuid4)().substring(16)}},(e,t,r)=>{"use strict";function n(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;const i={...e};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=n(i[e],t[e],r-1));return i}r.r(t),r.d(t,{merge:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_getSpanForScope:()=>a,_setSpanForScope:()=>o});var n=r(299);const i="_sentrySpan";function o(e,t){t?(0,n.addNonEnumerableProperty)(e,i,t):delete e[i]}function a(e){return e[i]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEBUG_BUILD:()=>n});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applyClientOptions:()=>d,applyDebugIds:()=>m,applyDebugMeta:()=>y,parseEventHintOrCaptureContext:()=>g,prepareEvent:()=>h});var n=r(312),i=r(290),o=r(313),a=r(297),s=r(315),c=r(306),u=r(316),l=r(304),p=r(305),f=r(318);function h(e,t,r,n,s,l){const{normalizeDepth:h=3,normalizeMaxBreadth:g=1e3}=e,v={...t,event_id:t.event_id||r.event_id||(0,c.uuid4)(),timestamp:t.timestamp||(0,p.dateTimestampInSeconds)()},b=r.integrations||e.integrations.map((e=>e.name));d(v,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(v,b),s&&s.emit("applyFrameMetadata",t),void 0===t.type&&m(v,e.stackParser);const S=function(e,t){if(!t)return e;const r=e?e.clone():new a.Scope;return r.update(t),r}(n,r.captureContext);r.mechanism&&(0,c.addExceptionMechanism)(v,r.mechanism);const _=s?s.getEventProcessors():[],E=(0,i.getGlobalScope)().getScopeData();if(l){const e=l.getScopeData();(0,f.mergeScopeData)(E,e)}if(S){const e=S.getScopeData();(0,f.mergeScopeData)(E,e)}const w=[...r.attachments||[],...E.attachments];w.length&&(r.attachments=w),(0,f.applyScopeDataToEvent)(v,E);const x=[..._,...E.eventProcessors];return(0,o.notifyEventProcessors)(x,v,r).then((e=>(e&&y(e),"number"==typeof h&&h>0?function(e,t,r){if(!e)return null;const n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,u.normalize)(e.data,t,r)}})))},...e.user&&{user:(0,u.normalize)(e.user,t,r)},...e.contexts&&{contexts:(0,u.normalize)(e.contexts,t,r)},...e.extra&&{extra:(0,u.normalize)(e.extra,t,r)}};e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,u.normalize)(e.contexts.trace.data,t,r)));e.spans&&(n.spans=e.spans.map((e=>({...e,...e.data&&{data:(0,u.normalize)(e.data,t,r)}}))));e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,u.normalize)(e.contexts.flags,3,r));return n}(e,h,g):e)))}function d(e,t){const{environment:r,release:i,dist:o,maxValueLength:a=250}=t;e.environment=e.environment||r||n.DEFAULT_ENVIRONMENT,!e.release&&i&&(e.release=i),!e.dist&&o&&(e.dist=o),e.message&&(e.message=(0,l.truncate)(e.message,a));const s=e.exception?.values?.[0];s?.value&&(s.value=(0,l.truncate)(s.value,a));const c=e.request;c?.url&&(c.url=(0,l.truncate)(c.url,a))}function m(e,t){const r=(0,s.getFilenameToDebugIdMap)(t);e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.filename&&(e.debug_id=r[e.filename])}))}))}function y(e){const t={};if(e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))})),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const r=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})}))}function g(e){if(e)return function(e){return e instanceof a.Scope||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>v.includes(e)))}(e)?{captureContext:e}:e}const v=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_ENVIRONMENT:()=>n});const n="production"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{notifyEventProcessors:()=>s});var n=r(310),i=r(301),o=r(303),a=r(314);function s(e,t,r,c=0){return new a.SyncPromise(((a,u)=>{const l=e[c];if(null===t||"function"!=typeof l)a(t);else{const p=l({...t},r);n.DEBUG_BUILD&&l.id&&null===p&&o.logger.log(`Event processor "${l.id}" dropped event`),(0,i.isThenable)(p)?p.then((t=>s(e,t,r,c+1).then(a))).then(null,u):s(e,p,r,c+1).then(a).then(null,u)}}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SyncPromise:()=>s,rejectedSyncPromise:()=>a,resolvedSyncPromise:()=>o});var n,i=r(301);function o(e){return new s((t=>{t(e)}))}function a(e){return new s(((t,r)=>{r(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(n||(n={}));class s{constructor(e){this._state=n.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new s(((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,r)=>{let n,i;return this.then((t=>{i=!1,n=t,e&&e()}),(t=>{i=!0,n=t,e&&e()})).then((()=>{i?r(n):t(n)}))}))}_executeHandlers(){if(this._state===n.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===n.RESOLVED&&e[1](this._value),this._state===n.REJECTED&&e[2](this._value),e[0]=!0)}))}_runExecutor(e){const t=(e,t)=>{this._state===n.PENDING&&((0,i.isThenable)(t)?t.then(r,o):(this._state=e,this._value=t,this._executeHandlers()))},r=e=>{t(n.RESOLVED,e)},o=e=>{t(n.REJECTED,e)};try{e(r,o)}catch(e){o(e)}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDebugImagesForResources:()=>c,getFilenameToDebugIdMap:()=>s});var n=r(294);let i,o,a;function s(e){const t=n.GLOBAL_OBJ._sentryDebugIds;if(!t)return{};const r=Object.keys(t);return a&&r.length===o||(o=r.length,a=r.reduce(((r,n)=>{i||(i={});const o=i[n];if(o)r[o[0]]=o[1];else{const o=e(n);for(let e=o.length-1;e>=0;e--){const a=o[e],s=a?.filename,c=t[n];if(s&&c){r[s]=c,i[n]=[s,c];break}}}return r}),{})),a}function c(e,t){const r=s(e);if(!r)return[];const n=[];for(const e of t)e&&r[e]&&n.push({type:"sourcemap",code_file:e,debug_id:r[e]});return n}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{normalize:()=>a,normalizeToSize:()=>s,normalizeUrlToBase:()=>u});var n=r(301),i=r(299),o=r(317);function a(e,t=100,r=1/0){try{return c("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function s(e,t=3,r=102400){const n=a(e,t);return i=n,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>r?s(e,t-1,r):n;var i}function c(e,t,r=1/0,a=1/0,s=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function r(t){e.delete(t)}return[t,r]}()){const[u,l]=s;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const p=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.isVueViewModel)(t))return"[VueViewModel]";if((0,n.isSyntheticEvent)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.getFunctionName)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!p.startsWith("[object "))return p;if(t.__sentry_skip_normalization__)return t;const f="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:r;if(0===f)return p.replace("object ","");if(u(t))return"[Circular ~]";const h=t;if(h&&"function"==typeof h.toJSON)try{return c("",h.toJSON(),f-1,a,s)}catch(e){}const d=Array.isArray(t)?[]:{};let m=0;const y=(0,i.convertToPlainObject)(t);for(const e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(m>=a){d[e]="[MaxProperties ~]";break}const t=y[e];d[e]=c(e,t,f-1,a,s),m++}return l(t),d}function u(e,t){const r=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let n=e;try{n=decodeURI(e)}catch(e){}return n.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${r}/*`,"ig"),"app:///")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{UNKNOWN_FUNCTION:()=>i,createStackParser:()=>s,getFramesFromEvent:()=>h,getFunctionName:()=>f,stackParserFromStackParserOptions:()=>c,stripSentryFramesAndReverse:()=>u});const n=50,i="?",o=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,r=0,i=0)=>{const a=[],s=e.split("\n");for(let e=r;e1024)continue;const c=o.test(r)?r.replace(o,"$1"):r;if(!c.match(/\S*Error: /)){for(const e of t){const t=e(c);if(t){a.push(t);break}}if(a.length>=n+i)break}}return u(a.slice(i))}}function c(e){return Array.isArray(e)?s(...e):e}function u(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(l(t).function||"")&&t.pop(),t.reverse(),a.test(l(t).function||"")&&(t.pop(),a.test(l(t).function||"")&&t.pop()),t.slice(0,n).map((e=>({...e,filename:e.filename||l(t).filename,function:e.function||i})))}function l(e){return e[e.length-1]||{}}const p="";function f(e){try{return e&&"function"==typeof e&&e.name||p}catch(e){return p}}function h(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applyScopeDataToEvent:()=>s,mergeAndOverwriteScopeData:()=>u,mergeScopeData:()=>c});var n=r(319),i=r(299),o=r(308),a=r(323);function s(e,t){const{fingerprint:r,span:o,breadcrumbs:s,sdkProcessingMetadata:c}=t;!function(e,t){const{extra:r,tags:n,user:o,contexts:a,level:s,transactionName:c}=t,u=(0,i.dropUndefinedKeys)(r);Object.keys(u).length&&(e.extra={...u,...e.extra});const l=(0,i.dropUndefinedKeys)(n);Object.keys(l).length&&(e.tags={...l,...e.tags});const p=(0,i.dropUndefinedKeys)(o);Object.keys(p).length&&(e.user={...p,...e.user});const f=(0,i.dropUndefinedKeys)(a);Object.keys(f).length&&(e.contexts={...f,...e.contexts});s&&(e.level=s);c&&"transaction"!==e.type&&(e.transaction=c)}(e,t),o&&function(e,t){e.contexts={trace:(0,a.spanToTraceContext)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,n.getDynamicSamplingContextFromSpan)(t),...e.sdkProcessingMetadata};const r=(0,a.getRootSpan)(t),i=(0,a.spanToJSON)(r).description;i&&!e.transaction&&"transaction"===e.type&&(e.transaction=i)}(e,o),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,r),function(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,c)}function c(e,t){const{extra:r,tags:n,user:i,contexts:a,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:p,eventProcessors:f,attachments:h,propagationContext:d,transactionName:m,span:y}=t;u(e,"extra",r),u(e,"tags",n),u(e,"user",i),u(e,"contexts",a),e.sdkProcessingMetadata=(0,o.merge)(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),y&&(e.span=y),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...d}}function u(e,t,r){e[t]=(0,o.merge)(e[t],r,1)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{freezeDscOnSpan:()=>f,getDynamicSamplingContextFromClient:()=>h,getDynamicSamplingContextFromScope:()=>d,getDynamicSamplingContextFromSpan:()=>m,spanToBaggageHeader:()=>y});var n=r(312),i=r(290),o=r(320),a=r(321),s=r(299),c=r(322),u=r(323),l=r(325);const p="_frozenDsc";function f(e,t){const r=e;(0,s.addNonEnumerableProperty)(r,p,t)}function h(e,t){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},o=(0,s.dropUndefinedKeys)({environment:r.environment||n.DEFAULT_ENVIRONMENT,release:r.release,public_key:i,trace_id:e});return t.emit("createDsc",o),o}function d(e,t){const r=t.getPropagationContext();return r.dsc||h(r.traceId,e)}function m(e){const t=(0,i.getClient)();if(!t)return{};const r=(0,u.getRootSpan)(e),n=(0,u.spanToJSON)(r),s=n.data,f=r.spanContext().traceState,d=f?.get("sentry.sample_rate")??s[o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE];function m(e){return"number"!=typeof d&&"string"!=typeof d||(e.sample_rate=`${d}`),e}const y=r[p];if(y)return m(y);const g=f?.get("sentry.dsc"),v=g&&(0,a.baggageHeaderToDynamicSamplingContext)(g);if(v)return m(v);const b=h(e.spanContext().traceId,t),S=s[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],_=n.description;return"url"!==S&&_&&(b.transaction=_),(0,c.hasSpansEnabled)()&&(b.sampled=String((0,u.spanIsSampled)(r)),b.sample_rand=f?.get("sentry.sample_rand")??(0,l.getCapturedScopesOnSpan)(r).scope?.getPropagationContext().sampleRand.toString()),m(b),t.emit("createDsc",b,r),b}function y(e){const t=m(e);return(0,a.dynamicSamplingContextToSentryBaggageHeader)(t)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SEMANTIC_ATTRIBUTE_CACHE_HIT:()=>h,SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE:()=>m,SEMANTIC_ATTRIBUTE_CACHE_KEY:()=>d,SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME:()=>f,SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD:()=>y,SEMANTIC_ATTRIBUTE_PROFILE_ID:()=>p,SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME:()=>l,SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON:()=>s,SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT:()=>c,SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE:()=>u,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>o,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>a,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>i,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>n,SEMANTIC_ATTRIBUTE_URL_FULL:()=>g});const n="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin",s="sentry.idle_span_finish_reason",c="sentry.measurement_unit",u="sentry.measurement_value",l="sentry.custom_span_name",p="sentry.profile_id",f="sentry.exclusive_time",h="cache.hit",d="cache.key",m="cache.item_size",y="http.request.method",g="url.full"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{MAX_BAGGAGE_STRING_LENGTH:()=>c,SENTRY_BAGGAGE_KEY_PREFIX:()=>a,SENTRY_BAGGAGE_KEY_PREFIX_REGEX:()=>s,baggageHeaderToDynamicSamplingContext:()=>u,dynamicSamplingContextToSentryBaggageHeader:()=>l,objectToBaggageHeader:()=>h,parseBaggageHeader:()=>p});var n=r(302),i=r(301),o=r(303);const a="sentry-",s=/^sentry-/,c=8192;function u(e){const t=p(e);if(!t)return;const r=Object.entries(t).reduce(((e,[t,r])=>{if(t.match(s)){e[t.slice(a.length)]=r}return e}),{});return Object.keys(r).length>0?r:void 0}function l(e){if(!e)return;return h(Object.entries(e).reduce(((e,[t,r])=>(r&&(e[`${a}${t}`]=r),e)),{}))}function p(e){if(e&&((0,i.isString)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const r=f(t);return Object.entries(r).forEach((([t,r])=>{e[t]=r})),e}),{}):f(e)}function f(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,r])=>(t&&r&&(e[t]=r),e)),{})}function h(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,r],i)=>{const a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===i?a:`${e},${a}`;return s.length>c?(n.DEBUG_BUILD&&o.logger.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s}),"")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasSpansEnabled:()=>i,hasTracingEnabled:()=>o});var n=r(290);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||(0,n.getClient)()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}const o=i},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TRACE_FLAG_NONE:()=>m,TRACE_FLAG_SAMPLED:()=>y,addChildSpanToSpan:()=>A,convertSpanLinksForEnvelope:()=>_,getActiveSpan:()=>D,getRootSpan:()=>I,getSpanDescendants:()=>R,getStatusMessage:()=>T,removeChildSpanFromSpan:()=>k,showSpanDropWarning:()=>M,spanIsSampled:()=>O,spanTimeInputToSeconds:()=>E,spanToJSON:()=>x,spanToTraceContext:()=>b,spanToTraceHeader:()=>S,spanToTransactionTraceContext:()=>v,updateSpanName:()=>N});var n=r(291),i=r(292),o=r(290),a=r(320),s=r(324),c=r(325),u=r(303),l=r(299),p=r(307),f=r(305),h=r(326),d=r(309);const m=0,y=1;let g=!1;function v(e){const{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:o,status:a,origin:s,links:c}=x(e);return(0,l.dropUndefinedKeys)({parent_span_id:o,span_id:t,trace_id:r,data:n,op:i,status:a,origin:s,links:c})}function b(e){const{spanId:t,traceId:r,isRemote:n}=e.spanContext(),i=n?t:x(e).parent_span_id,o=(0,c.getCapturedScopesOnSpan)(e).scope,a=n?o?.getPropagationContext().propagationSpanId||(0,p.generateSpanId)():t;return(0,l.dropUndefinedKeys)({parent_span_id:i,span_id:a,trace_id:r})}function S(e){const{traceId:t,spanId:r}=e.spanContext(),n=O(e);return(0,h.generateSentryTraceHeader)(t,r,n)}function _(e){return e&&e.length>0?e.map((({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:i})=>({span_id:e,trace_id:t,sampled:r===y,attributes:i,...n}))):void 0}function E(e){return"number"==typeof e?w(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?w(e.getTime()):(0,f.timestampInSeconds)()}function w(e){return e>9999999999?e/1e3:e}function x(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:r}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:n,startTime:i,name:o,endTime:s,parentSpanId:c,status:u,links:p}=e;return(0,l.dropUndefinedKeys)({span_id:t,trace_id:r,data:n,description:o,parent_span_id:c,start_timestamp:E(i),timestamp:E(s)||void 0,status:T(u),op:n[a.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:n[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:_(p)})}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function O(e){const{traceFlags:t}=e.spanContext();return t===y}function T(e){if(e&&e.code!==s.SPAN_STATUS_UNSET)return e.code===s.SPAN_STATUS_OK?"ok":e.message||"unknown_error"}const P="_sentryChildSpans",C="_sentryRootSpan";function A(e,t){const r=e[C]||e;(0,l.addNonEnumerableProperty)(t,C,r),e[P]?e[P].add(t):(0,l.addNonEnumerableProperty)(e,P,new Set([t]))}function k(e,t){e[P]&&e[P].delete(t)}function R(e){const t=new Set;return function e(r){if(!t.has(r)&&O(r)){t.add(r);const n=r[P]?Array.from(r[P]):[];for(const t of n)e(t)}}(e),Array.from(t)}function I(e){return e[C]||e}function D(){const e=(0,i.getMainCarrier)(),t=(0,n.getAsyncContextStrategy)(e);return t.getActiveSpan?t.getActiveSpan():(0,d._getSpanForScope)((0,o.getCurrentScope)())}function M(){g||((0,u.consoleSandbox)((()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")})),g=!0)}function N(e,t){e.updateName(t),e.setAttributes({[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:t})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SPAN_STATUS_ERROR:()=>o,SPAN_STATUS_OK:()=>i,SPAN_STATUS_UNSET:()=>n,getSpanStatusFromHttpCode:()=>a,setHttpStatus:()=>s});const n=0,i=1,o=2;function a(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}function s(e,t){e.setAttribute("http.response.status_code",t);const r=a(t);"unknown_error"!==r.message&&e.setStatus(r)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCapturedScopesOnSpan:()=>s,setCapturedScopesOnSpan:()=>a});var n=r(299);const i="_sentryScope",o="_sentryIsolationScope";function a(e,t,r){e&&((0,n.addNonEnumerableProperty)(e,o,r),(0,n.addNonEnumerableProperty)(e,i,t))}function s(e){return{scope:e[i],isolationScope:e[o]}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TRACEPARENT_REGEXP:()=>a,extractTraceparentData:()=>s,generateSentryTraceHeader:()=>u,propagationContextFromHeaders:()=>c});var n=r(327),i=r(321),o=r(307);const a=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(e){if(!e)return;const t=e.match(a);if(!t)return;let r;return"1"===t[3]?r=!0:"0"===t[3]&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}function c(e,t){const r=s(e),a=(0,i.baggageHeaderToDynamicSamplingContext)(t);if(!r?.traceId)return{traceId:(0,o.generateTraceId)(),sampleRand:Math.random()};const c=function(e,t){const r=(0,n.parseSampleRate)(t?.sample_rand);if(void 0!==r)return r;const i=(0,n.parseSampleRate)(t?.sample_rate);return i&&void 0!==e?.parentSampled?e.parentSampled?Math.random()*i:i+Math.random()*(1-i):Math.random()}(r,a);a&&(a.sample_rand=c.toString());const{traceId:u,parentSpanId:l,parentSampled:p}=r;return{traceId:u,parentSpanId:l,sampled:p,dsc:a||{},sampleRand:c}}function u(e=(0,o.generateTraceId)(),t=(0,o.generateSpanId)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}},(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}r.r(t),r.d(t,{parseSampleRate:()=>n})},,,,,,,,,(e,t,r)=>{"use strict";r.r(t),r.d(t,{cacheSlot:()=>i,forgetCache:()=>s,makeVar:()=>u,recallCache:()=>c});var n=r(337),i=new n.Slot,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dep)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var c=Array.from(r);r.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{KeyTrie:()=>n.Trie,Slot:()=>a.Slot,asyncFromGen:()=>a.asyncFromGen,bindContext:()=>a.bindContext,defaultMakeCacheKey:()=>u,dep:()=>s.dep,noContext:()=>a.noContext,nonReactive:()=>a.nonReactive,setTimeout:()=>a.setTimeout,wrap:()=>p});var n=r(338),i=r(345),o=r(339),a=r(340),s=r(344);let c;function u(...e){return(c||(c=new n.Trie("function"==typeof WeakMap))).lookupArray(e)}const l=new Set;function p(e,{max:t=Math.pow(2,16),keyArgs:r,makeCacheKey:n=u,normalizeResult:s,subscribe:c,cache:p=i.StrongCache}=Object.create(null)){const f="function"==typeof p?new p(t,(e=>e.dispose())):p,h=function(){const t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let i=f.get(t);i||(f.set(t,i=new o.Entry(e)),i.normalizeResult=s,i.subscribe=c,i.forget=()=>f.delete(t));const u=i.recompute(Array.prototype.slice.call(arguments));return f.set(t,i),l.add(f),a.parentEntrySlot.hasValue()||(l.forEach((e=>e.clean())),l.clear()),u};function d(e){const t=e&&f.get(e);t&&t.setDirty()}function m(e){const t=e&&f.get(e);if(t)return t.peek()}function y(e){return!!e&&f.delete(e)}return Object.defineProperty(h,"size",{get:()=>f.size,configurable:!1,enumerable:!1}),Object.freeze(h.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:s,subscribe:c,cache:f}),h.dirtyKey=d,h.dirty=function(){d(n.apply(null,arguments))},h.peekKey=m,h.peek=function(){return m(n.apply(null,arguments))},h.forgetKey=y,h.forget=function(){return y(n.apply(null,arguments))},h.makeCacheKey=n,h.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(h)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Trie:()=>s});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r{"use strict";r.r(t),r.d(t,{Entry:()=>l});var n=r(340),i=r(343);const o=[];function a(e,t){if(!e)throw new Error(t||"assertion failure")}function s(e,t){const r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function c(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function u(e){return e.slice(0)}class l{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++l.count}peek(){if(1===this.value.length&&!h(this))return p(this),this.value[0]}recompute(e){return a(!this.recomputing,"already recomputing"),p(this),h(this)?function(e,t){S(e),n.parentEntrySlot.withValue(e,f,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{(0,i.maybeUnsubscribe)(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,h(e))return;m(e)}(e);return c(e.value)}(this,e):c(this.value)}setDirty(){this.dirty||(this.dirty=!0,d(this),(0,i.maybeUnsubscribe)(this))}dispose(){this.setDirty(),S(this),y(this,((e,t)=>{e.setDirty(),_(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=o.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&((0,i.arrayFromSet)(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),o.push(this.deps),this.deps=null)}}function p(e){const t=n.parentEntrySlot.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),h(e)?g(t,e):v(t,e),t}function f(e,t){e.recomputing=!0;const{normalizeResult:r}=e;let n;r&&1===e.value.length&&(n=u(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!s(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function h(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function d(e){y(e,g)}function m(e){y(e,v)}function y(e,t){const r=e.parents.size;if(r){const n=(0,i.arrayFromSet)(e.parents);for(let i=0;i0&&e.childValues.forEach(((t,r)=>{_(e,r)})),e.forgetDeps(),a(null===e.dirtyChildren)}function _(e,t){t.parents.delete(e),e.childValues.delete(t),b(e,t)}l.count=0},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Slot:()=>n.Slot,asyncFromGen:()=>n.asyncFromGen,bindContext:()=>n.bind,noContext:()=>n.noContext,nonReactive:()=>o,parentEntrySlot:()=>i,setTimeout:()=>n.setTimeout});var n=r(341);const i=new n.Slot;function o(e){return i.withValue(void 0,e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Slot:()=>n.Slot,asyncFromGen:()=>s,bind:()=>i,noContext:()=>o,setTimeout:()=>a,wrapYieldingFiberMethods:()=>u});var n=r(342);const{bind:i,noContext:o}=n.Slot;function a(e,t){return setTimeout(i(e),t)}function s(e){return function(){const t=e.apply(this,arguments),r=i(t.next),n=i(t.throw);return new Promise(((e,i)=>{function o(r,n){try{var o=r.call(t,n)}catch(e){return i(e)}const c=o.done?e:a;var u;(u=o.value)&&"function"==typeof u.then?o.value.then(c,o.done?i:s):c(o.value)}const a=e=>o(r,e),s=e=>o(n,e);a()}))}}const c=[];function u(e){if(c.indexOf(e)<0){const t=(e,t)=>{const r=e[t];e[t]=function(){return o(r,arguments,this)}};t(e,"yield"),t(e.prototype,"run"),t(e.prototype,"throwInto"),c.push(e)}return e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Slot:()=>u});let n=null;const i={};let o=1;function a(e){try{return e()}catch(e){}}const s="@wry/context:Slot",c=a((()=>globalThis))||a((()=>global))||Object.create(null),u=c[s]||Array[s]||function(e){try{Object.defineProperty(c,s,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=n;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(e,t,r,i){const o={__proto__:null,[this.id]:e},a=n;n={parent:a,slots:o};try{return t.apply(i,r)}finally{n=a}}static bind(e){const t=n;return function(){const r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}}static noContext(e,t,r){if(!n)return e.apply(r,t);{const i=n;try{return n=null,e.apply(r,t)}finally{n=i}}}})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{arrayFromSet:()=>i,hasOwnProperty:()=>n,maybeUnsubscribe:()=>o});const{hasOwnProperty:n}=Object.prototype,i=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function o(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{dep:()=>a});var n=r(340),i=r(343);const o={setDirty:!0,dispose:!0,forget:!0};function a(e){const t=new Map,r=e&&e.subscribe;function a(e){const o=n.parentEntrySlot.getValue();if(o){let n=t.get(e);n||t.set(e,n=new Set),o.dependOn(n),"function"==typeof r&&((0,i.maybeUnsubscribe)(n),n.unsubscribe=r(e))}}return a.dirty=function(e,r){const n=t.get(e);if(n){const a=r&&i.hasOwnProperty.call(o,r)?r:"setDirty";(0,i.arrayFromSet)(n).forEach((e=>e[a]())),t.delete(e),(0,i.maybeUnsubscribe)(n)}},a}},(e,t,r)=>{"use strict";function n(){}r.r(t),r.d(t,{StrongCache:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{useReactiveVar:()=>o});var n=r(347),i=r(348);function o(e){return(0,i.useSyncExternalStore)(n.useCallback((function(t){return e.onNextChange((function r(){t(),e.onNextChange(r)}))}),[e]),e,e)}},(e,t,r)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(285))},(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useSyncExternalStore:()=>a});r(349);var i=r(347),o=r(357),a=(n||(n=r.t(i,2))).useSyncExternalStore||function(e,t,r){var n=t();var a=i.useState({inst:{value:n,getSnapshot:t}}),c=a[0].inst,u=a[1];return o.canUseLayoutEffect?i.useLayoutEffect((function(){Object.assign(c,{value:n,getSnapshot:t}),s(c)&&u({inst:c})}),[e,n,t]):Object.assign(c,{value:n,getSnapshot:t}),i.useEffect((function(){return s(c)&&u({inst:c}),e((function(){s(c)&&u({inst:c})}))}),[e]),n};function s(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEV:()=>a,InvariantError:()=>n.InvariantError,__DEV__:()=>a,global:()=>o.default,invariant:()=>n.invariant,maybe:()=>i.maybe,newInvariantError:()=>n.newInvariantError});var n=r(350),i=r(354),o=r(353),a=!1},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloErrorMessageHandler:()=>l,InvariantError:()=>n.InvariantError,invariant:()=>c,newInvariantError:()=>u});var n=r(351),i=r(352),o=r(353),a=r(355);function s(e){return function(t){for(var r=[],n=1;n"}}function f(e,t){if(void 0===t&&(t=[]),e)return o.default[l]&&o.default[l](e,t.map(p))}function h(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.version,message:e,args:t.map(p)})))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{InvariantError:()=>s,default:()=>h,invariant:()=>c,setVerbosity:()=>f});var n=r(103),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function p(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}function f(e){var t=u[l];return l=Math.max(0,u.indexOf(e)),t}!function(e){e.debug=p("debug"),e.log=p("log"),e.warn=p("warn"),e.error=p("error")}(c||(c={}));const h=c},(e,t,r)=>{"use strict";r.r(t),r.d(t,{version:()=>n});var n="3.13.0"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(354);const i=(0,n.maybe)((function(){return globalThis}))||(0,n.maybe)((function(){return window}))||(0,n.maybe)((function(){return self}))||(0,n.maybe)((function(){return global}))||(0,n.maybe)((function(){return n.maybe.constructor("return this")()}))},(e,t,r)=>{"use strict";function n(e){try{return e()}catch(e){}}r.r(t),r.d(t,{maybe:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{stringifyForDisplay:()=>i});var n=r(356);function i(e,t){void 0===t&&(t=0);var r=(0,n.makeUniqueId)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{makeUniqueId:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{canUseAsyncIteratorSymbol:()=>c,canUseDOM:()=>u,canUseLayoutEffect:()=>p,canUseSymbol:()=>s,canUseWeakMap:()=>o,canUseWeakSet:()=>a});var n=r(349),i="ReactNative"==(0,n.maybe)((function(){return navigator.product})),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,c=s&&Symbol.asyncIterator,u="function"==typeof(0,n.maybe)((function(){return window.document.createElement})),l=(0,n.maybe)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,p=(u||i)&&!l},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorLink:()=>c,onError:()=>s});var n=r(103),i=r(417),o=r(420),a=r(419);function s(e){return new a.ApolloLink((function(t,r){return new o.Observable((function(n){var o,a,s;try{o=r(t).subscribe({next:function(o){o.errors?s=e({graphQLErrors:o.errors,response:o,operation:t,forward:r}):(0,i.graphQLResultHasProtocolErrors)(o)&&(s=e({protocolErrors:o.extensions[i.PROTOCOL_ERRORS_SYMBOL],response:o,operation:t,forward:r})),s?a=s.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(o)},error:function(i){(s=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r}))?a=s.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){s||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){o&&o.unsubscribe(),a&&o.unsubscribe()}}))}))}var c=function(e){function t(t){var r=e.call(this)||this;return r.link=s(t),r}return(0,n.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)},t}(a.ApolloLink)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloError:()=>c,PROTOCOL_ERRORS_SYMBOL:()=>o,graphQLResultHasProtocolErrors:()=>a,isApolloError:()=>s});var n=r(103),i=(r(349),r(418)),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(r){var o,a,s=r.graphQLErrors,c=r.protocolErrors,u=r.clientErrors,l=r.networkError,p=r.errorMessage,f=r.extraInfo,h=e.call(this,p)||this;return h.name="ApolloError",h.graphQLErrors=s||[],h.protocolErrors=c||[],h.clientErrors=u||[],h.networkError=l||null,h.message=p||(o=h,a=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map((function(e){return(0,i.isNonNullObject)(e)&&e.message||"Error message not found."})).join("\n")),h.extraInfo=f,h.cause=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([l],s||[],!0),c||[],!0),u||[],!0).find((function(e){return!!e}))||null,h.__proto__=t.prototype,h}return(0,n.__extends)(t,e),t}(Error)},(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}r.r(t),r.d(t,{isNonNullObject:()=>n,isPlainObject:()=>i})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloLink:()=>p});var n=r(349),i=r(420),o=r(421),a=r(422),s=r(435);function c(e,t){return t?t(e):i.Observable.of()}function u(e){return"function"==typeof e?new p(e):e}function l(e){return e.request.length<=1}var p=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return i.Observable.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var o,a=u(r),s=u(n||new e(c));return o=l(a)&&l(s)?new e((function(e){return t(e)?a.request(e)||i.Observable.of():s.request(e)||i.Observable.of()})):new e((function(e,r){return t(e)?a.request(e,r)||i.Observable.of():s.request(e,r)||i.Observable.of()})),Object.assign(o,{left:a,right:s})},e.execute=function(e,t){return e.request((0,o.createOperation)(t.context,(0,a.transformOperation)((0,s.validateOperation)(t))))||i.Observable.of()},e.concat=function(t,r){var n=u(t);if(l(n))return n;var o,a=u(r);return o=l(a)?new e((function(e){return n.request(e,(function(e){return a.request(e)||i.Observable.of()}))||i.Observable.of()})):new e((function(e,t){return n.request(e,(function(e){return a.request(e,t)||i.Observable.of()}))||i.Observable.of()})),Object.assign(o,{left:n,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(c)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rx});var s=function(){return"function"==typeof Symbol},c=function(e){return s()&&Boolean(Symbol[e])},u=function(e){return c(e)?Symbol[e]:"@@"+e};s()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),p=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:x}function m(e){return e instanceof x}function y(e){y.log?y.log(e):setTimeout((function(){throw e}))}function g(e){Promise.resolve().then((function(){try{e()}catch(e){y(e)}}))}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){y(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function S(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(b(e),!i)throw r;i.call(n,r);break;case"complete":b(e),i&&i.call(n)}}catch(e){y(e)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function _(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void g((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r1,i=!1,o=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[p]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=h(t,p);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return m(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(c("iterator")&&(i=h(t,l)))return new r((function(e){g((function(){if(!e.closed){for(var r,o=n(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){g((function(){if(!e.closed){for(var r=0;r{"use strict";r.r(t),r.d(t,{createOperation:()=>i});var n=r(103);function i(e,t){var r=(0,n.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,n.__assign)((0,n.__assign)({},r),e(r)):(0,n.__assign)((0,n.__assign)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.__assign)({},r)}}),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{transformOperation:()=>i});var n=r(423);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,n.getOperationName)(t.query)||void 0:""),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{checkDocument:()=>o,getDefaultValues:()=>f,getFragmentDefinition:()=>l,getFragmentDefinitions:()=>c,getMainDefinition:()=>p,getOperationDefinition:()=>a,getOperationName:()=>s,getQueryDefinition:()=>u});var n=r(349),i=r(424);function o(e){(0,n.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,n.newInvariantError)(89,e.kind);return e}));return(0,n.invariant)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function c(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function u(e){var t=a(e);return(0,n.invariant)(t&&"query"===t.operation,91),t}function l(e){(0,n.invariant)("Document"===e.kind,92),(0,n.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.invariant)("FragmentDefinition"===t.kind,94),t}function p(e){var t;o(e);for(var r=0,i=e.definitions;r{"use strict";r.r(t),r.d(t,{argumentsObjectFromField:()=>m,getStoreKeyName:()=>d,getTypenameFromResult:()=>g,isDocumentNode:()=>u,isField:()=>v,isInlineFragment:()=>b,isReference:()=>c,makeReference:()=>s,resultKeyNameFromField:()=>y,storeKeyNameFromField:()=>p,valueToObjectRepresentation:()=>l});var n=r(349),i=r(418),o=r(425),a=r(431);function s(e){return{__ref:String(e)}}function c(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.isNonNullObject)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return l(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(i||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return l(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n.newInvariantError)(96,t.value,r.kind);e[t.value]=null}}function p(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return l(n,r,i,t)}))),d(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export","nonreactive"],h=a.canonicalStringify,d=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(h(i),")")}return r.connection.key}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach((function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(h(r[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=h;return h=e,t}});function m(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function g(e,t,r){for(var n,i=0,a=t.selections;i{"use strict";r.r(t),r.d(t,{createFragmentMap:()=>s,getFragmentFromSelection:()=>c,getFragmentQueryDocument:()=>a,isFullyUnmaskedOperation:()=>u});var n=r(103),i=r(349),o=r(426);function a(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),void 0===r&&((0,i.invariant)(1===o.length,86,o.length),r=o[0].name.value),(0,n.__assign)((0,n.__assign)({},e),{definitions:(0,n.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function c(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.invariant)(n,87,r),n||null;default:return null}}function u(e){var t=!0;return(0,o.visit)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some((function(e){return"unmask"===e.name.value}))))return o.BREAK}}),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{BREAK:()=>s,getEnterLeaveForKind:()=>l,getVisitFn:()=>p,visit:()=>c,visitInParallel:()=>u});var n=r(427),i=r(428),o=r(429),a=r(430);const s=Object.freeze({});function c(e,t,r=o.QueryDocumentKeys){const c=new Map;for(const e of Object.values(a.Kind))c.set(e,l(t,e));let u,p,f,h=Array.isArray(e),d=[e],m=-1,y=[],g=e;const v=[],b=[];do{m++;const e=m===d.length,a=e&&0!==y.length;if(e){if(p=0===b.length?void 0:v[v.length-1],g=f,f=b.pop(),a)if(h){g=g.slice();let e=0;for(const[t,r]of y){const n=t-e;null===r?(g.splice(n,1),e++):g[n]=r}}else{g=Object.defineProperties({},Object.getOwnPropertyDescriptors(g));for(const[e,t]of y)g[e]=t}m=u.index,d=u.keys,y=u.edits,h=u.inArray,u=u.prev}else if(f){if(p=h?m:d[m],g=f[p],null==g)continue;v.push(p)}let l;if(!Array.isArray(g)){var S,_;(0,o.isNode)(g)||(0,n.devAssert)(!1,`Invalid AST Node: ${(0,i.inspect)(g)}.`);const r=e?null===(S=c.get(g.kind))||void 0===S?void 0:S.leave:null===(_=c.get(g.kind))||void 0===_?void 0:_.enter;if(l=null==r?void 0:r.call(t,g,p,f,v,b),l===s)break;if(!1===l){if(!e){v.pop();continue}}else if(void 0!==l&&(y.push([p,l]),!e)){if(!(0,o.isNode)(l)){v.pop();continue}g=l}}var E;if(void 0===l&&a&&y.push([p,g]),e)v.pop();else u={inArray:h,index:m,keys:d,edits:y,prev:u},h=Array.isArray(g),d=h?g:null!==(E=r[g.kind])&&void 0!==E?E:[],m=-1,y=[],f&&b.push(f),f=g}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}function u(e){const t=new Array(e.length).fill(null),r=Object.create(null);for(const n of Object.values(a.Kind)){let i=!1;const o=new Array(e.length).fill(void 0),a=new Array(e.length).fill(void 0);for(let t=0;t{"use strict";function n(e,t){if(!Boolean(e))throw new Error(t)}r.r(t),r.d(t,{devAssert:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{inspect:()=>o});const n=10,i=2;function o(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const r=Math.min(n,e.length),o=e.length-r,s=[];for(let n=0;n1&&s.push(`... ${o} more items`);return"["+s.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+a(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Location:()=>n,OperationTypeNode:()=>c,QueryDocumentKeys:()=>o,Token:()=>i,isNode:()=>s});class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(o));function s(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{Kind:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{canonicalStringify:()=>a});var n,i=r(432),o=r(434),a=Object.assign((function(e){return JSON.stringify(e,s)}),{reset:function(){n=new i.AutoCleanedStrongCache(o.cacheSizes.canonicalStringify||1e3)}});function s(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach((function(e){u[e]=t[e]})),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}a.reset()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{AutoCleanedStrongCache:()=>c,AutoCleanedWeakCache:()=>s});var n=r(433),i=r(345),o=new WeakSet;function a(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout((function(){e.clean(),o.delete(e)}),100))}var s=function(e,t){var r=new n.WeakCache(e,t);return r.set=function(e,t){var r=n.WeakCache.prototype.set.call(this,e,t);return a(this),r},r},c=function(e,t){var r=new i.StrongCache(e,t);return r.set=function(e,t){var r=i.StrongCache.prototype.set.call(this,e,t);return a(this),r},r}},(e,t,r)=>{"use strict";function n(){}r.r(t),r.d(t,{WeakCache:()=>c});const i=n,o="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class c{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const r=t.key;delete t.key,t.keyRef=new o(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{cacheSizes:()=>a});var n=r(103),i=r(349),o=Symbol.for("apollo.cacheSize"),a=(0,n.__assign)({},i.global[o])},(e,t,r)=>{"use strict";r.r(t),r.d(t,{validateOperation:()=>i});var n=r(349);function i(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(419),i=r(437),o=r(438),a=r(448),s=r(450),c=r(456),u=r(449),l=r(420),p=r(457),f=r(459),h=r(460);function d({uri:e="/graphql",useGETForQueries:t,isExtractableFile:r=h.default,FormData:d,formDataAppendFile:m=f.default,print:y=s.defaultPrinter,fetch:g,fetchOptions:v,credentials:b,headers:S,includeExtensions:_}={}){const E={http:{includeExtensions:_},options:v,credentials:b,headers:S};return new n.ApolloLink((n=>{const f=n.getContext(),{clientAwareness:{name:h,version:v}={},headers:b}=f,S={http:f.http,options:f.fetchOptions,credentials:f.credentials,headers:{...h&&{"apollographql-client-name":h},...v&&{"apollographql-client-version":v},...b}},{options:_,body:w}=(0,s.selectHttpOptionsAndBodyInternal)(n,y,s.fallbackHttpConfig,E,S),{clone:x,files:O}=(0,p.default)(w,r,"");let T=(0,c.selectURI)(n,e);if(O.size){_.headers&&delete _.headers["content-type"];const e=new(d||FormData);e.append("operations",(0,u.serializeFetchParameter)(x,"Payload"));const t={};let r=0;O.forEach((e=>{t[++r]=e})),e.append("map",JSON.stringify(t)),r=0,O.forEach(((t,n)=>{m(e,String(++r),n)})),_.body=e}else if(t&&!n.query.definitions.some((e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))&&(_.method="GET"),"GET"===_.method){const{newURI:e,parseError:t}=(0,a.rewriteURIForGET)(T,w);if(t)return new l.Observable((e=>{e.error(t)}));T=e}else _.body=(0,u.serializeFetchParameter)(x,"Payload");const{controller:P}=(0,i.createSignalIfSupported)();"boolean"!=typeof P&&(_.signal&&(_.signal.aborted?P.abort():_.signal.addEventListener("abort",(()=>{P.abort()}),{once:!0})),_.signal=P.signal);const C=g||fetch;return new l.Observable((e=>{let t;return C(T,_).then((e=>(n.setContext({response:e}),e))).then((0,o.parseAndCheckHttpResponse)(n)).then((t=>{e.next(t),e.complete()})).catch((r=>{t||(r.result&&r.result.errors&&r.result.data&&e.next(r.result),e.error(r))})),()=>{t=!0,"boolean"!=typeof P&&P.abort()}}))}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{createSignalIfSupported:()=>n});var n=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{handleError:()=>f,parseAndCheckHttpResponse:()=>h,parseHeaders:()=>l,parseJsonBody:()=>p,readMultipartBody:()=>u});var n=r(103),i=r(439),o=r(447),a=r(417),s=r(444),c=Object.prototype.hasOwnProperty;function u(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function(){var r,o,c,u,f,h,d,m,y,g,v,b,S,_,E,w,x,O,T,P,C,A,k,R;return(0,n.__generator)(this,(function(I){switch(I.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),o=null===(R=e.headers)||void 0===R?void 0:R.get("content-type"),c="boundary=",u=(null==o?void 0:o.includes(c))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(c))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",f="\r\n--".concat(u),h="",d=(0,i.responseIterator)(e),m=!0,I.label=1;case 1:return m?[4,d.next()]:[3,3];case 2:for(y=I.sent(),g=y.value,v=y.done,b="string"==typeof g?g:r.decode(g),S=h.length-f.length+1,m=!v,_=(h+=b).indexOf(f,S);_>-1;){if(E=void 0,A=[h.slice(0,_),h.slice(_+f.length)],h=A[1],w=(E=A[0]).indexOf("\r\n\r\n"),x=l(E.slice(0,w)),(O=x["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(T=E.slice(w))if(P=p(e,T),Object.keys(P).length>1||"data"in P||"incremental"in P||"errors"in P||"payload"in P)if((0,s.isApolloPayloadResult)(P)){if(C={},"payload"in P){if(1===Object.keys(P).length&&null===P.payload)return[2];C=(0,n.__assign)({},P.payload)}"errors"in P&&(C=(0,n.__assign)((0,n.__assign)({},C),{extensions:(0,n.__assign)((0,n.__assign)({},"extensions"in C?C.extensions:null),(k={},k[a.PROTOCOL_ERRORS_SYMBOL]=P.errors,k))})),t(C)}else t(P);else if(1===Object.keys(P).length&&"hasNext"in P&&!P.hasNext)return[2];_=h.indexOf(f)}return[3,1];case 3:return[2]}}))}))}function l(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function p(e,t){if(e.status>=300){(0,o.throwServerError)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function f(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function h(e){return function(t){return t.text().then((function(e){return p(t,e)})).then((function(r){return Array.isArray(r)||c.call(r,"data")||c.call(r,"errors")||(0,o.throwServerError)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),r}))}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{responseIterator:()=>c});var n=r(357),i=r(440),o=r(441),a=r(442),s=r(443);function c(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!n.canUseAsyncIteratorSymbol||!e[Symbol.asyncIterator])}(t))return(0,i.default)(t);if(function(e){return!!e.getReader}(t))return(0,s.default)(t.getReader());if(function(e){return!!e.stream}(t))return(0,s.default)(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return(0,a.default)(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return(0,o.default)(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}},(e,t,r)=>{"use strict";function n(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}r.r(t),r.d(t,{default:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(357);function i(e){var t=null,r=null,i=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function c(e){r=e,a.slice().forEach((function(t){t[1](e)})),!t||t()}function u(){i=!0,a.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",c),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",s),e.on("error",c),e.on("end",u),e.on("finish",u),e.on("close",u);var l={next:function(){return new Promise((function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):i?e({value:void 0,done:!0}):void a.push([e,t])}))}};return n.canUseAsyncIteratorSymbol&&(l[Symbol.asyncIterator]=function(){return this}),l}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(357);function i(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,r){e.then((function(e){t({value:e,done:!1})})).catch(r)})))}};return n.canUseAsyncIteratorSymbol&&(r[Symbol.asyncIterator]=function(){return this}),r}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(357);function i(e){var t={next:function(){return e.read()}};return n.canUseAsyncIteratorSymbol&&(t[Symbol.asyncIterator]=function(){return this}),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isApolloPayloadResult:()=>u,isExecutionPatchIncrementalResult:()=>a,isExecutionPatchInitialResult:()=>s,isExecutionPatchResult:()=>c,mergeIncrementalData:()=>l});var n=r(418),i=r(445),o=r(446);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function c(e){return a(e)||s(e)}function u(e){return(0,n.isNonNullObject)(e)&&"payload"in e}function l(e,t){var r=e,n=new o.DeepMerger;return a(t)&&(0,i.isNonEmptyArray)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=!isNaN(+a)?[]:{};s[a]=t,t=s}r=n.merge(r,t)})),r}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isArray:()=>n,isNonEmptyArray:()=>i});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DeepMerger:()=>u,mergeDeep:()=>a,mergeDeepArray:()=>s});var n=r(103),i=r(418),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t1)for(var n=new u,i=1;i{"use strict";r.r(t),r.d(t,{throwServerError:()=>n});var n=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{rewriteURIForGET:()=>i});var n=r(449);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.serializeFetchParameter)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.serializeFetchParameter)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",c=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),c=e.substr(0,u));var l=-1===c.indexOf("?")?"?":"&";return{newURI:c+l+r.join("&")+s}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{serializeFetchParameter:()=>i});var n=r(349),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var i=(0,n.newInvariantError)(42,t,e.message);throw i.parseError=e,i}return r}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultPrinter:()=>a,fallbackHttpConfig:()=>o,selectHttpOptionsAndBody:()=>s,selectHttpOptionsAndBodyInternal:()=>c});var n=r(103),i=r(451),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],i=2;i{"use strict";r.r(t),r.d(t,{print:()=>s});var n,i=r(452),o=r(432),a=r(434),s=Object.assign((function(e){var t=n.get(e);return t||(t=(0,i.print)(e),n.set(e,t)),t}),{reset:function(){n=new o.AutoCleanedWeakCache(a.cacheSizes.print||2e3)}});s.reset()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{print:()=>a});var n=r(453),i=r(455),o=r(426);function a(e){return(0,o.visit)(e,s)}const s={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=l("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+l(" = ",r)+l(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>u(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const o=l("",e,": ")+t;let a=o+l("(",c(r,", "),")");return a.length>80&&(a=o+l("(\n",p(c(r,"\n")),"\n)")),c([a,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+l(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",l("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${l("(",c(r,", "),")")} on ${t} ${l("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.printBlockString)(e):(0,i.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+l("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>l("",e,"\n")+c(["schema",c(t," "),u(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>l("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>l("",e,"\n")+c(["type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>l("",e,"\n")+t+(f(r)?l("(\n",p(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+": "+n+l(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>l("",e,"\n")+c([t+": "+r,l("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>l("",e,"\n")+c(["interface",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>l("",e,"\n")+c(["union",t,c(r," "),l("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>l("",e,"\n")+c(["enum",t,c(r," "),u(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>l("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>l("",e,"\n")+c(["input",t,c(r," "),u(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>l("",e,"\n")+"directive @"+t+(f(r)?l("(\n",p(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),u(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,l("implements ",c(t," & ")),c(r," "),u(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,l("implements ",c(t," & ")),c(r," "),u(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),l("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),u(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),u(r)]," ")}};function c(e,t=""){var r;return null!==(r=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function u(e){return l("{\n",p(c(e,"\n")),"\n}")}function l(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function p(e){return l(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{dedentBlockStringLines:()=>i,isPrintableAsBlockString:()=>a,printBlockString:()=>s});var n=r(454);function i(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let t=0;t0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t1&&i.slice(1).every((e=>0===e.length||(0,n.isWhiteSpace)(e.charCodeAt(0)))),s=r.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,p=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s);let f="";const h=o&&(0,n.isWhiteSpace)(e.charCodeAt(0));return(p&&!h||a)&&(f+="\n"),f+=r,(p||l)&&(f+="\n"),'"""'+f+'"""'}},(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.r(t),r.d(t,{isDigit:()=>i,isLetter:()=>o,isNameContinue:()=>s,isNameStart:()=>a,isWhiteSpace:()=>n})},(e,t,r)=>{"use strict";function n(e){return`"${e.replace(i,o)}"`}r.r(t),r.d(t,{printString:()=>n});const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}const a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},(e,t,r)=>{"use strict";r.r(t),r.d(t,{selectURI:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(458);function i(e,t,r=""){if(!arguments.length)throw new TypeError("Argument 1 `value` is required.");if("function"!=typeof t)throw new TypeError("Argument 2 `isExtractable` must be a function.");if("string"!=typeof r)throw new TypeError("Argument 3 `path` must be a string.");const i=new Map,o=new Map;return{clone:function e(r,a,s){if(t(r)){const e=o.get(r);return e?e.push(a):o.set(r,[a]),null}const c=Array.isArray(r)||"undefined"!=typeof FileList&&r instanceof FileList,u=(0,n.default)(r);if(c||u){let t=i.get(r);const n=!t;if(n&&(t=c?[]:r instanceof Object?{}:Object.create(null),i.set(r,t)),!s.has(r)){const i=a?`${a}.`:"",o=new Set(s).add(r);if(c){let a=0;for(const s of r){const r=e(s,i+a++,o);n&&t.push(r)}}else for(const a in r){const s=e(r[a],i+a,o);n&&(t[a]=s)}}return t}return r}(e,r,new Set),files:o}}},(e,t,r)=>{"use strict";function n(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}r.r(t),r.d(t,{default:()=>n})},(e,t,r)=>{"use strict";function n(e,t,r){"name"in r?e.append(t,r,r.name):e.append(t,r)}r.r(t),r.d(t,{default:()=>n})},(e,t,r)=>{"use strict";function n(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob}r.r(t),r.d(t,{default:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SentryLink:()=>u});var n=r(419),i=r(417),o=r(420),a=r(462),s=r(466),c=r(468);class u extends n.ApolloLink{options;constructor(e={}){super(),this.options=(0,s.withDefaults)(e)}request(e,t){const r=this.options;if(!(r.shouldHandleOperation?.(e)??1))return t(e);r.setTransaction&&(0,c.setTransaction)(e),r.setFingerprint&&(0,c.setFingerprint)(e);const n=r.attachBreadcrumbs,s=n?(0,a.makeBreadcrumb)(e,r):void 0;return new o.Observable((o=>{const a=t(e).subscribe({next:e=>{n&&(s.level=function(e){return e.errors&&e.errors.length>0?"error":"info"}(e),n.includeFetchResult&&(s.data.fetchResult=e),n.includeError&&e.errors&&e.errors.length>0&&(s.data.error=new i.ApolloError({graphQLErrors:e.errors}))),o.next(e)},complete:()=>{n&&(0,c.attachBreadcrumbToSentry)(e,s,r),o.complete()},error:t=>{if(n){let i;if(s.level="error",function(e){return"object"==typeof e&&null!==e&&"response"in e&&"result"in e&&"statusCode"in e}(t)){const{result:e,response:r,...o}=t;i=o,n.includeFetchResult&&(s.data.fetchResult=e)}else i=t;n.includeError&&(s.data.error=i),(0,c.attachBreadcrumbToSentry)(e,s,r)}o.error(t)}});return()=>{a.unsubscribe()}}))}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{makeBreadcrumb:()=>s});var n=r(463),i=r.n(n),o=r(452),a=r(465);function s(e,t){const r=t.attachBreadcrumbs,n=(0,a.extractDefinition)(e),s={},c=t.uri;c&&(s.url=c);const u=n.name?.value;u&&(s.operationName=u),r.includeQuery&&(s.query=n.loc?.source?.body??(0,o.print)(n)),r.includeVariables&&(s.variables=e.variables),r.includeCache&&(s.cache=e.getContext().cache?.data?.data??void 0);const l=r.includeContext;return l&&(s.context=function(e,t){const r={};return t.forEach((t=>{r[t]=i().get(e,t)})),r}(e.getContext(),l)),{type:"http",category:`graphql.${n.operation}`,data:s}}},(e,t,r)=>{"use strict";const n=r(464),i=new Set(["__proto__","prototype","constructor"]);function o(e){const t=e.split("."),r=[];for(let e=0;ei.has(e)))?[]:r}e.exports={get(e,t,r){if(!n(e)||"string"!=typeof t)return void 0===r?e:r;const i=o(t);if(0!==i.length){for(let t=0;t{"use strict";e.exports=e=>{const t=typeof e;return null!==e&&("object"===t||"function"===t)}},(e,t,r)=>{"use strict";function n(e){return e.query.definitions.find((e=>"OperationDefinition"===e.kind))}r.r(t),r.d(t,{extractDefinition:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultOptions:()=>o,withDefaults:()=>a});var n=r(467),i=r.n(n);const o={shouldHandleOperation:void 0,uri:void 0,setTransaction:!0,setFingerprint:!0,attachBreadcrumbs:{includeQuery:!1,includeVariables:!1,includeFetchResult:!1,includeError:!1,includeCache:!1,includeContext:!1,transform:void 0}};function a(e){return i()(o,e)}},e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,r){var i={};return r.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=n(e[t],r)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&r.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return c;var r=t.customMerge(e);return"function"==typeof r?r:c}(o,r)(e[o],t[o],r):i[o]=n(t[o],r))})),i}function c(e,r,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=n;var a=Array.isArray(r);return a===Array.isArray(e)?a?o.arrayMerge(e,r,o):s(e,r,o):n(r,o)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return c(e,r,t)}),{})};var u=c;e.exports=u},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_FINGERPRINT:()=>c,attachBreadcrumbToSentry:()=>l,setFingerprint:()=>u,setTransaction:()=>s});var n=r(290),i=r(470),o=r(465),a=r(469);function s(e){const t=(0,o.extractDefinition)(e).name;t&&(0,n.getCurrentScope)().setTransactionName(t.value)}const c="{{ default }}";function u(e){const t=(0,o.extractDefinition)(e).name;t&&(0,n.getCurrentScope)().setFingerprint([c,t.value])}function l(e,t,r){const n=r.attachBreadcrumbs&&"function"==typeof r.attachBreadcrumbs.transform?r.attachBreadcrumbs.transform(t,e):t;n.data=(0,a.stringifyObjectKeys)(n.data),(0,i.addBreadcrumb)(n)}},(e,t,r)=>{"use strict";function n(e){const t={};for(const[r,n]of Object.entries(e))t[r]="object"==typeof n?i(n):n;return t}function i(e){return JSON.stringify(e,null,2)}r.r(t),r.d(t,{stringify:()=>i,stringifyObjectKeys:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addBreadcrumb:()=>s});var n=r(290),i=r(303),o=r(305);const a=100;function s(e,t){const r=(0,n.getClient)(),s=(0,n.getIsolationScope)();if(!r)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:u=a}=r.getOptions();if(u<=0)return;const l={timestamp:(0,o.dateTimestampInSeconds)(),...e},p=c?(0,i.consoleSandbox)((()=>c(l,t))):l;null!==p&&(r.emit&&r.emit("beforeAddBreadcrumb",p,t),s.addBreadcrumb(p,u))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchHttpLink:()=>g});var n=r(103),i=r(419),o=r(349),a=r(473),s=r(474),c=r(420),u=r(475),l=r(450),p=r(456),f=r(449),h=r(438),d=r(476),m=r(472),y=(0,o.maybe)((function(){return fetch})),g=function(e){function t(t){var r=e.call(this)||this,i=t||{},g=i.uri,v=void 0===g?"/graphql":g,b=i.fetch,S=i.print,_=void 0===S?l.defaultPrinter:S,E=i.includeExtensions,w=i.preserveHeaderCase,x=i.batchInterval,O=i.batchDebounce,T=i.batchMax,P=i.batchKey,C=i.includeUnusedVariables,A=void 0!==C&&C,k=(0,n.__rest)(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","batchInterval","batchDebounce","batchMax","batchKey","includeUnusedVariables"]);var R={http:{includeExtensions:E,preserveHeaderCase:w},options:k.fetchOptions,credentials:k.credentials,headers:k.headers};r.batchDebounce=O,r.batchInterval=x||10,r.batchMax=T||10;return P=P||function(e){var t=e.getContext(),r={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:t.headers};return(0,p.selectURI)(e,v)+JSON.stringify(r)},r.batcher=new d.BatchLink({batchDebounce:r.batchDebounce,batchInterval:r.batchInterval,batchMax:r.batchMax,batchKey:P,batchHandler:function(e){var t=(0,p.selectURI)(e[0],v),r=e[0].getContext(),i={};if(r.clientAwareness){var d=r.clientAwareness,g=d.name,S=d.version;g&&(i["apollographql-client-name"]=g),S&&(i["apollographql-client-version"]=S)}var E={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:(0,n.__assign)((0,n.__assign)({},i),r.headers)},w=e.map((function(e){var t=e.query;return(0,a.hasDirectives)(["client"],t)?(0,s.removeClientSetsFromDocument)(t):t}));if(w.some((function(e){return!e})))return(0,u.fromError)(new Error("BatchHttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or enable the `transformOptions.removeClientFields` option."));var x,O=e.map((function(e,t){var r=(0,l.selectHttpOptionsAndBodyInternal)((0,n.__assign)((0,n.__assign)({},e),{query:w[t]}),_,l.fallbackHttpConfig,R,E);return r.body.variables&&!A&&(r.body.variables=(0,m.filterOperationVariables)(r.body.variables,e.query)),r})),T=O.map((function(e){return e.body})),P=O[0].options;if("GET"===P.method)return(0,u.fromError)(new Error("apollo-link-batch-http does not support GET requests"));try{P.body=(0,f.serializeFetchParameter)(T,"Payload")}catch(e){return(0,u.fromError)(e)}return P.signal||"undefined"==typeof AbortController||(x=new AbortController,P.signal=x.signal),new c.Observable((function(r){return(b||(0,o.maybe)((function(){return fetch}))||y)(t,P).then((function(t){return e.forEach((function(e){return e.setContext({response:t})})),t})).then((0,h.parseAndCheckHttpResponse)(e)).then((function(e){return x=void 0,r.next(e),r.complete(),e})).catch((function(e){x=void 0,e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e)})),function(){x&&x.abort()}}))}}),r}return(0,n.__extends)(t,e),t.prototype.request=function(e){return this.batcher.request(e)},t}(i.ApolloLink)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{filterOperationVariables:()=>o});var n=r(103),i=r(426);function o(e,t){var r=(0,n.__assign)({},e),o=new Set(Object.keys(e));return(0,i.visit)(t,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&o.delete(e.name.value)}}),o.forEach((function(e){delete r[e]})),r}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDirectiveNames:()=>a,getFragmentMaskMode:()=>f,getInclusionDirectives:()=>p,hasAllDirectives:()=>c,hasAnyDirectives:()=>s,hasClientExports:()=>l,hasDirectives:()=>u,shouldInclude:()=>o});var n=r(349),i=r(426);function o(e,t){var r=e.directives;return!r||!r.length||p(r).every((function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.invariant)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function a(e){var t=[];return(0,i.visit)(e,{Directive:function(e){t.push(e.name.value)}}),t}var s=function(e,t){return u(e,t,!1)},c=function(e,t){return u(e,t,!0)};function u(e,t,r){var n=new Set(e),o=n.size;return(0,i.visit)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.BREAK}}),r?!n.size:n.size{"use strict";r.r(t),r.d(t,{addNonReactiveToNamedFragments:()=>w,addTypenameToDocument:()=>y,buildQueryFromSelectionSet:()=>_,removeArgumentsFromDocument:()=>b,removeClientSetsFromDocument:()=>E,removeConnectionDirectiveFromDocument:()=>v,removeDirectivesFromDocument:()=>m,removeFragmentSpreadFromDocument:()=>S});var n=r(103),i=(r(349),r(430)),o=r(426),a=r(423),s=r(424),c=r(425),u=r(445),l={kind:i.Kind.FIELD,name:{kind:i.Kind.NAME,value:"__typename"}};function p(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===i.Kind.FRAGMENT_SPREAD&&p(t[e.name.value],t)}))}function f(e){return p((0,a.getOperationDefinition)(e)||(0,a.getFragmentDefinition)(e),(0,c.createFragmentMap)((0,a.getFragmentDefinitions)(e)))?null:e}function h(e){var t=new Map,r=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))})),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach((function(t,r){r(e)&&(n=t)})),n}}function d(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function m(e,t){(0,a.checkDocument)(t);for(var r=d(""),s=d(""),c=function(e){for(var t=0,n=void 0;t=0;--p)t.definitions[p].kind===i.Kind.OPERATION_DEFINITION&&++l;var m=h(e),y=function(e){return(0,u.isNonEmptyArray)(e)&&e.map(m).some((function(e){return e&&e.remove}))},g=new Map,v=!1,b={enter:function(e){if(y(e.directives))return v=!0,null}},S=(0,o.visit)(t,{Field:b,InlineFragment:b,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(y(e.directives))return v=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){g.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===g.get(JSON.stringify(n))?e:l>0&&e.selectionSet.selections.every((function(e){return e.kind===i.Kind.FIELD&&"__typename"===e.name.value}))?(s(e.name.value).removed=!0,v=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return v=!0,null}}});if(!v)return t;var _=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){_(s(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},E=new Set;S.definitions.forEach((function(e){e.kind===i.Kind.OPERATION_DEFINITION?_(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){E.add(e)})):e.kind!==i.Kind.FRAGMENT_DEFINITION||0!==l||s(e.name.value).removed||E.add(e.name.value)})),E.forEach((function(e){_(s(e)).fragmentSpreads.forEach((function(e){E.add(e)}))}));var w={enter:function(e){if(t=e.name.value,!E.has(t)||s(t).removed)return null;var t}};return f((0,o.visit)(S,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=_(r(e.name&&e.name.value)).transitiveVars;if(t.size{"use strict";r.r(t),r.d(t,{fromError:()=>i});var n=r(420);function i(e){return new n.Observable((function(t){t.error(e)}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchLink:()=>a,OperationBatcher:()=>o.OperationBatcher});var n=r(103),i=r(419),o=r(477),a=function(e){function t(t){var r=e.call(this)||this,n=t||{},i=n.batchDebounce,a=n.batchInterval,s=void 0===a?10:a,c=n.batchMax,u=void 0===c?0:c,l=n.batchHandler,p=void 0===l?function(){return null}:l,f=n.batchKey,h=void 0===f?function(){return""}:f;return r.batcher=new o.OperationBatcher({batchDebounce:i,batchInterval:s,batchMax:u,batchHandler:p,batchKey:h}),t.batchHandler.length<=1&&(r.request=function(e){return r.batcher.enqueueRequest({operation:e})}),r}return(0,n.__extends)(t,e),t.prototype.request=function(e,t){return this.batcher.enqueueRequest({operation:e,forward:t})},t}(i.ApolloLink)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{OperationBatcher:()=>o});var n=r(103),i=r(420),o=function(){function e(e){var t=e.batchDebounce,r=e.batchInterval,n=e.batchMax,i=e.batchHandler,o=e.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=t,this.batchInterval=r,this.batchMax=n||0,this.batchHandler=i,this.batchKey=o||function(){return""}}return e.prototype.enqueueRequest=function(e){var t=this,r=(0,n.__assign)((0,n.__assign)({},e),{next:[],error:[],complete:[],subscribers:new Set}),o=this.batchKey(e.operation);return r.observable||(r.observable=new i.Observable((function(e){var n=t.batchesByKey.get(o);n||t.batchesByKey.set(o,n=new Set);var i=0===n.size,a=0===r.subscribers.size;return r.subscribers.add(e),a&&n.add(r),e.next&&r.next.push(e.next.bind(e)),e.error&&r.error.push(e.error.bind(e)),e.complete&&r.complete.push(e.complete.bind(e)),(i||t.batchDebounce)&&t.scheduleQueueConsumption(o),n.size===t.batchMax&&t.consumeQueue(o),function(){var i;r.subscribers.delete(e)&&r.subscribers.size<1&&n.delete(r)&&n.size<1&&(t.consumeQueue(o),null===(i=n.subscription)||void 0===i||i.unsubscribe())}}))),r.observable},e.prototype.consumeQueue=function(e){void 0===e&&(e="");var t=this.batchesByKey.get(e);if(this.batchesByKey.delete(e),t&&t.size){var r=[],n=[],o=[],a=[],s=[],c=[];t.forEach((function(e){r.push(e.operation),n.push(e.forward),o.push(e.observable),a.push(e.next),s.push(e.error),c.push(e.complete)}));var u=this.batchHandler(r,n)||i.Observable.of(),l=function(e){s.forEach((function(t){t&&t.forEach((function(t){return t(e)}))}))};return t.subscription=u.subscribe({next:function(e){if(Array.isArray(e)||(e=[e]),a.length!==e.length){var t=new Error("server returned results with length ".concat(e.length,", expected length of ").concat(a.length));return t.result=e,l(t)}e.forEach((function(e,t){a[t]&&a[t].forEach((function(t){return t(e)}))}))},error:l,complete:function(){c.forEach((function(e){e&&e.forEach((function(e){return e()}))}))}}),o}},e.prototype.scheduleQueueConsumption=function(e){var t=this;clearTimeout(this.scheduledBatchTimerByKey.get(e)),this.scheduledBatchTimerByKey.set(e,setTimeout((function(){t.consumeQueue(e),t.scheduledBatchTimerByKey.delete(e)}),this.batchInterval))},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloClient:()=>f,mergeOptions:()=>p.mergeOptions});var n=r(103),i=r(349),o=r(419),a=r(495),s=r(352),c=r(504),u=r(479),l=r(501),p=r(503),f=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.newInvariantError)(16);var a=e.uri,p=e.credentials,f=e.headers,h=e.cache,d=e.documentTransform,m=e.ssrMode,y=void 0!==m&&m,g=e.ssrForceFetchDelay,v=void 0===g?0:g,b=e.connectToDevTools,S=e.queryDeduplication,_=void 0===S||S,E=e.defaultOptions,w=e.defaultContext,x=e.assumeImmutableResults,O=void 0===x?h.assumeImmutableResults:x,T=e.resolvers,P=e.typeDefs,C=e.fragmentMatcher,A=e.name,k=e.version,R=e.devtools,I=e.dataMasking,D=e.link;D||(D=a?new c.HttpLink({uri:a,credentials:p,headers:f}):o.ApolloLink.empty()),this.link=D,this.cache=h,this.disableNetworkFetches=y||v>0,this.queryDeduplication=_,this.defaultOptions=E||Object.create(null),this.typeDefs=P,this.devtoolsConfig=(0,n.__assign)((0,n.__assign)({},R),{enabled:null!==(t=null==R?void 0:R.enabled)&&void 0!==t?t:b}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1),v&&setTimeout((function(){return r.disableNetworkFetches=!1}),v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.version,this.localState=new l.LocalState({cache:h,client:this,resolvers:T,fragmentMatcher:C}),this.queryManager=new u.QueryManager({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:w,documentTransform:d,queryDeduplication:_,ssrMode:y,dataMasking:!!I,clientAwareness:{name:A,version:k},localState:this.localState,assumeImmutableResults:O,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,p.mergeOptions)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,p.mergeOptions)(this.defaultOptions.query,e)),(0,i.invariant)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,p.mergeOptions)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map((function(i){return(0,n.__assign)((0,n.__assign)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})}))},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.__assign)((0,n.__assign)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var i=Promise.all(n);return i.queries=r,i.results=n,i.catch((function(e){})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{QueryManager:()=>I});var n=r(103),i=r(349),o=(r(480),r(495)),a=r(444),s=r(473),c=r(474),u=r(431),l=r(492),p=r(493),f=r(490),h=r(445),d=r(423),m=r(424),y=r(418),g=r(356),v=r(420),b=r(494),S=r(417),_=r(481),E=r(482),w=r(489),x=r(451),O=r(491),T=r(432),P=r(434),C=r(496),A=r(500),k=Object.prototype.hasOwnProperty,R=Object.create(null),I=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new T.AutoCleanedWeakCache(P.cacheSizes["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new O.Trie(!1),this.noCacheWarningsByQueryId=new Set;var r=new l.DocumentTransform((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i.newInvariantError)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.__awaiter)(this,arguments,void 0,(function(e){var t,r,o,a,s,c,u,l=e.mutation,h=e.variables,d=e.optimisticResponse,m=e.updateQueries,y=e.refetchQueries,g=void 0===y?[]:y,v=e.awaitRefetchQueries,b=void 0!==v&&v,_=e.update,E=e.onQueryUpdated,w=e.fetchPolicy,x=void 0===w?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.fetchPolicy)||"network-only":w,O=e.errorPolicy,T=void 0===O?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.errorPolicy)||"none":O,P=e.keepRootFields,C=e.context;return(0,n.__generator)(this,(function(e){switch(e.label){case 0:return(0,i.invariant)(l,28),(0,i.invariant)("network-only"===x||"no-cache"===x,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,h=this.getVariables(l,h),r?[4,this.localState.addExportedVariables(l,h,C)]:[3,2];case 1:h=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:h,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:t,document:l,variables:h,fetchPolicy:x,errorPolicy:T,context:C,updateQueries:m,update:_,keepRootFields:P}),this.broadcastQueries(),s=this,[2,new Promise((function(e,r){return(0,p.asyncMap)(s.getObservableFromLink(l,(0,n.__assign)((0,n.__assign)({},C),{optimisticResponse:a?d:void 0}),h,{},!1),(function(e){if((0,f.graphQLResultHasError)(e)&&"none"===T)throw new S.ApolloError({graphQLErrors:(0,f.getGraphQLErrorsFromResult)(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.__assign)({},e);return"function"==typeof g&&(g=g(r)),"ignore"===T&&(0,f.graphQLResultHasError)(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:h,fetchPolicy:x,errorPolicy:T,context:C,update:_,updateQueries:m,awaitRefetchQueries:b,refetchQueries:g,removeOptimistic:a?t:void 0,onQueryUpdated:E,keepRootFields:P})})).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.__assign)((0,n.__assign)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:x,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof S.ApolloError?e:new S.ApolloError({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&(0,w.shouldWriteResult)(i,e.errorPolicy)){if((0,a.isExecutionPatchIncrementalResult)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,a.isExecutionPatchIncrementalResult)(i)&&(0,h.isNonEmptyArray)(i.incremental)){var c=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),u=void 0;c.result&&(u=(0,a.mergeIncrementalData)(c.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach((function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&k.call(l,s)){var c=l[s],u=r.queries.get(n),p=u.document,f=u.variables,h=t.diff({query:p,variables:f,returnPartialData:!0,optimistic:!1}),m=h.result;if(h.complete&&m){var y=c(m,{mutationResult:i,queryName:p&&(0,d.getOperationName)(p)||void 0,queryVariables:f});y&&o.push({result:y,dataId:"ROOT_QUERY",query:p,variables:f})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var p=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var c=e.update,u=!(0,a.isExecutionPatchResult)(i)||(0,a.isExecutionPatchIncrementalResult)(i)&&!i.hasNext;if(c){if(!s){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,n.__assign)((0,n.__assign)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&c(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return p.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(p).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,i="function"==typeof e?e(t.variables,{IGNORE:R}):e;return i!==R&&(this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.__assign)((0,n.__assign)({},t),{result:{data:i}}),e)}catch(e){}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,s.hasClientExports)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,s.hasDirectives)(["nonreactive"],e),nonReactiveQuery:(0,c.addNonReactiveToNamedFragments)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,c.removeDirectivesFromDocument)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,d.getDefaultValues)((0,d.getOperationDefinition)(e)),asQuery:(0,n.__assign)((0,n.__assign)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.__assign)((0,n.__assign)({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.__assign)((0,n.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.__assign)((0,n.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new w.QueryInfo(this),i=new _.ObservableQuery({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.invariant)(e.query,30),(0,i.invariant)("Document"===e.query.kind,31),(0,i.invariant)(!e.returnPartialData,32),(0,i.invariant)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.__assign)((0,n.__assign)({},e),{query:o})).then((function(i){return i&&(0,n.__assign)((0,n.__assign)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})})).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,i.newInvariantError)(34)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=E.NetworkStatus.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,m.isDocumentNode)(e)){var r=(0,x.print)(t.transform(e));o.set(r,(0,d.getOperationName)(e)),a.set(r,!1)}else(0,y.isNonNullObject)(e)&&e.query&&s.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,x.print)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,x.print)(o),!0))}})),s.size&&s.forEach((function(e){var o=(0,g.makeUniqueId)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new _.ObservableQuery({queryManager:t,queryInfo:a,options:(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:"network-only"})});(0,i.invariant)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var p=function(e){return t.getObservableFromLink(r,c,e,l).map((function(n){"no-cache"!==i&&((0,w.shouldWriteResult)(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=(0,f.graphQLResultHasError)(n),s=(0,S.graphQLResultHasProtocolErrors)(n);if(o||s){var c={};if(o&&(c.graphQLErrors=n.errors),s&&(c.protocolErrors=n.extensions[S.PROTOCOL_ERRORS_SYMBOL]),"none"===a||s)throw new S.ApolloError(c)}return"ignore"===a&&delete n.errors,n}))};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,c).then(p);return new v.Observable((function(e){var t=null;return h.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return p(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,a){var s,c,l=this;void 0===a&&(a=null!==(s=null==t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var f=this.getDocumentInfo(e),h=f.serverQuery,m=f.clientQuery;if(h){var y=this.inFlightLinkObservables,g=this.link,S={query:h,variables:r,operationName:(0,d.getOperationName)(h)||void 0,context:this.prepareContext((0,n.__assign)((0,n.__assign)({},t),{forceFetch:!a})),extensions:i};if(t=S.context,a){var _=(0,x.print)(h),E=(0,u.canonicalStringify)(r),w=y.lookup(_,E);if(!(c=w.observable)){var O=new b.Concast([(0,o.execute)(g,S)]);c=w.observable=O,O.beforeNext((function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?O.beforeNext(e):y.remove(_,E)}))}}else c=new b.Concast([(0,o.execute)(g,S)])}else c=new b.Concast([v.Observable.of({data:{}})]),t=this.prepareContext(t);return m&&(c=(0,p.asyncMap)(c,(function(e){return l.localState.runResolvers({document:m,remoteResult:e,context:t,variables:r})}))),c},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return(0,p.asyncMap)(this.getObservableFromLink(i,r.context,r.variables),(function(o){var a=(0,f.getGraphQLErrorsFromResult)(o),s=a.length>0,c=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new S.ApolloError({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:E.NetworkStatus.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=a,u.networkStatus=E.NetworkStatus.error),u}),(function(t){var r=(0,S.isApolloError)(t)?t:new S.ApolloError({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i=this;void 0===r&&(r=E.NetworkStatus.loading),void 0===n&&(n=t.query);var o,a,s=this.getVariables(n,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,p=void 0===l?u&&u.fetchPolicy||"cache-first":l,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,d=t.returnPartialData,m=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,g=void 0!==y&&y,v=t.context,S=void 0===v?{}:v,_=Object.assign({},t,{query:n,variables:s,fetchPolicy:p,errorPolicy:h,returnPartialData:m,notifyOnNetworkStatusChange:g,context:S}),w=function(e){_.variables=e;var n=i.fetchQueryByPolicy(c,_,r);return"standby"!==_.fetchPolicy&&n.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),n},x=function(){return i.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){x(),setTimeout((function(){return o.cancel(e)}))})),this.getDocumentInfo(_.query).hasClientExports)o=new b.Concast(this.localState.addExportedVariables(_.query,_.variables,_.context).then(w).then((function(e){return e.sources}))),a=!0;else{var O=w(_.variables);a=O.fromLink,o=new b.Concast(O.sources)}return o.promise.then(x,x),{concast:o,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,g.makeUniqueId)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof w.QueryInfo&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=c(i,a,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t=e.document,r=e.data;return this.dataMasking?(0,C.maskOperation)(r,t,this.cache):r},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,A.maskFragment)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,c=t.refetchWritePolicy,u=t.errorPolicy,l=t.returnPartialData,p=t.context,f=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var d=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||E.NetworkStatus.loading);var s=t.result;var c=function(e){return v.Observable.of((0,n.__assign)({data:e,loading:(0,E.isNetworkRequestInFlight)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===u&&r===E.NetworkStatus.refetch&&Array.isArray(t.missing)?c(void 0):c(s)},y="no-cache"===s?0:r===E.NetworkStatus.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,y,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:u})},b=f&&"number"==typeof h&&h!==r&&(0,E.isNetworkRequestInFlight)(r);switch(s){default:case"cache-first":return(S=d()).complete?{fromLink:!1,sources:[m(S,e.markReady())]}:l||b?{fromLink:!0,sources:[m(S),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var S;return(S=d()).complete||l||b?{fromLink:!0,sources:[m(S),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(d(),e.markReady())]};case"network-only":return b?{fromLink:!0,sources:[m(d()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return b?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new w.QueryInfo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.__assign)((0,n.__assign)((0,n.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,equal:()=>s});const{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return u(e,t)}finally{a.clear()}}const c=s;function u(e,t){if(e===t)return!0;const r=n.call(e);if(r!==n.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(h(e,t))return!0;const r=l(e),n=l(t),o=r.length;if(o!==n.length)return!1;for(let e=0;e=0&&e.indexOf(t,r)===r}(r,f)}}return!1}function l(e){return Object.keys(e).filter(p,e)}function p(e){return void 0!==this[e]}const f="{ [native code] }";function h(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObservableQuery:()=>g,logMissingFieldErrors:()=>S,reobserveCacheFirst:()=>v});var n=r(103),i=r(349),o=r(480),a=r(482),s=r(423),c=r(484),u=r(485),l=r(486),p=r(487),f=r(420),h=r(488),d=r(417),m=r(483),y=Object.assign,g=(Object.hasOwnProperty,function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=b)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(a.maskResult(n.result)),r&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=_(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var c=r.defaultOptions.watchQuery,u=(void 0===c?{}:c).fetchPolicy,l=void 0===u?"cache-first":u,p=o.fetchPolicy,f=void 0===p?l:p,h=o.initialFetchPolicy,d=void 0===h?"standby"===f?l:f:h;a.options=(0,n.__assign)((0,n.__assign)({},o),{initialFetchPolicy:d,fetchPolicy:f}),a.queryId=i.queryId||r.generateQueryId();var m=(0,s.getOperationDefinition)(a.query);return a.queryName=m&&m.name&&m.name.value,a}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.NetworkStatus.ready,i=(0,n.__assign)((0,n.__assign)({},t),{loading:(0,a.isNetworkRequestInFlight)(r),networkStatus:r}),s=this.options.fetchPolicy,c=void 0===s?"cache-first":s;if(_(c)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(i.data=u.result),(0,o.equal)(i.data,{})&&(i.data=void 0),u.complete?(delete i.partial,!u.complete||i.networkStatus!==a.NetworkStatus.loading||"cache-first"!==c&&"cache-only"!==c||(i.networkStatus=a.NetworkStatus.ready,i.loading=!1)):i.partial=!0}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,m.equalByQuery)(i,this.last.result,e,this.variables):!(0,o.equal)(this.last.result,e))||t&&!(0,o.equal)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.equal)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},r=this.options.fetchPolicy;return t.fetchPolicy="cache-and-network"===r?r:"no-cache"===r?"no-cache":"network-only",e&&!(0,o.equal)(this.options.variables,e)&&(t.variables=this.options.variables=(0,n.__assign)((0,n.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(t,a.NetworkStatus.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.__assign)((0,n.__assign)({},e.query?e:(0,n.__assign)((0,n.__assign)((0,n.__assign)((0,n.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,n.__assign)((0,n.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,c=s.networkStatus;s.networkStatus=a.NetworkStatus.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set,l=null==e?void 0:e.updateQuery,p="no-cache"!==this.options.fetchPolicy;return p||(0,i.invariant)(l,22),this.queryManager.fetchQuery(o,r,a.NetworkStatus.fetchMore).then((function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.NetworkStatus.fetchMore&&(s.networkStatus=c),p)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})})):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var f=t.getLast("result"),h=l(f.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.__assign)((0,n.__assign)({},f),{networkStatus:c,loading:(0,a.isNetworkRequestInFlight)(c),data:h}),t.variables)}return t.maskResult(i)})).finally((function(){p&&!u.has(t.query)&&v(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery((function(e,t){return i(e,(0,n.__assign)({subscriptionData:r},t))}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,c.compact)(this.options,e||{});y(this.options,t)},t.prototype.setVariables=function(e){return(0,o.equal)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.NetworkStatus.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r&&this.hasObservers()){if(!t||t.interval!==r){(0,i.invariant)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.isNetworkRequestInFlight)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.NetworkStatus.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.equal)(t,this.last.variables)&&(r=void 0),this.last=(0,n.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,u.cloneDeep)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.NetworkStatus.refetch||t===a.NetworkStatus.fetchMore||t===a.NetworkStatus.poll,s=this.options.variables,u=this.options.fetchPolicy,l=(0,c.compact)(this.options,e||{}),p=i?l:y(this.options,l),f=this.transformDocument(p.query);this.lastQuery=f,i||(this.updatePolling(),!e||!e.variables||(0,o.equal)(e.variables,s)||"standby"===p.fetchPolicy||p.fetchPolicy!==u&&"function"!=typeof p.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",p),void 0===t&&(t=a.NetworkStatus.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=_(p.fetchPolicy));var h=function(){r.concast===v&&(r.waitForOwnResult=!1)},m=p.variables&&(0,n.__assign)({},p.variables),g=this.fetch(p,t,f),v=g.concast,b=g.fromLink,S={next:function(e){(0,o.equal)(r.variables,m)&&(h(),r.reportResult(e,m))},error:function(e){(0,o.equal)(r.variables,m)&&((0,d.isApolloError)(e)||(e=new d.ApolloError({networkError:e})),h(),r.reportError(e,m))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=S),v.addObserver(S),v},t.prototype.reobserve=function(e,t){return(0,l.preventUnhandledRejection)(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.__assign)((0,n.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(f.Observable));function v(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function b(e){}function S(e){0}function _(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,h.fixObservableSubclass)(g)},(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}r.r(t),r.d(t,{NetworkStatus:()=>n,isNetworkRequestInFlight:()=>i,isNetworkRequestSettled:()=>o}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{equalByQuery:()=>u});var n=r(103),i=r(480),o=r(423),a=r(425),s=r(473),c=r(424);function u(e,t,r,s){var c=t.data,u=(0,n.__rest)(t,["data"]),p=r.data,f=(0,n.__rest)(r,["data"]);return(0,i.default)(u,f)&&l((0,o.getMainDefinition)(e).selectionSet,c,p,{fragmentMap:(0,a.createFragmentMap)((0,o.getFragmentDefinitions)(e)),variables:s})}function l(e,t,r,n){if(t===r)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;if(o.add(e),!(0,s.shouldInclude)(e,n.variables))return!0;if(p(e))return!0;if((0,c.isField)(e)){var u=(0,c.resultKeyNameFromField)(e),f=t&&t[u],h=r&&r[u],d=e.selectionSet;if(!d)return(0,i.default)(f,h);var m=Array.isArray(f),y=Array.isArray(h);if(m!==y)return!1;if(m&&y){var g=f.length;if(h.length!==g)return!1;for(var v=0;v{"use strict";function n(){for(var e=[],t=0;tn})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{cloneDeep:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=o(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=o(e[r],t)})),i;default:return e}}},(e,t,r)=>{"use strict";function n(e){return e.catch((function(){})),e}r.r(t),r.d(t,{preventUnhandledRejection:()=>n})},(e,t,r)=>{"use strict";function n(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}r.r(t),r.d(t,{iterateObserversSafely:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{fixObservableSubclass:()=>o});var n=r(420),i=r(357);function o(e){function t(t){Object.defineProperty(e,t,{value:n.Observable})}return i.canUseSymbol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{QueryInfo:()=>m,shouldWriteResult:()=>y});var n=r(103),i=r(480),o=r(446),a=r(444),s=r(481),c=r(357),u=r(445),l=r(490),p=r(482),f=new(c.canUseWeakMap?WeakMap:Map);function h(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return f.set(e,(f.get(e)+1)%1e15),r.apply(this,arguments)})}function d(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var m=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;f.has(r)||(f.set(r,0),h(r,"evict"),h(r,"modify"),h(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||p.NetworkStatus.loading;return this.variables&&this.networkStatus!==p.NetworkStatus.loading&&!(0,i.equal)(this.variables,e.variables)&&(t=p.NetworkStatus.setVariables),(0,i.equal)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){d(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,i.equal)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||(0,i.equal)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return r.notify()}),0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,s.reobserveCacheFirst)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;d(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,p.isNetworkRequestInFlight)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var o=(0,n.__assign)((0,n.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,i.equal)(o,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=o))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===f.get(this.cache)&&(0,i.equal)(t,r.variables)&&(0,i.equal)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var s=this,c=new o.DeepMerger,l=(0,u.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,u.isNonEmptyArray)(e.incremental)){var p=(0,a.mergeIncrementalData)(this.getDiff().result,e);e.data=p}else if("hasNext"in e&&e.hasNext){var h=this.getDiff();e.data=c.merge(h.result,e.data)}this.graphQLErrors=l,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(y(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(s.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),s.lastWrite={result:e,variables:r.variables,dmCount:f.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete)return void(e.data=s.lastDiff.diff.result);var a=s.getDiffOptions(r.variables),c=o.diff(a);!s.stopped&&(0,i.equal)(s.variables,r.variables)&&s.updateWatch(r.variables),s.updateLastDiff(c,a),c.complete&&(e.data=c.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=p.NetworkStatus.ready},e.prototype.markError=function(e){return this.networkStatus=p.NetworkStatus.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function y(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,l.graphQLResultHasError)(e);return!n&&r&&e.data&&(n=!0),n}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getGraphQLErrorsFromResult:()=>a,graphQLResultHasError:()=>o});var n=r(445),i=r(444);function o(e){var t=a(e);return(0,n.isNonEmptyArray)(t)}function a(e){var t=(0,n.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];return(0,i.isExecutionPatchIncrementalResult)(e)&&(0,n.isNonEmptyArray)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Trie:()=>s});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r{"use strict";r.r(t),r.d(t,{DocumentTransform:()=>p});var n=r(491),i=r(357),o=r(423),a=r(349),s=r(433),c=r(337),u=r(434);function l(e){return e}var p=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.canUseWeakSet?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.Trie(i.canUseWeakMap);this.performWork=(0,c.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.invariant)(Array.isArray(n),77),r.lookupArray(n)},max:u.cacheSizes["documentTransform.cache"],cache:s.WeakCache})}},e.prototype.performWork=function(e){return(0,o.checkDocument)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e((function(e){return t.transformDocument(r.transformDocument(e))}),{cache:!1}),{left:this,right:t})},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{asyncMap:()=>i});var n=r(420);function i(e,t,r){return new n.Observable((function(n){var i={then:function(e){return new Promise((function(t){return t(e())}))}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then((function(e){return n.next(e)}),(function(e){return n.error(e)}))}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then((function(){return n.complete()}))}},s=e.subscribe(a);return function(){return s.unsubscribe()}}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Concast:()=>c});var n=r(103),i=r(420),o=r(487),a=r(488);function s(e){return e&&"function"==typeof e.then}var c=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,o.iterateObserversSafely)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,o.iterateObserversSafely)(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?s(i)?i.then((function(e){return r.sub=e.subscribe(r.handlers)}),r.handlers.error):r.sub=i.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,o.iterateObserversSafely)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new i.Observable(t)]),s(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(r,n){t||(t=!0,e(r,n))}))},t}(i.Observable);(0,a.fixObservableSubclass)(c)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{execute:()=>n});var n=r(419).ApolloLink.execute},(e,t,r)=>{"use strict";r.r(t),r.d(t,{maskOperation:()=>c});var n=r(349),i=r(423),o=r(425),a=r(497),s=r(498);function c(e,t,r){var c;if(!r.fragmentMatches)return e;var u=(0,i.getOperationDefinition)(t);return(0,n.invariant)(u,51),null==e?e:(0,a.maskDefinition)(e,u.selectionSet,{operationType:u.operation,operationName:null===(c=u.name)||void 0===c?void 0:c.value,fragmentMap:(0,o.createFragmentMap)((0,i.getFragmentDefinitions)(t)),cache:r,mutableTargets:new s.MapImpl,knownChanged:new s.SetImpl})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{maskDefinition:()=>u});var n=r(430),i=r(499),o=r(424),a=r(473),s=r(498),c=r(349);function u(e,t,r){return s.disableWarningsSlot.withValue(!0,(function(){var n=l(e,t,r,!1);return Object.isFrozen(e)&&(0,i.maybeDeepFreeze)(n),n}))}function l(e,t,r,i,s){var u=r.knownChanged,p=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(e,r.mutableTargets);if(Array.isArray(e)){for(var f=0,h=Array.from(e.entries());f{"use strict";r.r(t),r.d(t,{MapImpl:()=>o,SetImpl:()=>a,disableWarningsSlot:()=>s,warnOnImproperCacheImplementation:()=>u});var n=r(337),i=(r(349),r(357)),o=i.canUseWeakMap?WeakMap:Map,a=i.canUseWeakSet?WeakSet:Set,s=new n.Slot,c=!1;function u(){c||(c=!0)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{deepFreeze:()=>i,maybeDeepFreeze:()=>o});var n=r(418);function i(e){var t=new Set([e]);return t.forEach((function(e){(0,n.isNonNullObject)(e)&&function(e){0;return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){(0,n.isNonNullObject)(e[r])&&t.add(e[r])}))})),e}function o(e){return e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{maskFragment:()=>l});var n=r(430),i=r(498),o=r(349),a=r(480),s=r(497),c=r(425),u=r(423);function l(e,t,r,l){if(!r.fragmentMatches)return e;var p=t.definitions.filter((function(e){return e.kind===n.Kind.FRAGMENT_DEFINITION}));void 0===l&&((0,o.invariant)(1===p.length,49,p.length),l=p[0].name.value);var f=p.find((function(e){return e.name.value===l}));return(0,o.invariant)(!!f,50,l),null==e||(0,a.default)(e,{})?e:(0,s.maskDefinition)(e,f.selectionSet,{operationType:"fragment",operationName:f.name.value,fragmentMap:(0,c.createFragmentMap)((0,u.getFragmentDefinitions)(t)),cache:r,mutableTargets:new i.MapImpl,knownChanged:new i.SetImpl})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{LocalState:()=>d});var n=r(103),i=r(349),o=r(426),a=r(502),s=r(446),c=r(473),u=r(474),l=r(423),p=r(425),f=r(424),h=r(336),d=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,s.mergeDeep)(t.resolvers,e)})):this.resolvers=(0,s.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.__awaiter)(this,arguments,void 0,(function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,n.__assign)((0,n.__assign)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,c.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,u.removeClientSetsFromDocument)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.__assign)((0,n.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.__awaiter)(this,arguments,void 0,(function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.__generator)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.__assign)((0,n.__assign)({},t),e.exportedVariables)}))]:[2,(0,n.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,o.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return o.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,u.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.__awaiter)(this,arguments,void 0,(function(e,t,r,i,o,a){var s,c,u,f,h,d,m,y,g,v;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.__generator)(this,(function(b){return s=(0,l.getMainDefinition)(e),c=(0,l.getFragmentDefinitions)(e),u=(0,p.createFragmentMap)(c),f=this.collectSelectionsToResolve(s,u),h=s.operation,d=h?h.charAt(0).toUpperCase()+h.slice(1):"Query",y=(m=this).cache,g=m.client,v={fragmentMap:u,context:(0,n.__assign)((0,n.__assign)({},r),{cache:y,client:g}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:f,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,false,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.__awaiter)(this,void 0,void 0,(function(){var a,u,l,p,h,d=this;return(0,n.__generator)(this,(function(m){return a=o.fragmentMap,u=o.context,l=o.variables,p=[r],h=function(e){return(0,n.__awaiter)(d,void 0,void 0,(function(){var s,h;return(0,n.__generator)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&(0,c.shouldInclude)(e,l)?(0,f.isField)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;void 0!==t&&p.push(((r={})[(0,f.resultKeyNameFromField)(e)]=t,r))}))]:((0,f.isInlineFragment)(e)?s=e:(s=a[e.name.value],(0,i.invariant)(s,19,e.name.value)),s&&s.typeCondition&&(h=s.typeCondition.name.value,o.fragmentMatcher(r,h,u))?[2,this.resolveSelectionSet(s.selectionSet,t,r,o).then((function(e){p.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(h)).then((function(){return(0,s.mergeDeepArray)(p)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function(){var o,a,s,c,u,l,p,d,m,y=this;return(0,n.__generator)(this,(function(n){return r?(o=i.variables,a=e.name.value,s=(0,f.resultKeyNameFromField)(e),c=a!==s,u=r[s]||r[a],l=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(p=r.__typename||i.defaultOperationType,(d=this.resolvers&&this.resolvers[p])&&(m=d[c?a:s])&&(l=Promise.resolve(h.cacheSlot.withValue(this.cache,m,[r,(0,f.argumentsObjectFromField)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(r)?y.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?y.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(s){if(!n.has(s)){var c=new Set;n.set(s,c),(0,o.visit)(s,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&(0,a.isSelectionNode)(e)&&c.add(e)}))},FragmentSpread:function(n,o,s,u,l){var p=t[n.name.value];(0,i.invariant)(p,20,n.name.value);var f=e(p);f.size>0&&(l.forEach((function(e){r(e)&&(0,a.isSelectionNode)(e)&&c.add(e)})),c.add(n),f.forEach((function(e){c.add(e)})))}})}return n.get(s)}(e)},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isConstValueNode:()=>c,isDefinitionNode:()=>i,isExecutableDefinitionNode:()=>o,isSelectionNode:()=>a,isTypeDefinitionNode:()=>p,isTypeExtensionNode:()=>h,isTypeNode:()=>u,isTypeSystemDefinitionNode:()=>l,isTypeSystemExtensionNode:()=>f,isValueNode:()=>s});var n=r(430);function i(e){return o(e)||l(e)||f(e)}function o(e){return e.kind===n.Kind.OPERATION_DEFINITION||e.kind===n.Kind.FRAGMENT_DEFINITION}function a(e){return e.kind===n.Kind.FIELD||e.kind===n.Kind.FRAGMENT_SPREAD||e.kind===n.Kind.INLINE_FRAGMENT}function s(e){return e.kind===n.Kind.VARIABLE||e.kind===n.Kind.INT||e.kind===n.Kind.FLOAT||e.kind===n.Kind.STRING||e.kind===n.Kind.BOOLEAN||e.kind===n.Kind.NULL||e.kind===n.Kind.ENUM||e.kind===n.Kind.LIST||e.kind===n.Kind.OBJECT}function c(e){return s(e)&&(e.kind===n.Kind.LIST?e.values.some(c):e.kind===n.Kind.OBJECT?e.fields.some((e=>c(e.value))):e.kind!==n.Kind.VARIABLE)}function u(e){return e.kind===n.Kind.NAMED_TYPE||e.kind===n.Kind.LIST_TYPE||e.kind===n.Kind.NON_NULL_TYPE}function l(e){return e.kind===n.Kind.SCHEMA_DEFINITION||p(e)||e.kind===n.Kind.DIRECTIVE_DEFINITION}function p(e){return e.kind===n.Kind.SCALAR_TYPE_DEFINITION||e.kind===n.Kind.OBJECT_TYPE_DEFINITION||e.kind===n.Kind.INTERFACE_TYPE_DEFINITION||e.kind===n.Kind.UNION_TYPE_DEFINITION||e.kind===n.Kind.ENUM_TYPE_DEFINITION||e.kind===n.Kind.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===n.Kind.SCHEMA_EXTENSION||h(e)}function h(e){return e.kind===n.Kind.SCALAR_TYPE_EXTENSION||e.kind===n.Kind.OBJECT_TYPE_EXTENSION||e.kind===n.Kind.INTERFACE_TYPE_EXTENSION||e.kind===n.Kind.UNION_TYPE_EXTENSION||e.kind===n.Kind.ENUM_TYPE_EXTENSION||e.kind===n.Kind.INPUT_OBJECT_TYPE_EXTENSION}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{mergeOptions:()=>o});var n=r(103),i=r(484);function o(e,t){return(0,i.compact)(e,t,t.variables&&{variables:(0,i.compact)((0,n.__assign)((0,n.__assign)({},e&&e.variables),t.variables))})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{HttpLink:()=>a});var n=r(103),i=r(419),o=r(505),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.createHttpLink)(t).request)||this;return r.options=t,r}return(0,n.__extends)(t,e),t}(i.ApolloLink)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{createHttpLink:()=>v});var n=r(103),i=r(349),o=r(419),a=r(473),s=r(420),c=r(449),u=r(456),l=r(438),p=r(450),f=r(448),h=r(475),d=r(472),m=r(474),y=r(423),g=(0,i.maybe)((function(){return fetch})),v=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,v=e.fetch,b=e.print,S=void 0===b?p.defaultPrinter:b,_=e.includeExtensions,E=e.preserveHeaderCase,w=e.useGETForQueries,x=e.includeUnusedVariables,O=void 0!==x&&x,T=(0,n.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);var P={http:{includeExtensions:_,preserveHeaderCase:E},options:T.fetchOptions,credentials:T.credentials,headers:T.headers};return new o.ApolloLink((function(e){var t=(0,u.selectURI)(e,r),o=e.getContext(),b={};if(o.clientAwareness){var _=o.clientAwareness,E=_.name,x=_.version;E&&(b["apollographql-client-name"]=E),x&&(b["apollographql-client-version"]=x)}var T=(0,n.__assign)((0,n.__assign)({},b),o.headers),C={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:T};if((0,a.hasDirectives)(["client"],e.query)){var A=(0,m.removeClientSetsFromDocument)(e.query);if(!A)return(0,h.fromError)(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=A}var k,R=(0,p.selectHttpOptionsAndBodyInternal)(e,S,p.fallbackHttpConfig,P,C),I=R.options,D=R.body;D.variables&&!O&&(D.variables=(0,d.filterOperationVariables)(D.variables,e.query)),I.signal||"undefined"==typeof AbortController||(k=new AbortController,I.signal=k.signal);var M,N="OperationDefinition"===(M=(0,y.getMainDefinition)(e.query)).kind&&"subscription"===M.operation,F=(0,a.hasDirectives)(["defer"],e.query);if(w&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(I.method="GET"),F||N){I.headers=I.headers||{};var L="multipart/mixed;";N?L+="boundary=graphql;subscriptionSpec=1.0,application/json":F&&(L+="deferSpec=20220824,application/json"),I.headers.accept=L}if("GET"===I.method){var j=(0,f.rewriteURIForGET)(t,D),B=j.newURI,U=j.parseError;if(U)return(0,h.fromError)(U);t=B}else try{I.body=(0,c.serializeFetchParameter)(D,"Payload")}catch(U){return(0,h.fromError)(U)}return new s.Observable((function(r){var n=v||(0,i.maybe)((function(){return fetch}))||g,o=r.next.bind(r);return n(t,I).then((function(t){var r;e.setContext({response:t});var n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?(0,l.readMultipartBody)(t,o):(0,l.parseAndCheckHttpResponse)(e)(t).then(o)})).then((function(){k=void 0,r.complete()})).catch((function(e){k=void 0,(0,l.handleError)(e,r)})),function(){k&&k.abort()}}))}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{from:()=>n});var n=r(419).ApolloLink.from},(e,t,r)=>{"use strict";r.r(t),r.d(t,{InMemoryCache:()=>S});var n=r(103),i=(r(349),r(337)),o=r(480),a=r(508),s=r(509),c=r(492),u=r(474),l=r(434),p=r(431),f=r(451),h=r(424),d=r(510),m=r(514),y=r(511),g=r(336),v=r(515),b=r(512),S=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new c.DocumentTransform(u.addTypenameToDocument),r.assumeImmutableResults=!0,r.makeVar=g.makeVar,r.txCount=0,r.config=(0,b.normalizeConfig)(t),r.addTypename=!!r.config.addTypename,r.policies=new v.Policies({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.__extends)(t,e),t.prototype.init=function(){var e=this.data=new y.EntityStore.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new m.StoreWriter(this,this.storeReader=new d.StoreReader({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,b.shouldCanonizeResults)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,i.wrap)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize||l.cacheSizes["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if((0,y.supportsResultCaching)(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,p.canonicalStringify)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof s.MissingFieldError)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(b.hasOwn.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,g.recallCache)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,g.forgetCache)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;p.canonicalStringify.reset(),f.print.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.isReference)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){}},t.prototype.evict=function(e){if(!e.id){if(b.hasOwn.call(e,"id"))return!1;e=(0,n.__assign)((0,n.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),p.canonicalStringify.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,g.forgetCache)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r,o=n.data,a=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,o.equal)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(a.ApolloCache)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloCache:()=>f});var n=r(103),i=r(337),o=r(425),a=r(434),s=r(420),c=r(446),u=r(433),l=r(483),p=(r(349),r(500)),f=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(o.getFragmentQueryDocument,{max:a.cacheSizes["cache.fragmentQueryDocuments"]||1e3,cache:u.WeakCache})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,o=e.fragmentName,a=e.from,u=e.optimistic,f=void 0===u||u,h=(0,n.__rest)(e,["fragment","fragmentName","from","optimistic"]),d=this.getFragmentDoc(i,o),m=void 0===a||"string"==typeof a?a:this.identify(a),y=!!e[Symbol.for("apollo.dataMasking")],g=(0,n.__assign)((0,n.__assign)({},h),{returnPartialData:!0,id:m,query:d,optimistic:f});return new s.Observable((function(a){return r.watch((0,n.__assign)((0,n.__assign)({},g),{immediate:!0,callback:function(s){var u=y?(0,p.maskFragment)(s.result,i,r,o):s.result;if(!t||!(0,l.equalByQuery)(d,{data:t.result},{data:u},e.variables)){var f={data:u,complete:!!s.complete};s.missing&&(f.missing=(0,c.mergeDeepArray)(s.missing.map((function(e){return e.missing})))),t=(0,n.__assign)((0,n.__assign)({},s),{result:u}),a.next(f)}}}))}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{MissingFieldError:()=>i});var n=r(103),i=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.__extends)(t,e),t}(Error)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{StoreReader:()=>x});var n=r(103),i=r(349),o=r(430),a=r(337),s=r(357),c=r(484),u=r(434),l=r(424),p=r(423),f=r(431),h=r(446),d=r(473),m=r(474),y=r(425),g=r(499),v=(r(418),r(511)),b=r(512),S=r(445),_=r(509),E=r(513);function w(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var x=function(){function e(e){var t=this;this.knownResults=new(s.canUseWeakMap?WeakMap:Map),this.config=(0,c.compact)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,b.shouldCanonizeResults)(e)}),this.canon=e.canon||new E.ObjectCanon,this.executeSelectionSet=(0,a.wrap)((function(e){var r,i=e.context.canonizeResults,o=w(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.__assign)((0,n.__assign)({},a),{result:t.canon.admit(a.result)}):a:((0,v.maybeDependOnExistenceOfEntity)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||u.cacheSizes["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:w,makeCacheKey:function(e,t,r,n){if((0,v.supportsResultCaching)(r.store))return r.store.makeCacheKey(e,(0,l.isReference)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,a.wrap)((function(e){return(0,v.maybeDependOnExistenceOfEntity)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||u.cacheSizes["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if((0,v.supportsResultCaching)(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new E.ObjectCanon},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,c=void 0===s||s,u=e.canonizeResults,h=void 0===u?this.config.canonizeResults:u,d=this.config.cache.policies;a=(0,n.__assign)((0,n.__assign)({},(0,p.getDefaultValues)((0,p.getQueryDefinition)(r))),a);var m,y=(0,l.makeReference)(o),g=this.executeSelectionSet({selectionSet:(0,p.getMainDefinition)(r).selectionSet,objectOrReference:y,enclosingRef:y,context:(0,n.__assign)({store:t,query:r,policies:d,variables:a,varString:(0,f.canonicalStringify)(a),canonizeResults:h},(0,b.extractFragmentContext)(r,this.config.fragments))});if(g.missing&&(m=[new _.MissingFieldError(O(g.missing),g.missing,r,a)],!c))throw m[0];return{result:g.result,complete:!m,missing:m}},e.prototype.isFresh=function(e,t,r,n){if((0,v.supportsResultCaching)(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,l.isReference)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var c,u=s.variables,p=s.policies,f=s.store.getFieldValue(n,"__typename"),v=[],b=new h.DeepMerger;function _(e,t){var r;return e.missing&&(c=b.merge(c,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof f&&!p.rootIdsByTypename[f]&&v.push({__typename:f});var E=new Set(r.selections);E.forEach((function(e){var r,h;if((0,d.shouldInclude)(e,u))if((0,l.isField)(e)){var g=p.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),w=(0,l.resultKeyNameFromField)(e);void 0===g?m.addTypenameToDocument.added(e)||(c=b.merge(c,((r={})[w]="Can't find field '".concat(e.name.value,"' on ").concat((0,l.isReference)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,S.isArray)(g)?g.length>0&&(g=_(t.executeSubSelectedArray({field:e,array:g,enclosingRef:a,context:s}),w)):e.selectionSet?null!=g&&(g=_(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,l.isReference)(g)?g:a,context:s}),w)):s.canonizeResults&&(g=t.canon.pass(g)),void 0!==g&&v.push(((h={})[w]=g,h))}else{var x=(0,y.getFragmentFromSelection)(e,s.lookupFragment);if(!x&&e.kind===o.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);x&&p.fragmentMatches(x,f)&&x.selectionSet.selections.forEach(E.add,E)}}));var w={result:(0,h.mergeDeepArray)(v),missing:c},x=s.canonizeResults?this.canon.admit(w):(0,g.maybeDeepFreeze)(w);return x.result&&this.knownResults.set(x.result,r),x},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new h.DeepMerger;function c(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map((function(e,t){return null===e?null:(0,S.isArray)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,l.isReference)(e)?e:o,context:a}),t):e})),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function O(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{EntityStore:()=>g,maybeDependOnExistenceOfEntity:()=>S,supportsResultCaching:()=>x});var n=r(103),i=r(349),o=r(337),a=r(480),s=r(491),c=r(499),u=r(424),l=r(446),p=r(418),f=r(357),h=r(512),d=Object.create(null),m=function(){return d},y=Object.create(null),g=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,c.maybeDeepFreeze)((0,u.isReference)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,u.isReference)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,u.makeReference)(e);if((0,u.isReference)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,u.makeReference)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),h.hasOwn.call(this.data,e)){var r=this.data[e];if(r&&h.hasOwn.call(r,t))return r[t]}return"__typename"===t&&h.hasOwn.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof _?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),h.hasOwn.call(this.data,e)?this.data[e]:this instanceof _?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,u.isReference)(e)&&(e=e.__ref),(0,u.isReference)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.invariant)("string"==typeof r,2);var s=new l.DeepMerger(w).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){c[e]=1;var t=(0,h.fieldNameFromStoreName)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof _||delete s[e]}})),!c.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,l={DELETE:d,INVALIDATE:y,isReference:u.isReference,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,u.makeReference)(e)}:t,{store:r})}};if(Object.keys(i).forEach((function(u){var p=(0,h.fieldNameFromStoreName)(u),f=i[u];if(void 0!==f){var g="function"==typeof t?t:t[u]||t[p];if(g){var v=g===m?d:g((0,c.maybeDeepFreeze)(f),(0,n.__assign)((0,n.__assign)({},l),{fieldName:p,storeFieldName:u,storage:r.getStorage(e,u)}));if(v===y)r.group.dirty(e,u);else if(v===d&&(v=void 0),v!==f)o[u]=v,a=!0,f=v}void 0!==f&&(s=!1)}})),a)return this.merge(e,o),s&&(this instanceof _?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=m,n):m)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(h.hasOwn.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof _&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){h.hasOwn.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&h.hasOwn.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n.__rest)(e,["__META"]);Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof _?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){h.hasOwn.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof _;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!h.hasOwn.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,u.isReference)(e)&&(t[e.__ref]=!0),(0,p.isNonNullObject)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,p.isNonNullObject)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),v=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.dep)():null,this.keyMaker=new s.Trie(f.canUseWeakMap)},e.prototype.depend=function(e,t){if(this.d){this.d(b(e,t));var r=(0,h.fieldNameFromStoreName)(t);r!==t&&this.d(b(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(b(e,t),"__exists"===t?"forget":"setDirty")},e}();function b(e,t){return t+"#"+e}function S(e,t){x(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,a=e.call(this,r,new v(i))||this;return a.stump=new E(a),a.storageTrie=new s.Trie(f.canUseWeakMap),o&&a.replace(o),a}return(0,n.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(g||(g={}));var _=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.__extends)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,a.equal)(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.__assign)((0,n.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return h.hasOwn.call(this.data,t)?(0,n.__assign)((0,n.__assign)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(g),E=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new v(t.group.caching,t.group))||this}return(0,n.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(_);function w(e,t,r){var n=e[r],i=t[r];return(0,a.equal)(n,i)?n:i}function x(e){return!!(e instanceof g&&e.group.caching)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeOrFieldNameRegExp:()=>v,defaultDataIdFromObject:()=>h,extractFragmentContext:()=>w,fieldNameFromStoreName:()=>b,getTypenameFromStoreObject:()=>g,hasOwn:()=>p,isArray:()=>n.isArray,isNullish:()=>f,makeProcessedFieldsMerger:()=>E,normalizeConfig:()=>m,selectionSetMatchesResult:()=>S,shouldCanonizeResults:()=>y,storeValueIsStoreObject:()=>_});var n=r(445),i=r(484),o=r(424),a=r(418),s=r(473),c=r(446),u=r(425),l=r(423),p=Object.prototype.hasOwnProperty;function f(e){return null==e}function h(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=f(n)?f(i)?void 0:{_id:i}:{id:n}),f(n)&&!f(i)&&(n=i),!f(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var d={dataIdFromObject:h,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m(e){return(0,i.compact)(d,e)}function y(e){var t=e.canonizeResults;return void 0===t?d.canonizeResults:t}function g(e,t){return(0,o.isReference)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var v=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(v);return t?t[0]:e}function S(e,t,r){return!!(0,a.isNonNullObject)(t)&&((0,n.isArray)(t)?t.every((function(t){return S(e,t,r)})):e.selections.every((function(e){if((0,o.isField)(e)&&(0,s.shouldInclude)(e,r)){var n=(0,o.resultKeyNameFromField)(e);return p.call(t,n)&&(!e.selectionSet||S(e.selectionSet,t[n],r))}return!0})))}function _(e){return(0,a.isNonNullObject)(e)&&!(0,o.isReference)(e)&&!(0,n.isArray)(e)}function E(){return new c.DeepMerger}function w(e,t){var r=(0,u.createFragmentMap)((0,l.getFragmentDefinitions)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObjectCanon:()=>c});var n=r(103),i=r(491),o=r(418),a=r(357),s=r(445);var c=function(){function e(){this.known=new(a.canUseWeakSet?WeakSet:Set),this.pool=new i.Trie(a.canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.isNonNullObject)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.isNonNullObject)(e)){var t=function(e){return(0,o.isNonNullObject)(e)?(0,s.isArray)(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.isNonNullObject)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(c=this.pool.lookupArray(n)).array||this.known.add(c.array=n),c.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var c,u=a.length;if(s.sorted.forEach((function(r){a.push(t.admit(e[r]))})),!(c=this.pool.lookupArray(a)).object){var l=c.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[u+t]}))}return c.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}()},(e,t,r)=>{"use strict";r.r(t),r.d(t,{StoreWriter:()=>y});var n=r(103),i=r(349),o=(r(480),r(491)),a=r(430),s=r(423),c=r(431),u=r(424),l=r(473),p=r(445),f=r(425),h=r(512),d=r(515);function m(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.__assign)((0,n.__assign)({},e),{clientOnly:t,deferred:r})),o}var y=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,a=t.result,l=t.dataId,p=t.variables,f=t.overwrite,d=(0,s.getOperationDefinition)(o),m=(0,h.makeProcessedFieldsMerger)();p=(0,n.__assign)((0,n.__assign)({},(0,s.getDefaultValues)(d)),p);var y=(0,n.__assign)((0,n.__assign)({store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:p,varString:(0,c.canonicalStringify)(p)},(0,h.extractFragmentContext)(o,this.fragments)),{overwrite:!!f,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),g=this.processSelectionSet({result:a||Object.create(null),dataId:l,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:y});if(!(0,u.isReference)(g))throw(0,i.newInvariantError)(12,a);return y.incomingById.forEach((function(t,n){var i=t.storeObject,o=t.mergeTree,a=(t.fieldNodeSet,(0,u.makeReference)(n));if(o&&o.map.size){var s=r.applyMerges(o,a,i,y);if((0,u.isReference)(s))return;i=s}e.merge(n,i)})),e.retain(g.__ref),g},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,i=e.result,o=e.selectionSet,a=e.context,s=e.mergeTree,c=this.cache.policies,l=Object.create(null),p=r&&c.rootTypenamesById[r]||(0,u.getTypenameFromResult)(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof p&&(l.__typename=p);var f=function(){var e=(0,d.normalizeReadFieldOptions)(arguments,l,a.variables);if((0,u.isReference)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.__assign)((0,n.__assign)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return c.readField(e,a)},y=new Set;this.flattenFields(o,i,a,p).forEach((function(e,r){var n,o=(0,u.resultKeyNameFromField)(r),a=i[o];if(y.add(r),void 0!==a){var d=c.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),g=v(s,d),b=t.processFieldValue(a,r,r.selectionSet?m(e,!1,!1):e,g),S=void 0;r.selectionSet&&((0,u.isReference)(b)||(0,h.storeValueIsStoreObject)(b))&&(S=f("__typename",b));var E=c.getMergeFunction(p,r.name.value,S);E?g.info={field:r,typename:p,merge:E}:_(s,d),l=e.merge(l,((n={})[d]=b,n))}else 0}));try{var g=c.identify(i,{typename:p,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:f}),E=g[0],w=g[1];r=r||E,w&&(l=a.merge(l,w))}catch(e){if(!r)throw e}if("string"==typeof r){var x=(0,u.makeReference)(r),O=a.written[r]||(a.written[r]=[]);if(O.indexOf(o)>=0)return x;if(O.push(o),this.reader&&this.reader.isFresh(i,x,o,a))return x;var T=a.incomingById.get(r);return T?(T.storeObject=a.merge(T.storeObject,l),T.mergeTree=b(T.mergeTree,s),y.forEach((function(e){return T.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:l,mergeTree:S(s)?void 0:s,fieldNodeSet:y}),x}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,p.isArray)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,r,v(n,o));return _(n,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,u.getTypenameFromResult)(t,e,r.fragmentMap));var s=new Map,c=this.cache.policies,h=new o.Trie(!1);return function e(o,d){var y=h.lookup(o,d.clientOnly,d.deferred);y.visited||(y.visited=!0,o.selections.forEach((function(o){if((0,l.shouldInclude)(o,r.variables)){var h=d.clientOnly,y=d.deferred;if(h&&y||!(0,p.isNonEmptyArray)(o.directives)||o.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(h=!0),"defer"===t){var n=(0,u.argumentsObjectFromField)(e,r.variables);n&&!1===n.if||(y=!0)}})),(0,u.isField)(o)){var g=s.get(o);g&&(h=h&&g.clientOnly,y=y&&g.deferred),s.set(o,m(r,h,y))}else{var v=(0,f.getFragmentFromSelection)(o,r.lookupFragment);if(!v&&o.kind===a.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,o.name.value);v&&c.fragmentMatches(v,n,t,r.variables)&&e(v.selectionSet,m(r,h,y))}}})))}(e,r),s},e.prototype.applyMerges=function(e,t,r,o,a){var s,c=this;if(e.map.size&&!(0,u.isReference)(r)){var l,f=(0,p.isArray)(r)||!(0,u.isReference)(t)&&!(0,h.storeValueIsStoreObject)(t)?void 0:t,d=r;f&&!a&&(a=[(0,u.isReference)(f)?f.__ref:f]);var m=function(e,t){return(0,p.isArray)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=m(f,t),n=m(d,t);if(void 0!==n){a&&a.push(t);var s=c.applyMerges(e,r,n,o,a);s!==n&&(l=l||new Map).set(t,s),a&&(0,i.invariant)(a.pop()===t)}})),l&&(r=(0,p.isArray)(d)?d.slice(0):(0,n.__assign)({},d),l.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},e}(),g=[];function v(e,t){var r=e.map;return r.has(t)||r.set(t,g.pop()||{map:new Map}),r.get(t)}function b(e,t){if(e===t||!t||S(t))return e;if(!e||S(e))return t;var r=e.info&&t.info?(0,n.__assign)((0,n.__assign)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,b(e,t.map.get(r))),a.delete(r)})),a.forEach((function(r){o.map.set(r,b(t.map.get(r),e.map.get(r)))}))}return o}function S(e){return!e||!(e.info||e.map.size)}function _(e,t){var r=e.map,n=r.get(t);n&&S(n)&&(g.push(n),r.delete(t))}new Set},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Policies:()=>g,normalizeReadFieldOptions:()=>b});var n=r(103),i=r(349),o=r(424),a=r(418),s=r(512),c=r(445),u=r(336),l=r(516),p=r(498);function f(e){return void 0!==e.args?e.args:e.field?(0,o.argumentsObjectFromField)(e.field,e.variables):null}var h=function(){},d=function(e,t){return t.fieldName},m=function(e,t,r){return(0,r.mergeObjects)(e,t)},y=function(e,t){return t},g=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.__assign)({dataIdFromObject:s.defaultDataIdFromObject},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a,s=t&&t.storeObject||e,u=(0,n.__assign)((0,n.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=b(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),f=o&&this.getTypePolicy(o),h=f&&f.keyFn||this.config.dataIdFromObject;return p.disableWarningsSlot.withValue(!0,(function(){for(;h;){var t=h((0,n.__assign)((0,n.__assign)({},e),s),u);if(!(0,c.isArray)(t)){a=t;break}h=(0,l.keyFieldsFnFromSpecifier)(t)}})),a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],o=i.queryType,a=i.mutationType,c=i.subscriptionType,u=(0,n.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),c&&t.setRootTypename("Subscription",r),s.hasOwn.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?m:!1===t?y:e.merge}a(n,t.merge),n.keyFn=!1===i?h:(0,c.isArray)(i)?(0,l.keyFieldsFnFromSpecifier)(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,p=i.merge;n.keyFn=!1===s?d:(0,c.isArray)(s)?(0,l.keyArgsFnFromSpecifier)(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,p)}n.read&&n.merge&&(n.keyFn=n.keyFn||d)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.invariant)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(s.TypeOrFieldNameRegExp);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!s.hasOwn.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,a=(0,n.__rest)(i,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),c=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},l=!(!r||!this.fuzzySubtypes.size),p=0;p1?a:t}:(i=(0,n.__assign)({},o),s.hasOwn.call(i,"from")||(i.from=t)),void 0===i.variables&&(i.variables=r),i}function S(e){return function(t,r){if((0,c.isArray)(t)||(0,c.isArray)(r))throw(0,i.newInvariantError)(9);if((0,a.isNonNullObject)(t)&&(0,a.isNonNullObject)(r)){var u=e.getFieldValue(t,"__typename"),l=e.getFieldValue(r,"__typename");if(u&&l&&u!==l)return r;if((0,o.isReference)(t)&&(0,s.storeValueIsStoreObject)(r))return e.merge(t.__ref,r),t;if((0,s.storeValueIsStoreObject)(t)&&(0,o.isReference)(r))return e.merge(t,r.__ref),r;if((0,s.storeValueIsStoreObject)(t)&&(0,s.storeValueIsStoreObject)(r))return(0,n.__assign)((0,n.__assign)({},t),r)}return r}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{collectSpecifierPaths:()=>h,extractKeyPath:()=>y,getSpecifierPaths:()=>d,keyArgsFnFromSpecifier:()=>f,keyFieldsFnFromSpecifier:()=>p});var n=r(349),i=r(445),o=r(424),a=r(446),s=r(418),c=r(512),u=Object.create(null);function l(e){var t=JSON.stringify(e);return u[t]||(u[t]=Object.create(null))}function p(e){var t=l(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var i=function(e,t){return r.readField(t,e)},o=r.keyObject=h(e,(function(e){var o=y(r.storeObject,e,i);return void 0===o&&t!==r.storeObject&&c.hasOwn.call(t,e[0])&&(o=y(t,e,m)),(0,n.invariant)(void 0!==o,5,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function f(e){var t=l(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,a=r.variables,s=r.fieldName,u=h(e,(function(e){var r=e[0],s=r.charAt(0);if("@"!==s)if("$"!==s){if(t)return y(t,e)}else{var u=r.slice(1);if(a&&c.hasOwn.call(a,u)){var l=e.slice(0);return l[0]=u,y(a,l)}}else if(n&&(0,i.isNonEmptyArray)(n.directives)){var p=r.slice(1),f=n.directives.find((function(e){return e.name.value===p})),h=f&&(0,o.argumentsObjectFromField)(f,a);return h&&y(h,e.slice(1))}})),l=JSON.stringify(u);return(t||"{}"!==l)&&(s+=":"+l),s})}function h(e,t){var r=new a.DeepMerger;return d(e).reduce((function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e}),Object.create(null))}function d(e){var t=l(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,o){(0,i.isArray)(t)?(d(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,i.isArray)(e[o+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function m(e,t){return e[t]}function y(e,t,r){return r=r||m,g(t.reduce((function e(t,n){return(0,i.isArray)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function g(e){return(0,s.isNonNullObject)(e)?(0,i.isArray)(e)?e.map(g):h(Object.keys(e).sort(),(function(t){return y(e,t)})):e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>g,default:()=>_,encode:()=>v,toASCII:()=>S,toUnicode:()=>b,ucs2decode:()=>h,ucs2encode:()=>d});const n=2147483647,i=36,o=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,l=String.fromCharCode;function p(e){throw new RangeError(c[e])}function f(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const i=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(s,".")).split("."),t).join(".");return n+i}function h(e){const t=[];let r=0;const n=e.length;for(;r=55296&&i<=56319&&rString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},y=function(e,t,r){let n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;n+=i)e=u(e/35);return u(n+36*e/(e+38))},g=function(e){const t=[],r=e.length;let o=0,a=128,s=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let r=0;r=128&&p("not-basic"),t.push(e.charCodeAt(r));for(let f=c>0?c+1:0;f=r&&p("invalid-input");const c=(l=e.charCodeAt(f++))>=48&&l<58?l-48+26:l>=65&&l<91?l-65:l>=97&&l<123?l-97:i;c>=i&&p("invalid-input"),c>u((n-o)/t)&&p("overflow"),o+=c*t;const h=a<=s?1:a>=s+26?26:a-s;if(cu(n/d)&&p("overflow"),t*=d}const h=t.length+1;s=y(o-c,h,0==c),u(o/h)>n-a&&p("overflow"),a+=u(o/h),o%=h,t.splice(o++,0,a)}var l;return String.fromCodePoint(...t)},v=function(e){const t=[],r=(e=h(e)).length;let o=128,a=0,s=72;for(const r of e)r<128&&t.push(l(r));const c=t.length;let f=c;for(c&&t.push("-");f=o&&tu((n-a)/h)&&p("overflow"),a+=(r-o)*h,o=r;for(const r of e)if(rn&&p("overflow"),r===o){let e=a;for(let r=i;;r+=i){const n=r<=s?1:r>=s+26?26:r-s;if(e{"use strict";r.r(t),r.d(t,{AbortedDeferredError:()=>o.AbortedDeferredError,Await:()=>i.Await,BrowserRouter:()=>D,Form:()=>U,HashRouter:()=>M,Link:()=>j,MemoryRouter:()=>i.MemoryRouter,NavLink:()=>B,Navigate:()=>i.Navigate,NavigationType:()=>o.Action,Outlet:()=>i.Outlet,Route:()=>i.Route,Router:()=>i.Router,RouterProvider:()=>k,Routes:()=>i.Routes,ScrollRestoration:()=>V,UNSAFE_DataRouterContext:()=>i.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>i.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>o.UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext:()=>x,UNSAFE_LocationContext:()=>i.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>i.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>i.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>w,UNSAFE_useRouteId:()=>i.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>re,createBrowserRouter:()=>b,createHashRouter:()=>S,createMemoryRouter:()=>i.createMemoryRouter,createPath:()=>o.createPath,createRoutesFromChildren:()=>i.createRoutesFromChildren,createRoutesFromElements:()=>i.createRoutesFromElements,createSearchParams:()=>p,defer:()=>o.defer,generatePath:()=>o.generatePath,isRouteErrorResponse:()=>o.isRouteErrorResponse,json:()=>o.json,matchPath:()=>o.matchPath,matchRoutes:()=>o.matchRoutes,parsePath:()=>o.parsePath,redirect:()=>o.redirect,redirectDocument:()=>o.redirectDocument,renderMatches:()=>i.renderMatches,replace:()=>o.replace,resolvePath:()=>o.resolvePath,unstable_HistoryRouter:()=>N,unstable_usePrompt:()=>ie,unstable_useViewTransitionState:()=>oe,useActionData:()=>i.useActionData,useAsyncError:()=>i.useAsyncError,useAsyncValue:()=>i.useAsyncValue,useBeforeUnload:()=>ne,useBlocker:()=>i.useBlocker,useFetcher:()=>J,useFetchers:()=>Z,useFormAction:()=>Q,useHref:()=>i.useHref,useInRouterContext:()=>i.useInRouterContext,useLinkClickHandler:()=>W,useLoaderData:()=>i.useLoaderData,useLocation:()=>i.useLocation,useMatch:()=>i.useMatch,useMatches:()=>i.useMatches,useNavigate:()=>i.useNavigate,useNavigation:()=>i.useNavigation,useNavigationType:()=>i.useNavigationType,useOutlet:()=>i.useOutlet,useOutletContext:()=>i.useOutletContext,useParams:()=>i.useParams,useResolvedPath:()=>i.useResolvedPath,useRevalidator:()=>i.useRevalidator,useRouteError:()=>i.useRouteError,useRouteLoaderData:()=>i.useRouteLoaderData,useRoutes:()=>i.useRoutes,useSearchParams:()=>K,useSubmit:()=>X});var n=r(285),i=r(580),o=r(581);
/**
* React Router DOM v6.26.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[r]=e[r]);return i}const c="get",u="application/x-www-form-urlencoded";function l(e){return null!=e&&"string"==typeof e.tagName}function p(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}let f=null;const h=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function d(e){return null==e||h.has(e)?e:null}function m(e,t){let r,n,i,a,s;if(l(p=e)&&"form"===p.tagName.toLowerCase()){let s=e.getAttribute("action");n=s?(0,o.stripBasename)(s,t):null,r=e.getAttribute("method")||c,i=d(e.getAttribute("enctype"))||u,a=new FormData(e)}else if(function(e){return l(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return l(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let s=e.form;if(null==s)throw new Error('Cannot submit a