1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8909],{65822:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLError=s,t.printError=c;var r,i=(r=n(25690))&&r.__esModule?r:{default:r},o=n(39016),a=n(38038);function s(e,t,n,r,a,c,u){var l,f=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,p=n;if(!p&&f){var h=f[0];p=h&&h.loc&&h.loc.source}var d=r;!d&&f&&(d=f.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),d&&0===d.length&&(d=void 0),r&&n?l=r.map(function(e){return(0,o.getLocation)(n,e)}):f&&(l=f.reduce(function(e,t){return t.loc&&e.push((0,o.getLocation)(t.loc.source,t.loc.start)),e},[]));var v=u;if(null==v&&null!=c){var y=c.extensions;(0,i.default)(y)&&(v=y)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:l||void 0,enumerable:!!l},path:{value:a||void 0,enumerable:!!a},nodes:{value:f||void 0},source:{value:p||void 0},positions:{value:d||void 0},originalError:{value:c},extensions:{value:v||void 0,enumerable:!!v}}),c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function c(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+(0,a.printLocation)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var c=s[o];t+="\n\n"+(0,a.printSourceLocation)(e.source,c)}return t}s.prototype=Object.create(Error.prototype,{constructor:{value:s},name:{value:"GraphQLError"},toString:{value:function(){return c(this)}}})},50338:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.syntaxError=function(e,t,n){return new r.GraphQLError("Syntax Error: ".concat(n),void 0,e,[t])};var r=n(65822)},89503:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.default&&(e.prototype[i.default]=t)};var r,i=(r=n(18554))&&r.__esModule?r:{default:r}},13320:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}},67242:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)throw Error(t)}},8002:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function e(t,n){switch(o(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,n){if(-1!==n.indexOf(t))return"[Circular]";var r,o,a=[].concat(n,[t]),s="function"==typeof(r=t[String(i.default)])?r:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==s){var c=s.call(t);if(c!==t)return"string"==typeof c?c:e(c,a)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";for(var r=Math.min(10,t.length),i=t.length-r,o=[],a=0;a<r;++a)o.push(e(t[a],n));return 1===i?o.push("... 1 more item"):i>1&&o.push("... ".concat(i," more items")),"["+o.join(", ")+"]"}(t,a);return 0===(o=Object.keys(t)).length?"{}":a.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(t)+"]":"{ "+o.map(function(n){var r=e(t[n],a);return n+": "+r}).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])};var r,i=(r=n(18554))&&r.__esModule?r:{default:r};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}},25690:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==n(e)&&null!==e}},18554:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=n},70849:function(e,t){function n(e){for(var t=null,n=1;n<e.length;n++){var i=e[n],o=r(i);if(o!==i.length&&(null===t||o<t)&&0===(t=o))break}return null===t?0:t}function r(e){for(var t=0;t<e.length&&(" "===e[t]||" "===e[t]);)t++;return t}function i(e){return r(e)===e.length}Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringValue=function(e){var t=e.split(/\r\n|[\n\r]/g),r=n(t);if(0!==r)for(var o=1;o<t.length;o++)t[o]=t[o].slice(r);for(;t.length>0&&i(t[0]);)t.shift();for(;t.length>0&&i(t[t.length-1]);)t.pop();return t.join("\n")},t.getBlockStringIndentation=n,t.printBlockString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||" "===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return a&&!(r&&i)&&(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}},78333:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DirectiveLocation=void 0;var n=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});t.DirectiveLocation=n},12178:function(e,t,n){Object.defineProperty(t,"hY",{enumerable:!0,get:function(){return r.Kind}}),Object.defineProperty(t,"S0",{enumerable:!0,get:function(){return i.print}}),Object.defineProperty(t,"Vn",{enumerable:!0,get:function(){return o.visit}}),Object.defineProperty(t,"$_",{enumerable:!0,get:function(){return o.BREAK}}),Object.defineProperty(t,"pO",{enumerable:!0,get:function(){return a.isSelectionNode}}),n(12412),n(39016),n(38038);var r=n(2828),i=(n(23175),n(54274),n(88370),n(23033)),o=n(80285),a=n(11352);n(78333)},2828:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0;var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});t.Kind=n},54274:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createLexer=function(e,t){var n=new l(s.TokenKind.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:c,lookahead:u}},t.isPunctuatorToken=function(e){var t=e.kind;return t===s.TokenKind.BANG||t===s.TokenKind.DOLLAR||t===s.TokenKind.AMP||t===s.TokenKind.PAREN_L||t===s.TokenKind.PAREN_R||t===s.TokenKind.SPREAD||t===s.TokenKind.COLON||t===s.TokenKind.EQUALS||t===s.TokenKind.AT||t===s.TokenKind.BRACKET_L||t===s.TokenKind.BRACKET_R||t===s.TokenKind.BRACE_L||t===s.TokenKind.PIPE||t===s.TokenKind.BRACE_R};var r,i=(r=n(89503))&&r.__esModule?r:{default:r},o=n(50338),a=n(70849),s=n(23175);function c(){return this.lastToken=this.token,this.token=this.lookahead()}function u(){var e=this.token;if(e.kind!==s.TokenKind.EOF)do e=e.next||(e.next=function(e,t){var n=e.source,r=n.body,i=r.length,c=function(e,t,n){for(var r=e.length,i=t;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else if(13===o)10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i;else break}return i}(r,t.end,e),u=e.line,d=1+c-e.lineStart;if(c>=i)return new l(s.TokenKind.EOF,i,i,u,d,t);var v=r.charCodeAt(c);switch(v){case 33:return new l(s.TokenKind.BANG,c,c+1,u,d,t);case 35:return function(e,t,n,r,i){var o,a=e.body,c=t;
vendor: 1,386 bytes, line 1
1do o=a.charCodeAt(++c);while(!isNaN(o)&&(o>31||9===o));return new l(s.TokenKind.COMMENT,t,c,n,r,i,a.slice(t+1,c))}(n,c,u,d,t);case 36:return new l(s.TokenKind.DOLLAR,c,c+1,u,d,t);case 38:return new l(s.TokenKind.AMP,c,c+1,u,d,t);case 40:return new l(s.TokenKind.PAREN_L,c,c+1,u,d,t);case 41:return new l(s.TokenKind.PAREN_R,c,c+1,u,d,t);case 46:if(46===r.charCodeAt(c+1)&&46===r.charCodeAt(c+2))return new l(s.TokenKind.SPREAD,c,c+3,u,d,t);break;case 58:return new l(s.TokenKind.COLON,c,c+1,u,d,t);case 61:return new l(s.TokenKind.EQUALS,c,c+1,u,d,t);case 64:return new l(s.TokenKind.AT,c,c+1,u,d,t);case 91:return new l(s.TokenKind.BRACKET_L,c,c+1,u,d,t);case 93:return new l(s.TokenKind.BRACKET_R,c,c+1,u,d,t);case 123:return new l(s.TokenKind.BRACE_L,c,c+1,u,d,t);case 124:return new l(s.TokenKind.PIPE,c,c+1,u,d,t);case 125:return new l(s.TokenKind.BRACE_R,c,c+1,u,d,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){for(var o=e.body,a=o.length,c=t+1,u=0;
1c!==a&&!isNaN(u=o.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new l(s.TokenKind.NAME,t,c,n,r,i,o.slice(t,c))}(n,c,u,d,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,a){var c=e.body,u=n,h=t,d=!1;if(45===u&&(u=c.charCodeAt(++h)),48===u){if((u=c.charCodeAt(++h))>=48&&u<=57)throw(0,o.syntaxError)(e,h,"Invalid number, unexpected digit after 0: ".concat(f(u),"."))}else h=p(e,h,u),u=c.charCodeAt(h);if(46===u&&(d=!0,u=c.charCodeAt(++h),h=p(e,h,u),u=c.charCodeAt(h)),(69===u||101===u)&&(d=!0,(43===(u=c.charCodeAt(++h))||45===u)&&(u=c.charCodeAt(++h)),h=p(e,h,u),u=c.charCodeAt(h)),46===u||69===u||101===u)throw(0,o.syntaxError)(e,h,"Invalid number, expected digit but got: ".concat(f(u),"."));return new l(d?s.TokenKind.FLOAT:s.TokenKind.INT,t,h,r,i,a,c.slice(t,h))}(n,c,v,u,d,t);case 34:if(34===r.charCodeAt(c+1)&&34===r.charCodeAt(c+2))return function(e,t,n,r,i,c){for(var u=e.body,p=t+3,h=p,d=0,v="";p<u.length&&!isNaN(d=u.charCodeAt(p));){if(34===d&&34===u.charCodeAt(p+1)&&34===u.charCodeAt(p+2))return v+=u.slice(h,p),new l(s.TokenKind.BLOCK_STRING,t,p+3,n,r,i,(0,a.dedentBlockStringValue)(v));if(d<32&&9!==d&&10!==d&&13!==d)throw(0,o.syntaxError)(e,p,"Invalid character within String: ".concat(f(d),"."));10===d?(++p,++c.line,c.lineStart=p):13===d?(10===u.charCodeAt(p+1)?p+=2:++p,++c.line,c.lineStart=p):92===d&&34===u.charCodeAt(p+1)&&34===u.charCodeAt(p+2)&&34===u.charCodeAt(p+3)?(v+=u.slice(h,p)+'"""',p+=4,h=p):++p}throw(0,o.syntaxError)(e,p,"Unterminated string.")}(n,c,u,d,t,e);return function(e,t,n,r,i){for(var a=e.body,c=t+1,u=c,p=0,d="";c<a.length&&!isNaN(p=a.charCodeAt(c))&&10!==p&&13!==p;){if(34===p)return d+=a.slice(u,c),new l(s.TokenKind.STRING,t,c+1,n,r,i,d);if(p<32&&9!==p)throw(0,o.syntaxError)(e,c,"Invalid character within String: ".concat(f(p),"."));if(++c,92===p){switch(d+=a.slice(u,c-1),p=a.charCodeAt(c)){case 34:d+='"';break;case 47:d+="/";break;case 92:d+="\\";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+="\n";break;case 114:d+="\r";break;case 116:d+=" ";break;case 117:var v,y,m,b,g=(v=a.charCodeAt(c+1),y=a.charCodeAt(c+2),m=a.charCodeAt(c+3),b=a.charCodeAt(c+4),h(v)<<12|h(y)<<8|h(m)<<4|h(b));if(g<0){var k=a.slice(c+1,c+5);throw(0,o.syntaxError)(e,c,"Invalid character escape sequence: \\u".concat(k,"."))}d+=String.fromCharCode(g),c+=4;break;default:throw(0,o.syntaxError)(e,c,"Invalid character escape sequence: \\".concat(String.fromCharCode(p),"."))}u=++c}}throw(0,o.syntaxError)(e,c,"Unterminated string.")}(n,c,u,d,t)}throw(0,o.syntaxError)(n,c,v<32&&9!==v&&10!==v&&13!==v?"Cannot contain the invalid character ".concat(f(v),"."):39===v?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(f(v),"."))}(this,e));while(e.kind===s.TokenKind.COMMENT);return e}function l(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function f(e){return isNaN(e)?s.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function p(e,t,n){var r=e.body,i=t,a=n;if(a>=48&&a<=57){do a=r.charCodeAt(++i);while(a>=48&&a<=57);return i}throw(0,o.syntaxError)(e,i,"Invalid number, expected digit but got: ".concat(f(a),"."))}function h(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}(0,i.default)(l,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}})},39016:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=function(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}},88370:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e,t){return new h(e,t).parseDocument()},t.parseValue=function(e,t){var n=new h(e,t);n.expectToken(f.TokenKind.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(f.TokenKind.EOF),r},t.parseType=function(e,t){var n=new h(e,t);n.expectToken(f.TokenKind.SOF);var r=n.parseTypeReference();return n.expectToken(f.TokenKind.EOF),r};var r=p(n(8002)),i=p(n(67242)),o=p(n(89503)),a=n(50338),s=n(2828),c=n(12412),u=n(54274),l=n(78333),f=n(23175);
vendor: 16,231 bytes, line 1
1function p(e){return e&&e.__esModule?e:{default:e}}var h=function(){function e(e,t){var n="string"==typeof e?new c.Source(e):e;n instanceof c.Source||(0,i.default)(0,"Must provide Source. Received: ".concat((0,r.default)(n))),this._lexer=(0,u.createLexer)(n),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(f.TokenKind.NAME);return{kind:s.Kind.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:s.Kind.DOCUMENT,definitions:this.many(f.TokenKind.SOF,this.parseDefinition,f.TokenKind.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(f.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(f.TokenKind.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(f.TokenKind.BRACE_L))return{kind:s.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var n=this.parseOperationType();return this.peek(f.TokenKind.NAME)&&(e=this.parseName()),{kind:s.Kind.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(f.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(f.TokenKind.PAREN_L,this.parseVariableDefinition,f.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:s.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(f.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(f.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(f.TokenKind.DOLLAR),{kind:s.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:s.Kind.SELECTION_SET,selections:this.many(f.TokenKind.BRACE_L,this.parseSelection,f.TokenKind.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(f.TokenKind.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(f.TokenKind.COLON)?(e=r,t=this.parseName()):t=r,{kind:s.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(f.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(f.TokenKind.PAREN_L,t,f.TokenKind.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(f.TokenKind.COLON),{kind:s.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:s.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(f.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(f.TokenKind.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(f.TokenKind.NAME)?{kind:s.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:s.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return(this.expectKeyword("fragment"),this._options.experimentalFragmentVariables)?{kind:s.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:s.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case f.TokenKind.BRACKET_L:return this.parseList(e);case f.TokenKind.BRACE_L:return this.parseObject(e);case f.TokenKind.INT:return this._lexer.advance(),{kind:s.Kind.INT,value:t.value,loc:this.loc(t)};case f.TokenKind.FLOAT:return this._lexer.advance(),{kind:s.Kind.FLOAT,value:t.value,loc:this.loc(t)};case f.TokenKind.STRING:case f.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case f.TokenKind.NAME:if("true"===t.value||"false"===t.value)return this._lexer.advance(),{kind:s.Kind.BOOLEAN,value:"true"===t.value,loc:this.loc(t)};if("null"===t.value)return this._lexer.advance(),{kind:s.Kind.NULL,loc:this.loc(t)};return this._lexer.advance(),{kind:s.Kind.ENUM,value:t.value,loc:this.loc(t)};case f.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:s.Kind.STRING,value:e.value,block:e.kind===f.TokenKind.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:s.Kind.LIST,values:this.any(f.TokenKind.BRACKET_L,function(){return t.parseValueLiteral(e)},f.TokenKind.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:s.Kind.OBJECT,fields:this.any(f.TokenKind.BRACE_L,function(){return t.parseObjectField(e)},f.TokenKind.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(f.TokenKind.COLON),{kind:s.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(f.TokenKind.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(f.TokenKind.AT),{kind:s.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(f.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(f.TokenKind.BRACKET_R),e={kind:s.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(f.TokenKind.BANG))?{kind:s.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:s.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===f.TokenKind.NAME)switch(e.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()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(f.TokenKind.STRING)||this.peek(f.TokenKind.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.many(f.TokenKind.BRACE_L,this.parseOperationTypeDefinition,f.TokenKind.BRACE_R);return{kind:s.Kind.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(f.TokenKind.COLON);var n=this.parseNamedType();return{kind:s.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:s.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:s.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(f.TokenKind.AMP);do e.push(this.parseNamedType());while(this.expectOptionalToken(f.TokenKind.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(f.TokenKind.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(f.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===f.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(f.TokenKind.BRACE_L,this.parseFieldDefinition,f.TokenKind.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(f.TokenKind.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:s.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(f.TokenKind.PAREN_L,this.parseInputValueDef,f.TokenKind.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(f.TokenKind.COLON);var i=this.parseTypeReference();this.expectOptionalToken(f.TokenKind.EQUALS)&&(e=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:s.Kind.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:o,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:s.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:s.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(f.TokenKind.EQUALS)){this.expectOptionalToken(f.TokenKind.PIPE);do e.push(this.parseNamedType());while(this.expectOptionalToken(f.TokenKind.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:s.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(f.TokenKind.BRACE_L,this.parseEnumValueDefinition,f.TokenKind.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:s.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:s.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(f.TokenKind.BRACE_L,this.parseInputValueDef,f.TokenKind.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===f.TokenKind.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)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(f.TokenKind.BRACE_L,this.parseOperationTypeDefinition,f.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:s.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:s.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:s.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.Kind.INTERFACE_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(f.TokenKind.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:s.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(f.TokenKind.PIPE);var e=[];do e.push(this.parseDirectiveLocation());
1while(this.expectOptionalToken(f.TokenKind.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==l.DirectiveLocation[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new d(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,a.syntaxError)(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(v(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===f.TokenKind.NAME&&t.value===e)this._lexer.advance();else throw(0,a.syntaxError)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(v(t)))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===f.TokenKind.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return(0,a.syntaxError)(this._lexer.source,t.start,"Unexpected ".concat(v(t)))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r},e}();function d(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function v(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}(0,o.default)(d,function(){return{start:this.start,end:this.end}})},11352:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefinitionNode=function(e){return i(e)||o(e)||s(e)},t.isExecutableDefinitionNode=i,t.isSelectionNode=function(e){return e.kind===r.Kind.FIELD||e.kind===r.Kind.FRAGMENT_SPREAD||e.kind===r.Kind.INLINE_FRAGMENT},t.isValueNode=function(e){return e.kind===r.Kind.VARIABLE||e.kind===r.Kind.INT||e.kind===r.Kind.FLOAT||e.kind===r.Kind.STRING||e.kind===r.Kind.BOOLEAN||e.kind===r.Kind.NULL||e.kind===r.Kind.ENUM||e.kind===r.Kind.LIST||e.kind===r.Kind.OBJECT},t.isTypeNode=function(e){return e.kind===r.Kind.NAMED_TYPE||e.kind===r.Kind.LIST_TYPE||e.kind===r.Kind.NON_NULL_TYPE},t.isTypeSystemDefinitionNode=o,t.isTypeDefinitionNode=a,t.isTypeSystemExtensionNode=s,t.isTypeExtensionNode=c;var r=n(2828);function i(e){return e.kind===r.Kind.OPERATION_DEFINITION||e.kind===r.Kind.FRAGMENT_DEFINITION}function o(e){return e.kind===r.Kind.SCHEMA_DEFINITION||a(e)||e.kind===r.Kind.DIRECTIVE_DEFINITION}function a(e){return e.kind===r.Kind.SCALAR_TYPE_DEFINITION||e.kind===r.Kind.OBJECT_TYPE_DEFINITION||e.kind===r.Kind.INTERFACE_TYPE_DEFINITION||e.kind===r.Kind.UNION_TYPE_DEFINITION||e.kind===r.Kind.ENUM_TYPE_DEFINITION||e.kind===r.Kind.INPUT_OBJECT_TYPE_DEFINITION}function s(e){return e.kind===r.Kind.SCHEMA_EXTENSION||c(e)}function c(e){return e.kind===r.Kind.SCALAR_TYPE_EXTENSION||e.kind===r.Kind.OBJECT_TYPE_EXTENSION||e.kind===r.Kind.INTERFACE_TYPE_EXTENSION||e.kind===r.Kind.UNION_TYPE_EXTENSION||e.kind===r.Kind.ENUM_TYPE_EXTENSION||e.kind===r.Kind.INPUT_OBJECT_TYPE_EXTENSION}},38038:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.printLocation=function(e){return i(e.source,(0,r.getLocation)(e.source,e.start))},t.printSourceLocation=i;var r=n(39016);function i(e,t){var n=e.locationOffset.column-1,r=a(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,c=t.line+s,u=1===t.line?n:0,l=t.column+u,f="".concat(e.name,":").concat(c,":").concat(l,"\n"),p=r.split(/\r\n|[\n\r]/g),h=p[i];if(h.length>120){for(var d=Math.floor(l/80),v=l%80,y=[],m=0;m<h.length;m+=80)y.push(h.slice(m,m+80));return f+o([["".concat(c),y[0]]].concat(y.slice(1,d+1).map(function(e){return["",e]}),[[" ",a(v-1)+"^"],["",y[d+1]]]))}return f+o([["".concat(c-1),p[i-1]],["".concat(c),h],["",a(l-1)+"^"],["".concat(c+1),p[i+1]]])}function o(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),n=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t=e[0],r=e[1];return a(n-t.length)+t+(r?" | "+r:" |")}).join("\n")}function a(e){return Array(e+1).join(" ")}}
vendor: 2,397 bytes, line 1
1,23033:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,r.visit)(e,{leave:o})};var r=n(80285),i=n(70849),o={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return s(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u("(",s(e.variableDefinitions,", "),")"),i=s(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?s([t,s([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+u(" = ",r)+u(" ",s(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return s([u("",t,": ")+n+u("(",s(r,", "),")"),s(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",s(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return s(["...",u("on ",t),s(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(u("(",s(r,", "),")")," ")+"on ".concat(n," ").concat(u("",s(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,i.printBlockString)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+s(e.values,", ")+"]"},ObjectValue:function(e){return"{"+s(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",s(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return s(["schema",s(t," "),c(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a(function(e){return s(["scalar",e.name,s(e.directives," ")]," ")}),ObjectTypeDefinition:a(function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["type",t,u("implements ",s(n," & ")),s(r," "),c(i)]," ")}
1),FieldDefinition:a(function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(p(n)?u("(\n",l(s(n,"\n")),"\n)"):u("(",s(n,", "),")"))+": "+r+u(" ",s(i," "))}),InputValueDefinition:a(function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return s([t+": "+n,u("= ",r),s(i," ")]," ")}),InterfaceTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.fields;return s(["interface",t,s(n," "),c(r)]," ")}),UnionTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.types;return s(["union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")}),EnumTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.values;return s(["enum",t,s(n," "),c(r)]," ")}),EnumValueDefinition:a(function(e){return s([e.name,s(e.directives," ")]," ")}),InputObjectTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.fields;return s(["input",t,s(n," "),c(r)]," ")}),DirectiveDefinition:a(function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(p(n)?u("(\n",l(s(n,"\n")),"\n)"):u("(",s(n,", "),")"))+(r?" repeatable":"")+" on "+s(i," | ")}),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return s(["extend schema",s(t," "),c(n)]," ")},ScalarTypeExtension:function(e){return s(["extend scalar",e.name,s(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["extend type",t,u("implements ",s(n," & ")),s(r," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return s(["extend interface",t,s(n," "),c(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return s(["extend union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return s(["extend enum",t,s(n," "),c(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return s(["extend input",t,s(n," "),c(r)]," ")}};function a(e){return function(t){return s([t.description,e(t)],"\n")}}function s(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function c(e){return e&&0!==e.length?"{\n"+l(s(e,"\n"))+"\n}":""}function u(e,t,n){return t?e+t+(n||""):""}function l(e){return e&&" "+e.replace(/\n/g,"\n ")}function f(e){return -1!==e.indexOf("\n")}function p(e){return e&&e.some(f)}},12412:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Source=void 0;var r=o(n(67242)),i=o(n(13320));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||(0,r.default)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,r.default)(0,"column in locationOffset is 1-indexed and must be positive")};t.Source=a,(0,i.default)(a)},23175:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenKind=void 0;var n=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});t.TokenKind=n},80285:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,r=void 0,u=Array.isArray(e),l=[e],f=-1,p=[],h=void 0,d=void 0,v=void 0,y=[],m=[],b=e;do{var g=++f===l.length,k=g&&0!==p.length;if(g){if(d=0===m.length?void 0:y[y.length-1],h=v,v=m.pop(),k){if(u)h=h.slice();else{for(var T={},E=0,_=Object.keys(h);E<_.length;E++){var O=_[E];T[O]=h[O]}h=T}for(var S=0,w=0;w<p.length;w++){var I=p[w][0],N=p[w][1];u&&(I-=S),u&&null===N?(h.splice(I,1),S++):h[I]=N}}f=r.index,l=r.keys,p=r.edits,u=r.inArray,r=r.prev}else{if(d=v?u?f:l[f]:void 0,null==(h=v?v[d]:b))continue;v&&y.push(d)}var D=void 0;if(!Array.isArray(h)){if(!s(h))throw Error("Invalid AST Node: "+(0,i.default)(h));var x=c(t,h.kind,g);if(x){if((D=x.call(t,h,d,v,y,m))===a)break;
1if(!1===D){if(!g){y.pop();continue}}else if(void 0!==D&&(p.push([d,D]),!g)){if(s(D))h=D;else{y.pop();continue}}}}void 0===D&&k&&p.push([d,h]),g?y.pop():(r={inArray:u,index:f,keys:l,edits:p,prev:r},l=(u=Array.isArray(h))?h:n[h.kind]||[],f=-1,p=[],v&&m.push(v),v=h)}while(void 0!==r);return 0!==p.length&&(b=p[p.length-1][1]),b},t.visitInParallel=function(e){var t=Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}}}},t.visitWithTypeInfo=function(e,t){return{enter:function(n){e.enter(n);var r=c(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),s(i)&&e.enter(i)),i}},leave:function(n){var r,i=c(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}},t.getVisitFn=c,t.BREAK=t.QueryDocumentKeys=void 0;var r,i=(r=n(8002))&&r.__esModule?r:{default:r},o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["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","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","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=o;var a=Object.freeze({});function s(e){return!!(e&&"string"==typeof e.kind)}function c(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}t.BREAK=a},63144:function(e){let t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},99066:function(e,t,n){n.d(t,{h:function(){return ew}});var r,i,o=n(97582),a=n(78287),s=n(81223),c=n(30020),u=n(23361),l=n(66331),f=n(48216),p=n(182),h=n(99869),d=n(88244),v=n(39613),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,s.re)(u.Yk,{max:l.Q["cache.fragmentQueryDocuments"]||1e3,cache:h.k})}return 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){return void 0===t&&(t=!!e.optimistic),this.read((0,o.pi)((0,o.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,r=e.fragment,i=e.fragmentName,a=e.from,s=e.optimistic,c=this.getFragmentDoc(r,i),u={returnPartialData:!0,id:"string"==typeof a?a:this.identify(a),query:c,optimistic:void 0===s||s};return new f.y(function(e){return n.watch((0,o.pi)((0,o.pi)({},u),{immediate:!0,callback:function(n){if(!(t&&(0,v.W)(c,{data:null==t?void 0:t.result},{data:n.result}))){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=(0,p.bw)(n.missing.map(function(e){return e.missing}))),t=n,e.next(r)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.pi)((0,o.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,o._T)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,a=(0,o._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return null==i?r:(n.writeQuery((0,o.pi)((0,o.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return null==i?r:(n.writeFragment((0,o.pi)((0,o.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.Kb);var m=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,o.ZT)(t,e),t}(Error),b=n(18056),g=n(76487),k=n(5466),T=n(68470),E=n(51761),_=n(12178),O=n(30320),S=n(53712),w=n(36765),I=n(19065),N=n(10542),D=n(13154),x=n(75028),A=n(21436),R=Object.prototype.hasOwnProperty;function F(e){return null==e}function C(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=F(r)?F(i)?void 0:{_id:i}:{id:r}),F(r)&&!F(i)&&(r=i),!F(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var P={dataIdFromObject:C,addTypename:!0,resultCaching:!0,canonizeResults:!1};function M(e){var t=e.canonizeResults;return void 0===t?P.canonizeResults:t}var L=/^[_a-z][_0-9a-z]*/i;function K(e){var t=e.match(L);return t?t[0]:e}function j(e){return(0,D.s)(e)&&!(0,E.Yk)(e)&&!(0,A.k)(e)}function q(e,t){var n=(0,u.F)((0,w.kU)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var V=Object.create(null),Q=function(){return V},B=Object.create(null),U=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(0,N.J)((0,E.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,E.Yk)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,E.kQ)(e);if((0,E.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,E.kQ)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,o.pi)({},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),R.call(this.data,e)){var n=this.data[e];if(n&&R.call(n,t))return n[t]}return"__typename"===t&&R.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof z?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),R.call(this.data,e))?this.data[e]:this instanceof z?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;
1(0,E.Yk)(e)&&(e=e.__ref),(0,E.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){(0,a.kG)("string"==typeof n,1);var s=new p.w0(J).merge(i,o);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var c=Object.create(null);i||(c.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){c[e]=1;var t=K(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||r instanceof z||delete s[e]}}),c.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),s=!1,c=!0,u={DELETE:V,INVALIDATE:B,isReference:E.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,E.kQ)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(l){var f=K(l),p=r[l];if(void 0!==p){var h="function"==typeof t?t:t[l]||t[f];if(h){var d=h===Q?V:h((0,N.J)(p),(0,o.pi)((0,o.pi)({},u),{fieldName:f,storeFieldName:l,storage:n.getStorage(e,l)}));if(d===B)n.group.dirty(e,l);else if(d===V&&(d=void 0),d!==p&&(i[l]=d,s=!0,p=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.kG.warn(2,e),!0};if((0,E.Yk)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,b=0,g=d;b<g.length;b++){var k=g[b];
1if((0,E.Yk)(k)){if(y=!0,v(k))break}else"object"==typeof k&&k&&n.policies.identify(k)[0]&&(m=k);if(y&&void 0!==m){!1!==globalThis.__DEV__&&a.kG.warn(3,m);break}}}}void 0!==p&&(c=!1)}}),s)return this.merge(e,i),c&&(this instanceof z?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"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=Q,r):Q)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(R.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof z&&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){R.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&&R.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,o._T)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[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 z?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){R.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 z;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!R.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){(0,E.Yk)(e)&&(t[e.__ref]=!0),(0,D.s)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,D.s)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),G=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new x.B(O.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var n=K(t);n!==t&&this.d(n+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function Y(e,t){X(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,o=e.call(this,n,new G(void 0===r||r))||this;return o.stump=new W(o),o.storageTrie=new x.B(O.mr),i&&o.replace(i),o}return(0,o.ZT)(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}(r=U||(U={})),r.Root=i;var z=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,o.ZT)(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){(0,c.D)(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,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return R.call(this.data,t)?(0,o.pi)((0,o.pi)({},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}(U),W=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new G(t.group.caching,t.group))||this}return(0,o.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(z);function J(e,t,n){var r=e[n],i=t[n];return(0,c.D)(r,i)?r:i}function X(e){return!!(e instanceof U&&e.group.caching)}var H=function(){function e(){this.known=new(O.sy?WeakSet:Set),this.pool=new x.B(O.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.s)(e)){var t=(0,D.s)(e)?(0,A.k)(e)?e.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,D.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var c=a.length;s.sorted.forEach(function(n){a.push(t.admit(e[n]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.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 $(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Z=function(){function e(e){var t=this;this.knownResults=new(O.mr?WeakMap:Map),this.config=(0,S.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:M(e)}),this.canon=e.canon||new H,this.executeSelectionSet=(0,s.re)(function(e){var n,r=e.context.canonizeResults,i=$(e);i[3]=!r;var a=(n=t.executeSelectionSet).peek.apply(n,i);return a?r?(0,o.pi)((0,o.pi)({},a),{result:t.canon.admit(a.result)}):a:(Y(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:$,makeCacheKey:function(e,t,n,r){if(X(n.store))return n.store.makeCacheKey(e,(0,E.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,s.re)(function(e){return Y(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(X(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new H},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,r=e.query,i=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;a=(0,o.pi)((0,o.pi)({},(0,w.O4)((0,w.iW)(r))),a);var f=(0,E.kQ)(void 0===i?"ROOT_QUERY":i),p=this.executeSelectionSet({selectionSet:(0,w.p$)(r).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,o.pi)({store:n,query:r,policies:l,variables:a,varString:(0,k.B)(a),canonizeResults:u},q(r,this.config.fragments))});if(p.missing&&(t=[new m(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(p.missing),p.missing,r,a)],!(void 0===s||s)))throw t[0];return{result:p.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if(X(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,n=this,r=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,E.Yk)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var c=s.variables,l=s.policies,f=s.store.getFieldValue(i,"__typename"),h=[],d=new p.w0;function v(e,n){var r;return e.missing&&(t=d.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof f&&!l.rootIdsByTypename[f]&&h.push({__typename:f});var y=new Set(r.selections);
1y.forEach(function(e){var r,p;if((0,I.LZ)(e,c)){if((0,E.My)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:i},s),b=(0,E.u2)(e);void 0===m?g.Gw.added(e)||(t=d.merge(t,((r={})[b]="Can't find field '".concat(e.name.value,"' on ").concat((0,E.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),r))):(0,A.k)(m)?m.length>0&&(m=v(n.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:s}),b)):e.selectionSet?null!=m&&(m=v(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,E.Yk)(m)?m:o,context:s}),b)):s.canonizeResults&&(m=n.canon.pass(m)),void 0!==m&&h.push(((p={})[b]=m,p))}else{var k=(0,u.hi)(e,s.lookupFragment);if(!k&&e.kind===_.hY.FRAGMENT_SPREAD)throw(0,a._K)(9,e.name.value);k&&l.fragmentMatches(k,f)&&k.selectionSet.selections.forEach(y.add,y)}}});var m={result:(0,p.bw)(h),missing:t},b=s.canonizeResults?this.canon.admit(m):(0,N.J)(m);return b.result&&this.knownResults.set(b.result,r),b},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,s=e.context,c=new p.w0;function u(e,n){var r;return e.missing&&(t=c.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:(0,A.k)(e)?u(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:s}),t):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,E.Yk)(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){(0,D.s)(n)&&((0,a.kG)(!(0,E.Yk)(n),10,(0,E.Yk)(n)?e.get(n.__ref,"__typename"):n&&n.__typename,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}(),ee=n(79487),et=n(13887),en=n(66438),er=Object.create(null);function ei(e){var t=JSON.stringify(e);return er[t]||(er[t]=Object.create(null))}function eo(e){var t=ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=es(e,function(e){var i=eu(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&R.call(t,e[0])&&(i=eu(t,e,ec)),(0,a.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(n.typename,":").concat(JSON.stringify(i))})}function ea(e){var t=ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=JSON.stringify(es(e,function(e){var n=e[0],o=n.charAt(0);if("@"===o){if(r&&(0,A.O)(r.directives)){var a=n.slice(1),s=r.directives.find(function(e){return e.name.value===a}),c=s&&(0,E.NC)(s,i);return c&&eu(c,e.slice(1))}return}if("$"===o){var u=n.slice(1);if(i&&R.call(i,u)){var l=e.slice(0);return l[0]=u,eu(i,l)}return}if(t)return eu(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function es(e,t){var n=new p.w0;return(function e(t){var n=ei(t);if(!n.paths){var r=n.paths=[],i=[];t.forEach(function(n,o){(0,A.k)(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),(0,A.k)(t[o+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function ec(e,t){return e[t]}function eu(e,t,n){return n=n||ec,function e(t){return(0,D.s)(t)?(0,A.k)(t)?t.map(e):es(Object.keys(t).sort(),function(e){return eu(t,e)}):t}(t.reduce(function e(t,r){return(0,A.k)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function el(e){return void 0!==e.args?e.args:e.field?(0,E.NC)(e.field,e.variables):null}var ef=function(){},ep=function(e,t){return t.fieldName},eh=function(e,t,n){return(0,n.mergeObjects)(e,t)},ed=function(e,t){return t},ev=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,o.pi)({dataIdFromObject:C},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,r,i=this,a=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,c=(0,o.pi)((0,o.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=em(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l((0,o.pi)((0,o.pi)({},e),s),c);if((0,A.k)(f))l=eo(f);else{r=f;break}}return r=r?String(r):void 0,c.keyObject?[r,c.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],i=r.queryType,a=r.mutationType,s=r.subscriptionType,c=(0,o._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),R.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?eh:!1===t?ed:e.merge}a(r,t.merge),r.keyFn=!1===i?ef:(0,A.k)(i)?eo(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEac
1h(function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;r.keyFn=!1===s?ep:(0,A.k)(s)?ea(s):"function"==typeof s?s:r.keyFn,"function"==typeof c&&(r.read=c),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||ep)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,a.kG)(!r||r===e,5,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(L);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!R.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,i){if(n.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),i=r.fields;Object.assign(n,(0,o._T)(r,["fields"])),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},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),c=[s],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},l=!!(n&&this.fuzzySubtypes.size),f=!1,p=0;p<c.length;++p){var h=c[p];if(h.has(o))return s.has(o)||(f&&!1!==globalThis.__DEV__&&a.kG.warn(6,t,o),s.add(o)),!0;h.forEach(u),l&&p===c.length-1&&function e(t,n,r){return!!(0,D.s)(n)&&((0,A.k)(n)?n.every(function(n){return e(t,n,r)}):t.selections.every(function(t){if((0,E.My)(t)&&(0,I.LZ)(t,r)){var i=(0,E.u2)(t);return R.call(n,i)&&(!t.selectionSet||e(t.selectionSet,n[i],r))}return!0}))}(e.selectionSet,n,r)&&(l=!1,f=!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,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=el(e);o;){var c=o(s,a);if((0,A.k)(c))o=ea(c);else{t=c||r;break}}return(void 0===t&&(t=e.field?(0,E.vf)(e.field,e.variables):(0,E.PT)(r,el(e))),!1===t)?r:r===K(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=K(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=ey(this,n,e,t,t.store.getStorage((0,E.Yk)(n)?n.__ref:n,i));return en.ab.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),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,a=n.typename,s=n.merge;return s===eh?eb(r.store)(e,t):s===ed?t:(r.overwrite&&(e=void 0),s(e,t,ey(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function ey(e,t,n,r,i){var o=e.getStoreFieldName(n),a=K(o),s=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:el(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:E.Yk,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(em(arguments,t,s),r)},mergeObjects:eb(r.store)}}function em(e,t,n){var r,i=e[0],s=e[1],c=e.length;return"string"==typeof i?r={fieldName:i,from:c>1?s:t}:(r=(0,o.pi)({},i),R.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&a.kG.warn(7,(0,et.v)(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function eb(e){return function(t,n){if((0,A.k)(t)||(0,A.k)(n))throw(0,a._K)(8);if((0,D.s)(t)&&(0,D.s)(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if((0,E.Yk)(t)&&j(n))return e.merge(t.__ref,n),t;if(j(t)&&(0,E.Yk)(n))return e.merge(t,n.__ref),n;if(j(t)&&j(n))return(0,o.pi)((0,o.pi)({},t),n)}return n}}function eg(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,o.pi)((0,o.pi)({},e),{clientOnly:t,deferred:n})),i}var ek=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,r=t.query,i=t.result,s=t.dataId,u=t.variables,l=t.overwrite,f=(0,w.$H)(r),h=new p.w0;u=(0,o.pi)((0,o.pi)({},(0,w.O4)(f)),u);var d=(0,o.pi)((0,o.pi)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)}
1,variables:u,varString:(0,k.B)(u)},q(r,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,E.Yk)(v))throw(0,a._K)(11,i);return d.incomingById.forEach(function(t,r){var i=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,l=(0,E.kQ)(r);if(s&&s.map.size){var f=n.applyMerges(s,l,i,d);if((0,E.Yk)(f))return;i=f}if(!1!==globalThis.__DEV__&&!d.overwrite){var p=Object.create(null);u.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var h=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==p[K(e)]||h(e)||function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},s=i(e);if(s){var u=i(t);if(!(!u||(0,E.Yk)(s)||(0,c.D)(s,u)||Object.keys(s).every(function(e){return void 0!==r.getFieldValue(u,e)}))){var l=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),f=K(n),p="".concat(l,".").concat(f);if(!eS.has(p)){eS.add(p);var h=[];(0,A.k)(s)||(0,A.k)(u)||[s,u].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&a.kG.warn(14,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,o.pi)({},s),(0,o.pi)({},u))}}}}(l,i,e,d.store)})}e.merge(r,i)}),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),f=n&&u.rootTypenamesById[n]||(0,E.qw)(r,i,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof f&&(l.__typename=f);var p=function(){var e=em(arguments,l,s.variables);if((0,E.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=u.readField((0,o.pi)((0,o.pi)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return u.readField(e,s)},h=new Set;this.flattenFields(i,r,s,f).forEach(function(e,n){var i,o=r[(0,E.u2)(n)];if(h.add(n),void 0!==o){var s=u.getStoreFieldName({typename:f,fieldName:n.name.value,field:n,variables:e.variables}),d=eE(c,s),v=t.processFieldValue(o,n,n.selectionSet?eg(e,!1,!1):e,d),y=void 0;n.selectionSet&&((0,E.Yk)(v)||j(v))&&(y=p("__typename",v));var m=u.getMergeFunction(f,n.name.value,y);m?d.info={field:n,typename:f,merge:m}:eO(c,s),l=e.merge(l,((i={})[s]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||g.Gw.added(n)||u.getReadFunction(f,n.name.value)||!1===globalThis.__DEV__||a.kG.error(12,(0,E.u2)(n),r)});try{var d=u.identify(r,{typename:f,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:l,readField:p}),v=d[0],y=d[1];n=n||v,y&&(l=s.merge(l,y))}catch(e){if(!n)throw e}if("string"==typeof n){var m=(0,E.kQ)(n),b=s.written[n]||(s.written[n]=[]);if(b.indexOf(i)>=0||(b.push(i),this.reader&&this.reader.isFresh(r,m,i,s)))return m;var k=s.incomingById.get(n);return k?(k.storeObject=s.merge(k.storeObject,l),k.mergeTree=function e(t,n){if(t===n||!n||e_(n))return t;if(!t||e_(t))return n;var r=t.info&&n.info?(0,o.pi)((0,o.pi)({},t.info),n.info):t.info||n.info,i=t.map.size&&n.map.size,a={info:r,map:i?new Map:t.map.size?t.map:n.map};if(i){var s=new Set(n.map.keys());t.map.forEach(function(t,r){a.map.set(r,e(t,n.map.get(r))),s.delete(r)}),s.forEach(function(r){a.map.set(r,e(n.map.get(r),t.map.get(r)))})}return a}(k.mergeTree,c),h.forEach(function(e){return k.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:l,mergeTree:e_(c)?void 0:c,fieldNodeSet:h}),m}return l},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,A.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,n,eE(r,o));return eO(r,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,ee.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,E.qw)(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,s=new x.B(!1);return function e(c,l){var f=s.lookup(c,l.clientOnly,l.deferred);f.visited||(f.visited=!0,c.selections.forEach(function(s){if((0,I.LZ)(s,n.variables)){var c=l.clientOnly,f=l.deferred;
1if(!(c&&f)&&(0,A.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var r=(0,E.NC)(e,n.variables);r&&!1===r.if||(f=!0)}}),(0,E.My)(s)){var p=i.get(s);p&&(c=c&&p.clientOnly,f=f&&p.deferred),i.set(s,eg(n,c,f))}else{var h=(0,u.hi)(s,n.lookupFragment);if(!h&&s.kind===_.hY.FRAGMENT_SPREAD)throw(0,a._K)(13,s.name.value);h&&o.fragmentMatches(h,r,t,n.variables)&&e(h.selectionSet,eg(n,c,f))}}}))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var s=this;if(e.map.size&&!(0,E.Yk)(n)){var c,u,l=!(0,A.k)(n)&&((0,E.Yk)(t)||j(t))?t:void 0,f=n;l&&!i&&(i=[(0,E.Yk)(l)?l.__ref:l]);var p=function(e,t){return(0,A.k)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=p(l,t),o=p(f,t);if(void 0!==o){i&&i.push(t);var c=s.applyMerges(e,n,o,r,i);c!==o&&(u=u||new Map).set(t,c),i&&(0,a.kG)(i.pop()===t)}}),u&&(n=(0,A.k)(f)?f.slice(0):(0,o.pi)({},f),u.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(c=r.store).getStorage.apply(c,i)):n},e}(),eT=[];function eE(e,t){var n=e.map;return n.has(t)||n.set(t,eT.pop()||{map:new Map}),n.get(t)}function e_(e){return!e||!(e.info||e.map.size)}function eO(e,t){var n=e.map,r=n.get(t);r&&e_(r)&&(eT.push(r),n.delete(t))}var eS=new Set,ew=function(e){function t(t){void 0===t&&(t={});var n,r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new b.A(g.Gw),r.assumeImmutableResults=!0,r.makeVar=en.QS,r.txCount=0,r.config=(n=t,(0,S.o)(P,n)),r.addTypename=!!r.config.addTypename,r.policies=new ev({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,o.ZT)(t,e),t.prototype.init=function(){var e=this.data=new U.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.storeWriter=new ek(this,this.storeReader=new Z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:M(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,s.re)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(X(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,k.B)({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){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof m)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(R.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,en._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,en.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){k.B.reset(),T.S.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,E.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&a.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(R.call(e,"id"))return!1;e=(0,o.pi)((0,o.pi)({},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(),k.B.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,en.li)(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,r=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var i=n.data,o=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=o}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e,t){var n=c.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.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=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,c.D)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(y);!1!==globalThis.__DEV__&&(ew.prototype.getMemoryInternals=d.q4)},66438:function(e,t,n){n.d(t,{QS:function(){return u},_v:function(){return c},ab:function(){return i},li:function(){return s}});var r=n(81223),i=new r.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function c(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(r),e.broadcastWatches&&e.broadcastWatches()});var c=Array.from(n);n.clear(),c.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},23795:function(e,t,n){n.d(t,{f:function(){return es}});var r=n(97582),i=n(78287),o=n(48702),a=o.i.execute,s=n(49379),c=n(56429),u=n(30020),l=n(37280),f=n(19065),p=n(76487),h=n(5466),d=n(18056),v=n(48216);function y(e,t,n){return new v.y(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 a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var m=n(21436);function b(e){var t=g(e);return(0,m.O)(t)}function g(e){var t=(0,m.O)(e.errors)?e.errors.slice(0):[];return(0,l.GG)(e)&&(0,m.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var k=n(36765),T=n(51761),E=n(13154),_=n(60897);function O(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}var S=n(30320);function w(e){function t(t){Object.defineProperty(e,t,{value:v.y})}return S.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function I(e){return e&&"function"==typeof e.then}var N=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),O(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),O(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?I(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),O(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new v.y(t)]),I(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,r.ZT)(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}(v.y);w(N);var D=n(30990),x=n(1644),A=n(53712),R=n(79487),F=n(39613),C=Object.assign,P=Object.hasOwnProperty,M=function(e){function t(t){var n=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=K)}catch(e){}var n=!a.observers.size;a.observers.add(e);var r=a.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=q(o.fetchPolicy),a.isTornDown=!1;var s=n.defaultOptions.watchQuery,c=(void 0===s?{}:s).fetchPolicy,u=void 0===c?"cache-first":c,l=o.fetchPolicy,f=void 0===l?u:l,p=o.initialFetchPolicy,h=void 0===p?"standby"===f?u:f:p;a.options=(0,r.pi)((0,r.pi)({},o),{initialFetchPolicy:h,fetchPolicy:f}),a.queryId=i.queryId||n.generateQueryId();var d=(0,k.$H)(a.query);return a.queryName=d&&d.name&&d.name.value,a}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,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.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||x.Ie.ready,i=(0,r.pi)((0,r.pi)({},t),{loading:(0,x.Oj)(n),networkStatus:n}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(q(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,u.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===x.Ie.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=x.Ie.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||j(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,F.W)(this.query,this.last.result,e,this.variables):!(0,u.D)(this.last.result,e))||t&&!(0,u.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,u.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?n.fetchPolicy=o:"no-cache"===o?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&P.call(e,"variables")){var a=(0,k.iW)(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.kG.warn(20,e,(null===(t=a.name)||void 0===t?void 0:t.value)||a)}return e&&!(0,u.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.pi)((0,r.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,x.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.pi)((0,r.pi)({},e.query?e:(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},this.options),{query:this.options.query}),e),{variables:(0,r.pi)((0,r.pi)({},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,a=o.networkStatus;
1o.networkStatus=x.Ie.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,n,x.Ie.fetchMore).then(function(r){return t.queryManager.removeQuery(i),o.networkStatus===x.Ie.fetchMore&&(o.networkStatus=a),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:r.data,variables:n.variables})}):i.writeQuery({query:n.query,variables:n.variables,data:r.data})},onWatchUpdated:function(e){s.add(e.query)}}),r}).finally(function(){s.has(t.query)||L(t)})},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 r=e.updateQuery;r&&t.updateQuery(function(e,t){return r(e,{subscriptionData:n,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&i.kG.error(21,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,A.o)(this.options,e||{});C(this.options,t)},t.prototype.setVariables=function(e){return(0,u.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},x.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,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}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,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()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){(0,i.kG)(n,22),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&((0,x.Oj)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},x.Ie.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,u.D)(t,this.last.variables)&&(n=void 0),this.last=(0,r.pi)({result:this.queryManager.assumeImmutableResults?e:(0,R.X)(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;
1var i=t===x.Ie.refetch||t===x.Ie.fetchMore||t===x.Ie.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,A.o)(this.options,e||{}),c=i?s:C(this.options,s),l=this.transformDocument(c.query);this.lastQuery=l,!i&&(this.updatePolling(),e&&e.variables&&!(0,u.D)(e.variables,o)&&"standby"!==c.fetchPolicy&&c.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",c),void 0===t&&(t=x.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=q(c.fetchPolicy));var f=function(){n.concast===d&&(n.waitForOwnResult=!1)},p=c.variables&&(0,r.pi)({},c.variables),h=this.fetch(c,t,l),d=h.concast,v=h.fromLink,y={next:function(e){(0,u.D)(n.variables,p)&&(f(),n.reportResult(e,p))},error:function(e){(0,u.D)(n.variables,p)&&(f(),n.reportError(e,p))}};return i||!v&&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 this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&O(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,r.pi)((0,r.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:x.Ie.error,loading:!1});this.updateLastResult(n,t),O(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}(v.y);function L(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function K(e){!1!==globalThis.__DEV__&&i.kG.error(23,e.message,e.stack)}function j(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(24,e)}function q(e){return"network-only"===e||"no-cache"===e||"standby"===e}w(M);var V=n(12178),Q=n(182),B=n(23361),U=n(66438),G=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=(0,Q.Ee)(t.resolvers,e)}):this.resolvers=(0,Q.Ee)(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.mG)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.Jh)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,r.pi)((0,r.pi)({},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(0,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,p.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.pi)((0,r.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,r.mG)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.Jh)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,r.pi)((0,r.pi)({},t),e.exportedVariables)})]:[2,(0,r.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,V.Vn)(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 V.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,p.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,r.mG)(this,arguments,void 0,function(e,t,n,i,o,a){var s,c,u,l,f,p,h,d,v,y;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,r.Jh)(this,function(m){return s=(0,k.p$)(e),c=(0,k.kU)(e),u=(0,B.F)(c),l=this.collectSelectionsToResolve(s,u),p=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=this,d=h.cache,v=h.client,y={fragmentMap:u,context:(0,r.pi)((0,r.pi)({}
1,n),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,r.mG)(this,void 0,void 0,function(){var a,s,c,u,l,p=this;return(0,r.Jh)(this,function(h){return a=o.fragmentMap,s=o.context,c=o.variables,u=[n],l=function(e){return(0,r.mG)(p,void 0,void 0,function(){var l,p;return(0,r.Jh)(this,function(r){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,c)?(0,T.My)(e)?[2,this.resolveField(e,t,n,o).then(function(t){var n;void 0!==t&&u.push(((n={})[(0,T.u2)(e)]=t,n))})]:((0,T.Ao)(e)?l=e:(l=a[e.name.value],(0,i.kG)(l,18,e.name.value)),l&&l.typeCondition&&(p=l.typeCondition.name.value,o.fragmentMatcher(n,p,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,n,o).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,Q.bw)(u)})]})})},e.prototype.resolveField=function(e,t,n,i){return(0,r.mG)(this,void 0,void 0,function(){var o,a,s,c,u,l,f,p,h,d=this;return(0,r.Jh)(this,function(r){return n?(o=i.variables,c=(a=e.name.value)!==(s=(0,T.u2)(e)),l=Promise.resolve(u=n[s]||n[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(h=p[c?a:s])&&(l=Promise.resolve(U.ab.withValue(this.cache,h,[n,(0,T.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(n){if(void 0===n&&(n=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=n)})}),!e.selectionSet||null==n)return n;var r,o,a=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)?d.resolveSubSelectedArray(e,t||a,n,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,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(o){if(!r.has(o)){var a=new Set;r.set(o,a),(0,V.Vn)(o,{Directive:function(e,t,r,i,o){"client"===e.name.value&&o.forEach(function(e){n(e)&&(0,V.pO)(e)&&a.add(e)})},FragmentSpread:function(r,o,s,c,u){var l=t[r.name.value];(0,i.kG)(l,19,r.name.value);var f=e(l);f.size>0&&(u.forEach(function(e){n(e)&&(0,V.pO)(e)&&a.add(e)}),a.add(r),f.forEach(function(e){a.add(e)}))}})}return r.get(o)}(e)},e}(),Y=new(S.mr?WeakMap:Map);function z(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Y.set(e,(Y.get(e)+1)%1e15),n.apply(this,arguments)})}function W(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var J=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Y.has(n)||(Y.set(n,0),z(n,"evict"),z(n,"modify"),z(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||x.Ie.loading;return this.variables&&this.networkStatus!==x.Ie.loading&&!(0,u.D)(this.variables,e.variables)&&(t=x.Ie.setVariables),(0,u.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){W(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,u.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},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&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,u.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():L(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1W(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,x.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var i=(0,r.pi)((0,r.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.D)(i,this.lastWatch)||(this.cancel(),this.cancel=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===Y.get(this.cache)&&(0,u.D)(t,n.variables)&&(0,u.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new Q.w0,a=(0,m.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,m.O)(e.incremental)){var s=(0,l.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.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&&(X(e,n.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),i.lastWrite={result:e,variables:n.variables,dmCount:Y.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(n.variables),s=o.diff(a);!i.stopped&&(0,u.D)(i.variables,n.variables)&&i.updateWatch(n.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=x.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=x.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function X(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!b(e);return!r&&n&&e.data&&(r=!0),r}var H=n(68470),$=n(75028),Z=n(38991),ee=n(66331),et=Object.prototype.hasOwnProperty,en=Object.create(null),er=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,i=e.documentTransform,o=e.queryDeduplication,a=e.onBroadcast,s=e.ssrMode,c=e.clientAwareness,u=e.localState,l=e.assumeImmutableResults,f=void 0===l?!!t.assumeImmutableResults:l,p=e.defaultContext,h=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Z.s(ee.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new $.B(!1);var v=new d.A(function(e){return h.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=void 0!==o&&o,this.clientAwareness=void 0===c?{}:c,this.localState=u||new G({cache:t}),this.ssrMode=void 0!==s&&s,this.assumeImmutableResults=f,this.documentTransform=i?v.concat(i).concat(v):v,this.defaultContext=p||Object.create(null),(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,i._K)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,r.mG)(this,arguments,void 0,function(e){var t,n,o,a,s,c,u,l=e.mutation,f=e.variables,p=e.optimisticResponse,h=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,m=e.awaitRefetchQueries,k=void 0!==m&&m,T=e.update,E=e.onQueryUpdated,_=e.fetchPolicy,O=void 0===_?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.fetchPolicy)||"network-only":_,S=e.errorPolicy,w=void 0===S?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.errorPolicy)||"none":S,I=e.keepRootFields,N=e.context;return(0,r.Jh)(this,function(e){switch(e.label){case 0:if((0,i.kG)(l,26),(0,i.kG)("network-only"===O||"no-cache"===O,27),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),n=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!n)return[3,2];return[4,this.localState.addExportedVariables(l,f,N)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=p&&this.markMutationOptimistic(p,{mutationId:t,document:l,variables:f,fetchPolicy:O,errorPolicy:w,context:N,updateQueries:h,update:T,keepRootFields:I}),this.broadcastQueries(),s=this,[2,new Promise(function(e,n){return y(s.getObservableFromLink(l,(0,r.pi)((0,r.pi)({},N),{optimisticResponse:a?p:void 0}),f,!1),function(e){if(b(e)&&"none"===w)throw new D.cA({graphQLErrors:g(e)});o&&(o.loading=!1,o.error=null);var n=(0,r.pi)({},e);return"function"==typeof v&&(v=v(n)),"ignore"===w&&b(n)&&delete n.errors,s.markMutationResult({mutationId:t,result:n,document:l,variables:f,fetchPolicy:O,errorPolicy:w,context:N,update:T,updateQueries:h,awaitRefetchQueries:k,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:E,keepRootFields:I})}).subscribe({next:function(t){s.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),n(e instanceof D.cA?e:new D.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&X(i,e.errorPolicy)){if((0,l.GG)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.GG)(i)&&(0,m.O)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),c=void 0;s.result&&(c=(0,l.mT)(s.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,r){var a=e.observableQuery,s=a&&a.queryName;if(s&&et.call(u,s)){var c=u[s],l=n.queries.get(r),f=l.document,p=l.variables,h=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),d=h.result;if(h.complete&&d){var v=c(d,{mutationResult:i,queryName:f&&(0,k.rY)(f)||void 0,queryVariables:p});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:p})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,c=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,r.pi)((0,r.pi)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&s(t,i,{context:e.context,variables:e.variables})}a||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}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"==typeof e?e(t.variables,{IGNORE:en}):e;return o!==en&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,r.pi)((0,r.pi)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(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:(0,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,p.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,k.O4)((0,k.$H)(e)),asQuery:(0,r.pi)((0,r.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.pi)((0,r.pi)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.pi)((0,r.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,r.pi)((0,r.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new J(this),i=new M({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,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;return void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,28),(0,i.kG)("Document"===e.query.kind,29),(0,i.kG)(!e.returnPartialData,30),(0,i.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,r.pi)((0,r.pi)({},e),{query:this.transform(e.query)})).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}
1),this.cancelPendingFetches((0,i._K)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=x.Ie.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,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?o.set(e,!1):(0,T.JW)(e)?o.set(t.transform(e),!1):(0,E.s)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,r){var i=t.observableQuery,a=t.document;if(i){if("all"===e){n.set(r,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(n.set(r,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,_.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new M({queryManager:t,queryInfo:a,options:(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),n.set(o,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){e||!1===globalThis.__DEV__||i.kG.warn("string"==typeof t?33:34,t)}),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;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,c=void 0===s?{}:s;n=this.transform(n),a=this.getVariables(n,a);var u=function(e){return t.getObservableFromLink(n,c,e).map(function(i){"no-cache"!==r&&(X(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=b(i),s=(0,D.ls)(i);if(a||s){var c={};if(a&&(c.graphQLErrors=i.errors),s&&(c.protocolErrors=i.extensions[D.YG]),"none"===o||s)throw new D.cA(c)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(n).hasClientExports){var l=this.localState.addExportedVariables(n,a,c).then(u);return new v.y(function(e){var t=null;return l.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return u(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i){var o,s,c=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),l=u.serverQuery,f=u.clientQuery;if(l){var p=this.inFlightLinkObservables,d=this.link,m={query:l,variables:n,operationName:(0,k.rY)(l)||void 0,context:this.prepareContext((0,r.pi)((0,r.pi)({},t),{forceFetch:!i}))};if(t=m.context,i){var b=(0,H.S)(l),g=(0,h.B)(n),T=p.lookup(b,g);if(!(s=T.observable)){var E=new N([a(d,m)]);s=T.observable=E,E.beforeNext(function(){p.remove(b,g)})}}else s=new N([a(d,m)])}else s=new N([v.y.of({data:{}})]),t=this.prepareContext(t);return f&&(s=y(s,function(e){return c.localState.runResolvers({document:f,remoteResult:e,context:t,variables:n})})),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return y(this.getObservableFromLink(i,n.context,n.variables),function(o){var a=g(o),s=a.length>0;if(r>=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new D.cA({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:x.Ie.ready};return s&&"ignore"!==n.errorPolicy&&(c.errors=a,c.networkStatus=x.Ie.error),c},function(t){var n=(0,D.MS)(t)?t:new D.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i,o,a=this;void 0===n&&(n=x.Ie.loading),void 0===r&&(r=t.query);var s=this.getVariables(r,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,h=void 0===p?u&&u.errorPolicy||"none":p,d=t.returnPartialData,v=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:r,variables:s,fetchPolicy:f,errorPolicy:h,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),b=function(e){m.variables=e;var r=a.fetchQueryByPolicy(c,m,n);return"standby"!==m.fetchPolicy&&r.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),r},g=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new N(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then(function(e){return e.sources})),o=!0;else{var k=b(m.variables);o=k.fromLink,i=new N(k.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,_.X)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof J&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var i=c(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=c(i,a,o)}c&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:n});var y=function(){return e.getDiff()},m=function(t,n){void 0===n&&(n=e.networkStatus||x.Ie.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,u.D)(s,{})||j(t.missing);var c=function(e){return v.y.of((0,r.pi)({data:e,loading:(0,x.Oj)(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data||void 0)}):"none"===l&&n===x.Ie.refetch&&Array.isArray(t.missing)?c(void 0):c(s)},b="no-cache"===s?0:n===x.Ie.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:l})},k=h&&"number"==typeof d&&d!==n&&(0,x.Oj)(n);switch(s){default:case"cache-first":var T=y();if(T.complete)return{fromLink:!1,sources:[m(T,e.markReady())]};if(f||k)return{fromLink:!0,sources:[m(T),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var T=y();if(T.complete||f||k)return{fromLink:!0,sources:[m(T),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(k)return{fromLink:!0,sources:[m(y()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(k)return{fromLink:!0,sources:[m(e.getDiff()),g()]};return{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new J(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.pi)((0,r.pi)((0,r.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),ei=n(14012),eo=n(88244),ea=!1,es=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cac
1he)throw(0,i._K)(15);var n=e.uri,r=e.credentials,a=e.headers,u=e.cache,l=e.documentTransform,f=e.ssrMode,p=void 0!==f&&f,h=e.ssrForceFetchDelay,d=void 0===h?0:h,v=e.connectToDevTools,y=void 0===v?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:v,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,k=e.defaultContext,T=e.assumeImmutableResults,E=void 0===T?u.assumeImmutableResults:T,_=e.resolvers,O=e.typeDefs,S=e.fragmentMatcher,w=e.name,I=e.version,N=e.link;N||(N=n?new c.u({uri:n,credentials:r,headers:a}):o.i.empty()),this.link=N,this.cache=u,this.disableNetworkFetches=p||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=O,d&&setTimeout(function(){return t.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.i,this.localState=new G({cache:u,client:this,resolvers:_,fragmentMatcher:S}),this.queryManager=new er({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:k,documentTransform:l,queryDeduplication:b,ssrMode:p,clientAwareness:{name:w,version:I},localState:this.localState,assumeImmutableResults:E,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),y&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}ea||!1===globalThis.__DEV__||(ea=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&/^(https?|file):$/.test(window.location.protocol)){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__&&i.kG.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=(0,ei.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ei.J)(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ei.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},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 a(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 o=Promise.all(r);return o.queries=n,o.results=r,o.catch(function(e){!1!==globalThis.__DEV__&&i.kG.debug(17,e)}),o},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__&&(es.prototype.getMemoryInternals=eo.su)},39613:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(97582),i=n(30020),o=n(36765),a=n(23361),s=n(19065),c=n(51761);function u(e,t,n,u){var f=t.data,p=(0,r._T)(t,["data"]),h=n.data,d=(0,r._T)(n,["data"]);return(0,i.Z)(p,d)&&function e(t,n,r,o){if(n===r)return!0;var u=new Set;return t.selections.every(function(t){if(u.has(t)||(u.add(t),!(0,s.LZ)(t,o.variables)||l(t)))return!0;if((0,c.My)(t)){var f=(0,c.u2)(t),p=n&&n[f],h=r&&r[f],d=t.selectionSet;if(!d)return(0,i.Z)(p,h);var v=Array.isArray(p),y=Array.isArray(h);if(v!==y)return!1;if(v&&y){var m=p.length;if(h.length!==m)return!1;for(var b=0;b<m;++b)if(!e(d,p[b],h[b],o))return!1;return!0}return e(d,p,h,o)}var g=(0,a.hi)(t,o.fragmentMap);if(g)return!!l(g)||e(g.selectionSet,n,r,o)})}((0,o.p$)(e).selectionSet,f,h,{fragmentMap:(0,a.F)((0,o.kU)(e)),variables:u})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},48702:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(78287),i=n(48216),o=n(97582),a=n(36765);function s(e,t){return t?t(e):i.y.of()}function c(e){return"function"==typeof e?new l(e):e}function u(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var o=c(n),a=c(r||new e(s));return Object.assign(new e(u(o)&&u(a)?function(e){return t(e)?o.request(e)||i.y.of():a.request(e)||i.y.of()}:function(e,n){return t(e)?o.request(e,n)||i.y.of():a.request(e,n)||i.y.of()}),{left:o,right:a})},e.execute=function(e,t){var n,s,c,u;return e.request((c=t.context,(s={variables:(n=function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(0>t.indexOf(o))throw(0,r._K)(43,o)}return e}(t)).variables||{},extensions:n.extensions||{},operationName:n.operationName,query:n.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.rY)(s.query)||void 0:""),u=(0,o.pi)({},c),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){u="function"==typeof e?(0,o.pi)((0,o.pi)({},u),e(u)):(0,o.pi)((0,o.pi)({},u),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},u)}}),s))||i.y.of()},e.concat=function(t,n){var o=c(t);if(u(o))return!1!==globalThis.__DEV__&&r.kG.warn(35,o),o;var a=c(n);return Object.assign(new e(u(a)?function(e){return o.request(e,function(e){return a.request(e)||i.y.of()})||i.y.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.y.of()})||i.y.of()}),{left:o,right:a})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r._K)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},56429:function(e,t,n){n.d(t,{u:function(){return w}});var r=n(97582),i=n(48702),o=n(78287),a=n(19065),s=n(48216),c=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=(0,o._K)(39,t,e.message);throw r.parseError=e,r}return n},u=n(30320);function l(e){var t={next:function(){return e.read()}};return u.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var f=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},p=n(30990),h=n(37280),d=Object.prototype.hasOwnProperty;function v(e,t){e.status>=300&&f(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(n){throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var y=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o._K)(37)},m=n(68470),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},g=function(e,t){return t(e)};function k(e){return new s.y(function(t){t.error(e)})}var T=n(12178),E=n(76487),_=n(36765),O=(0,o.wY)(function(){return fetch}),S=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,S=e.fetch,w=e.print,I=void 0===w?g:w,N=e.includeExtensions,D=e.preserveHeaderCase,x=e.useGETForQueries,A=e.includeUnusedVariables,R=void 0!==A&&A,F=(0,r._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&y(S||O);var C={http:{includeExtensions:N,preserveHeaderCase:D},options:F.fetchOptions,credentials:F.credentials,headers:F.headers};return new i.i(function(e){var t,i,y,g,w,N,D,A,F=(t=e,i=n,t.getContext().uri||("function"==typeof i?i(t):i||"/graphql")),P=e.getContext(),M={};if(P.clientAwareness){var L=P.clientAwareness,K=L.name,j=L.version;K&&(M["apollographql-client-name"]=K),j&&(M["apollographql-client-version"]=j)}var q=(0,r.pi)((0,r.pi)({},M),P.headers),V={http:P.http,options:P.fetchOptions,credentials:P.credentials,headers:q};if((0,a.FS)(["client"],e.query)){var Q=(0,E.ob)(e.query);if(!Q)return k(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=Q}var B=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={},a={};
1n.forEach(function(e){o=(0,r.pi)((0,r.pi)((0,r.pi)({},o),e.options),{headers:(0,r.pi)((0,r.pi)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,r.pi)((0,r.pi)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return a.includeExtensions&&(f.extensions=c),a.includeQuery&&(f.query=t(l,m.S)),{options:o,body:f}}(e,I,b,C,V),U=B.options,G=B.body;G.variables&&!R&&(G.variables=(y=G.variables,g=e.query,w=(0,r.pi)({},y),N=new Set(Object.keys(y)),(0,T.Vn)(g,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&N.delete(e.name.value)}}),N.forEach(function(e){delete w[e]}),w)),U.signal||"undefined"==typeof AbortController||(A=new AbortController,U.signal=A.signal);var Y="OperationDefinition"===(D=(0,_.p$)(e.query)).kind&&"subscription"===D.operation,z=(0,a.FS)(["defer"],e.query);if(x&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(U.method="GET"),z||Y){U.headers=U.headers||{};var W="multipart/mixed;";Y&&z&&!1!==globalThis.__DEV__&&o.kG.warn(38),Y?W+="boundary=graphql;subscriptionSpec=1.0,application/json":z&&(W+="deferSpec=20220824,application/json"),U.headers.accept=W}if("GET"===U.method){var J=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=c(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",i)}if(t.extensions){var o=void 0;try{o=c(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+n.join("&")+a}}(F,G),X=J.newURI,H=J.parseError;if(H)return k(H);F=X}else try{U.body=c(G,"Payload")}catch(e){return k(e)}return new s.y(function(t){var n=S||(0,o.wY)(function(){return fetch})||O,i=t.next.bind(t);return n(F,U).then(function(t){e.setContext({response:t});var n,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.mG)(this,void 0,void 0,function(){var n,i,o,a,s,c,f,d,y,m,b,g,k,T,E,_,O,S,w,I,N,D,x;return(0,r.Jh)(this,function(A){switch(A.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),i=null===(x=e.headers)||void 0===x?void 0:x.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),c="",f=function(e){var t,n,r,i,o,a,s=e;if(e.body&&(s=e.body),t=s,u.DN&&t[Symbol.asyncIterator])return r=s[Symbol.asyncIterator](),(n={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},n;if(s.getReader)return l(s.getReader());if(s.stream)return l(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},u.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,n=null,r=!1,i=[],o=[];function a(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 s(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var l={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 u.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),d=!0,A.label=1;case 1:if(!d)return[3,3];return[4,f.next()];case 2:for(m=(y=A.sent()).value,b=y.done,g="string"==typeof m?m:n.decode(m),k=c.length-s.length+1,d=!b,c+=g,T=c.indexOf(s,k);T>-1;){if(E=void 0,E=(N=[c.slice(0,T),c.slice(T+s.length)])[0],c=N[1],_=E.indexOf("\r\n\r\n"),(O=function(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}(E.slice(0,_))["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(S=E.slice(_)){if(Object.keys(w=v(e,S)).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w){if((0,h.yU)(w)){if(I={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];I=(0,r.pi)({},w.payload)}"errors"in w&&(I=(0,r.pi)((0,r.pi)({},I),{extensions:(0,r.pi)((0,r.pi)({},"extensions"in I?I.extensions:null),((D={})[p.YG]=w.errors,D))})),t(I)}else t(w)}else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2]}T=c.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return v(t,e)}).then(function(n){return Array.isArray(n)||d.call(n,"data")||d.call(n,"errors")||f(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n}).then(i)}).then(function(){A=void 0,t.complete()}).catch(function(e){A=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){A&&A.abort()}})})},w=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,S(t).request)||this;return n.options=t,n}return(0,r.ZT)(t,e),t}(i.i)},53768:function(e,t,n){n.d(t,{e:function(){return s}});var r=n(97582),i=n(78287),o=n(73914),a=n(85317),s=function(e){var t=e.client,n=e.children,s=(0,a.K)(),c=o.useContext(s),u=o.useMemo(function(){return(0,r.pi)((0,r.pi)({},c),{client:t||c.client})},[c,t]);return(0,i.kG)(u.client,46),o.createElement(s.Provider,{value:u},n)}},5466:function(e,t,n){n.d(t,{B:function(){return s}});var r,i=n(38991),o=n(66331),a=n(88244),s=Object.assign(function(e){return JSON.stringify(e,c)},{reset:function(){r=new i.L(o.Q.canonicalStringify||1e3)}});function c(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var i=Object.keys(t);if(i.every(u))return t;var o=JSON.stringify(i),a=r.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=r.get(s)||i,r.set(o,a),r.set(s,a)}var c=Object.create(n);return a.forEach(function(e){c[e]=t[e]}),c}}return t}function u(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return r.size}),s.reset()},79487:function(e,t,n){n.d(t,{X:function(){return i}});var r=Object.prototype.toString;function i(e){return function e(t,n){switch(r.call(t)){case"[object Array]":if((n=n||new Map).has(t))return n.get(t);var i=t.slice(0);return n.set(t,i),i.forEach(function(t,r){i[r]=e(t,n)}),i;case"[object Object]":if((n=n||new Map).has(t))return n.get(t);var o=Object.create(Object.getPrototypeOf(t));return n.set(t,o),Object.keys(t).forEach(function(r){o[r]=e(t[r],n)}),o;default:return t}}(e)}},37280:function(e,t,n){n.d(t,{GG:function(){return a},M0:function(){return s},mT:function(){return u},yU:function(){return c}});var r=n(13154),i=n(21436),o=n(182);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function c(e){return(0,r.s)(e)&&"payload"in e}function u(e,t){var n=e,r=new o.w0;return a(t)&&(0,i.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)}),n}},182:function(e,t,n){n.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return u}});var r=n(97582),i=n(13154),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new u,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var c=function(e,t,n){return this.merge(e[n],t[n])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var c=n.reconciler.apply(n,(0,r.ev)([e,t,i],a,!1));c!==s&&((e=n.shallowCopyForMerge(e))[i]=c)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},18056:function(e,t,n){n.d(t,{A:function(){return f}});var r=n(75028),i=n(30320),o=n(36765),a=n(78287),s=n(99869),c=n(81223),u=n(66331);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,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 r.B(i.mr);this.performWork=(0,c.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,a.kG)(Array.isArray(r),67),n.lookupArray(r)},max:u.Q["documentTransform.cache"],cache:s.k})}},e.prototype.performWork=function(e){return(0,o.A$)(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}()},19065:function(e,t,n){n.d(t,{FS:function(){return a},LZ:function(){return o},mj:function(){return s}});var r=n(78287),i=n(12178);function o(e,t){var n,i=e.directives;
1return!i||!i.length||(n=[],i&&i.length&&i.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var i=e.arguments,o=e.name.value;(0,r.kG)(i&&1===i.length,69,o);var a=i[0];(0,r.kG)(a.name&&"if"===a.name.value,70,o);var s=a.value;(0,r.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),71,o),n.push({directive:e,ifArgument:a})}}),n).every(function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.kG)(void 0!==o,68,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o})}function a(e,t,n){var r=new Set(e),o=r.size;return(0,i.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.$_}}),n?!r.size:r.size<o}function s(e){return e&&a(["client","export"],e,!0)}},23361:function(e,t,n){n.d(t,{F:function(){return a},Yk:function(){return o},hi:function(){return s}});var r=n(97582),i=n(78287);function o(e,t){var n=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(72,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===n&&((0,i.kG)(1===o.length,73,o.length),n=o[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(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(0,i.kG)(r,74,n),r||null;default:return null}}},36765:function(e,t,n){n.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return p},iW:function(){return u},kU:function(){return c},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var r=n(78287),i=n(51761);function o(e){(0,r.kG)(e&&"Document"===e.kind,75);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r._K)(76,e.kind);return e});return(0,r.kG)(t.length<=1,77,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function c(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,r.kG)(t&&"query"===t.operation,78),t}function l(e){(0,r.kG)("Document"===e.kind,79),(0,r.kG)(e.definitions.length<=1,80);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,81),t}function f(e){o(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r._K)(82)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},68470:function(e,t,n){n.d(t,{S:function(){return c}});var r,i=n(12178),o=n(38991),a=n(66331),s=n(88244),c=Object.assign(function(e){var t=r.get(e);return t||(t=(0,i.S0)(e),r.set(e,t)),t},{reset:function(){r=new o.s(a.Q.print||2e3)}});c.reset(),!1!==globalThis.__DEV__&&(0,s.zP)("print",function(){return r?r.size:0})},51761:function(e,t,n){n.d(t,{Ao:function(){return b},JW:function(){return u},My:function(){return m},NC:function(){return v},PT:function(){return d},Yk:function(){return c},kQ:function(){return s},qw:function(){return function e(t,n,r){for(var i,a=0,s=n.selections;a<s.length;a++){var c=s[a];if(m(c)){if("__typename"===c.name.value)return t[y(c)]}else i?i.push(c):i=[c]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,l=i;u<l.length;u++){var c=l[u],f=e(t,(0,o.hi)(c,r).selectionSet,r);if("string"==typeof f)return f}}},u2:function(){return y},vb:function(){return l},vf:function(){return f}});var r=n(78287),i=n(13154),o=n(23361),a=n(5466);function s(e){return{__ref:String(e)}}function c(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,n,i){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var o={};n.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}
1else if("Variable"===n.kind){var a=(i||{})[n.name.value];e[t.value]=a}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var n={};return l(n,t,e,i),n[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,r._K)(83,t.value,n.kind)}function f(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 l(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 l(r,n,i,t)})),d(e.name.value,r,n)}var p=["connection","include","skip","client","rest","export","nonreactive"],h=a.B,d=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;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(h(i),")")}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===p.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(h(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=h;return h=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return l(n,e.name,e.value,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},76487:function(e,t,n){n.d(t,{Gw:function(){return h},aL:function(){return d},bi:function(){return p},ob:function(){return v}});var r=n(97582),i=n(78287),o=n(12178),a=n(36765),s=n(51761),c=n(23361),u=n(21436),l={kind:o.hY.FIELD,name:{kind:o.hY.NAME,value:"__typename"}};function f(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 p(e,t){(0,a.A$)(t);for(var n,s,l,p=f(""),h=f(""),d=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,u.k)(n)){if(n.kind===o.hY.OPERATION_DEFINITION)return p(n.name&&n.name.value);if(n.kind===o.hY.FRAGMENT_DEFINITION)return h(n.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(84),null},v=0,y=t.definitions.length-1;y>=0;--y)t.definitions[y].kind===o.hY.OPERATION_DEFINITION&&++v;var m=(n=new Map,s=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&s.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&s.size&&s.forEach(function(n,r){r(e)&&(t=n)}),t}),b=function(e){return(0,u.O)(e)&&e.map(m).some(function(e){return e&&e.remove})},g=new Map,k=!1,T={enter:function(e){if(b(e.directives))return k=!0,null}},E=(0,o.Vn)(t,{Field:T,InlineFragment:T,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=d(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(b(e.directives))return k=!0,null;var o=d(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){g.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===g.get(JSON.stringify(r))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===o.hY.FIELD&&"__typename"===e.name.value})?(h(e.name.value).removed=!0,k=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return k=!0,null}}});if(!k)return t;var _=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){_(h(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},O=new Set;E.definitions.forEach(function(e){e.kind===o.hY.OPERATION_DEFINITION?_(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){O.add(e)}):e.kind!==o.hY.FRAGMENT_DEFINITION||0!==v||h(e.name.value).removed||O.add(e.name.value)}),O.forEach(function(e){_(h(e)).fragmentSpreads.forEach(function(e){O.add(e)})});var S={enter:function(e){var t;if(t=e.name.value,!O.has(t)||h(t).removed)return null}};return l=(0,o.Vn)(E,{FragmentSpread:S,FragmentDefinition:S,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=_(p(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.pi)((0,r.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.hY.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}((0,a.$H)(l)||(0,a.pD)(l),(0,c.F)((0,a.kU)(l)))?l:null}var h=Object.assign(function(e){return(0,o.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==o.hY.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,s.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,s.My)(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,r.pi)((0,r.pi)({},e),{selections:(0,r.ev)((0,r.ev)([],i,!0),[l],!1)})}}}})},{added:function(e){return e===l}});function d(e){return"query"===(0,a.p$)(e).operation?e:(0,o.Vn)(e,{OperationDefinition:{enter:function(e){return(0,r.pi)((0,r.pi)({},e),{operation:"query"})}}})}function v(e){return(0,a.A$)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},75028:function(e,t,n){n.d(t,{B:function(){return s}});let r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let 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){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);!i||(t=i.removeArray(o.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){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(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)}}},81223:function(e,t,n){let r;n.d(t,{g7:function(){return m},dP:function(){return j},re:function(){return Q}});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class c{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=this.weakness&&u(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){let t=this.weakness&&u(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=t.get(e);return n||t.set(e,n=new c(this.weakness,this.makeData)),n}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var l=n(2379);let f=null,p={},h=1;function d(e){try{return e()}catch(e){}}let v="@wry/context:Slot",y=d(()=>globalThis)||d(()=>global)||Object.create(null),m=y[v]||Array[v]||function(e){try{Object.defineProperty(y,v,{value:e,enumerable:!1,writable:!1,
1configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=f;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===p)break;return e!==f&&(f.slots[this.id]=t),!0}return f&&(f.slots[this.id]=p),!1}getValue(){if(this.hasValue())return f.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},o=f;f={parent:o,slots:i};try{return t.apply(r,n)}finally{f=o}}static bind(e){let t=f;return function(){let n=f;try{return f=t,e.apply(this,arguments)}finally{f=n}}}static noContext(e,t,n){if(!f)return e.apply(n,t);{let r=f;try{return f=null,e.apply(n,t)}finally{f=r}}}}),{bind:b,noContext:g}=m,k=new m,{hasOwnProperty:T}=Object.prototype,E=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function _(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let O=[];function S(e,t){if(!e)throw Error(t||"assertion failure")}function w(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function I(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class N{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,++N.count}peek(){if(1===this.value.length&&!A(this))return D(this),this.value[0]}recompute(e){var t;return S(!this.recomputing,"already recomputing"),D(this),A(this)&&(M(this),k.withValue(this,x,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{_(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,A(this)||(t=this,R(t,C)))),I(this.value)}setDirty(){this.dirty||(this.dirty=!0,R(this,F),_(this))}dispose(){this.setDirty(),M(this),R(this,(e,t)=>{e.setDirty(),L(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=O.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(E(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),O.push(this.deps),this.deps=null)}}function D(e){let t=k.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),A(e)?F(t,e):C(t,e),t}function x(e,t){let n;
1e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!w(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function A(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function R(e,t){let n=e.parents.size;if(n){let r=E(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function F(e,t){S(e.childValues.has(t)),S(A(t));let n=!A(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=O.pop()||new Set;e.dirtyChildren.add(t),n&&R(e,F)}function C(e,t){S(e.childValues.has(t)),S(!A(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):w(n,t.value)||e.setDirty(),P(e,t),A(e)||R(e,C)}function P(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(O.length<100&&O.push(n),e.dirtyChildren=null))}function M(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{L(e,n)}),e.forgetDeps(),S(null===e.dirtyChildren)}function L(e,t){t.parents.delete(e),e.childValues.delete(t),P(e,t)}N.count=0;let K={setDirty:!0,dispose:!0,forget:!0};function j(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=k.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(_(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&T.call(K,n)?n:"setDirty";E(r).forEach(e=>e[i]()),t.delete(e),_(r)}},r}function q(...e){return(r||(r=new c("function"==typeof WeakMap))).lookupArray(e)}let V=new Set;function Q(e,{max:t=65536,keyArgs:n,makeCacheKey:r=q,normalizeResult:i,subscribe:o,cache:a=l.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new N(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let c=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),V.add(s),k.hasValue()||(V.forEach(e=>e.clean()),V.clear()),c};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function f(e){let t=e&&s.get(e);if(t)return t.peek()}function p(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:s}),c.dirtyKey=u,c.dirty=function(){u(r.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(r.apply(null,arguments))},c.forgetKey=p,c.forget=function(){return p(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},48216:function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(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 o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{y:function(){return E}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},c=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=c("iterator"),l=c("observable"),f=c("species");function p(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:E}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function y(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=p(t,"unsubscribe");n&&n.call(t)}}catch(e){d(e)}}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(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(m(e),i)i.call(r,n);else throw n;break;case"complete":m(e),i&&i.call(r)}}catch(e){d(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function g(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],v(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(b(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)});return}b(e,t,n)}}var k=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new T(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),T=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){g(this._subscription,"next",e)},t.error=function(e){g(this._subscription,"error",e)},t.complete=function(){g(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw 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 k(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}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 TypeError(e+" is not a function");return new(h(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}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 TypeError(e+" is not a function");var n=h(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=h(this);return new i(function(t){var r,o=0;return function e(a){r=a.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 TypeError(e+" is not a function");var n=h(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}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),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
1return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=p(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof E&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=p(t,u)))return new n(function(e){v(function(){if(!e.closed){for(var n,o=function(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){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,void 0)}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(n=o()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}}]); 2//# sourceMappingURL=8909-c2046a1ba7b811a1.js.map
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.