1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{8806:function(e,t,n){"use strict";n.d(t,{Ps:function(){return H}});var r=n(7582);function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const o=/\r\n|[\n\r]/g;function s(e,t){let n=0,r=1;for(const s of e.body.matchAll(o)){if("number"===typeof s.index||i(!1),s.index>=t)break;n=s.index+s[0].length,r+=1}return{line:r,column:t+1-n}}function a(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?n:0,c=t.column+a,l=`${e.name}:${s}:${c}\n`,f=r.split(/\r\n|[\n\r]/g),h=f[i];if(h.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let r=0;r<h.length;r+=80)n.push(h.slice(r,r+80));return l+u([[`${s} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+u([[s-1+" |",f[i-1]],[`${s} |`,h],["|","^".padStart(c)],[`${s+1} |`,f[i+1]]])}function u(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class c extends Error{constructor(e,...t){var n,r,i;const{nodes:o,source:a,positions:u,path:f,originalError:h,extensions:d}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!==f&&void 0!==f?f:void 0,this.originalError=null!==h&&void 0!==h?h:void 0,this.nodes=l(Array.isArray(o)?o:o?[o]:void 0);const p=l(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==a&&void 0!==a?a:null===p||void 0===p||null===(r=p[0])||void 0===r?void 0:r.source,this.positions=null!==u&&void 0!==u?u:null===p||void 0===p?void 0:p.map((e=>e.start)),this.locations=u&&a?u.map((e=>s(a,e))):null===p||void 0===p?void 0:p.map((e=>s(e.source,e.start)));const y="object"==typeof(v=null===h||void 0===h?void 0:h.extensions)&&null!==v?null===h||void 0===h?void 0:h.extensions:void 0;var v;this.extensions=null!==(i=null!==d&&void 0!==d?d:y)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==h&&void 0!==h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,c):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(e+="\n\n"+a((t=n.loc).source,s(t.source,t.start)));else if(this.source&&this.locations)for(const n of this.locations)e+="\n\n"+a(this.source,n);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function f(e,t,n){return new c(`Syntax Error: ${n}`,{source:e,positions:[t]})}var h,d=n(2380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(h||(h={}));var p,y=n(7359),v=n(7392),m=n(8297);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
vendor: 22,139 bytes, line 1
1",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(p||(p={}));class g{constructor(e){const t=new d.WU(p.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==p.EOF)do{if(e.next)e=e.next;else{const t=k(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===p.COMMENT);return e}}function b(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function _(e,t){return w(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function O(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return p.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function T(e,t,n,r,i){const o=e.line,s=1+n-e.lineStart;return new d.WU(t,n,r,o,s,i)}function k(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return S(e,i);case 33:return T(e,p.BANG,i,i+1);case 36:return T(e,p.DOLLAR,i,i+1);case 38:return T(e,p.AMP,i,i+1);case 40:return T(e,p.PAREN_L,i,i+1);case 41:return T(e,p.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return T(e,p.SPREAD,i,i+3);break;case 58:return T(e,p.COLON,i,i+1);case 61:return T(e,p.EQUALS,i,i+1);case 64:return T(e,p.AT,i,i+1);case 91:return T(e,p.BRACKET_L,i,i+1);case 93:return T(e,p.BRACKET_R,i,i+1);case 123:return T(e,p.BRACE_L,i,i+1);case 124:return T(e,p.PIPE,i,i+1);case 125:return T(e,p.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?P(e,i):A(e,i)}if((0,m.X1)(t)||45===t)return x(e,i,t);if((0,m.LQ)(t))return j(e,i);throw f(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":b(t)||_(n,i)?`Unexpected character: ${O(e,i)}.`:`Invalid character: ${O(e,i)}.`)}return T(e,p.EOF,r,r)}function S(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(b(e))++i;else{if(!_(n,i))break;i+=2}}return T(e,p.COMMENT,t,i,n.slice(t+1,i))}function x(e,t,n){const r=e.source.body;let i=t,o=n,s=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,m.X1)(o))throw f(e.source,i,`Invalid number, unexpected digit after 0: ${O(e,i)}.`)}else i=D(e,i,o),o=r.charCodeAt(i);if(46===o&&(s=!0,o=r.charCodeAt(++i),i=D(e,i,o),o=r.charCodeAt(i)),69!==o&&101!==o||(s=!0,o=r.charCodeAt(++i),43!==o&&45!==o||(o=r.charCodeAt(++i)),i=D(e,i,o),o=r.charCodeAt(i)),46===o||(0,m.LQ)(o))throw f(e.source,i,`Invalid number, expected digit but got: ${O(e,i)}.`);return T(e,s?p.FLOAT:p.INT,t,i,r.slice(t,i))}function D(e,t,n){if(!(0,m.X1)(n))throw f(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);const r=e.source.body;let i=t+1;for(;(0,m.X1)(r.charCodeAt(i));)++i;return i}function A(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,s="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return s+=n.slice(o,i),T(e,p.STRING,t,i+1,s);if(92!==r){if(10===r||13===r)break;if(b(r))++i;else{if(!_(n,i))throw f(e.source,i,`Invalid character within String: ${O(e,i)}.`);i+=2}}else{s+=n.slice(o,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?R(e,i):N(e,i):F(e,i);s+=t.value,i+=t.size,o=i}}throw f(e.source,i,"Unterminated string.")}function R(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!b(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|C(e),r<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function N(e,t){const n=e.source.body,r=I(n,t+2);if(b(r))return{value:String.fromCodePoint(r),size:6};if(w(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=I(n,t+8);if(E(e))return{value:String.fromCodePoint(r,e),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function I(e,t){return C(e.charCodeAt(t))<<12|C(e.charCodeAt(t+1))<<8|C(e.charCodeAt(t+2))<<4|C(e.charCodeAt(t+3))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function F(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function P(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,s=o,a="";const u=[];for(;o<r;){const r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){a+=n.slice(s,o),u.push(a);const r=T(e,p.BLOCK_STRING,t,o+3,(0,v.wv)(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(o+1)||34!==n.charCodeAt(o+2)||34!==n.charCodeAt(o+3))if(10!==r&&13!==r)if(b(r))++o;else{if(!_(n,o))throw f(e.source,o,`Invalid character within String: ${O(e,o)}.`);o+=2}else a+=n.slice(s,o),u.push(a),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,a="",s=o,i=o;else a+=n.slice(s,o),s=o+1,o+=4}throw f(e.source,o,"Unterminated string.")}function j(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,m.HQ)(e))break;++i}return T(e,p.NAME,t,i,n.slice(t,i))}var L=n(7826),M=n(5821);const q=globalThis.process&&!0?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===typeof e&&null!==e){var n;const r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=(0,M.X)(e);throw new Error(`Cannot use ${r} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class V{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,L.a)(!1,`Body must be a string. Received: ${(0,M.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,L.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,L.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class B{constructor(e,t={}){const{lexer:n,...r}=t;if(n)this._lexer=n;else{const t=function(e){return q(e,V)}(e)?e:new V(e);this._lexer=new g(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(p.NAME);return this.node(e,{kind:y.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.h.DOCUMENT,definitions:this.many(p.SOF,this.parseDefinition,p.EOF)})}parseDefinition(){if(this.peek(p.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===p.BRACE_L)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===p.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(p.BRACE_L))return this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:d.ku.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseDescription(),n=this.parseOperationType();let r;return this.peek(p.NAME)&&(r=this.parseName()),this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(p.NAME);switch(e.value){case"query":return d.ku.QUERY;case"mutation":return d.ku.MUTATION;case"subscription":return d.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(p.PAREN_L,this.parseVariableDefinition,p.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.h.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(p.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(p.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(p.DOLLAR),this.node(e,{kind:y.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.h.SELECTION_SET,selections:this.many(p.BRACE_L,this.parseSelection,p.BRACE_R)})}parseSelection(){return this.peek(p.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(p.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:y.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(p.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(p.PAREN_L,t,p.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(p.COLON),this.node(t,{kind:y.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(p.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(p.NAME)?this.node(e,{kind:y.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token,t=this.parseDescription();return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:y.h.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:y.h.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case p.BRACKET_L:return this.parseList(e);case p.BRACE_L:return this.parseObject(e);case p.INT:return this.advanceLexer(),this.node(t,{kind:y.h.INT,value:t.value});case p.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.h.FLOAT,value:t.value});case p.STRING:case p.BLOCK_STRING:return this.parseStringLiteral();case p.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.h.NULL});default:return this.node(t,{kind:y.h.ENUM,value:t.value})}case p.DOLLAR:if(e){if(this.expectToken(p.DOLLAR),this._lexer.token.kind===p.NAME){const e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:y.h.STRING,value:e.value,block:e.kind===p.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:y.h.LIST,values:this.any(p.BRACKET_L,(()=>this.parseValueLiteral(e)),p.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:y.h.OBJECT,fields:this.any(p.BRACE_L,(()=>this.parseObjectField(e)),p.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(p.COLON),this.node(t,{kind:y.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(p.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(p.AT),this.node(t,{kind:y.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(p.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(p.BRACKET_R),t=this.node(e,{kind:y.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(p.BANG)?this.node(e,{kind:y.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:y.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(p.STRING)||this.peek(p.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(p.BRACE_L,this.parseOperationTypeDefinition,p.BRACE_R);return this.node(e,{kind:y.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(p.COLON);const n=this.parseNamedType();return this.node(e,{kind:y.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(p.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(p.BRACE_L,this.parseFieldDefinition,p.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(p.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:y.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(p.PAREN_L,this.parseInputValueDef,p.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(p.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(p.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:y.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:y.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(p.EQUALS)?this.delimitedMany(p.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:y.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(p.BRACE_L,this.parseEnumValueDefinition,p.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${U(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(p.BRACE_L,this.parseInputValueDef,p.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===p.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(p.BRACE_L,this.parseOperationTypeDefinition,p.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(p.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:y.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(p.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.h
1asOwnProperty.call(h,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){const e=this._lexer.token,t=this.expectOptionalToken(p.AT),n=this.parseName();let r,i;return!t&&this.expectOptionalToken(p.DOT)&&(r=this.parseName()),(t||r)&&this.expectOptionalToken(p.PAREN_L)&&(i=this.parseName(),this.expectToken(p.COLON),this.expectToken(p.PAREN_R)),t?i?this.node(e,{kind:y.h.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:i}):this.node(e,{kind:y.h.DIRECTIVE_COORDINATE,name:n}):r?i?this.node(e,{kind:y.h.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:i}):this.node(e,{kind:y.h.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:y.h.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new d.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${Q(e)}, found ${U(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==p.NAME||t.value!==e)throw f(this._lexer.source,t.start,`Expected "${e}", found ${U(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===p.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${U(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==p.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function U(e){const t=e.value;return Q(e.kind)+(null!=t?` "${t}"`:"")}function Q(e){return function(e){return e===p.BANG||e===p.DOLLAR||e===p.AMP||e===p.PAREN_L||e===p.PAREN_R||e===p.DOT||e===p.SPREAD||e===p.COLON||e===p.EQUALS||e===p.AT||e===p.BRACKET_L||e===p.BRACKET_R||e===p.BRACE_L||e===p.PIPE||e===p.BRACE_R}(e)?`"${e}"`:e}var z=new Map,W=new Map,K=!0,G=!1;function $(e){return e.replace(/[\s,]+/g," ").trim()}function J(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=$((s=e.loc).source.body.substring(s.start,s.end)),o=W.get(r);o&&!o.has(i)?K&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||W.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var s})),(0,r.__assign)((0,r.__assign)({},e),{definitions:n})}function Y(e){var t=$(e);if(!z.has(t)){var n=function(e,t){const n=new B(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(e,{experimentalFragmentVariables:G,allowLegacyFragmentVariables:G});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");z.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"===typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(J(n)))}return z.get(t)}function H(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"===typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),Y(r)}var Z,X=H,ee=function(){z.clear(),W.clear()},te=function(){K=!1},ne=function(){G=!0},re=function(){G=!1};(Z=H||(H={})).gql=X,Z.resetCaches=ee,Z.disableFragmentWarnings=te,Z.enableExperimentalFragmentVariables=ne,Z.disableExperimentalFragmentVariables=re,H.default=H},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(5249)}])},3761:function(e,t,n){"use strict";n.d(t,{I:function(){return o},i:function(){return s}});var r=n(5893),i=n(7294),o=(0,i.createContext)(),s=function(e){var t=e.children,n=e.headerData,s=(0,i.useState)(!0),a=s[0],u=s[1],c=(0,i.useState)(0),l=c[0],f=c[1],h=(0,i.useCallback)((function(){var e=document.getElementById("navbar");e&&f(e.offsetHeight)}),[]);return(0,i.useEffect)((function(){var e=setTimeout((function(){h()}),0);return function(){return clearTimeout(e)}}),[h,n]),(0,i.useEffect)((function(){return window.addEventListener("scroll",h),window.addEventListener("resize",h),function(){window.removeEventListener("scroll",h),window.removeEventListener("resize",h)}}),[h]),(0,i.useEffect)((function(){a?(document.documentElement.style.scrollPaddingTop="175px",document.documentElement.style.scrollBehavior="smooth"):(document.documentElement.style.scrollPaddingTop="100px",document.documentElement.style.scrollBehavior="smooth")}),[a]),(0,i.useEffect)((function(){var e=document.getElementById("navbar");
1if(e){h();var t=new MutationObserver((function(e){e.forEach((function(e){"attributes"===e.type&&"class"===e.attributeName&&h()}))}));t.observe(e,{attributes:!0});var n=setTimeout((function(){h()}),500);return function(){t.disconnect(),clearTimeout(n)}}}),[h]),(0,r.jsx)(o.Provider,{value:{showStripe:a,setShowStripe:u,navbarHeight:l},children:t})}},8821:function(e,t,n){"use strict";n.d(t,{Z:function(){return yo}});var r=n(7582),i="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,a=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"===typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,s(r,t.prototype),r}return(0,r.__extends)(t,e),t}(Error);function u(e,t){if(!e)throw new a(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var h="3.14.0";function d(e){try{return e()}catch(o){}}var p=d((function(){return globalThis}))||d((function(){return window}))||d((function(){return self}))||d((function(){return global}))||d((function(){return d.constructor("return this")()})),y=new Map;function v(e){var t=y.get(e)||1;return y.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function m(e,t){void 0===t&&(t=0);var n=v("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t}),t).split(JSON.stringify(n)).join("<undefined>")}function g(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"===typeof t){var i=t;(t=O(i))||(t=T(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var b=Object.assign((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||u(e,O(t,n)||T(t,n))}),{debug:g(u.debug),log:g(u.log),warn:g(u.warn),error:g(u.error)});function _(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new a(O(e,t)||T(e,t))}var w=Symbol.for("ApolloErrorMessageHandler_3.14.0");function E(e){if("string"==typeof e)return e;try{return m(e,2).slice(0,1e3)}catch(o){return"<non-serializable>"}}function O(e,t){if(void 0===t&&(t=[]),e)return p[w]&&p[w](e,t.map(E))}function T(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:h,message:e,args:t.map(E)})))}globalThis.__DEV__;function k(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var A=function(){return"function"===typeof Symbol},R=function(e){return A()&&Boolean(Symbol[e])},N=function(e){return R(e)?Symbol[e]:"@@"+e};A()&&!R("observable")&&(Symbol.observable=Symbol("observable"));var I=N("iterator"),C=N("observable"),F=N("species");function P(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function j(e){var t=e.constructor;return void 0!==t&&null===(t=t[F])&&(t=void 0),void 0!==t?t:K}function L(e){return e instanceof K}function M(e){M.log?M.log(e):setTimeout((function(){throw e}))}function q(e){Promise.resolve().then((function(){try{e()}catch(t){M(t)}}
vendor: 4,165 bytes, line 1
1))}function V(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=P(t,"unsubscribe");n&&n.call(t)}}catch(r){M(r)}}function B(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function U(e,t,n){e._state="running";var r=e._observer;try{var i=P(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(B(e),!i)throw n;i.call(r,n);break;case"complete":B(e),i&&i.call(r)}}catch(o){M(o)}"closed"===e._state?V(e):"running"===e._state&&(e._state="ready")}function Q(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void q((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(U(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void U(e,t,n);e._queue.push({type:t,value:n})}}var z=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new W(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(B(this),V(this))},D(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),W=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){Q(this._subscription,"next",e)},t.error=function(e){Q(this._subscription,"error",e)},t.complete=function(){Q(this._subscription,"complete")},D(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),K=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"===typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new z(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"===typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(j(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(j(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=j(this),r=arguments.length>1,i=!1,o=arguments[1],s=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{s=e(s,t)}catch(a){return n.error(a)}else s=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(s),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=j(this);return new i((function(t){var r,o=0;return function e(s){r=s.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=j(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(a){return r.error(a)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){r.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&r.complete()}
1return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[C]=function(){return this},e.from=function(t){var n="function"===typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=P(t,C);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return L(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(R("iterator")&&(r=P(t,I)))return new n((function(e){q((function(){if(!e.closed){for(var n,i=k(r.call(t));!(n=i()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){q((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i="function"===typeof this?this:e;return new i((function(e){q((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},D(e,null,[{key:F,get:function(){return this}}]),e}();function G(e){return null!==e&&"object"===typeof e}A()&&Object.defineProperty(K,Symbol("extensions"),{value:{symbol:C,hostReportError:M},configurable:!0});var $=n(7826),J=n(5821),Y=n(2380),H=n(7359);const Z=Object.freeze({});function X(e,t,n=Y.h8){const r=new Map;for(const m of Object.values(H.h))r.set(m,ee(t,m));let i,o,s,a=Array.isArray(e),u=[e],c=-1,l=[],f=e;const h=[],d=[];do{c++;const e=c===u.length,m=e&&0!==l.length;if(e){if(o=0===d.length?void 0:h[h.length-1],f=s,s=d.pop(),m)if(a){f=f.slice();let e=0;for(const[t,n]of l){const r=t-e;null===n?(f.splice(r,1),e++):f[r]=n}}else{f={...f};for(const[e,t]of l)f[e]=t}c=i.index,u=i.keys,l=i.edits,a=i.inArray,i=i.prev}else if(s){if(o=a?c:u[c],f=s[o],null===f||void 0===f)continue;h.push(o)}let g;if(!Array.isArray(f)){var p,y;(0,Y.UG)(f)||(0,$.a)(!1,`Invalid AST Node: ${(0,J.X)(f)}.`);const n=e?null===(p=r.get(f.kind))||void 0===p?void 0:p.leave:null===(y=r.get(f.kind))||void 0===y?void 0:y.enter;if(g=null===n||void 0===n?void 0:n.call(t,f,o,s,h,d),g===Z)break;if(!1===g){if(!e){h.pop();continue}}else if(void 0!==g&&(l.push([o,g]),!e)){if(!(0,Y.UG)(g)){h.pop();continue}f=g}}var v;if(void 0===g&&m&&l.push([o,f]),e)h.pop();else i={inArray:a,index:c,keys:u,edits:l,prev:i},a=Array.isArray(f),u=a?f:null!==(v=n[f.kind])&&void 0!==v?v:[],c=-1,l=[],s&&d.push(s),s=f}while(void 0!==i);return 0!==l.length?l[l.length-1][1]:e}function ee(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function te(e,t){var n=t,i=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw _(113,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&i.push(e)})),"undefined"===typeof n&&(b(1===i.length,114,i.length),n=i[0].name.value),(0,r.__assign)((0,r.__assign)({},e),{definitions:(0,r.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function ne(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function re(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"===typeof t)return t(n);var r=t&&t[n];return b(r,115,n),r||null;default:return null}}function ie(){}const oe=ie,se="undefined"!==typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},ae="undefined"!==typeof WeakMap?WeakMap:Map,ue="undefined"!==typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:ie,unregister:ie}};class ce{constructor(e=1/0,t=oe){this.max=e,this.dispose=t,this.map=new ae,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 n=t.key;delete t.key,t.keyRef=new se(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new ue(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:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
1return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.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))}}function le(){}class fe{constructor(e=1/0,t=le){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:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.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)}}var he=new WeakSet;function de(e){e.size<=(e.max||-1)||he.has(e)||(he.add(e),setTimeout((function(){e.clean(),he.delete(e)}),100))}var pe=function(e,t){var n=new ce(e,t);return n.set=function(e,t){var n=ce.prototype.set.call(this,e,t);return de(this),n},n},ye=function(e,t){var n=new fe(e,t);return n.set=function(e,t){var n=fe.prototype.set.call(this,e,t);return de(this),n},n},ve=Symbol.for("apollo.cacheSize"),me=(0,r.__assign)({},p[ve]),ge={};function be(e,t){ge[e]=t}var _e=!1!==globalThis.__DEV__?function(){var e,t,n,i,o;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Oe(),sizes:(0,r.__assign)({print:null===(e=ge.print)||void 0===e?void 0:e.call(ge),parser:null===(t=ge.parser)||void 0===t?void 0:t.call(ge),canonicalStringify:null===(n=ge.canonicalStringify)||void 0===n?void 0:n.call(ge),links:Ae(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:xe(this.queryManager.documentTransform)}},null===(o=(i=this.cache).getMemoryInternals)||void 0===o?void 0:o.call(i))}}:void 0,we=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.__assign)((0,r.__assign)({},Te.apply(this)),{addTypenameDocumentTransform:xe(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:ke(this.storeReader.executeSelectionSet),executeSubSelectedArray:ke(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:ke(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:ke(null===e||void 0===e?void 0:e.findFragmentSpreads),lookup:ke(null===e||void 0===e?void 0:e.lookup),transform:ke(null===e||void 0===e?void 0:e.transform)}})}:void 0,Ee=!1!==globalThis.__DEV__?Te:void 0;function Oe(){return Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map((function(e){var t=e[0],n=e[1];return[t,me[t]||n]})))}function Te(){return{cache:{fragmentQueryDocuments:ke(this.getFragmentDoc)}}}function ke(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function Se(e){return null!=e}function xe(e){return De(e).map((function(e){return{cache:e}}))}function De(e){return e?(0,r.__spreadArray)((0,r.__spreadArray)([ke(null===e||void 0===e?void 0:e.performWork)],De(null===e||void 0===e?void 0:e.left),
1!0),De(null===e||void 0===e?void 0:e.right),!0).filter(Se):[]}function Ae(e){var t;return e?(0,r.__spreadArray)((0,r.__spreadArray)([null===(t=null===e||void 0===e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],Ae(null===e||void 0===e?void 0:e.left),!0),Ae(null===e||void 0===e?void 0:e.right),!0).filter(Se):[]}var Re,Ne=Object.assign((function(e){return JSON.stringify(e,Ie)}),{reset:function(){Re=new ye(me.canonicalStringify||1e3)}});function Ie(e,t){if(t&&"object"===typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(Ce))return t;var i=JSON.stringify(r),o=Re.get(i);if(!o){r.sort();var s=JSON.stringify(r);o=Re.get(s)||r,Re.set(i,o),Re.set(s,o)}var a=Object.create(n);return o.forEach((function(e){a[e]=t[e]})),a}}return t}function Ce(e,t,n){return 0===t||n[t-1]<=e}function Fe(e){return{__ref:String(e)}}function Pe(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function je(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map((function(e){return je(i,e.name,e.value,r)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return je(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw _(124,t.value,n.kind);e[t.value]=null}}!1!==globalThis.__DEV__&&be("canonicalStringify",(function(){return Re.size})),Ne.reset();var Le=["connection","include","skip","client","rest","export","nonreactive"],Me=Ne,qe=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(Me(i),")")}return n.connection.key}var o=e;if(t){var s=Me(t);o+="(".concat(s,")")}return n&&Object.keys(n).forEach((function(e){-1===Le.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(Me(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=Me;return Me=e,t}});function Ve(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return je(n,r,i,t)})),n}return null}function Be(e){return e.alias?e.alias.value:e.name.value}function Ue(e,t,n){for(var r,i=0,o=t.selections;i<o.length;i++){if(Qe(u=o[i])){if("__typename"===u.name.value)return e[Be(u)]}else r?r.push(u):r=[u]}if("string"===typeof e.__typename)return e.__typename;if(r)for(var s=0,a=r;s<a.length;s++){var u,c=Ue(e,re(u=a[s],n).selectionSet,n);if("string"===typeof c)return c}}function Qe(e){return"Field"===e.kind}function ze(e){b(e&&"Document"===e.kind,116);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw _(117,e.kind);return e}));return b(t.length<=1,118,t.length),e}function We(e){return ze(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function Ke(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function Ge(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function $e(e){var t=We(e);return b(t&&"query"===t.operation,119),t}function Je(e){b("Document"===e.kind,120),b(e.definitions.length<=1,121);var t=e.definitions[0];return b("FragmentDefinition"===t.kind,122),t}function Ye(e){var t;ze(e);for(var n=0,r=e.definitions;n<r.length;n++){var i=r[n];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw _(123)}function He(e){var t=Object.create(null),n=e&&e.variableDefinitions;
1return n&&n.length&&n.forEach((function(e){e.defaultValue&&je(t,e.variable.name,e.defaultValue)})),t}const Ze=()=>Object.create(null),{forEach:Xe,slice:et}=Array.prototype,{hasOwnProperty:tt}=Object.prototype;class nt{constructor(e=!0,t=Ze){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return Xe.call(e,(e=>t=t.getChildTrie(e))),tt.call(t,"data")?t.data:t.data=this.makeData(et.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(et.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let n=t.get(e);return n||t.set(e,n=new nt(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}let rt=null;const it={};let ot=1;function st(e){try{return e()}catch(t){}}const at="@wry/context:Slot",ut=st((()=>globalThis))||st((()=>global))||Object.create(null),ct=ut[at]||Array[at]||function(e){try{Object.defineProperty(ut,at,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",ot++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=rt;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===it)break;return e!==rt&&(rt.slots[this.id]=t),!0}return rt&&(rt.slots[this.id]=it),!1}getValue(){if(this.hasValue())return rt.slots[this.id]}withValue(e,t,n,r){const i={__proto__:null,[this.id]:e},o=rt;rt={parent:o,slots:i};try{return t.apply(r,n)}finally{rt=o}}static bind(e){const t=rt;return function(){const n=rt;try{return rt=t,e.apply(this,arguments)}finally{rt=n}}}static noContext(e,t,n){if(!rt)return e.apply(n,t);{const r=rt;try{return rt=null,e.apply(n,t)}finally{rt=r}}}}),{bind:lt,noContext:ft}=ct;const ht=new ct;const{hasOwnProperty:dt}=Object.prototype,pt=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function yt(e){const{unsubscribe:t}=e;"function"===typeof t&&(e.unsubscribe=void 0,t())}const vt=[];function mt(e,t){if(!e)throw new Error(t||"assertion failure")}function gt(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function bt(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function _t(e){return e.slice(0)}class wt{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,++wt.count}peek(){if(1===this.value.length&&!Tt(this))return Et(this),this.value[0]}recompute(e){return mt(!this.recomputing,"already recomputing"),Et(this),Tt(this)?function(e,t){Nt(e),ht.withValue(e,Ot,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{yt(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,Tt(e))return;St(e)}(e);return bt(e.value)}(this,e):bt(this.value)}setDirty(){this.dirty||(this.dirty=!0,kt(this),yt(this))}dispose(){this.setDirty(),Nt(this),xt(this,((e,t)=>{e.setDirty(),It(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=vt.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(pt(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),vt.push(this.deps),this.deps=null)}}function Et(e){const t=ht.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Tt(e)?Dt(t,e):At(t,e),t}function Ot(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=_t(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!gt(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(o){}}catch(i){e.value[1]=i}e.recomputing=!1}function Tt(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function kt(e){xt(e,Dt)}function St(e){xt(e,At)}function xt(e,t){const n=e.parents.size;if(n){const r=pt(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Dt(e,t){mt(e.childValues.has(t)),mt(Tt(t));const n=!Tt(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=vt.pop()||new Set;e.dirtyChildren.add(t),n&&kt(e)}function At(e,t){mt(e.childValues.has(t)),mt(!Tt(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,_t(t.value)):gt(n,t.value)||e.setDirty(),Rt(e,t),Tt(e)||St(e)}function Rt(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(vt.length<100&&vt.push(n),e.dirtyChildren=null))}function Nt(e){e.childValues.size>
10&&e.childValues.forEach(((t,n)=>{It(e,n)})),e.forgetDeps(),mt(null===e.dirtyChildren)}function It(e,t){t.parents.delete(e),e.childValues.delete(t),Rt(e,t)}wt.count=0;const Ct={setDirty:!0,dispose:!0,forget:!0};function Ft(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=ht.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(yt(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){const r=t.get(e);if(r){const i=n&&dt.call(Ct,n)?n:"setDirty";pt(r).forEach((e=>e[i]())),t.delete(e),yt(r)}},r}let Pt;function jt(...e){return(Pt||(Pt=new nt("function"===typeof WeakMap))).lookupArray(e)}const Lt=new Set;function Mt(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=jt,normalizeResult:i,subscribe:o,cache:s=fe}=Object.create(null)){const a="function"===typeof s?new s(t,(e=>e.dispose())):s,u=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let s=a.get(t);s||(a.set(t,s=new wt(e)),s.normalizeResult=i,s.subscribe=o,s.forget=()=>a.delete(t));const u=s.recompute(Array.prototype.slice.call(arguments));return a.set(t,s),Lt.add(a),ht.hasValue()||(Lt.forEach((e=>e.clean())),Lt.clear()),u};function c(e){const t=e&&a.get(e);t&&t.setDirty()}function l(e){const t=e&&a.get(e);if(t)return t.peek()}function f(e){return!!e&&a.delete(e)}return Object.defineProperty(u,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:a}),u.dirtyKey=c,u.dirty=function(){c(r.apply(null,arguments))},u.peekKey=l,u.peek=function(){return l(r.apply(null,arguments))},u.forgetKey=f,u.forget=function(){return f(r.apply(null,arguments))},u.makeCacheKey=r,u.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(u)}var qt=Symbol.for("apollo.deprecations"),Vt=p,Bt=new ct;function Ut(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Bt.withValue.apply(Bt,(0,r.__spreadArray)([Array.isArray(e)?e:[e]],t,!1))}function Qt(e,t,n,r){void 0===r&&(r="Please remove this option."),zt(t,(function(){t in e&&!1!==globalThis.__DEV__&&b.warn(104,n,t,r)}))}function zt(e,t){(function(e){return Vt[qt]||(Bt.getValue()||[]).includes(e)})(e)||t()}function Wt(e,t){return t?t(e):K.of()}function Kt(e){return"function"===typeof e?new $t(e):e}function Gt(e){return e.request.length<=1}var $t=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return K.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(Kt).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var i,o=Kt(n),s=Kt(r||new e(Wt));return i=Gt(o)&&Gt(s)?new e((function(e){return t(e)?o.request(e)||K.of():s.request(e)||K.of()})):new e((function(e,n){return t(e)?o.request(e,n)||K.of():s.request(e,n)||K.of()})),Object.assign(i,{left:o,right:s})},e.execute=function(e,t){return e.request(function(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"===typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?Ke(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw _(58,i)}return e}(t))))||K.of()},e.concat=function(t,n){var r=Kt(t);if(Gt(r))return!1!==globalThis.__DEV__&&b.warn(47,r),r;var i,o=Kt(n);return i=Gt(o)?new e((function(e){return r.request(e,(function(e){return o.request(e)||K.of()}))||K.of()})):new e((function(e,t){return r.request(e,(function(e){return o.request(e,t)||K.of()}))||K.of()})),Object.assign(i,{left:r,right:o})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(Wt)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw _(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&zt("onError",(function(){!1!==globalThis.__DEV__&&b.warn(49)})),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&b.warn(50),this.onError=e,this},e}();function Jt(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;b(n&&1===n.length,107,r);var i=n[0];b(i.name&&"if"===i.name.value,108,r);var o=i.value;
1b(o&&("Variable"===o.kind||"BooleanValue"===o.kind),109,r),t.push({directive:e,ifArgument:i})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?(i=t&&t[r.value.name.value],b(void 0!==i,106,n.name.value)):i=r.value.value,"skip"===n.name.value?!i:i}))}function Yt(e,t,n){var r=new Set(e),i=r.size;return X(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return Z}}),n?!r.size:r.size<i}function Ht(e){return e&&Yt(["client","export"],e,!0)}function Zt(e){var t,n,r=null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return"unmask"===e.name.value}));if(!r)return"mask";var i=null===(n=r.arguments)||void 0===n?void 0:n.find((function(e){return"mode"===e.name.value}));return!1!==globalThis.__DEV__&&i&&(i.value.kind===H.h.VARIABLE?!1!==globalThis.__DEV__&&b.warn(110):i.value.kind!==H.h.STRING?!1!==globalThis.__DEV__&&b.warn(111):"migrate"!==i.value.value&&!1!==globalThis.__DEV__&&b.warn(112,i.value.value)),i&&"value"in i.value&&"migrate"===i.value.value?"migrate":"unmask"}var Xt=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=_(54,t,i.message);throw r.parseError=i,r}return n},en="ReactNative"==d((function(){return navigator.product})),tn="function"===typeof WeakMap&&!(en&&!global.HermesInternal),nn="function"===typeof WeakSet,rn="function"===typeof Symbol&&"function"===typeof Symbol.for,on=rn&&Symbol.asyncIterator;d((function(){return window.document.createElement})),d((function(){return navigator.userAgent.indexOf("jsdom")>=0}));function sn(e){var t=null,n=null,r=!1,i=[],o=[];function s(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function a(e){n=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function u(){r=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",a),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",s),e.on("error",a),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise((function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])}))}};return on&&(c[Symbol.asyncIterator]=function(){return this}),c}function an(e){var t={next:function(){return e.read()}};return on&&(t[Symbol.asyncIterator]=function(){return this}),t}function un(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!on||!e[Symbol.asyncIterator])}(t))return function(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}(t);if(function(e){return!!e.getReader}(t))return an(t.getReader());if(function(e){return!!e.stream}(t))return an(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,n){e.then((function(e){t({value:e,done:!1})})).catch(n)})))}};return on&&(n[Symbol.asyncIterator]=function(){return this}),n}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return sn(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var cn=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},ln=Symbol();function fn(e){return e.hasOwnProperty("graphQLErrors")}var hn=function(e){function t(n){var i=n.graphQLErrors,o=n.protocolErrors,s=n.clientErrors,a=n.networkError,u=n.errorMessage,c=n.extraInfo,l=e.call(this,u)||this;return l.name="ApolloError",l.graphQLErrors=i||[],l.protocolErrors=o||[],l.clientErrors=s||[],l.networkError=a||null,l.message=u||function(e){var t=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return G(e)&&e.message||"Error message not found."})).join("\n")}(l),l.extraInfo=c,l.cause=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([a],i||[],!0),o||[],!0),s||[],!0).find((function(e){return!!e}))||null,l.__proto__=t.prototype,l}return(0,r.__extends)(t,e),t}(Error),dn=Array.isArray;function pn(e){return Array.isArray(e)&&e.length>0}var yn=Object.prototype.hasOwnProperty;function vn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mn(e)}function mn(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new bn,i=1;i<n;++i)t=r.merge(t,e[i]);return t}
1var gn=function(e,t,n){return this.merge(e[n],t[n])},bn=function(){function e(e){void 0===e&&(e=gn),this.reconciler=e,this.isObject=G,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return G(t)&&G(e)?(Object.keys(t).forEach((function(o){if(yn.call(e,o)){var s=e[o];if(t[o]!==s){var a=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,o],i,!1));a!==s&&((e=n.shallowCopyForMerge(e))[o]=a)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]})),e):t},e.prototype.shallowCopyForMerge=function(e){return G(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function _n(e){return"incremental"in e}function wn(e){return G(e)&&"payload"in e}function En(e,t){var n=e,r=new bn;return _n(t)&&pn(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var s=i[o],a=!isNaN(+s)?[]:{};a[s]=t,t=a}n=r.merge(n,t)})),n}var On=Object.prototype.hasOwnProperty;function Tn(e){var t={};return e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}})),t}function kn(e,t){if(e.status>=300){cn(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(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var Sn=n(7392);const xn=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Dn(e){return An[e.charCodeAt(0)]}const An=["\\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"];const Rn={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Nn(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Pn(e.variableDefinitions)?Cn("(\n",Nn(e.variableDefinitions,"\n"),"\n)"):Cn("(",Nn(e.variableDefinitions,", "),")"),n=Cn("",e.de
1scription,"\n")+Nn([e.operation,Nn([e.name,t]),Nn(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>Cn("",i,"\n")+e+": "+t+Cn(" = ",n)+Cn(" ",Nn(r," "))},SelectionSet:{leave:({selections:e})=>In(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=Cn("",e,": ")+t;let s=o+Cn("(",Nn(n,", "),")");return s.length>80&&(s=o+Cn("(\n",Fn(Nn(n,"\n")),"\n)")),Nn([s,Nn(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Cn(" ",Nn(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Nn(["...",Cn("on ",e),Nn(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:o})=>Cn("",o,"\n")+`fragment ${e}${Cn("(",Nn(n,", "),")")} `+`on ${t} ${Cn("",Nn(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,Sn.LZ)(e):`"${e.replace(xn,Dn)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Nn(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Nn(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Cn("(",Nn(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Cn("",e,"\n")+Nn(["schema",Nn(t," "),In(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Cn("",e,"\n")+Nn(["scalar",t,Nn(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Cn("",e,"\n")+Nn(["type",t,Cn("implements ",Nn(n," & ")),Nn(r," "),In(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>Cn("",e,"\n")+t+(Pn(n)?Cn("(\n",Fn(Nn(n,"\n")),"\n)"):Cn("(",Nn(n,", "),")"))+": "+r+Cn(" ",Nn(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>Cn("",e,"\n")+Nn([t+": "+n,Cn("= ",r),Nn(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Cn("",e,"\n")+Nn(["interface",t,Cn("implements ",Nn(n," & ")),Nn(r," "),In(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>Cn("",e,"\n")+Nn(["union",t,Nn(n," "),Cn("= ",Nn(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>Cn("",e,"\n")+Nn(["enum",t,Nn(n," "),In(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Cn("",e,"\n")+Nn([t,Nn(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>Cn("",e,"\n")+Nn(["input",t,Nn(n," "),In(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>Cn("",e,"\n")+"directive @"+t+(Pn(n)?Cn("(\n",Fn(Nn(n,"\n")),"\n)"):Cn("(",Nn(n,", "),")"))+(r?" repeatable":"")+" on "+Nn(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Nn(["extend schema",Nn(e," "),In(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Nn(["extend scalar",e,Nn(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Nn(["extend type",e,Cn("implements ",Nn(t," & ")),Nn(n," "),In(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Nn(["extend interface",e,Cn("implements ",Nn(t," & ")),Nn(n," "),In(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Nn(["extend union",e,Nn(t," "),Cn("= ",Nn(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Nn(["extend enum",e,Nn(t," "),In(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Nn(["extend input",e,Nn(t," "),In(n)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>Nn([e,Cn(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>Nn([e,Cn(".",t),Cn("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>Nn(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>Nn(["@",e,Cn("(",t,":)")])}};function Nn(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function In(e){return Cn("{\n",Fn(Nn(e,"\n")),"\n}")}function Cn(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Fn(e){return Cn(" ",e.replace(/\n/g,"\n "))}function Pn(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var jn,Ln=Object.assign((function(e){var t=jn.get(e);return t||(t=function(e){return X(e,Rn)}(e),jn.set(e,t)),t}),{reset:function(){jn=new pe(me.print||2e3)}});Ln.reset(),!1!==globalThis.__DEV__&&be("print",(function(){return jn?jn.size:0}));var Mn={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},qn=function(e,t){return t(e)};function Vn(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={},s={};
1n.forEach((function(e){o=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},o),e.options),{headers:(0,r.__assign)((0,r.__assign)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),s=(0,r.__assign)((0,r.__assign)({},s),e.http)})),o.headers&&(o.headers=Bn(o.headers,s.preserveHeaderCase));var a=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:a,variables:c};return s.includeExtensions&&(f.extensions=u),s.includeQuery&&(f.query=t(l,Ln)),{options:o,body:f}}function Bn(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r={};Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var i={};return Object.keys(r).forEach((function(e){i[r[e].originalName]=r[e].value})),i}function Un(e){return new K((function(t){t.error(e)}))}var Qn={kind:H.h.FIELD,name:{kind:H.h.NAME,value:"__typename"}};function zn(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===H.h.FRAGMENT_SPREAD&&zn(t[e.name.value],t)}))}function Wn(e){return zn(We(e)||Je(e),ne(Ge(e)))?null:e}function Kn(e){var t=new Map,n=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))})),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach((function(t,n){n(e)&&(r=t)})),r}}function Gn(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function $n(e,t){ze(t);for(var n=Gn(""),i=Gn(""),o=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!dn(r)){if(r.kind===H.h.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===H.h.FRAGMENT_DEFINITION)return i(r.name.value)}return!1!==globalThis.__DEV__&&b.error(125),null},s=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===H.h.OPERATION_DEFINITION&&++s;var u=Kn(e),c=function(e){return pn(e)&&e.map(u).some((function(e){return e&&e.remove}))},l=new Map,f=!1,h={enter:function(e){if(c(e.directives))return f=!0,null}},d=X(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var s=o(i);s&&s.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(c(e.directives))return f=!0,null;var s=o(i);s&&s.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){l.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===l.get(JSON.stringify(r))?e:s>0&&e.selectionSet.selections.every((function(e){return e.kind===H.h.FIELD&&"__typename"===e.name.value}))?(i(e.name.value).removed=!0,f=!0,null):void 0}},Directive:{leave:function(e){if(u(e))return f=!0,null}}});if(!f)return t;var p=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){p(i(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},y=new Set;d.definitions.forEach((function(e){e.kind===H.h.OPERATION_DEFINITION?p(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){y.add(e)})):e.kind!==H.h.FRAGMENT_DEFINITION||0!==s||i(e.name.value).removed||y.add(e.name.value)})),y.forEach((function(e){p(i(e)).fragmentSpreads.forEach((function(e){y.add(e)}))}));var v={enter:function(e){if(t=e.name.value,!y.has(t)||i(t).removed)return null;var t}};return Wn(X(d,{FragmentSpread:v,FragmentDefinition:v,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=p(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var Jn=Object.assign((function(e){return X(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==H.h.OPERATION_DEFINITION){var i=e.selections;if(i)if(!i.some((function(e){return Qe(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!(Qe(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[Qn],!1)})}}}}})}),{added:function(e){return e===Qn}});function Yn(e){return"query"===Ye(e).operation?e:X(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})}function Hn(e){return ze(e),$n([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function Zn(e){return ze(e),X(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0:t.some((function(e){return"unmask"===e.name.value}))))return(0,r.__assign)((0,r.__assign)({},e),{directives:(0,r.__spreadArray)((0,r.__spreadArray)([],e.directives||[],!0),[{kind:H.h.DIRECTIVE,name:{kind:H.h.NAME,value:"nonreactive"}}
1],!1)})}})}var Xn=d((function(){return fetch})),er=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,i=e.fetch,o=e.print,s=void 0===o?qn:o,a=e.includeExtensions,u=e.preserveHeaderCase,c=e.useGETForQueries,l=e.includeUnusedVariables,f=void 0!==l&&l,h=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"===typeof fetch)throw _(51)}(i||Xn);var p={http:{includeExtensions:a,preserveHeaderCase:u},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new $t((function(e){var t=function(e,t){return e.getContext().uri||("function"===typeof t?t(e):t||"/graphql")}(e,n),o=e.getContext(),a={};if(o.clientAwareness){var u=o.clientAwareness,l=u.name,h=u.version;l&&(a["apollographql-client-name"]=l),h&&(a["apollographql-client-version"]=h)}var y=(0,r.__assign)((0,r.__assign)({},a),o.headers),v={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:y};if(Yt(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&b.warn(52);var m=Hn(e.query);if(!m)return Un(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=m}var g,_=Vn(e,s,Mn,p,v),w=_.options,E=_.body;E.variables&&!f&&(E.variables=function(e,t){var n=(0,r.__assign)({},e),i=new Set(Object.keys(e));return X(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&i.delete(e.name.value)}}
1),i.forEach((function(e){delete n[e]})),n}(E.variables,e.query)),w.signal||"undefined"===typeof AbortController||(g=new AbortController,w.signal=g.signal);var O,T="OperationDefinition"===(O=Ye(e.query)).kind&&"subscription"===O.operation,k=Yt(["defer"],e.query);if(c&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(w.method="GET"),k||T){w.headers=w.headers||{};var S="multipart/mixed;";T&&k&&!1!==globalThis.__DEV__&&b.warn(53),T?S+="boundary=graphql;subscriptionSpec=1.0,application/json":k&&(S+="deferSpec=20220824,application/json"),w.headers.accept=S}if("GET"===w.method){var x=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Xt(t.variables,"Variables map")}catch(A){return{parseError:A}}r("variables",i)}if(t.extensions){var o=void 0;try{o=Xt(t.extensions,"Extensions map")}catch(A){return{parseError:A}}r("extensions",o)}var s="",a=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),a=e.substr(0,u));var c=-1===a.indexOf("?")?"?":"&";return{newURI:a+c+n.join("&")+s}}(t,E),D=x.newURI,A=x.parseError;if(A)return Un(A);t=D}else try{w.body=Xt(E,"Payload")}catch(A){return Un(A)}return new K((function(n){var o=i||d((function(){return fetch}))||Xn,s=n.next.bind(n);return o(t,w).then((function(t){var n;e.setContext({response:t});var i,o=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function(){var n,i,o,s,a,u,c,l,f,h,d,p,y,v,m,g,b,_,w,E,O,T,k,S;return(0,r.__generator)(this,(function(x){switch(x.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),i=null===(S=e.headers)||void 0===S?void 0:S.get("content-type"),o="boundary=",s=(null===i||void 0===i?void 0:i.includes(o))?null===i||void 0===i?void 0:i.substring((null===i||void 0===i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(s),u="",c=un(e),l=!0,x.label=1;case 1:return l?[4,c.next()]:[3,3];case 2:for(f=x.sent(),h=f.value,d=f.done,p="string"===typeof h?h:n.decode(h),y=u.length-a.length+1,l=!d,v=(u+=p).indexOf(a,y);v>-1;){if(m=void 0,T=[u.slice(0,v),u.slice(v+a.length)],u=T[1],g=(m=T[0]).indexOf("\r\n\r\n"),b=Tn(m.slice(0,g)),(_=b["content-type"])&&-1===_.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(w=m.slice(g))if(E=kn(e,w),Object.keys(E).length>1||"data"in E||"incremental"in E||"errors"in E||"payload"in E)if(wn(E)){if(O={},"payload"in E){if(1===Object.keys(E).length&&null===E.payload)return[2];O=(0,r.__assign)({},E.payload)}"errors"in E&&(O=(0,r.__assign)((0,r.__assign)({},O),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in O?O.extensions:null),(k={},k[ln]=E.errors,k))})),t(O)}else t(E);else if(1===Object.keys(E).length&&"hasNext"in E&&!E.hasNext)return[2];v=u.indexOf(a)}return[3,1];case 3:return[2]}}
1))}))}(t,s):(i=e,function(e){return e.text().then((function(t){return kn(e,t)})).then((function(t){return Array.isArray(t)||On.call(t,"data")||On.call(t,"errors")||cn(e,t,"Server response was missing for query '".concat(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName,"'.")),t}))})(t).then(s)})).then((function(){g=void 0,n.complete()})).catch((function(e){g=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)})),function(){g&&g.abort()}}))}))},tr=$t.execute,nr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,er(t).request)||this;return n.options=t,n}return(0,r.__extends)(t,e),t}($t);const{toString:rr,hasOwnProperty:ir}=Object.prototype,or=Function.prototype.toString,sr=new Map;function ar(e,t){try{return cr(e,t)}finally{sr.clear()}}var ur=ar;function cr(e,t){if(e===t)return!0;const n=rr.call(e);if(n!==rr.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(dr(e,t))return!0;const n=lr(e),r=lr(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!ir.call(t,n[e]))return!1;for(let o=0;o<i;++o){const r=n[o];if(!cr(e[r],t[r]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(dr(e,t))return!0;const r=e.entries(),i="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,o]=e.value;if(!t.has(n))return!1;if(i&&!cr(o,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=or.call(e);return n===or.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,hr)}}return!1}function lr(e){return Object.keys(e).filter(fr,e)}function fr(e){return void 0!==this[e]}const hr="{ [native code] }";function dr(e,t){let n=sr.get(e);if(n){if(n.has(t))return!0}else sr.set(e,n=new Set);return n.add(t),!1}function pr(e){return e}var yr=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=nn?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(pr,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e((function(e){return(t(e)?n:r).transformDocument(e)}),{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new nt(tn);this.performWork=Mt(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return b(Array.isArray(r),105),n.lookupArray(r)},max:me["documentTransform.cache"],cache:ce})}},e.prototype.performWork=function(e){return ze(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 n=this;return Object.assign(new e((function(e){return t.transformDocument(n.transformDocument(e))}),{cache:!1}),{left:this,right:t})},e}();function vr(e,t,n){return new K((function(r){var i={then:function(e){return new Promise((function(t){return t(e())}))}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then((function(e){return r.next(e)}),(function(e){return r.error(e)}))}else r[t](n)}}var s={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then((function(){return r.complete()}))}},a=e.subscribe(s);return function(){return a.unsubscribe()}}))}function mr(e){return pn(gr(e))}function gr(e){var t=pn(e.errors)?e.errors.slice(0):[];return _n(e)&&pn(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function br(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function _r(e){function t(t){Object.defineProperty(e,t,{value:K})}return rn&&Symbol.species&&t(Symbol.species),t("@@species"),e}function wr(e){return e&&"function"===typeof e.then}var Er,Or=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),br(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),br(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var i=(void 0===r?[]:r).shift();i?wr(i)?i.then((function(e){return n.sub=e.subscribe(n.handlers)}),n.handlers.error):n.sub=i.subscribe(n.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),br(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch((function(e){})),"function"===typeof t&&(t=[new K(t)]),wr(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.__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],n=e[t];n&&n.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 n=this.nextResultListeners;
1n.size&&(this.nextResultListeners=new Set,n.forEach((function(n){return n(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(n,r){t||(t=!0,e(n,r))}))},t}(K);function Tr(e){return!!e&&e<7}function kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}_r(Or),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"}(Er||(Er={}));var Sr=Object.prototype.toString;function xr(e){return Dr(e)}function Dr(e,t){switch(Sr.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=Dr(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=Dr(e[n],t)})),r;default:return e}}function Ar(e,t,n,i){var o=t.data,s=(0,r.__rest)(t,["data"]),a=n.data,u=(0,r.__rest)(n,["data"]);return ur(s,u)&&Rr(Ye(e).selectionSet,o,a,{fragmentMap:ne(Ge(e)),variables:i})}function Rr(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every((function(e){if(i.has(e))return!0;if(i.add(e),!Jt(e,r.variables))return!0;if(Nr(e))return!0;if(Qe(e)){var o=Be(e),s=t&&t[o],a=n&&n[o],u=e.selectionSet;if(!u)return ur(s,a);var c=Array.isArray(s),l=Array.isArray(a);if(c!==l)return!1;if(c&&l){var f=s.length;if(a.length!==f)return!1;for(var h=0;h<f;++h)if(!Rr(u,s[h],a[h],r))return!1;return!0}return Rr(u,s,a,r)}var d=re(e,r.fragmentMap);return d?!!Nr(d)||Rr(d.selectionSet,t,n,r):void 0}))}function Nr(e){return!!e.directives&&e.directives.some(Ir)}function Ir(e){return"nonreactive"===e.name.value}var Cr=Object.assign,Fr=Object.hasOwnProperty,Pr=function(e){function t(n){var i=n.queryManager,o=n.queryInfo,s=n.options,a=this,u=t.inactiveOnCreation.getValue();(a=e.call(this,(function(e){a._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=jr)}catch(n){}var r=!a.observers.size;a.observers.add(e);var i=a.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(a.maskResult(i.result)),r&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this).observers=new Set,a.subscriptions=new Set,a.dirty=!1,a._getOrCreateQuery=function(){return u&&(i.queries.set(a.queryId,o),u=!1),a.queryManager.getOrCreateQuery(a.queryId)},a.queryInfo=o,a.queryManager=i,a.waitForOwnResult=Mr(s.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var c=i.defaultOptions.watchQuery,l=(void 0===c?{}:c).fetchPolicy,f=void 0===l?"cache-first":l,h=s.fetchPolicy,d=void 0===h?f:h,p=s.initialFetchPolicy,y=void 0===p?"standby"===d?f:d:p;a.options=(0,r.__assign)((0,r.__assign)({},s),{initialFetchPolicy:y,fetchPolicy:d}),a.queryId=o.queryId||i.generateQueryId();var v=We(a.query);return a.queryName=v&&v.name&&v.name.value,a}return(0,r.__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!1!==globalThis.__DEV__&&zt("observableQuery.result",(function(){!1!==globalThis.__DEV__&&b.warn(23)})),new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var n=Ut("getLastResult",(function(){return t.getLastResult(!0)})),i=this.queryInfo.networkStatus||n&&n.networkStatus||Er.ready,o=(0,r.__assign)((0,r.__assign)({},n),{loading:Tr(i),networkStatus:i}),s=this.options.fetchPolicy,a=void 0===s?"cache-first":s;if(Mr(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(o.data=u.result),ar(o.data,{})&&(o.data=void 0),u.complete?(delete o.partial,!u.complete||o.networkStatus!==Er.loading||"cache-first"!==a&&"cac
1he-only"!==a||(o.networkStatus=Er.ready,o.loading=!1)):o.partial=!0,o.networkStatus===Er.ready&&(o.error||o.errors)&&(o.networkStatus=Er.error),!1===globalThis.__DEV__||u.complete||this.options.partialRefetch||o.loading||o.data||o.error||Lr(u.missing)}return e&&this.updateLastResult(o),o},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 n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,i=r?n.nonReactiveQuery:this.query;return(r||n.hasNonreactiveDirective?!Ar(i,this.last.result,e,this.variables):!ar(this.last.result,e))||t&&!ar(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||ar(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&zt("getLastResult",(function(){!1!==globalThis.__DEV__&&b.warn(24)})),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&zt("getLastError",(function(){!1!==globalThis.__DEV__&&b.warn(25)})),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&zt("resetLastResults",(function(){!1!==globalThis.__DEV__&&b.warn(26)})),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&b.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},i=this.options.fetchPolicy;if(n.fetchPolicy="no-cache"===i?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&Fr.call(e,"variables")){var o=$e(this.query),s=o.variableDefinitions;s&&s.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&b.warn(28,e,(null===(t=o.name)||void 0===t?void 0:t.value)||o)}return e&&!ar(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.__assign)((0,r.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Er.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.__assign)((0,r.__assign)({},e.query?e:(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,r.__assign)((0,r.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var o=this.queryInfo,s=o.networkStatus;o.networkStatus=Er.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set,u=null===e||void 0===e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||b(u,29),this.queryManager.fetchQuery(i,n,Er.fetchMore).then((function(l){if(t.queryManager.removeQuery(i),o.networkStatus===Er.fetchMore&&(o.networkStatus=s),c)t.queryManager.cache.batch({update:function(r){var i=e.updateQuery;i?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return i(e,{fetchMoreResult:l.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:l.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var f=t.getLast("result"),h=u(f.data,{fetchMoreResult:l.data,variables:n.variables});t.reportResult((0,r.__assign)((0,r.__assign)({},f),{networkStatus:s,loading:Tr(s),data:h}),t.variables)}return t.maskResult(l)})).finally((function(){c&&!a.has(t.query)&&t.reobserveCacheFirst()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var i=e.updateQuery;i&&t.updateQuery((function(e,t){return i(e,(0,r.__assign)({subscriptionData:n},t))}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&b.error(30,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&(Qt(e,"canonizeResults","setOptions"),zt("setOptions",(function(){!1!==globalThis.__DEV__&&b.warn(31)}))),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=kr(this.options,e||{});Cr(this.options,t)},t.prototype.setVariables=function(e){var t=this;return ar(this.variables,e)?this.observers.size?Ut("observableQuery.result",(function(){return t.result()})):Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Er.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),r=n.result,i=n.complete,o=e(r,{variables:this.variables,complete:!!i,previousData:r});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 n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{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,n){var r=this._getOrCreateQuery();return r.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(r,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){b(n,32),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&(Tr(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Er.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){var n=this;void 0===t&&(t=this.variables);var i=Ut("getLastError",(function(){return n.getLastError()}));return i&&this.last&&!ar(t,this.last.variables)&&(i=void 0),this.last=(0,r.__assign)({result:this.queryManager.assumeImmutableResults?e:xr(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var i=t===Er.refetch||t===Er.fetchMore||t===Er.poll,o=this.options.variables,s=this.options.fetchPolicy,a=kr(this.options,e||{}),u=i?a:Cr(this.options,a),c=this.transformDocument(u.query);this.lastQuery=c,i||(this.updatePolling(),!e||!e.variables||ar(e.variables,o)||"standby"===u.fetchPolicy||u.fetchPolicy!==s&&"function"!==typeof u.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=Er.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Mr(u.fetchPolicy));var l=function(){n.concast===d&&(n.waitForOwnResult=!1)},f=u.variables&&(0,r.__assign)({},u.variables),h=this.fetch(u,t,c),d=h.concast,p=h.fromLink,y={next:function(e){ar(n.variables,f)&&(l(),n.reportResult(e,f))},error:function(e){ar(n.variables,f)&&(fn(e)||(e=new hn({networkError:e})),l(),n.reportError(e,f))}};return i||!p&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=y),d.addObserver(y),d},t.prototype.reobserve=function(e,t){return(n=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch((function(){})),n;var n},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.last;Ut("resetLastResults",(function(){return e.resetLastResults()}));var i=this.subscribe.apply(this,t);return this.last=r,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this,r=Ut("getLastError",(function(){return n.getLastError()})),i=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||i)&&br(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=this,i=(0,r.__assign)((0,r.__assign)({},Ut("getLastResult",(function(){return n.getLastResult()}))),{error:e,errors:e.graphQLErrors,networkStatus:Er.error,loading:!1});this.updateLastResult(i,t),br(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},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,r.__assign)((0,r.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return e.notify()}),0)))},t.prototype.notify=function(){(this.cancelNotifyTimeout(),this.dirty)&&("cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&Tr(this.queryInfo.networkStatus)||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()));this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,r){return this.nextFetchPolicy=n,"function"===typeof this.nextFetchPolicy?this.nextFetchPolicy(e,r):t}}):this.reobserve()},t.inactiveOnCreation=new ct,t}(K);function jr(e){!1!==globalThis.__DEV__&&b.error(33,e.message,e.stack)}function Lr(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&b.debug(34,e)}function Mr(e){return"network-only"===e||"no-cache"===e||"standby"===e}_r(Pr);var qr=new(tn?WeakMap:Map);function Vr(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return qr.set(e,(qr.get(e)+1)%1e15),n.apply(this,arguments)})}var Br=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var n=this.cache=e.cache;qr.has(n)||(qr.set(n,0),Vr(n,"evict"),Vr(n,"modify"),Vr(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Er.loading;return this.variables&&this.networkStatus!==Er.loading&&!ar(this.variables,e.variables)&&(t=Er.setVariables),ar(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),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.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&ar(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=Ut("canonizeResults",(function(){return e.cache.diff(t)}));return this.updateLastDiff(r,t),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,n=this,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&Ut("getLastError",(function(){var e;return null===(e=n.observableQuery)||void 0===e?void 0:e.getLastError()}))||(this.updateLastDiff(e),ar(r&&r.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null===(e=this.observableQuery)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var i=(0,r.__assign)((0,r.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&ar(i,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===qr.get(this.cache)&&ar(t,n.variables)&&ar(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i,o=this,s=new bn,a=pn(e.errors)?e.errors.slice(0):[];if(null===(i=this.observableQuery)||void 0===i||i.resetNotifications(),"incremental"in e&&pn(e.incremental)){var u=En(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=s.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(Ur(e,n.errorPolicy)?this.cache.performTransaction((function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:qr.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(e.data=o.lastDiff.diff.result);var s=o.getDiffOptions(n.variables),a=Ut("canonizeResults",(function(){return i.diff(s)}));!o.stopped&&ar(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(a,s),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Er.ready},e.prototype.markError=function(e){var t;return this.networkStatus=Er.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Ur(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!mr(e);return!r&&n&&e.data&&(r=!0),r}function Qr(e){var t=new Set([e]);return t.forEach((function(e){G(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){G(e[n])&&t.add(e[n])}))})),e}function zr(e){return!1!==globalThis.__DEV__&&Qr(e),e}var Wr=tn?WeakMap:Map,Kr=nn?WeakSet:Set,Gr=new ct,$r=!1;function Jr(){$r||($r=!0,!1!==globalThis.__DEV__&&b.warn(64))}function Yr(e,t,n){return Gr.withValue(!0,(function(){var r=Hr(e,t,n,!1);return Object.isFrozen(e)&&zr(r),r}))}function Hr(e,t,n,r,i){var o,s=n.knownChanged,a=function(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}(e,n.mutableTargets);if(Array.isArray(e)){for(var u=0,c=Array.from(e.entries());u<c.length;u++){var l=c[u],f=l[0],h=l[1];if(null!==h){var d=Hr(h,t,n,r,!1!==globalThis.__DEV__?"".concat(i||"","[").concat(f,"]"):void 0);s.has(d)&&s.add(a),a[f]=d}else a[f]=null}return s.has(a)?a:e}for(var p=0,y=t.selections;p<y.length;p++){var v=y[p],m=void 0;if(r&&s.add(a),v.kind===H.h.FIELD){var g=Be(v),_=v.selectionSet;if(void 0===(m=a[g]||e[g]))continue;if(_&&null!==m){d=Hr(e[g],_,n,r,!1!==globalThis.__DEV__?"".concat(i||"",".").concat(g):void 0);s.has(d)&&(m=d)}!1===globalThis.__DEV__&&(a[g]=m),!1!==globalThis.__DEV__&&(r&&"__typename"!==g&&!(null===(o=Object.getOwnPropertyDescriptor(a,g))||void 0===o?void 0:o.value)?Object.defineProperty(a,g,Zr(g,m,i||"",n.operationName,n.operationType)):(delete a[g],a[g]=m))}if(v.kind!==H.h.INLINE_FRAGMENT||v.typeCondition&&!n.cache.fragmentMatches(v,e.__typename)||(m=Hr(e,v.selectionSet,n,r,i)),v.kind===H.h.FRAGMENT_SPREAD){var w=v.name.value,E=n.fragmentMap[w]||(n.fragmentMap[w]=n.cache.lookupFragment(w));b(E,59,w);var O=Zt(v);"mask"!==O&&(m=Hr(e,E.selectionSet,n,"migrate"===O,i))}s.has(m)&&s.add(a)}return"__typename"in e&&!("__typename"in a)&&(a.__typename=e.__typename),Object.keys(a).length!==Object.keys(e).length&&s.add(a),s.has(a)?a:e}function Zr(e,t,n,r,i){var o=function(){return Gr.getValue()||(!1!==globalThis.__DEV__&&b.warn(60,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}function Xr(e,t,n,r){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&Jr(),e;var i=t.definitions.filter((function(e){return e.kind===H.h.FRAGMENT_DEFINITION}));"undefined"===typeof r&&(b(1===i.length,61,i.length),r=i[0].name.value);var o=i.find((function(e){return e.name.value===r}));return b(!!o,62,r),null==e||ur(e,{})?e:Yr(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:ne(Ge(t)),cache:n,mutableTargets:new Wr,knownChanged:new Kr})}var ei=Object.prototype.hasOwnProperty,ti=Object.create(null),ni=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new pe(me["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new nt(!1),this.noCacheWarningsByQueryId=new Set;var n=new yr((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 r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
1this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(_(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,r.__awaiter)(this,arguments,void 0,(function(e){var t,n,i,o,s,a,u,c=e.mutation,l=e.variables,f=e.optimisticResponse,h=e.updateQueries,d=e.refetchQueries,p=void 0===d?[]:d,y=e.awaitRefetchQueries,v=void 0!==y&&y,m=e.update,g=e.onQueryUpdated,_=e.fetchPolicy,w=void 0===_?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":_,E=e.errorPolicy,O=void 0===E?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.errorPolicy)||"none":E,T=e.keepRootFields,k=e.context;return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return b(c,36),b("network-only"===w||"no-cache"===w,37),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,l=this.getVariables(c,l),n?[4,this.localState.addExportedVariables(c,l,k)]:[3,2];case 1:l=e.sent(),e.label=2;case 2:return i=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:l,loading:!0,error:null}),o=f&&this.markMutationOptimistic(f,{mutationId:t,document:c,variables:l,fetchPolicy:w,errorPolicy:O,context:k,updateQueries:h,update:m,keepRootFields:T}),this.broadcastQueries(),s=this,[2,new Promise((function(e,n){return vr(s.getObservableFromLink(c,(0,r.__assign)((0,r.__assign)({},k),{optimisticResponse:o?f:void 0}),l,{},!1),(function(e){if(mr(e)&&"none"===O)throw new hn({graphQLErrors:gr(e)});i&&(i.loading=!1,i.error=null);var n=(0,r.__assign)({},e);return"function"===typeof p&&(p=p(n)),"ignore"===O&&mr(n)&&delete n.errors,s.markMutationResult({mutationId:t,result:n,document:c,variables:l,fetchPolicy:w,errorPolicy:O,context:k,update:m,updateQueries:h,awaitRefetchQueries:v,refetchQueries:p,removeOptimistic:o?t:void 0,onQueryUpdated:g,keepRootFields:T})})).subscribe({next:function(n){s.broadcastQueries(),"hasNext"in n&&!1!==n.hasNext||e((0,r.__assign)((0,r.__assign)({},n),{data:s.maskOperation({document:c,data:n.data,fetchPolicy:w,id:t})}))},error:function(e){i&&(i.loading=!1,i.error=e),o&&s.cache.removeOptimistic(t),s.broadcastQueries(),n(e instanceof hn?e:new hn({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&Ur(i,e.errorPolicy)){if(_n(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),_n(i)&&pn(i.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),u=void 0;a.result&&(u=En(a.result,i)),"undefined"!==typeof u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach((function(e,r){var s=e.observableQuery,a=s&&s.queryName;if(a&&ei.call(c,a)){var u=c[a],l=n.queries.get(r),f=l.document,h=l.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),p=d.result;if(d.complete&&p){var y=u(p,{mutationResult:i,queryName:f&&Ke(f)||void 0,queryVariables:h});y&&o.push({result:y,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var a,u=e.update,c=!(_n(a=i)||function(e){return"hasNext"in e&&"data"in e}(a))||_n(i)&&!i.hasNext;if(u){if(!s){var l=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,r.__assign)((0,r.__assign)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}
1).forEach((function(e){return l.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,i="function"===typeof e?e(t.variables,{IGNORE:ti}):e;return i!==ti&&(this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,r.__assign)((0,r.__assign)({},t),{result:{data:i}}),e)}catch(o){!1!==globalThis.__DEV__&&b.error(o)}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={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 n={hasClientExports:Ht(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:Yt(["nonreactive"],e),nonReactiveQuery:Zn(e),clientQuery:this.localState.clientQuery(e),serverQuery:$n([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:He(We(e)),asQuery:(0,r.__assign)((0,r.__assign)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.__assign)((0,r.__assign)({},e),{operation:"query"}):e}))})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.__assign)((0,r.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);"undefined"===typeof(e=(0,r.__assign)((0,r.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new Br(this),i=new Pr({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,Pr.inactiveOnCreation.getValue()||this.queries.set(i.queryId,n),n.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var n=this;void 0===t&&(t=this.generateQueryId()),b(e.query,38),b("Document"===e.query.kind,39),b(!e.returnPartialData,40),b(!e.pollInterval,41);var i=this.transform(e.query);return this.fetchQuery(t,(0,r.__assign)((0,r.__assign)({},e),{query:i})).then((function(o){return o&&(0,r.__assign)((0,r.__assign)({},o),{data:n.maskOperation({document:i,data:o.data,fetchPolicy:e.fetchPolicy,id:t})})})).finally((function(){return n.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(_(42)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Er.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 n=new Map,i=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){if("string"===typeof e)i.set(e,e),o.set(e,!1);else if(G(r=e)&&"Document"===r.kind&&Array.isArray(r.definitions)){var n=Ln(t.transform(e));i.set(n,Ke(e)),o.set(n,!1)}else G(e)&&e.query&&s.add(e);var r})),this.queries.forEach((function(t,r){var i=t.observableQuery,s=t.document;if(i){if("all"===e)return void n.set(r,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&o.has(a)||s&&o.has(Ln(s)))&&(n.set(r,i),a&&o.set(a,!0),s&&o.set(Ln(s),!0))}}
1)),s.size&&s.forEach((function(e){var i=v("legacyOneTimeQuery"),o=t.getOrCreateQuery(i).init({document:e.query,variables:e.variables}),s=new Pr({queryManager:t,queryInfo:o,options:(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"network-only"})});b(s.queryId===i),o.setObservableQuery(s),n.set(i,s)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(e,t){if(!e){var n=i.get(t);n?!1!==globalThis.__DEV__&&b.warn(43,n):!1!==globalThis.__DEV__&&b.warn(44)}})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,i){var o=r.options.fetchPolicy;Ut("resetLastResults",(function(){return r.resetLastResults()})),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),(t.queries.get(i)||r.queryInfo).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.variables,i=e.fetchPolicy,o=e.errorPolicy,s=void 0===o?"none":o,a=e.context,u=void 0===a?{}:a,c=e.extensions,l=void 0===c?{}:c;n=this.transform(n),r=this.getVariables(n,r);var f=function(e){return t.getObservableFromLink(n,u,e,l).map((function(r){"no-cache"!==i&&(Ur(r,s)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=mr(r),a=function(e){return!!e.extensions&&Array.isArray(e.extensions[ln])}(r);if(o||a){var u={};if(o&&(u.graphQLErrors=r.errors),a&&(u.protocolErrors=r.extensions[ln]),"none"===s||a)throw new hn(u)}return"ignore"===s&&delete r.errors,r}))};if(this.getDocumentInfo(n).hasClientExports){var h=this.localState.addExportedVariables(n,r,u).then(f);return new K((function(e){var t=null;return h.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return f(r)},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){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){var t;return null===(t=e.observableQuery)||void 0===t?void 0:t.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i,o){var s,a,u=this;void 0===o&&(o=null!==(s=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var h=this.inFlightLinkObservables,d=this.link,p={query:l,variables:n,operationName:Ke(l)||void 0,context:this.prepareContext((0,r.__assign)((0,r.__assign)({},t),{forceFetch:!o})),extensions:i};if(t=p.context,o){var y=Ln(l),v=Ne(n),m=h.lookup(y,v);if(!(a=m.observable)){var g=new Or([tr(d,p)]);a=m.observable=g,g.beforeNext((function e(t,n){"next"===t&&"hasNext"in n&&n.hasNext?g.beforeNext(e):h.remove(y,v)}))}}else a=new Or([tr(d,p)])}else a=new Or([K.of({data:{}})]),t=this.prepareContext(t);return f&&(a=vr(a,(function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:n})}))),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return vr(this.getObservableFromLink(i,n.context,n.variables),(function(o){var s=gr(o),a=s.length>0,u=n.errorPolicy;if(r>=e.lastRequestId){if(a&&"none"===u)throw e.markError(new hn({graphQLErrors:s}));e.markResult(o,i,n,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:Er.ready};return a&&"none"===u&&(c.data=void 0),a&&"ignore"!==u&&(c.errors=s,c.networkStatus=Er.error),c}),(function(t){var n=fn(t)?t:new hn({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i=this;void 0===n&&(n=Er.loading),void 0===r&&(r=t.query);var o,s,a=this.getVariables(r,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,d=t.returnPartialData,p=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,v=void 0!==y&&y,m=t.context,g=void 0===m?{}:m,b=Object.assign({},t,{query:r,variables:a,fetchPolicy:l,errorPolicy:h,returnPartialData:p,notifyOnNetworkStatusChange:v,context:g}),_=function(r){b.variables=r;var o=i.fetchQueryByPolicy(e,b,n);return"standby"!==b.fetchPolicy&&o.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),o},w=function(){return i.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,(function(e){w(),setTimeout((function(){return o.cancel(e)}))})),this.getDocumentInfo(b.query).hasClientExports)o=new Or(this.localState.addExportedVariables(b.query,b.variables,b.context).then(_).then((function(e){return e.sources}))),s=!0;else{var E=_(b.variables);s=E.fromLink,o=new Or(E.sources)}
1return o.promise.then(w,w),{concast:o,fromLink:s}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,s=e.removeOptimistic,a=void 0===s?o?v("refetchQueries"):void 0:s,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:(t.queries.get(n)||e.queryInfo).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Br&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r,i=e.oq,o=e.lastDiff,s=e.diff;u&&(s||(s=Ut("canonizeResults",(function(){return t.cache.diff(i.queryInfo.getDiffOptions())}))),r=u(i,s,o)),u&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),a&&this.cache.removeOptimistic(a),l},e.prototype.maskOperation=function(e){var t,n,r,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,a=e.id,u=null===(t=We(i))||void 0===t?void 0:t.operation,c=(null!==(n=null===u||void 0===u?void 0:u[0])&&void 0!==n?n:"o")+a;!this.dataMasking||"no-cache"!==s||function(e){var t=!0;return X(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some((function(e){return"unmask"===e.name.value}))))return Z}}),t}(i)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&b.warn(45,null!==(r=Ke(i))&&void 0!==r?r:"Unnamed ".concat(null!==u&&void 0!==u?u:"operation")))}return this.dataMasking?function(e,t,n){var r;if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&Jr(),e;var i=We(t);return b(i,63),null==e?e:Yr(e,i.selectionSet,{operationType:i.operation,operationName:null===(r=i.name)||void 0===r?void 0:r.value,fragmentMap:ne(Ge(t)),cache:n,mutableTargets:new Wr,knownChanged:new Kr})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,n=e.fragment,r=e.fragmentName;return this.dataMasking?Xr(t,n,this.cache,r):t},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,s=t.variables,a=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:s,networkStatus:n});var p=function(){return e.getDiff()},y=function(t,n){void 0===n&&(n=e.networkStatus||Er.loading);var a=t.result;!1===globalThis.__DEV__||l||ar(a,{})||Lr(t.missing);var u=function(e){return K.of((0,r.__assign)({data:e,loading:Tr(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:a},context:f,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return u(e.data||void 0)})):"none"===c&&n===Er.refetch&&Array.isArray(t.missing)?u(void 0):u(a)},v="no-cache"===a?0:n===Er.refetch&&"merge"!==u?1:2,m=function(){return i.getResultsFromLink(e,v,{query:o,variables:s,context:f,fetchPolicy:a,errorPolicy:c})},g=h&&"number"===typeof d&&d!==n&&Tr(n);switch(a){default:case"cache-first":return(b=p()).complete?{fromLink:!1,sources:[y(b,e.markReady())]}:l||g?{fromLink:!0,sources:[y(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-and-network":var b;return(b=p()).complete||l||g?{fromLink:!0,sources:[y(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[y(p(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[y(p()),m()]}:{fromLink:!0,sources:[m()]};case"no-cache":return g?{fromLink:!0,sources:[y(e.getDiff()),m()]}:{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Br(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function ri(e){return e.kind===H.h.FIELD||e.kind===H.h.FRAGMENT_SPREAD||e.kind===H.h.INLINE_FRAGMENT}var ii=new ct,oi=new WeakMap;function si(e){var t=oi.get(e);return t||oi.set(e,t={vars:new Set,dep:Ft()}),t}
1function ai(e){si(e).vars.forEach((function(t){return t.forgetCache(e)}))}function ui(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach((function(e){si(e).dep.dirty(r),ci(e)}));var s=Array.from(n);n.clear(),s.forEach((function(t){return t(e)}))}}else{var a=ii.getValue();a&&(i(a),si(a).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),si(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function ci(e){e.broadcastWatches&&e.broadcastWatches()}var li=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),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=vn(t.resolvers,e)})):this.resolvers=vn(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,r.__awaiter)(this,arguments,void 0,(function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,s=e.onlyRunForcedResolvers,a=void 0!==s&&s;return(0,r.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,a).then((function(e){return(0,r.__assign)((0,r.__assign)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Yt(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return Hn(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.__assign)((0,r.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,r.__awaiter)(this,arguments,void 0,(function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.__generator)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.__assign)((0,r.__assign)({},t),e.exportedVariables)}))]:[2,(0,r.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return X(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 Z}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Yn(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,r.__awaiter)(this,arguments,void 0,(function(e,t,n,i,o,s){var a,u,c,l,f,h,d,p,y,v;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,r.__generator)(this,(function(m){return a=Ye(e),u=Ge(e),c=ne(u),l=this.collectSelectionsToResolve(a,c),f=a.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=(d=this).cache,y=d.client,v={fragmentMap:c,context:(0,r.__assign)((0,r.__assign)({},n),{cache:p,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:s},!1,[2,this.resolveSelectionSet(a.selectionSet,false,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,s,a,u,c,l=this;return(0,r.__generator)(this,(function(f){return o=i.fragmentMap,s=i.context,a=i.variables,u=[n],c=function(e){return(0,r.__awaiter)(l,void 0,void 0,(function(){var c,l;return(0,r.__generator)(this,(function(r){return(t||i.selectionsToResolve.has(e))&&Jt(e,a)?Qe(e)?[2,this.resolveField(e,t,n,i).then((function(t){var n;"undefined"!==typeof t&&u.push(((n={})[Be(e)]=t,n))}))]:(!function(e){return"InlineFragment"===e.kind}(e)?(c=o[e.name.value],b(c,21,e.name.value)):c=e,c&&c.typeCondition&&(l=c.typeCondition.name.value,i.fragmentMatcher(n,l,s))?[2,this.resolveSelectionSet(c.selectionSet,t,n,i).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return mn(u)}))]}))}))},e.prototype.resolveField=function(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,s,a,u,c,l,f,h,d,p=this;return(0,r.__generator)(this,(function(r){return n?(o=i.variables,s=e.name.value,a=Be(e),u=s!==a,c=n[a]||n[s],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?s:a])&&(l=Promise.resolve(ii.withValue(this.cache,d,[n,Ve(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(n){var r,o;
1if(void 0===n&&(n=c),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]=n)}))})),!e.selectionSet)return n;if(null==n)return n;var s=null!==(o=null===(r=e.directives)||void 0===r?void 0:r.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(n)?p.resolveSubSelectedArray(e,t||s,n,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||s,n,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(i){if(!r.has(i)){var o=new Set;r.set(i,o),X(i,{Directive:function(e,t,r,i,s){"client"===e.name.value&&s.forEach((function(e){n(e)&&ri(e)&&o.add(e)}))},FragmentSpread:function(r,i,s,a,u){var c=t[r.name.value];b(c,22,r.name.value);var l=e(c);l.size>0&&(u.forEach((function(e){n(e)&&ri(e)&&o.add(e)})),o.add(r),l.forEach((function(e){o.add(e)})))}})}return r.get(i)}(e)},e}();function fi(e,t){return kr(e,t,t.variables&&{variables:kr((0,r.__assign)((0,r.__assign)({},e&&e.variables),t.variables))})}var hi=!1,di=function(){function e(e){var t,n,i,o=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw _(16);var s=e.uri,a=e.credentials,u=e.headers,c=e.cache,l=e.documentTransform,f=e.ssrMode,d=void 0!==f&&f,p=e.ssrForceFetchDelay,y=void 0===p?0:p,v=e.connectToDevTools,m=e.queryDeduplication,g=void 0===m||m,w=e.defaultOptions,E=e.defaultContext,O=e.assumeImmutableResults,T=void 0===O?c.assumeImmutableResults:O,k=e.resolvers,S=e.typeDefs,x=e.fragmentMatcher,D=e.clientAwareness,A=e.name,R=e.version,N=e.devtools,I=e.dataMasking;!1!==globalThis.__DEV__&&(Qt(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),Qt(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),Qt(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),Qt(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),Qt(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),Qt(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),Qt(e,"typeDefs","ApolloClient"),e.link||!1!==globalThis.__DEV__&&b.warn(17));var C=e.link;C||(C=s?new nr({uri:s,credentials:a,headers:u}):$t.empty()),this.link=C,this.cache=c,this.disableNetworkFetches=d||y>0,this.queryDeduplication=g,this.defaultOptions=w||Object.create(null),this.typeDefs=S,this.devtoolsConfig=(0,r.__assign)((0,r.__assign)({},N),{enabled:null!==(t=null===N||void 0===N?void 0:N.enabled)&&void 0!==t?t:v}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),y&&setTimeout((function(){return o.disableNetworkFetches=!1}),y),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=h,this.localState=new li({cache:c,client:this,resolvers:k,fragmentMatcher:x}),this.queryManager=new ni({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:E,documentTransform:l,queryDeduplication:g,ssrMode:d,dataMasking:!!I,clientAwareness:{name:null!==(n=null===D||void 0===D?void 0:D.name)&&void 0!==n?n:A,version:null!==(i=null===D||void 0===D?void 0:D.version)&&void 0!==i?i:R},localState:this.localState,assumeImmutableResults:T,onBroadcast:this.devtoolsConfig.enabled?function(){o.devToolsHookCb&&o.devToolsHookCb({action:{},state:{queries:o.queryManager.getQueryStore(),mutations:o.queryManager.mutationStore||{}},dataWithOptimisticResults:o.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
1,enumerable:!1,configurable:!0}),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,hi||!1===globalThis.__DEV__||(hi=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout((function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"===typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&b.log("Download the Apollo DevTools for a better development experience: %s",n)}}),1e4))}},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=fi(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&(Qt(e,"canonizeResults","client.watchQuery"),Qt(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=fi(this.defaultOptions.query,e)),b("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&(Qt(e,"canonizeResults","client.query"),Qt(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&b.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=fi(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map((function(i){return(0,r.__assign)((0,r.__assign)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:n})})}))},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,r.__assign)((0,r.__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 tr(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),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var i=Promise.all(r);return i.queries=n,i.results=r,i.catch((function(e){!1!==globalThis.__DEV__&&b.debug(20,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}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(di.prototype.getMemoryInternals=_e);var pi=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Mt(te,{max:me["cache.fragmentQueryDocuments"]||1e3,cache:ce})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),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){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.readQuery"),Ut("canonizeResults",(function(){return n.read((0,r.__assign)((0,r.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))}))},e.prototype.watchFragment=function(e){var t=this,n=e.fragment,i=e.fragmentName,o=e.from,s=e.optimistic,a=void 0===s||s,u=(0,r.__rest)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(n,i),l="undefined"===typeof o||"string"===typeof o?o:this.identify(o),f=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var h=i||Je(n).name.value;l||!1!==globalThis.__DEV__&&b.warn(1,h)}var d,p=(0,r.__assign)((0,r.__assign)({},u),{returnPartialData:!0,id:l,query:c,optimistic:a});return new K((function(o){return t.watch((0,r.__assign)((0,r.__assign)({},p),{immediate:!0,callback:function(s){var a=f?Xr(s.result,n,t,i):s.result;if(!d||!Ar(c,{data:d.result},{data:a},e.variables)){var u={data:a,complete:!!s.complete};s.missing&&(u.missing=mn(s.missing.map((function(e){return e.missing})))),d=(0,r.__assign)((0,r.__assign)({},s),{result:a}),o.next(u)}}}))}))},e.prototype.readFragment=function(e,t){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.readFragment"),Ut("canonizeResults",(function(){return n.read((0,r.__assign)((0,r.__assign)({},e),{query:n.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,o=e.fragmentName,s=(0,r.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(s,{query:this.getFragmentDoc(i,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(n){var i=Ut("canonizeResults",(function(){return n.readQuery(e)})),o=t(i);return void 0===o||null===o?i:(n.writeQuery((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(n){var i=Ut("canonizeResults",(function(){return n.readFragment(e)})),o=t(i);return void 0===o||null===o?i:(n.writeFragment((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(pi.prototype.getMemoryInternals=Ee);var yi=function(e){function t(n,r,i,o){var s,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=o,Array.isArray(a.path)){a.missing=a.message;for(var u=a.path.length-1;u>=0;--u)a.missing=((s={})[a.path[u]]=a.missing,s)}else a.missing=a.path;return a.__proto__=t.prototype,a}return(0,r.__extends)(t,e),t}(Error),vi=Object.prototype.hasOwnProperty;function mi(e){return null===e||void 0===e}function gi(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"===typeof n&&(t&&(t.keyObject=mi(r)?mi(i)?void 0:{_id:i}:{id:r}),mi(r)&&!mi(i)&&(r=i),!mi(r)))return"".concat(n,":").concat("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))}var bi={dataIdFromObject:gi,addTypename:!0,resultCaching:!0,canonizeResults:!1};function _i(e){var t=e.canonizeResults;return void 0===t?bi.canonizeResults:t}var wi=/^[_a-z][_0-9a-z]*/i;function Ei(e){var t=e.match(wi);return t?t[0]:e}function Oi(e,t,n){return!!G(t)&&(dn(t)?t.every((function(t){return Oi(e,t,n)})):e.selections.every((function(e){if(Qe(e)&&Jt(e,n)){var r=Be(e);return vi.call(t,r)&&(!e.selectionSet||Oi(e.selectionSet,t[r],n))}return!0})))}function Ti(e){return G(e)&&!Pe(e)&&!dn(e)}function ki(e,t){var n=ne(Ge(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var Si=Object.create(null),xi=function(){return Si},Di=Object.create(null),Ai=function(){function e(e,t){var n=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 zr(Pe(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Pe(e)?n.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return Fe(e);if(Pe(e))return e;var r=n.policies.identify(e)[0];if(r){var i=Fe(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,r.__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),vi.call(this.data,e)){var n=this.data[e];if(n&&vi.call(n,t))return n[t]}return"__typename"===t&&vi.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Ci?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),vi.call(this.data,e)?this.data[e]:this instanceof Ci?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;Pe(e)&&(e=e.__ref),Pe(t)&&(t=t.__ref);
1var i="string"===typeof e?this.lookup(n=e):e,o="string"===typeof t?this.lookup(n=t):t;if(o){b("string"===typeof n,2);var s=new bn(Pi).merge(i,o);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var a=Object.create(null);i||(a.__exists=1),Object.keys(o).forEach((function(e){if(!i||i[e]!==s[e]){a[e]=1;var t=Ei(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(a[t]=1),void 0!==s[e]||r instanceof Ci||delete s[e]}})),!a.__typename||i&&i.__typename||this.policies.rootTypenamesById[n]!==s.__typename||delete a.__typename,Object.keys(a).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,i=this.lookup(e);if(i){var o=Object.create(null),s=!1,a=!0,u={DELETE:Si,INVALIDATE:Di,isReference:Pe,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||Fe(e)}:t,{store:n})}};if(Object.keys(i).forEach((function(c){var l=Ei(c),f=i[c];if(void 0!==f){var h="function"===typeof t?t:t[c]||t[l];if(h){var d=h===xi?Si:h(zr(f),(0,r.__assign)((0,r.__assign)({},u),{fieldName:l,storeFieldName:c,storage:n.getStorage(e,c)}));if(d===Di)n.group.dirty(e,c);else if(d===Si&&(d=void 0),d!==f&&(o[c]=d,s=!0,f=d,!1!==globalThis.__DEV__)){var p=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&b.warn(3,e),!0};if(Pe(d))p(d);else if(Array.isArray(d))for(var y=!1,v=void 0,m=0,g=d;m<g.length;m++){var _=g[m];if(Pe(_)){if(y=!0,p(_))break}else if("object"===typeof _&&_)n.policies.identify(_)[0]&&(v=_);if(y&&void 0!==v){!1!==globalThis.__DEV__&&b.warn(4,v);break}}}}void 0!==f&&(a=!1)}})),s)return this.merge(e,o),a&&(this instanceof Ci?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),s=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,s?((r={})[s]=xi,r):xi)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(vi.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Ci&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){vi.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&vi.call(e,n)||t.delete(n)})),e){var n=e.__META,i=(0,r.__rest)(e,["__META"]);
1Object.keys(i).forEach((function(e){t.merge(e,i[e])})),n&&n.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 Ci?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){vi.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof Ci;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!vi.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){Pe(e)&&(t[e.__ref]=!0),G(e)&&Object.keys(e).forEach((function(t){var n=e[t];G(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Ri=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?Ft():null,this.keyMaker=new nt(tn)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(Ni(e,t));var n=Ei(t);n!==t&&this.d(Ni(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Ni(e,t),"__exists"===t?"forget":"setDirty")},e}();function Ni(e,t){return t+"#"+e}function Ii(e,t){ji(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,s=e.call(this,n,new Ri(i))||this;return s.stump=new Fi(s),s.storageTrie=new nt(tn),o&&s.replace(o),s}return(0,r.__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}(Ai||(Ai={}));var Ci=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,r.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){ar(r[n],i[n])||t.group.dirty(e,n)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,r.__assign)((0,r.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return vi.call(this.data,t)?(0,r.__assign)((0,r.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Ai),Fi=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Ri(t.group.caching,t.group))||this}return(0,r.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Ci);function Pi(e,t,n){var r=e[n],i=t[n];return ar(r,i)?r:i}function ji(e){return!!(e instanceof Ai&&e.group.caching)}var Li=function(){function e(){this.known=new(nn?WeakSet:Set),this.pool=new nt(tn),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return G(e)&&this.known.has(e)},e.prototype.pass=function(e){if(G(e)){var t=function(e){return G(e)?dn(e)?e.slice(0):(0,r.__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(G(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(a=this.pool.lookupArray(r)).array||(this.known.add(a.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),a.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],s=this.sortedKeys(e);o.push(s.json);var a,u=o.length;if(s.sorted.forEach((function(n){o.push(t.admit(e[n]))})),!(a=this.pool.lookupArray(o)).object){var c=a.object=Object.create(i);this.known.add(c),s.sorted.forEach((function(e,t){c[e]=o[u+t]})),!1!==globalThis.__DEV__&&Object.freeze(c)}return a.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function Mi(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var qi=function(){function e(e){var t=this;this.knownResults=new(tn?WeakMap:Map),this.config=kr(e,{addTypename:!1!==e.addTypename,canonizeResults:_i(e)}),this.canon=e.canon||new Li,this.executeSelectionSet=Mt((function(e){var n,i=e.context.canonizeResults,o=Mi(e);o[3]=!i;var s=(n=t.executeSelectionSet).peek.apply(n,o);return s?i?(0,r.__assign)((0,r.__assign)({},s),{result:t.canon.admit(s.result)}):s:(Ii(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||me["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Mi,makeCacheKey:function(e,t,n,r){if(ji(n.store))return n.store.makeCacheKey(e,Pe(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=Mt((function(e){return Ii(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||me["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(ji(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Li},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,s=e.variables,a=e.returnPartialData,u=void 0===a||a,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;s=(0,r.__assign)((0,r.__assign)({},He($e(n))),s);var h,d=Fe(o),p=this.executeSelectionSet({selectionSet:Ye(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,r.__assign)({store:t,query:n,policies:f,variables:s,varString:Ne(s),canonizeResults:l},ki(n,this.config.fragments))});if(p.missing&&(h=[new yi(Vi(p.missing),p.missing,n,s)],!u))throw h[0];return{result:p.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,n,r){if(ji(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.enclosingRef,o=e.context;if(Pe(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s,a=o.variables,u=o.policies,c=o.store.getFieldValue(r,"__typename"),l=[],f=new bn;function h(e,t){var n;return e.missing&&(s=f.merge(s,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"===typeof c&&!u.rootIdsByTypename[c]&&l.push({__typename:c}
1);var d=new Set(n.selections);d.forEach((function(e){var n,p;if(Jt(e,a))if(Qe(e)){var y=u.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),v=Be(e);void 0===y?Jn.added(e)||(s=f.merge(s,((n={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(Pe(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):dn(y)?y.length>0&&(y=h(t.executeSubSelectedArray({field:e,array:y,enclosingRef:i,context:o}),v)):e.selectionSet?null!=y&&(y=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:Pe(y)?y:i,context:o}),v)):o.canonizeResults&&(y=t.canon.pass(y)),void 0!==y&&l.push(((p={})[v]=y,p))}else{var m=re(e,o.lookupFragment);if(!m&&e.kind===H.h.FRAGMENT_SPREAD)throw _(10,e.name.value);m&&u.fragmentMatches(m,c)&&m.selectionSet.selections.forEach(d.add,d)}}));var p={result:mn(l),missing:s},y=o.canonizeResults?this.canon.admit(p):zr(p);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,s=e.context,a=new bn;function u(e,n){var r;return e.missing&&(t=a.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map((function(e,t){return null===e?null:dn(e)?u(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:s}),t):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:Pe(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){G(n)&&(b(!Pe(n),11,function(e,t){return Pe(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(r.add,r))}))}}(s.store,r,e),e)})),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function Vi(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var Bi=Object.create(null);function Ui(e){var t=JSON.stringify(e);return Bi[t]||(Bi[t]=Object.create(null))}function Qi(e){var t=Ui(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=Wi(e,(function(e){var i=$i(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&vi.call(t,e[0])&&(i=$i(t,e,Gi)),b(void 0!==i,5,e.join("."),t),i}));return"".concat(n.typename,":").concat(JSON.stringify(i))})}function zi(e){var t=Ui(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,s=Wi(e,(function(e){var n=e[0],o=n.charAt(0);if("@"!==o)if("$"!==o){if(t)return $i(t,e)}else{var s=n.slice(1);if(i&&vi.call(i,s)){var a=e.slice(0);return a[0]=s,$i(i,a)}}else if(r&&pn(r.directives)){var u=n.slice(1),c=r.directives.find((function(e){return e.name.value===u})),l=c&&Ve(c,i);return l&&$i(l,e.slice(1))}})),a=JSON.stringify(s);return(t||"{}"!==a)&&(o+=":"+a),o})}function Wi(e,t){var n=new bn;return Ki(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var s=r.length-1;s>=0;--s)(i={})[r[s]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function Ki(e){var t=Ui(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){dn(t)?(Ki(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),dn(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function Gi(e,t){return e[t]}function $i(e,t,n){return n=n||Gi,Ji(t.reduce((function e(t,r){return dn(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function Ji(e){return G(e)?dn(e)?e.map(Ji):Wi(Object.keys(e).sort(),(function(t){return $i(e,t)})):e}function Yi(e){return void 0!==e.args?e.args:e.field?Ve(e.field,e.variables):null}var Hi=function(){},Zi=function(e,t){return t.fieldName},Xi=function(e,t,n){return(0,n.mergeObjects)(e,t)},eo=function(e,t){return t},to=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,r.__assign)({dataIdFromObject:gi},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 n,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s,a=t&&t.storeObject||e,u=(0,r.__assign)((0,r.__assign)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=ro(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;return Gr.withValue(!0,(function(){for(;l;){var t=l((0,r.__assign)((0,r.__assign)({},e),a),u);if(!dn(t)){s=t;break}l=Qi(t)}})),s=s?String(s):void 0,u.keyObject?[s,u.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var i=e[n],o=i.queryType,s=i.mutationType,a=i.subscriptionType,u=(0,r.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),s&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),vi.call(t.toBeAdded,n)?t.toBeAdded[n].push(u):t.toBeAdded[n]=[u]}))},e.prototype.updateTypePolicy=function(e,t,n){var r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function s(e,t){e.merge="function"===typeof t?t:!0===t?Xi:!1===t?eo:e.merge}s(r,t.merge),r.keyFn=!1===i?Hi:dn(i)?Qi(i):"function"===typeof i?i:r.keyFn,o&&Object.keys(o).forEac
1h((function(t){var r=n[t];r&&(null===r||void 0===r?void 0:r.typename)===e||(r=n[t]={typename:e});var i=o[t];if("function"===typeof i)r.read=i;else{var a=i.keyArgs,u=i.read,c=i.merge;r.keyFn=!1===a?Zi:dn(a)?zi(a):"function"===typeof a?a:r.keyFn,"function"===typeof u&&(r.read=u),s(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||Zi)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(b(!r||r===e,6,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(wi);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!vi.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(n,r){if(n.test(e)){var o=t.supertypeMap.get(r);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,s=(0,r.__rest)(i,["fields"]);Object.assign(n,s),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n,t.typePolicies[e].fields)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){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 s=this.getSupertypeSet(t,!0),a=[s],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&a.indexOf(t)<0&&a.push(t)},c=!(!n||!this.fuzzySubtypes.size),l=!1,f=0;f<a.length;++f){var h=a[f];if(h.has(o))return s.has(o)||(l&&!1!==globalThis.__DEV__&&b.warn(7,t,o),s.add(o)),!0;h.forEach(u),c&&f===a.length-1&&Oi(e.selectionSet,n,r)&&(c=!1,l=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&u(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r),o=i&&i.keyFn;if(o&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},a=Yi(e);o;){var u=o(a,s);if(!dn(u)){t=u||r;break}o=zi(u)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,o=r.value;return je(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return je(r,n,i,t)}))),qe(e.name.value,r,n)}(e.field,e.variables):qe(r,Yi(e))),!1===t?r:r===Ei(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=Ei(i),s=t.store.getFieldValue(n,i),a=this.getFieldPolicy(e.typename,o),u=a&&a.read;if(u){var c=no(this,n,e,t,t.store.getStorage(Pe(n)?n.__ref:n,i));return ii.withValue(this.cache,u,[s,c])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,s=n.typename,a=n.merge;return a===Xi?io(r.store)(e,t):a===eo?t:(r.overwrite&&(e=void 0),a(e,t,no(this,void 0,{typename:s,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function no(e,t,n,r,i){var o=e.getStoreFieldName(n),s=Ei(o),a=n.variables||r.variables,u=r.store,c=u.toReference,l=u.canRead;return{args:Yi(n),field:n.field||null,fieldName:s,storeFieldName:o,variables:a,isReference:Pe,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(ro(arguments,t,a),r)},mergeObjects:io(r.store)}}function ro(e,t,n){var i,o=e[0],s=e[1],a=e.length;return"string"===typeof o?i={fieldName:o,from:a>1?s:t}:(i=(0,r.__assign)({},o),vi.call(i,"from")||(i.from=t)),!1!==globalThis.__DEV__&&void 0===i.from&&!1!==globalThis.__DEV__&&b.warn(8,m(Array.from(e))),void 0===i.variables&&(i.variables=n),i}function io(e){return function(t,n){if(dn(t)||dn(n))throw _(9);if(G(t)&&G(n)){var i=e.getFieldValue(t,"__typename"),o=e.getFieldValue(n,"__typename");if(i&&o&&i!==o)return n;if(Pe(t)&&Ti(n))return e.merge(t.__ref,n),t;if(Ti(t)&&Pe(n))return e.merge(t,n.__ref),n;if(Ti(t)&&Ti(n))return(0,r.__assign)((0,r.__assign)({},t),n)}return n}}
1function oo(e,t,n){var i="".concat(t).concat(n),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:(0,r.__assign)((0,r.__assign)({},e),{clientOnly:t,deferred:n})),o}var so=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,i=t.query,o=t.result,s=t.dataId,a=t.variables,u=t.overwrite,c=We(i),l=new bn;a=(0,r.__assign)((0,r.__assign)({},He(c)),a);var f=(0,r.__assign)((0,r.__assign)({store:e,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:Ne(a)},ki(i,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:o||Object.create(null),dataId:s,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:f});if(!Pe(h))throw _(12,o);return f.incomingById.forEach((function(t,i){var o=t.storeObject,s=t.mergeTree,a=t.fieldNodeSet,u=Fe(i);if(s&&s.map.size){var c=n.applyMerges(s,u,o,f);if(Pe(c))return;o=c}if(!1!==globalThis.__DEV__&&!f.overwrite){var l=Object.create(null);a.forEach((function(e){e.selectionSet&&(l[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===l[Ei(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,i){var o=function(e){var t=i.getFieldValue(e,n);return"object"===typeof t&&t},s=o(e);if(!s)return;var a=o(t);if(!a)return;if(Pe(s))return;if(ar(s,a))return;if(Object.keys(s).every((function(e){return void 0!==i.getFieldValue(a,e)})))return;var u=i.getFieldValue(e,"__typename")||i.getFieldValue(t,"__typename"),c=Ei(n),l="".concat(u,".").concat(c);if(ho.has(l))return;ho.add(l);var f=[];dn(s)||dn(a)||[s,a].forEach((function(e){var t=i.getFieldValue(e,"__typename");"string"!==typeof t||f.includes(t)||f.push(t)}));!1!==globalThis.__DEV__&&b.warn(15,c,u,f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"",l,(0,r.__assign)({},s),(0,r.__assign)({},a))}(u,o,e,f.store)}))}e.merge(i,o)})),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,i=e.result,o=e.selectionSet,s=e.context,a=e.mergeTree,u=this.cache.policies,c=Object.create(null),l=n&&u.rootTypenamesById[n]||Ue(i,o,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"===typeof l&&(c.__typename=l);var f=function(){var e=ro(arguments,c,s.variables);if(Pe(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=u.readField((0,r.__assign)((0,r.__assign)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return u.readField(e,s)},h=new Set;this.flattenFields(o,i,s,l).forEach((function(e,n){var r,o=Be(n),s=i[o];if(h.add(n),void 0!==s){var d=u.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),p=uo(a,d),y=t.processFieldValue(s,n,n.selectionSet?oo(e,!1,!1):e,p),v=void 0;n.selectionSet&&(Pe(y)||Ti(y))&&(v=f("__typename",y));var m=u.getMergeFunction(l,n.name.value,v);m?p.info={field:n,typename:l,merge:m}:fo(a,d),c=e.merge(c,((r={})[d]=y,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||Jn.added(n)||u.getReadFunction(l,n.name.value)||!1!==globalThis.__DEV__&&b.error(13,Be(n),i)}));try{var d=u.identify(i,{typename:l,selectionSet:o,fragmentMap:s.fragmentMap,storeObject:c,readField:f}),p=d[0],y=d[1];n=n||p,y&&(c=s.merge(c,y))}catch(_){if(!n)throw _}if("string"===typeof n){var v=Fe(n),m=s.written[n]||(s.written[n]=[]);if(m.indexOf(o)>=0)return v;if(m.push(o),this.reader&&this.reader.isFresh(i,v,o,s))return v;var g=s.incomingById.get(n);return g?(g.storeObject=s.merge(g.storeObject,c),g.mergeTree=co(g.mergeTree,a),h.forEach((function(e){return g.fieldNodeSet.add(e)}))):s.incomingById.set(n,{storeObject:c,mergeTree:lo(a)?void 0:a,fieldNodeSet:h}),v}return c},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?dn(e)?e.map((function(e,o){var s=i.processFieldValue(e,t,n,uo(r,o));return fo(r,o),s})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?xr(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=Ue(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,s=new nt(!1);return function e(a,u){var c=s.lookup(a,u.clientOnly,u.deferred);c.visited||(c.visited=!0,a.selections.forEach((function(s){if(Jt(s,n.variables)){var a=u.clientOnly,c=u.deferred;
1if(a&&c||!pn(s.directives)||s.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(a=!0),"defer"===t){var r=Ve(e,n.variables);r&&!1===r.if||(c=!0)}})),Qe(s)){var l=i.get(s);l&&(a=a&&l.clientOnly,c=c&&l.deferred),i.set(s,oo(n,a,c))}else{var f=re(s,n.lookupFragment);if(!f&&s.kind===H.h.FRAGMENT_SPREAD)throw _(14,s.name.value);f&&o.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,oo(n,a,c))}}})))}(e,n),i},e.prototype.applyMerges=function(e,t,n,i,o){var s,a=this;if(e.map.size&&!Pe(n)){var u,c=dn(n)||!Pe(t)&&!Ti(t)?void 0:t,l=n;c&&!o&&(o=[Pe(c)?c.__ref:c]);var f=function(e,t){return dn(e)?"number"===typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=f(c,t),r=f(l,t);if(void 0!==r){o&&o.push(t);var s=a.applyMerges(e,n,r,i,o);s!==r&&(u=u||new Map).set(t,s),o&&b(o.pop()===t)}})),u&&(n=dn(l)?l.slice(0):(0,r.__assign)({},l),u.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,i,o&&(s=i.store).getStorage.apply(s,o)):n},e}(),ao=[];function uo(e,t){var n=e.map;return n.has(t)||n.set(t,ao.pop()||{map:new Map}),n.get(t)}function co(e,t){if(e===t||!t||lo(t))return e;if(!e||lo(e))return t;var n=e.info&&t.info?(0,r.__assign)((0,r.__assign)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:n,map:i?new Map:e.map.size?e.map:t.map};if(i){var s=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,co(e,t.map.get(n))),s.delete(n)})),s.forEach((function(n){o.map.set(n,co(t.map.get(n),e.map.get(n)))}))}return o}function lo(e){return!e||!(e.info||e.map.size)}function fo(e,t){var n=e.map,r=n.get(t);r&&lo(r)&&(ao.push(r),n.delete(t))}var ho=new Set;var po=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new yr(Jn),n.assumeImmutableResults=!0,n.makeVar=ui,n.txCount=0,!1!==globalThis.__DEV__&&(Qt(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),Qt(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=function(e){return kr(bi,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new to({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.__extends)(t,e),t.prototype.init=function(){var e=this.data=new Ai.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.addTypenameTransform.resetCache(),null===r||void 0===r||r.resetCaches(),this.storeWriter=new so(this,this.storeReader=new qi({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:_i(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=Mt((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize||me["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(ji(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,Ne({optimistic:r,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){!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.read");var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(i){if(i instanceof yi)return null;throw i}},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(vi.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!1!==globalThis.__DEV__&&Qt(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;
1return this.watches.size||si(t=this).vars.forEach((function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&ai(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&Qt(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),Ne.reset(),Ln.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},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(Pe(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&b.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(vi.call(e,"id"))return!1;e=(0,r.__assign)((0,r.__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(),Ne.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),ai(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,n=this,i=e.update,o=e.optimistic,s=void 0===o||o,a=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var r=n,o=r.data,s=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=o,n.optimisticData=s}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"===typeof s?this.optimisticData=this.optimisticData.addLayer(s,c):!1===s?c(this.data):c(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),u&&l.size?(this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach((function(e){return n.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(n){return t.maybeBroadcastWatch(n,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 n=this,r=e.lastDiff,i=Ut("canonizeResults",(function(){return n.diff(e)}));t&&(e.optimistic&&"string"===typeof t.optimistic&&(i.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,i,r))||r&&ar(r.result,i.result)||e.callback(e.lastDiff=i,r)},t}(pi);!1!==globalThis.__DEV__&&(po.prototype.getMemoryInternals=we);var yo=new di({link:er({uri:"".concat("https://cms.evivve.com/","graphql")}),cache:new po,defaultOptions:{query:{fetchPolicy:"no-cache",errorPolicy:"all"},mutate:{errorPolicy:"all"}}})},638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6856).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=s.default,o=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};r(e,Promise)?o.loader=function(){return e}:"function"===typeof e?o.loader=e:"object"===typeof e&&(o=i({},o,e));!1;(o=i({},o,t)).suspense&&(delete o.ssr,delete o.loading);o.loadableGenerated&&delete(o=i({},o,o.loadableGenerated)).loadableGenerated;if("boolean"===typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,a(n,o);delete o.ssr}return n(o)},t.noSSR=a;var i=n(6495).Z,o=n(2648).Z,s=(o(n(7294)),o(n(4302)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(2648).Z)(n(7294)).default.createContext(null);t.LoadableContext=r},4302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,i=n(7222).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6495).Z,s=(0,n(2648).Z)(n(7294)),a=n(6319),u=n(7294).useSyncExternalStore,c=[],l=[],f=!1;function h(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var d=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=o({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function p(e){return function(e,t){var n=function(){if(!c){var t=new d(e,i);c={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return c.promise()},r=function(){n();var e=s.default.useContext(a.LoadableContext);e&&Array.isArray(i.modules)&&i.modules.forEach((function(t){e(t)}))},i=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);i.suspense&&(i.lazy=s.default.lazy(i.loader));var c=null;if(!f){var h=i.webpack?i.webpack():i.modules;h&&l.push((function(e){var t=!0,r=!1,i=void 0;try{for(var o,s=h[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var a=o.value;if(-1!==e.indexOf(a))return n()}}catch(u){r=!0,i=u}finally{try{t||null==s.return||s.return()}finally{if(r)throw i}}}))}var p=i.suspense?function(e,t){return r(),s.default.createElement(i.lazy,o({},e,{ref:t}))}:function(e,t){r();var n=u(c.subscribe,c.getCurrentValue,c.getCurrentValue);return s.default.useImperativeHandle(t,(function(){return{retry:c.retry}}),[]),s.default.useMemo((function(){return n.loading||n.error?s.default.createElement(i.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:c.retry}):n.loaded?s.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,n])};return p.preload=function(){return n()},p.displayName="LoadableComponent",s.default.forwardRef(p)}(h,e)}function y(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return y(e,t)}))}p.preloadAll=function(){return new Promise((function(e,t){y(c).then(e,t)}))},p.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return f=!0,t()};y(l,e).then(n,n)}))},window.__NEXT_PRELOADREADY=p.preloadReady;var v=p;t.default=v},5249:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var r=n(7568),i=n(6042),o=n(9396),s=n(828),a=n(7297),u=n(7582),c=n(5893),l=n(7294),f=(n(8279),n(8210),n(8397),n(6267),n(2821),n(9846),n(8770),n(92),n(2305),n(7173),n(7284),n(165),n(84),n(6653),n(1807),n(6009),n(2309),n(9360),n(1519),n(5803),n(5837),n(109),n(9058),n(33),n(68),n(3332),n(3459),n(9851),n(1063),n(7638),n(9814),n(4294),n(4529),n(8316),n(3333),n(7275),n(4083),n(4522),n(3598),n(8301),n(3707),n(9182),n(8252),n(8233),n(3879),function(){var e=(0,l.useState)(!1),t=e[0],n=e[1];(0,l.useEffect)((function(){return window.addEventListener("scroll",r),function(){window.removeEventListener("scroll",r)}}));var r=function(){!t&&window.pageYOffset>100?n(!0):t&&window.pageYOffset<=100&&n(!1)};return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{className:"scroll-to-top",onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},style:{display:t?"block":"none"},children:(0,c.jsx)("i",{className:"bx bx-chevron-up"})})})}),h=n(9008),d=n.n(h),p=n(5152),y=n.n(p),v=n(1163),m=n(7066),g=n(8821),b=n(8806),_=n(1955),w=n(3761),E=n(4298),O=n.n(E);function T(){var e=(0,a.Z)(["\n query getData {\n common {\n logo {\n url\n }\n favIcon {\n url\n }\n social_media {\n name\n link\n }\n download_app {\n android {\n url\n width\n height\n }\n ios {\n url\n width\n height\n }\n android_link\n ios_link\n }\n footer {\n footer_description\n copyright\n logo {\n url\n }\n }\n top_sticky_stripe {\n description\n top_sticky_stripe_button {\n button_text\n button_icon\n button_link\n button_target\n }\n visible\n }\n }\n landingPages {\n title\n slug\n templates {\n ... on ComponentLandingPageMasterclass {\n __typename\n }\n ... on ComponentLandingPageTemplate2 {\n __typename\n }\n ... on ComponentLandingPageTemplate4 {\n __typename\n }\n }\n }\n }\n "]);return T=function(){return e},e}var k=y()((function(){return Promise.all([n.e(5675),n.e(5391),n.e(1664)]).then(n.bind(n,5320))}),{loadableGenerated:{webpack:function(){return[5320]}}}),S=y()((function(){return Promise.all([n.e(5675),n.e(9133),n.e(5063)]).then(n.bind(n,9133))}),{loadableGenerated:{webpack:function(){return[9133]}}});function x(e){var t,s,a,h,p,y=e.Component,m=e.pageProps,g=(e.onboarding,e.commonData),b=e.host,_=e.landingPagesData,E=e.headerData,T=e.footerData;l.useEffect((function(){var e=function(){var e=(0,r.Z)((function(){return(0,u.__generator)(this,(function(e){switch(e.label){case 0:return[4,n.e(2711).then(n.t.bind(n,2711,23))];case 1:return e.sent().init(),[2]}}))}));return function(){return e.apply(this,arguments)}}();e()}),[]);var x=(0,v.useRouter)(),D=(0,l.useState)(!1),A=D[0],R=D[1],N=A&&"/"===x.pathname,I=null===(t=null===_||void 0===_?void 0:_.filter((function(e){var t;return null===e||void 0===e||null===(t=e.templates)||void 0===t?void 0:t.some((function(e){return"ComponentLandingPageMasterclass"===(null===e||void 0===e?void 0:e.__typename)||"ComponentLandingPageTemplate2"===(null===e||void 0===e?void 0:e.__typename)||"ComponentLandingPageTemplate4"===(null===e||void 0===e?void 0:e.__typename)}))}
1)))||void 0===t?void 0:t.map((function(e){return null===e||void 0===e?void 0:e.slug})),C=null===I||void 0===I?void 0:I.includes(x.query["blog-details"]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(d(),{children:[(0,c.jsx)("meta",{charSet:"utf-8"}),(0,c.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,c.jsx)("title",{children:"Evivve"}),(null===g||void 0===g||null===(s=g.favIcon)||void 0===s?void 0:s.data)&&(0,c.jsx)("link",{rel:"shortcut icon",href:null===g||void 0===g||null===(a=g.favIcon)||void 0===a?void 0:a.url})]}),(0,c.jsx)(O(),{id:"show-banner",strategy:"afterInteractive",children:'!function(){var e=[].slice.call(document.querySelectorAll("video.lazy"));if("IntersectionObserver"in window){var r=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){for(var t in e.target.children){var a=e.target.children[t];"string"==typeof a.tagName&&"SOURCE"===a.tagName&&(a.src=a.dataset.src)}e.target.load(),e.target.classList.remove("lazy"),r.unobserve(e.target)}})});e.forEach(function(e){r.observe(e)})}}();'}),(0,c.jsxs)(w.i,{headerData:E,children:[!N&&!["/500","/coming-soon","/forgot-password","/onboarding","/"].includes(x.pathname)&&!C&&(0,c.jsx)(k,{header:E,logo:null===g||void 0===g||null===(h=g.logo)||void 0===h?void 0:h.url,top_sticky_stripe:null===g||void 0===g?void 0:g.top_sticky_stripe,host:b}),(0,c.jsx)(y,(0,o.Z)((0,i.Z)({},m),{commonData:g,showOnboarding:A,setShowOnboarding:R,headerData:E,footerData:T,logo:null===g||void 0===g||null===(p=g.logo)||void 0===p?void 0:p.url,top_sticky_stripe:null===g||void 0===g?void 0:g.top_sticky_stripe,host:b})),!["/500","/coming-soon","/forgot-password","/onboarding","/"].includes(x.pathname)&&!C&&(0,c.jsx)(S,{footerData:T,commonData:g,showOnboarding:A}),(0,c.jsx)(f,{})]})]})}var D=function(e){return e&&Array.isArray(e)?e.map((function(e){var t;return{id:e.id,title:e.title,url:(null===(t=e.path)||void 0===t?void 0:t.startsWith("/#"))?e.path.replace(/^\/#\/?#?/,""):e.path||"",target:!1===e.menuAttached?"_blank":"_self",order:e.order,children:e.items?D(e.items):[]}})):[]};x.getInitialProps=function(){var e=(0,r.Z)((function(e){var t,n,r,i,o,a,c,l,f,h,d,p;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return t=e.ctx,n=t.req,r=n.headers.host,i=(null===n||void 0===n?void 0:n.cookies["evivve-onboarding-completed"])||_.Z.get("evivve-onboarding-completed"),[4,g.Z.query({query:(0,b.Ps)(T())})];case 1:return o=u.sent(),a=o.data,(null===(c=o.errors)||void 0===c?void 0:c.length)>0?[2,{redirect:{destination:"/500?url=/",permanent:!0}}]:[4,Promise.all([m.Z.get("".concat("https://cms.evivve.com/","api/navigation/render/header?type=TREE")),m.Z.get("".concat("https://cms.evivve.com/","api/navigation/render/footer?type=TREE"))])];case 2:return l=s.Z.apply(void 0,[u.sent(),2]),f=l[0],h=l[1],d=D((null===f||void 0===f?void 0:f.data)||[]),p=D((null===h||void 0===h?void 0:h.data)||[]),[2,{onboarding:i,commonData:(null===a||void 0===a?void 0:a.common)||null,host:r||"",landingPagesData:(null===a||void 0===a?void 0:a.landingPages)||null,headerData:d,footerData:p}]}}))}));return function(t){return e.apply(this,arguments)}}();var A=x},1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=u(e),s=o[0],a=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),l=0,f=a>0?s-4:s;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=16383,a=0,u=r-i;a<u;a+=s)o.push(l(e,a,a+s>u?u:a+s));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",s=0,a=o.length;s<a;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function l(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(c(r));return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";var r=n(675),i=n(783),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;var s=2147483647;function a(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,n)}function c(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|y(e,t),r=a(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return h(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))return d(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);var i=function(e){if(u.isBuffer(e)){var t=0|p(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||Q(e.length)?a(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return l(e),a(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function d(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function p(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function y(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(i)return r?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=n;o<a;
vendor: 4,479 bytes, line 1
1o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(n+u>a&&(n=a-u),o=n;o>=0;o--){for(var f=!0,h=0;h<u;h++)if(c(e,o+h)!==c(t,h)){f=!1;break}if(f)return o}return-1}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(Q(a))return s;e[n+s]=a}return s}function w(e,t,n,r){return B(q(t,e.length-n),e,n,r)}function E(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function O(e,t,n,r){return E(e,t,n,r)}function T(e,t,n,r){return B(V(t),e,n,r)}function k(e,t,n,r){return B(function(e,t){for(var n,r,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,s,a,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],s=e[i+2],128===(192&o)&&128===(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return D(r)}t.kMaxLength=s,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?a(e):void 0!==t?"string"===typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(U(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(U(o,Uint8Array)&&(o=u.from(o)),!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},u.byteLength=y,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?x(this,0,e):v.apply(this,arguments)}
vendor: 9,822 bytes, line 1
1,u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(U(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),c=this.slice(r,i),l=e.slice(t,n),f=0;f<a;++f)if(c[f]!==l[f]){o=c[f],s=l[f];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=z[e[o]];return i}function I(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function C(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return t=+t,n>>>=0,o||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return t=+t,n>>>=0,o||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<n&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(this===e&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var o=i-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=u.isBuffer(e)?e:u.from(e,r),a=s.length;
1if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=s[o%a]}return this};var M=/[^+/0-9A-Za-z-_]/g;function q(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function B(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},783:function(e,t){t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,c=u>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=c}return(d?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[n+d]=255&s,d+=p,s/=256,c-=8);e[n+d-p]|=128*y}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},s=!0;try{t[e](o,o.exports,r),s=!1}finally{s&&delete n[e]}return o.exports}r.ab="//";var i=r(72);e.exports=i}()},8279:function(){},8210:function(){},3879:function(){},2305:function(){},8233:function(){},9846:function(){},92:function(){},8770:function(){},2821:function(){},8252:function(){},2309:function(){},6009:function(){},3333:function(){},1519:function(){},3707:function(){},3598:function(){},9360:function(){},5837:function(){},6267:function(){},5803:function(){},4529:function(){},1807:function(){},7173:function(){},8397:function(){},6653:function(){},9182:function(){},7284:function(){},84:function(){},7275:function(){},3459:function(){},9851:function(){},1063:function(){},8301:function(){},4083:function(){},9814:function(){},9058:function(){},8316:function(){},7638:function(){},4294:function(){},109:function(){},165:function(){},3332:function(){},4522:function(){},33:function(){},68:function(){},7663:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var a,u=[],c=!1,l=-1;function f(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l<t;)a&&a[l].run();l=-1,t=u.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||c||s(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},s=!0;try{t[e](o,o.exports,r),s=!1}finally{s&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},5152:function(e,t,n){e.exports=n(638)},9008:function(e,t,n){e.exports=n(5443)},1163:function(e,t,n){e.exports=n(387)},4298:function(e,t,n){e.exports=n(699)},943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},7568:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var s=e.apply(t,n);function a(e){r(s,i,o,a,u,"next",e)}function u(e){r(s,i,o,a,u,"throw",e)}a(void 0)}))}}n.d(t,{Z:function(){return i}})},4924:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},3375:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},6042:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4924);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},9396:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3375);var i=n(1566);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||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.")}()}},7297:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},1566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(943);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7066:function(e,t,n){"use strict";n.d(t,{Z:function(){return _t}});var r={};function i(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return fe},hasStandardBrowserEnv:function(){return de},hasStandardBrowserWebWorkerEnv:function(){return pe},navigator:function(){return he},origin:function(){return ye}});var o=n(3454);const{toString:s}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:u,toStringTag:c}=Symbol,l=(f=Object.create(null),e=>{const t=s.call(e);return f[t]||(f[t]=t.slice(8,-1).toLowerCase())});var f;const h=e=>(e=e.toLowerCase(),t=>l(t)===e),d=e=>t=>typeof t===e,{isArray:p}=Array,y=d("undefined");function v(e){return null!==e&&!y(e)&&null!==e.constructor&&!y(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const m=h("ArrayBuffer");const g=d("string"),b=d("function"),_=d("number"),w=e=>null!==e&&"object"===typeof e,E=e=>{if("object"!==l(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(c in e)&&!(u in e)},O=h("Date"),T=h("File"),k=h("Blob"),S=h("FileList"),x=h("URLSearchParams"),[D,A,R,N]=["ReadableStream","Request","Response","Headers"].map(h);function I(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,i;if("object"!==typeof e&&(e=[e]),p(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(v(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(r=0;r<o;r++)s=i[r],t.call(null,e[s],s,e)}}function C(e,t){if(v(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const F="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,P=e=>!y(e)&&e!==F;const j=(L="undefined"!==typeof Uint8Array&&a(Uint8Array),e=>L&&e instanceof L);var L;const M=h("HTMLFormElement"),q=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),V=h("RegExp"),B=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};I(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)};const U=h("AsyncFunction"),Q=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],F.addEventListener("message",(({source:e,data:t})=>{e===F&&t===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),F.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,b(F.postMessage)),z="undefined"!==typeof queueMicrotask?queueMicrotask.bind(F):"undefined"!==typeof o&&o.nextTick||Q;var W={isArray:p,isArrayBuffer:m,isBuffer:v,isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=l(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:g,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:E,isEmptyObject:e=>{if(!w(e)||v(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},isReadableStream:D,isRequest:A,isResponse:R,isHeaders:N,isUndefined:y,isDate:O,isFile:T,isBlob:k,isRegExp:V,isFunction:b,isStream:e=>w(e)&&b(e.pipe),isURLSearchParams:x,isTypedArray:j,isFileList:S,forEach:I,merge:function e(){const{caseless:t,skipUndefined:n}=P(this)&&this||{},r={},i=(i,o)=>{const s=t&&C(r,o)||o;E(r[s])&&E(i)?r[s]=e(r[s],i):E(i)?r[s]=e({},i):p(i)?r[s]=i.slice():n&&y(i)||(r[s]=i)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&I(arguments[o],i);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(I(t,((t,r)=>{n&&b(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:h,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n}
vendor: 4,421 bytes, line 1
1,forEachEntry:(e,t)=>{const n=(e&&e[u]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:B,freezeMethods:e=>{B(e,((t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:F,isContextDefined:P,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[c]&&e[u])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(v(e))return e;if(!("toJSON"in e)){t[r]=e;const i=p(e)?[]:{};return I(e,((e,t)=>{const o=n(e,r+1);!y(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:U,isThenable:e=>e&&(w(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:Q,asap:z,isIterable:e=>null!=e&&b(e[u])};function K(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}W.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const G=K.prototype,$={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}})),Object.defineProperties(K,$),Object.defineProperty(G,"isAxiosError",{value:!0}),K.from=(e,t,n,r,i,o)=>{const s=Object.create(G);W.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const a=e&&e.message?e.message:"Error",u=null==t&&e?e.code:t;return K.call(s,a,u,n,r,i),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",o&&Object.assign(s,o),s};var J=K,Y=n(1876).Buffer;function H(e){return W.isPlainObject(e)||W.isArray(e)}function Z(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map((function(e,t){return e=Z(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ee=W.toFlatObject(W,{},null,(function(e){return/^is[A-Z]/.test(e)}));var te=function(e,t,n){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!W.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,a=(n.Blob||"undefined"!==typeof Blob&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(W.isDate(e))return e.toISOString();if(W.isBoolean(e))return e.toString();if(!a&&W.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(e)||W.isTypedArray(e)?a&&"function"===typeof Blob?new Blob([e]):Y.from(e):e}function c(e,n,i){let a=e;if(e&&!i&&"object"===typeof e)if(W.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(W.isArray(e)&&function(e){return W.isArray(e)&&!e.some(H)}(e)||(W.isFileList(e)||W.endsWith(n,"[]"))&&(a=W.toArray(e)))return n=Z(n),a.forEach((function(e,r){!W.isUndefined(e)&&null!==e&&t.append(!0===s?X([n],r,o):null===s?n:n+"[]",u(e))})),!1;return!!H(e)||(t.append(X(i,n,o),u(e)),!1)}const l=[],f=Object.assign(ee,{defaultVisitor:c,convertValue:u,isVisitable:H});if(!W.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!W.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),W.forEach(n,(function(n,o){!0===(!(W.isUndefined(n)||null===n)&&i.call(t,n,W.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t};
vendor: 6,222 bytes, line 1
1function ne(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function re(e,t){this._pairs=[],e&&te(e,this,t)}const ie=re.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,ne)}:ne;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var oe=re;function se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ae(e,t,n){if(!t)return e;const r=n&&n.encode||se;W.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):W.isURLSearchParams(t)?t.toString():new oe(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},le={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:oe,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const fe="undefined"!==typeof window&&"undefined"!==typeof document,he="object"===typeof navigator&&navigator||void 0,de=fe&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),pe="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,ye=fe&&window.location.href||"http://localhost";var ve={...r,...le};var me=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=i>=e.length;if(o=!o&&W.isArray(r)?r.length:o,a)return W.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s;r[o]&&W.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&W.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!s}if(W.isFormData(e)&&W.isFunction(e.entries)){const n={};return W.forEachEntry(e,((e,r)=>{t(function(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ge={transitional:ce,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=W.isObject(e);i&&W.isHTMLForm(e)&&(e=new FormData(e));if(W.isFormData(e))return r?JSON.stringify(me(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return te(e,new ve.classes.URLSearchParams,{visitor:function(e,t,n,r){return ve.isNode&&W.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((o=W.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return te(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ge.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(i){if(n){if("SyntaxError"===i.name)throw J.from(i,J.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],(e=>{ge.headers[e]={}}));var be=ge;const _e=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const we=Symbol("internals");function Ee(e){return e&&String(e).trim().toLowerCase()}function Oe(e){return!1===e||null==e?e:W.isArray(e)?e.map(Oe):String(e)}function Te(e,t,n,r,i){return W.isFunction(r)?r.call(this,t,n):(i&&(t=n),W.isString(t)?W.isString(r)?-1!==t.indexOf(r):W.isRegExp(r)?r.test(t):void 0:void 0)}class ke{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=Ee(t);if(!i)throw new Error("header name must be a non-empty string");const o=W.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Oe(e))}const o=(e,t)=>W.forEach(e,((e,n)=>i(e,n,t)));if(W.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(W.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&_e[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(W.isObject(e)&&W.isIterable(e)){let n,r,i={};for(const t of e){if(!W.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?W.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=Ee(e)){const n=W.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;
vendor: 6,215 bytes, line 1
1=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(W.isFunction(t))return t.call(this,e,n);if(W.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ee(e)){const n=W.findKey(this,e);return!(!n||void 0===this[n]||t&&!Te(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=Ee(e)){const i=W.findKey(n,e);!i||t&&!Te(0,n[i],i,t)||(delete n[i],r=!0)}}return W.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Te(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return W.forEach(this,((r,i)=>{const o=W.findKey(n,i);if(o)return t[o]=Oe(r),void delete t[i];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();s!==i&&delete t[i],t[s]=Oe(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return W.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&W.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[we]=this[we]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ee(e);t[r]||(!function(e,t){const n=W.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(ke.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),W.freezeMethods(ke);var Se=ke;function xe(e,t){const n=this||be,r=t||n,i=Se.from(r.headers);let o=r.data;return W.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function De(e){return!(!e||!e.__CANCEL__)}function Ae(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Ae,J,{__CANCEL__:!0});var Re=Ae;function Ne(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var Ie=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,s=0;return t=void 0!==t?t:1e3,function(a){const u=Date.now(),c=r[s];i||(i=u),n[o]=a,r[o]=u;let l=s,f=0;for(;l!==o;)f+=n[l++],l%=e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const h=c&&u-c;return h?Math.round(1e3*f/h):void 0}};var Ce=function(e,t){let n,r,i=0,o=1e3/t;const s=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-i;a>=o?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),o-a)))},()=>n&&s(n)]};const Fe=(e,t,n=3)=>{let r=0;const i=Ie(50,250);return Ce((n=>{const o=n.loaded,s=n.lengthComputable?n.total:void 0,a=o-r,u=i(a);r=o;e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},Pe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},je=e=>(...t)=>W.asap((()=>e(...t)));var Le=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,Me=ve.hasStandardBrowserEnv?{write(e,t,n,r,i,o,s){if("undefined"===typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];W.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),W.isString(r)&&a.push(`path=${r}`),W.isString(i)&&a.push(`domain=${i}`),!0===o&&a.push("secure"),W.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"===typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function qe(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ve=e=>e instanceof Se?{...e}:e;function Be(e,t){t=t||{};const n={};function r(e,t,n,r){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:r},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function i(e,t,n,i){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!W.isUndefined(t))return r(void 0,t)}function s(e,t){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>i(Ve(e),Ve(t),0,!0)};return W.forEach(Object.keys({...e,...t}),(function(r){const o=u[r]||i,s=o(e[r],t[r],r);W.isUndefined(s)&&o!==a||(n[r]=s)})),n}var Ue=e=>{const t=Be({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=t;if(t.headers=s=Se.from(s),t.url=ae(qe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),W.isFormData(n))if(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);
vendor: 12,289 bytes, line 1
1else if(W.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)}))}if(ve.hasStandardBrowserEnv&&(r&&W.isFunction(r)&&(r=r(t)),r||!1!==r&&Le(t.url))){const e=i&&o&&Me.read(o);e&&s.set(i,e)}return t};var Qe="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ue(e);let i=r.data;const o=Se.from(r.headers).normalize();let s,a,u,c,l,{responseType:f,onUploadProgress:h,onDownloadProgress:d}=r;function p(){c&&c(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;function v(){if(!y)return;const r=Se.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Ne((function(e){t(e),p()}),(function(e){n(e),p()}),{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y}),y=null}y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new J("Request aborted",J.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new J(r,J.ERR_NETWORK,e,y);i.event=t||null,n(i),y=null},y.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||ce;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new J(t,i.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,y)),y=null},void 0===i&&o.setContentType(null),"setRequestHeader"in y&&W.forEach(o.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),W.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),f&&"json"!==f&&(y.responseType=r.responseType),d&&([u,l]=Fe(d,!0),y.addEventListener("progress",u)),h&&y.upload&&([a,c]=Fe(h),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(s=t=>{y&&(n(!t||t.type?new Re(null,e,y):t),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===ve.protocols.indexOf(m)?n(new J("Unsupported protocol "+m+":",J.ERR_BAD_REQUEST,e)):y.send(i||null)}))};var ze=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Re(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:a}=r;return a.unsubscribe=()=>W.asap(s),a}};const We=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Ke=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Ge=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of Ke(e))yield*We(n,t)}(e,t);let o,s=0,a=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return a(),void e.close();let o=r.byteLength;if(n){let e=s+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:e=>(a(e),i.return())},{highWaterMark:2})},{isFunction:$e}=W,Je=(({Request:e,Response:t})=>({Request:e,Response:t}))(W.global),{ReadableStream:Ye,TextEncoder:He}=W.global,Ze=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},Xe=e=>{e=W.merge.call({skipUndefined:!0},Je,e);const{fetch:t,Request:n,Response:r}=e,i=t?$e(t):"function"===typeof fetch,o=$e(n),s=$e(r);if(!i)return!1;const a=i&&$e(Ye),u=i&&("function"===typeof He?(c=new He,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const l=o&&a&&Ze((()=>{let e=!1;const t=new n(ve.origin,{body:new Ye,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),f=s&&a&&Ze((()=>W.isReadableStream(new r("").body))),h={stream:f&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!h[e]&&(h[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));const d=async(e,t)=>{const r=W.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e)){const t=new n(ve.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return W.isArrayBufferView(e)||W.isArrayBuffer(e)?e.byteLength:(W.isURLSearchParams(e)&&(e+=""),W.isString(e)?(await u(e)).byteLength:void 0)})(t):r};return async e=>{let{url:i,method:s,data:a,signal:u,cancelToken:c,timeout:p,onDownloadProgress:y,onUploadProgress:v,responseType:m,headers:g,withCredentials:b="same-origin",fetchOptions:_}=Ue(e),w=t||fetch;m=m?(m+"").toLowerCase():"text";let E=ze([u,c&&c.toAbortSignal()],p),O=null;const T=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let k;try{if(v&&l&&"get"!==s&&"head"!==s&&0!==(k=await d(g,a))){let e,t=new n(i,{method:"POST",body:a,duplex:"half"});if(W.isFormData(a)&&(e=t.headers.get("content-type"))&&g.setContentType(e),t.body){const[e,n]=Pe(k,Fe(je(v)));a=Ge(t.body,65536,e,n)}}W.isString(b)||(b=b?"include":"omit");const t=o&&"credentials"in n.prototype,u={..._,signal:E,method:s.toUpperCase(),headers:g.normalize().toJSON(),body:a,duplex:"half",credentials:t?b:void 0};O=o&&new n(i,u);let c=await(o?w(O,_):w(i,u));const p=f&&("stream"===m||"response"===m);if(f&&(y||p&&T)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=c[t]}));const t=W.toFiniteNumber(c.headers.get("content-length")),[n,i]=y&&Pe(t,Fe(je(y),!0))||[];c=new r(Ge(c.body,65536,n,(()=>{i&&i(),T&&T()})),e)}m=m||"text";let S=await h[W.findKey(h,m)||"text"](c,e);return!p&&T&&T(),await new Promise(((t,n)=>{Ne(t,n,{data:S,headers:Se.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:O})}))}catch(S){if(T&&T(),S&&"TypeError"===S.name&&/Load failed|fetch/i.test(S.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,O),{cause:S.cause||S});throw J.from(S,S&&S.code,e,O)}}},et=new Map,tt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let s,a,u=o.length,c=et;for(;u--;)s=o[u],a=c.get(s),void 0===a&&c.set(s,a=u?new Map:Xe(t)),c=a;return a};tt();const nt={http:null,xhr:Qe,fetch:{get:tt}};W.forEach(nt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const rt=e=>`- ${e}`,it=e=>W.isFunction(e)||null===e||!1===e;var ot={getAdapter:function(e,t){e=W.isArray(e)?e:[e];const{length:n}=e;let r,i;const o={};for(let s=0;s<n;s++){let n;if(r=e[s],i=r,!it(r)&&(i=nt[(n=String(r)).toLowerCase()],void 0===i))throw new J(`Unknown adapter '${n}'`);if(i&&(W.isFunction(i)||(i=i.get(t))))break;o[n||"#"+s]=i}if(!i){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(rt).join("\n"):" "+rt(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i},adapters:nt};function st(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Re(null,e)}function at(e){st(e),e.headers=Se.from(e.headers),e.data=xe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ot.getAdapter(e.adapter||be.adapter,e)(e).then((function(t){return st(e),t.data=xe.call(e,e.transformResponse,t),t.headers=Se.from(t.headers),t}),(function(t){return De(t)||(st(e),t&&t.response&&(t.response.data=xe.call(e,e.transformResponse,t.response),t.response.headers=Se.from(t.response.headers))),Promise.reject(t)}))}const ut="1.13.2",ct={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ct[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const lt={};ct.transitional=function(e,t,n){function r(e,t){return"[Axios v1.13.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new J(r(i," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!lt[i]&&(lt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},ct.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var ft={assertOptions:function(e,t,n){if("object"!==typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const t=e[o],n=void 0===t||s(t,o,e);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:ct};const ht=ft.validators;class dt{constructor(e){this.defaults=e||{},this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&ft.assertOptions(n,{silentJSONParsing:ht.transitional(ht.boolean),forcedJSONParsing:ht.transitional(ht.boolean),clarifyTimeoutError:ht.transitional(ht.boolean)},!1),null!=r&&(W.isFunction(r)?t.paramsSerializer={serialize:r}:ft.assertOptions(r,{encode:ht.function,serialize:ht.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ft.assertOptions(t,{baseUrl:ht.spelling("baseURL"),withXsrfToken:ht.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&W.merge(i.common,i[t.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Se.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!a){const e=[at.bind(this),void 0];for(e.unshift(...s),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=s.length;let h=t;for(;f<l;){const e=s[f++],t=s[f++];try{h=e(h)}catch(d){t.call(this,d);break}}try{c=at.call(this,h)}catch(d){return Promise.reject(d)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return ae(qe((e=Be(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}W.forEach(["delete","get","head","options"],(function(e){dt.prototype[e]=function(t,n){return this.request(Be(n||{},{method:e,url:t,data:(n||{}).data}))}})),W.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Be(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}dt.prototype[e]=t(),dt.prototype[e+"Form"]=t(!0)}));var pt=dt;class yt{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new Re(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}
1subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new yt((function(t){e=t})),cancel:e}}}var vt=yt;const mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(mt).forEach((([e,t])=>{mt[t]=e}));var gt=mt;const bt=function e(t){const n=new pt(t),r=i(pt.prototype.request,n);return W.extend(r,pt.prototype,n,{allOwnKeys:!0}),W.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Be(t,n))},r}(be);bt.Axios=pt,bt.CanceledError=Re,bt.CancelToken=vt,bt.isCancel=De,bt.VERSION=ut,bt.toFormData=te,bt.AxiosError=J,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=function(e){return function(t){return e.apply(null,t)}},bt.isAxiosError=function(e){return W.isObject(e)&&!0===e.isAxiosError},bt.mergeConfig=Be,bt.AxiosHeaders=Se,bt.formToJSON=e=>me(W.isHTMLForm(e)?new FormData(e):e),bt.getAdapter=ot.getAdapter,bt.HttpStatusCode=gt,bt.default=bt;var _t=bt},7826:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return i(e,[])}function i(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 n=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:i(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,o=[];for(let s=0;s<n;++s)o.push(i(e[s],t));1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`);return"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)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 r=n.map((([e,n])=>e+": "+i(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},2380:function(e,t,n){"use strict";n.d(t,{UG:function(){return a},WU:function(){return i},Ye:function(){return r},h8:function(){return o},ku:function(){return u}});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,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:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},s=new Set(Object.keys(o));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&s.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},7392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return s},wv:function(){return i}});var r=n(8297);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var s;const t=e[a],u=o(t);u!==t.length&&(r=null!==(s=r)&&void 0!==s?s:a,i=a,0!==a&&u<n&&(n=u))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function s(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),u=e.endsWith('"')&&!a,c=e.endsWith("\\"),l=u||c,f=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||s||a);let h="";const d=o&&(0,r.FD)(e.charCodeAt(0));return(f&&!d||s)&&(h+="\n"),h+=n,(f||l)&&(h+="\n"),'"""'+h+'"""'}},8297:function(e,t,n){"use strict";function r(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 s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return a},LQ:function(){return s},X1:function(){return i}})},7359:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),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",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(r||(r={}))},1955:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:function(){return i}});var i=function e(t,n){function i(e,i,o){if("undefined"!==typeof document){"number"===typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+s}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=t.read(s,a),e===a)break}catch(u){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(1118),t(387)}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.