From 0bc6792f2c1f403def151cc82e3361a094cc5381 Mon Sep 17 00:00:00 2001 From: Polkadot Wiki CI Date: Thu, 7 Sep 2023 00:30:13 +0000 Subject: [PATCH] Deploy website - based on bd8c3b7de86235cc7c2f8cb55055b0eaa2300f4a --- 404.html | 4 ++-- assets/js/{9447.cd4df001.js => 9447.4797b942.js} | 2 +- .../js/{runtime~main.8796b2d9.js => runtime~main.905a239f.js} | 2 +- docs/ambassadors/index.html | 4 ++-- docs/bug-bounty/index.html | 4 ++-- docs/build-data/index.html | 4 ++-- docs/build-guide/index.html | 4 ++-- docs/build-hackathon/index.html | 4 ++-- docs/build-hrmp-channels/index.html | 4 ++-- docs/build-index/index.html | 4 ++-- docs/build-integrate-assets/index.html | 4 ++-- docs/build-integration/index.html | 4 ++-- docs/build-node-interaction/index.html | 4 ++-- docs/build-node-management/index.html | 4 ++-- docs/build-open-source/index.html | 4 ++-- docs/build-oracle/index.html | 4 ++-- docs/build-pdk/index.html | 4 ++-- docs/build-protocol-info/index.html | 4 ++-- docs/build-smart-contracts/index.html | 4 ++-- docs/build-ss58-registry/index.html | 4 ++-- docs/build-storage/index.html | 4 ++-- docs/build-substrate/index.html | 4 ++-- docs/build-tools-index/index.html | 4 ++-- docs/build-transaction-construction/index.html | 4 ++-- docs/builders-program/index.html | 4 ++-- docs/community/index.html | 4 ++-- docs/contributing/index.html | 4 ++-- docs/contributors/index.html | 4 ++-- docs/dev-heroes/index.html | 4 ++-- docs/faq/index.html | 4 ++-- docs/getting-started/index.html | 4 ++-- docs/glossary/index.html | 4 ++-- docs/grants/index.html | 4 ++-- docs/how-to-dyor/index.html | 4 ++-- docs/kusama-adversarial-cheatsheet/index.html | 4 ++-- docs/kusama-bug-bounty/index.html | 4 ++-- docs/kusama-claims/index.html | 4 ++-- docs/kusama-coc/index.html | 4 ++-- docs/kusama-community/index.html | 4 ++-- docs/kusama-getting-started/index.html | 4 ++-- docs/kusama-index/index.html | 4 ++-- docs/kusama-parameters/index.html | 4 ++-- docs/kusama-social-recovery/index.html | 4 ++-- docs/kusama-timeline/index.html | 4 ++-- docs/learn-DOT/index.html | 4 ++-- docs/learn-account-advanced/index.html | 4 ++-- docs/learn-account-generation/index.html | 4 ++-- docs/learn-account-multisig/index.html | 4 ++-- docs/learn-accounts/index.html | 4 ++-- docs/learn-architecture/index.html | 4 ++-- docs/learn-assets/index.html | 4 ++-- docs/learn-auction/index.html | 4 ++-- docs/learn-balance-transfers/index.html | 4 ++-- docs/learn-bridges/index.html | 4 ++-- docs/learn-collator/index.html | 4 ++-- docs/learn-comparisons-avalanche/index.html | 4 ++-- docs/learn-comparisons-cosmos/index.html | 4 ++-- docs/learn-comparisons-ethereum-2/index.html | 4 ++-- docs/learn-comparisons-kusama/index.html | 4 ++-- docs/learn-comparisons-rollups/index.html | 4 ++-- docs/learn-comparisons/index.html | 4 ++-- docs/learn-consensus/index.html | 4 ++-- docs/learn-controller/index.html | 4 ++-- docs/learn-crowdloans/index.html | 4 ++-- docs/learn-cryptography/index.html | 4 ++-- docs/learn-extrinsics/index.html | 4 ++-- docs/learn-governance/index.html | 4 ++-- docs/learn-guides-assets-create/index.html | 4 ++-- docs/learn-guides-assets-ledger/index.html | 4 ++-- docs/learn-guides-identity/index.html | 4 ++-- docs/learn-guides-polkadot-opengov/index.html | 4 ++-- docs/learn-guides-staking-pools/index.html | 4 ++-- docs/learn-guides-staking/index.html | 4 ++-- docs/learn-guides-treasury/index.html | 4 ++-- docs/learn-guides-vault/index.html | 4 ++-- docs/learn-identity/index.html | 4 ++-- docs/learn-implementations/index.html | 4 ++-- docs/learn-launch/index.html | 4 ++-- docs/learn-nft-pallets/index.html | 4 ++-- docs/learn-nft-projects/index.html | 4 ++-- docs/learn-nft/index.html | 4 ++-- docs/learn-nomination-pools/index.html | 4 ++-- docs/learn-nominator/index.html | 4 ++-- docs/learn-parachains-faq/index.html | 4 ++-- docs/learn-parachains-protocol/index.html | 4 ++-- docs/learn-parachains/index.html | 4 ++-- docs/learn-parathreads/index.html | 4 ++-- docs/learn-phragmen/index.html | 4 ++-- docs/learn-polkadot-host/index.html | 4 ++-- docs/learn-polkadot-opengov-treasury/index.html | 4 ++-- docs/learn-polkadot-opengov/index.html | 4 ++-- docs/learn-proxies/index.html | 4 ++-- docs/learn-redenomination/index.html | 4 ++-- docs/learn-runtime-upgrades/index.html | 4 ++-- docs/learn-scams/index.html | 4 ++-- docs/learn-spree/index.html | 4 ++-- docs/learn-staking-advanced/index.html | 4 ++-- docs/learn-staking/index.html | 4 ++-- docs/learn-system-chains/index.html | 4 ++-- docs/learn-teleport/index.html | 4 ++-- docs/learn-transaction-fees/index.html | 4 ++-- docs/learn-treasury/index.html | 4 ++-- docs/learn-validator/index.html | 4 ++-- docs/learn-video-tutorials/index.html | 4 ++-- docs/learn-wasm/index.html | 4 ++-- docs/learn-xcm-instructions/index.html | 4 ++-- docs/learn-xcm-pallet/index.html | 4 ++-- docs/learn-xcm-transport/index.html | 4 ++-- docs/learn-xcm-usecases/index.html | 4 ++-- docs/learn-xcm/index.html | 4 ++-- docs/learn-xcvm/index.html | 4 ++-- docs/ledger/index.html | 4 ++-- docs/maintain-bootnode/index.html | 4 ++-- docs/maintain-endpoints/index.html | 4 ++-- docs/maintain-errors/index.html | 4 ++-- docs/maintain-guides-avoid-slashing/index.html | 4 ++-- docs/maintain-guides-democracy/index.html | 4 ++-- docs/maintain-guides-how-to-chill/index.html | 4 ++-- docs/maintain-guides-how-to-join-council/index.html | 4 ++-- docs/maintain-guides-how-to-monitor-your-node/index.html | 4 ++-- docs/maintain-guides-how-to-nominate-kusama/index.html | 4 ++-- docs/maintain-guides-how-to-nominate-polkadot/index.html | 4 ++-- docs/maintain-guides-how-to-stop-validating/index.html | 4 ++-- docs/maintain-guides-how-to-systemd/index.html | 4 ++-- docs/maintain-guides-how-to-upgrade/index.html | 4 ++-- docs/maintain-guides-how-to-validate-kusama/index.html | 4 ++-- docs/maintain-guides-how-to-validate-polkadot/index.html | 4 ++-- docs/maintain-guides-how-to-vote-councillor/index.html | 4 ++-- docs/maintain-guides-polkadot-opengov/index.html | 4 ++-- docs/maintain-guides-secure-validator/index.html | 4 ++-- docs/maintain-guides-society-kusama/index.html | 4 ++-- docs/maintain-guides-validator-community/index.html | 4 ++-- docs/maintain-guides-validator-payout/index.html | 4 ++-- docs/maintain-index/index.html | 4 ++-- docs/maintain-networks/index.html | 4 ++-- docs/maintain-polkadot-parameters/index.html | 4 ++-- docs/maintain-rpc/index.html | 4 ++-- docs/maintain-sync/index.html | 4 ++-- docs/maintain-wss/index.html | 4 ++-- docs/metadata/index.html | 4 ++-- docs/polkadot-v1/index.html | 4 ++-- docs/polkadot-vault/index.html | 4 ++-- docs/polkadotjs-ui/index.html | 4 ++-- docs/polkadotjs/index.html | 4 ++-- docs/research/index.html | 4 ++-- docs/staking-dashboard/index.html | 4 ++-- docs/thousand-contributors/index.html | 4 ++-- docs/thousand-validators/index.html | 4 ++-- docs/wallets-and-extensions/index.html | 4 ++-- index.html | 4 ++-- search/index.html | 4 ++-- 151 files changed, 300 insertions(+), 300 deletions(-) rename assets/js/{9447.cd4df001.js => 9447.4797b942.js} (64%) rename assets/js/{runtime~main.8796b2d9.js => runtime~main.905a239f.js} (82%) diff --git a/404.html b/404.html index b7e7f2701a..8fd76d75f4 100644 --- a/404.html +++ b/404.html @@ -15,13 +15,13 @@ - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/9447.cd4df001.js b/assets/js/9447.4797b942.js similarity index 64% rename from assets/js/9447.cd4df001.js rename to assets/js/9447.4797b942.js index 32b0730cff..97b9e1c53c 100644 --- a/assets/js/9447.cd4df001.js +++ b/assets/js/9447.4797b942.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9447],{68806:(e,t,r)=>{r.d(t,{Ps:()=>X});var n=r(97582);function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const o=/\r\n|[\n\r]/g;function s(e,t){let r=0,n=1;for(const s of e.body.matchAll(o)){if("number"==typeof s.index||i(!1),s.index>=t)break;r=s.index+s[0].length,n+=1}return{line:n,column:t+1-r}}function a(e,t){const r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?r:0,u=t.column+a,l=`${e.name}:${s}:${u}\n`,f=n.split(/\r\n|[\n\r]/g),h=f[i];if(h.length>120){const e=Math.floor(u/80),t=u%80,r=[];for(let n=0;n["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return l+c([[s-1+" |",f[i-1]],[`${s} |`,h],["|","^".padStart(u)],[`${s+1} |`,f[i+1]]])}function c(e){const t=e.filter((([e,t])=>void 0!==t)),r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}class u extends Error{constructor(e,...t){var r,n,i;const{nodes:o,source:a,positions:c,path:f,originalError:h,extensions:p}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=f?f:void 0,this.originalError=null!=h?h:void 0,this.nodes=l(Array.isArray(o)?o:o?[o]:void 0);const d=l(null===(r=this.nodes)||void 0===r?void 0:r.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=a?a:null==d||null===(n=d[0])||void 0===n?void 0:n.source,this.positions=null!=c?c:null==d?void 0:d.map((e=>e.start)),this.locations=c&&a?c.map((e=>s(a,e))):null==d?void 0:d.map((e=>s(e.source,e.start)));const v="object"==typeof(y=null==h?void 0:h.extensions)&&null!==y?null==h?void 0:h.extensions:void 0;var y;this.extensions=null!==(i=null!=p?p:v)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+="\n\n"+a((t=r.loc).source,s(t.source,t.start)));else if(this.source&&this.locations)for(const r of this.locations)e+="\n\n"+a(this.source,r);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function f(e,t,r){return new u(`Syntax Error: ${r}`,{source:e,positions:[t]})}var h,p=r(72380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(h||(h={}));var d,v=r(97359),y=r(87392),m=r(68297);!function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(d||(d={}));class b{constructor(e){const t=new p.WU(d.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==d.EOF)do{if(e.next)e=e.next;else{const t=T(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===d.COMMENT);return e}}function g(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function E(e,t){return k(e.charCodeAt(t))&&O(e.charCodeAt(t+1))}function k(e){return e>=55296&&e<=56319}function O(e){return e>=56320&&e<=57343}function _(e,t){const r=e.source.body.codePointAt(t);if(void 0===r)return d.EOF;if(r>=32&&r<=126){const e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function w(e,t,r,n,i){const o=e.line,s=1+r-e.lineStart;return new p.WU(t,r,n,o,s,i)}function T(e,t){const r=e.source.body,n=r.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function C(e,t){const r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function P(e,t){const r=e.source.body,n=r.length;let i=e.lineStart,o=t+3,s=o,a="";const c=[];for(;o0||(0,M.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,M.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Q{constructor(e,t={}){const r=function(e){return q(e,V)}(e)?e:new V(e);this._lexer=new b(r),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(d.NAME);return this.node(e,{kind:v.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:v.h.DOCUMENT,definitions:this.many(d.SOF,this.parseDefinition,d.EOF)})}parseDefinition(){if(this.peek(d.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===d.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(d.BRACE_L))return this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:p.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let r;return this.peek(d.NAME)&&(r=this.parseName()),this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(d.NAME);switch(e.value){case"query":return p.ku.QUERY;case"mutation":return p.ku.MUTATION;case"subscription":return p.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(d.PAREN_L,this.parseVariableDefinition,d.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:v.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(d.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(d.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(d.DOLLAR),this.node(e,{kind:v.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:v.h.SELECTION_SET,selections:this.many(d.BRACE_L,this.parseSelection,d.BRACE_R)})}parseSelection(){return this.peek(d.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let r,n;return this.expectOptionalToken(d.COLON)?(r=t,n=this.parseName()):n=t,this.node(e,{kind:v.h.FIELD,alias:r,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(d.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(d.PAREN_L,t,d.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,r=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:v.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(d.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(d.NAME)?this.node(e,{kind:v.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:v.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case d.BRACKET_L:return this.parseList(e);case d.BRACE_L:return this.parseObject(e);case d.INT:return this.advanceLexer(),this.node(t,{kind:v.h.INT,value:t.value});case d.FLOAT:return this.advanceLexer(),this.node(t,{kind:v.h.FLOAT,value:t.value});case d.STRING:case d.BLOCK_STRING:return this.parseStringLiteral();case d.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:v.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:v.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:v.h.NULL});default:return this.node(t,{kind:v.h.ENUM,value:t.value})}case d.DOLLAR:if(e){if(this.expectToken(d.DOLLAR),this._lexer.token.kind===d.NAME){const e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:v.h.STRING,value:e.value,block:e.kind===d.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:v.h.LIST,values:this.any(d.BRACKET_L,(()=>this.parseValueLiteral(e)),d.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:v.h.OBJECT,fields:this.any(d.BRACE_L,(()=>this.parseObjectField(e)),d.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,r=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:v.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(d.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(d.AT),this.node(t,{kind:v.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(d.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(d.BRACKET_R),t=this.node(e,{kind:v.h.LIST_TYPE,type:r})}else t=this.parseNamedType();return this.expectOptionalToken(d.BANG)?this.node(e,{kind:v.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:v.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(d.STRING)||this.peek(d.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);return this.node(e,{kind:v.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(d.COLON);const r=this.parseNamedType();return this.node(e,{kind:v.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(d.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseFieldDefinition,d.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(d.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:v.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(d.PAREN_L,this.parseInputValueDef,d.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(d.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken(d.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:v.h.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:v.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(d.EQUALS)?this.delimitedMany(d.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:v.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(d.BRACE_L,this.parseEnumValueDefinition,d.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${B(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseInputValueDef,d.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===d.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),r=this.optionalMany(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(d.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:v.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(d.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(h,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new p.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${U(e)}, found ${B(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==d.NAME||t.value!==e)throw f(this._lexer.source,t.start,`Expected "${e}", found ${B(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===d.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${B(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==d.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function B(e){const t=e.value;return U(e.kind)+(null!=t?` "${t}"`:"")}function U(e){return function(e){return e===d.BANG||e===d.DOLLAR||e===d.AMP||e===d.PAREN_L||e===d.PAREN_R||e===d.SPREAD||e===d.COLON||e===d.EQUALS||e===d.AT||e===d.BRACKET_L||e===d.BRACKET_R||e===d.BRACE_L||e===d.PIPE||e===d.BRACE_R}(e)?`"${e}"`:e}var G=new Map,z=new Map,K=!0,Y=!1;function W(e){return e.replace(/[\s,]+/g," ").trim()}function $(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=W((s=e.loc).source.body.substring(s.start,s.end)),o=z.get(n);o&&!o.has(i)?K&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||z.set(n,o=new Set),o.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e);var s})),(0,n.pi)((0,n.pi)({},e),{definitions:r})}function J(e){var t=W(e);if(!G.has(t)){var r=function(e,t){return new Q(e,t).parseDocument()}(e,{experimentalFragmentVariables:Y,allowLegacyFragmentVariables:Y});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");G.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}($(r)))}return G.get(t)}function X(e){for(var t=[],r=1;r{r.d(t,{h:()=>we});var n=r(97582),i=r(78287),o=r(33893),s=r(30020),a=r(23361),c=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.re)(a.Yk)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n._T)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,s=(0,n._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(s,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e}(),u=function(e){function t(r,n,i,o){var s,a=e.call(this,r)||this;if(a.message=r,a.path=n,a.query=i,a.variables=o,Array.isArray(a.path)){a.missing=a.message;for(var c=a.path.length-1;c>=0;--c)a.missing=((s={})[a.path[c]]=a.missing,s)}else a.missing=a.path;return a.__proto__=t.prototype,a}return(0,n.ZT)(t,e),t}(Error),l=r(18056),f=r(76487),h=r(51761),p=r(97359),d=r(30320),v=r(53712),y=r(36765),m=r(182),b=r(19065),g=r(13154);function E(e){var t=new Set([e]);return t.forEach((function(e){(0,g.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){(0,g.s)(e[r])&&t.add(e[r])}))})),e}function k(e){return!1!==globalThis.__DEV__&&E(e),e}var O=r(75028),_=r(21436),w=Object.prototype.hasOwnProperty;function T(e){return null==e}function S(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=T(n)?T(i)?void 0:{_id:i}:{id:n}),T(n)&&!T(i)&&(n=i),!T(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var D={dataIdFromObject:S,addTypename:!0,resultCaching:!0,canonizeResults:!1};function I(e){var t=e.canonizeResults;return void 0===t?D.canonizeResults:t}var x=/^[_a-z][_0-9a-z]*/i;function N(e){var t=e.match(x);return t?t[0]:e}function A(e,t,r){return!!(0,g.s)(t)&&((0,_.k)(t)?t.every((function(t){return A(e,t,r)})):e.selections.every((function(e){if((0,h.My)(e)&&(0,b.LZ)(e,r)){var n=(0,h.u2)(e);return w.call(t,n)&&(!e.selectionSet||A(e.selectionSet,t[n],r))}return!0})))}function R(e){return(0,g.s)(e)&&!(0,h.Yk)(e)&&!(0,_.k)(e)}function F(e,t){var r=(0,a.F)((0,y.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var C=Object.create(null),P=function(){return C},L=Object.create(null),M=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return k((0,h.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,h.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,h.kQ)(e);if((0,h.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,h.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.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),w.call(this.data,e)){var r=this.data[e];if(r&&w.call(r,t))return r[t]}return"__typename"===t&&w.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Q?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),w.call(this.data,e)?this.data[e]:this instanceof Q?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,h.Yk)(e)&&(e=e.__ref),(0,h.Yk)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,s="string"==typeof t?this.lookup(r=t):t;if(s){(0,i.kG)("string"==typeof r,1);var a=new m.w0(U).merge(o,s);if(this.data[r]=a,a!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(s).forEach((function(e){if(!o||o[e]!==a[e]){c[e]=1;var t=N(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(c[t]=1),void 0!==a[e]||n instanceof Q||delete a[e]}})),!c.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==a.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),s=!1,a=!0,c={DELETE:C,INVALIDATE:L,isReference:h.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,h.kQ)(e)}:t,{store:r})}};if(Object.keys(i).forEach((function(u){var l=N(u),f=i[u];if(void 0!==f){var h="function"==typeof t?t:t[u]||t[l];if(h){var p=h===P?C:h(k(f),(0,n.pi)((0,n.pi)({},c),{fieldName:l,storeFieldName:u,storage:r.getStorage(e,u)}));p===L?r.group.dirty(e,u):(p===C&&(p=void 0),p!==f&&(o[u]=p,s=!0,f=p))}void 0!==f&&(a=!1)}})),s)return this.merge(e,o),a&&(this instanceof Q?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),s=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,s?((n={})[s]=P,n):P)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(w.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Q&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){w.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&w.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n._T)(e,["__META"]);Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Q?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){w.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof Q;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!w.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,h.Yk)(e)&&(t[e.__ref]=!0),(0,g.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,g.s)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),j=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.dP)():null,this.keyMaker=new O.B(d.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(q(e,t));var r=N(t);r!==t&&this.d(q(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(q(e,t),"__exists"===t?"forget":"setDirty")},e}();function q(e,t){return t+"#"+e}function V(e,t){G(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,s=e.call(this,r,new j(i))||this;return s.stump=new B(s),s.storageTrie=new O.B(d.mr),o&&s.replace(o),s}return(0,n.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}(e);e.Root=t}(M||(M={}));var Q=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,s.D)(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return w.call(this.data,t)?(0,n.pi)((0,n.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(M),B=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new j(t.group.caching,t.group))||this}return(0,n.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(Q);function U(e,t,r){var n=e[r],i=t[r];return(0,s.D)(n,i)?n:i}function G(e){return!!(e instanceof M&&e.group.caching)}var z=r(80900);function K(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Y=function(){function e(e){var t=this;this.knownResults=new(d.mr?WeakMap:Map),this.config=(0,v.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:I(e)}),this.canon=e.canon||new z.h,this.executeSelectionSet=(0,o.re)((function(e){var r,i=e.context.canonizeResults,o=K(e);o[3]=!i;var s=(r=t.executeSelectionSet).peek.apply(r,o);return s?i?(0,n.pi)((0,n.pi)({},s),{result:t.canon.admit(s.result)}):s:(V(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:K,makeCacheKey:function(e,t,r,n){if(G(r.store))return r.store.makeCacheKey(e,(0,h.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.re)((function(e){return V(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(G(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new z.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,s=e.variables,a=e.returnPartialData,c=void 0===a||a,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,p=this.config.cache.policies;s=(0,n.pi)((0,n.pi)({},(0,y.O4)((0,y.iW)(r))),s);var d,v=(0,h.kQ)(o),m=this.executeSelectionSet({selectionSet:(0,y.p$)(r).selectionSet,objectOrReference:v,enclosingRef:v,context:(0,n.pi)({store:t,query:r,policies:p,variables:s,varString:(0,z.B)(s),canonizeResults:f},F(r,this.config.fragments))});if(m.missing&&(d=[new u(W(m.missing),m.missing,r,s)],!c))throw d[0];return{result:m.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,r,n){if(G(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,h.Yk)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var c,u=s.variables,l=s.policies,d=s.store.getFieldValue(n,"__typename"),v=[],y=new m.w0;function g(e,t){var r;return e.missing&&(c=y.merge(c,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof d&&!l.rootIdsByTypename[d]&&v.push({__typename:d});var E=new Set(r.selections);E.forEach((function(e){var r,m;if((0,b.LZ)(e,u))if((0,h.My)(e)){var k=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),O=(0,h.u2)(e);void 0===k?f.Gw.added(e)||(c=y.merge(c,((r={})[O]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,_.k)(k)?k=g(t.executeSubSelectedArray({field:e,array:k,enclosingRef:o,context:s}),O):e.selectionSet?null!=k&&(k=g(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:k,enclosingRef:(0,h.Yk)(k)?k:o,context:s}),O)):s.canonizeResults&&(k=t.canon.pass(k)),void 0!==k&&v.push(((m={})[O]=k,m))}else{var w=(0,a.hi)(e,s.lookupFragment);if(!w&&e.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(7,e.name.value);w&&l.fragmentMatches(w,d)&&w.selectionSet.selections.forEach(E.add,E)}}));var O={result:(0,m.bw)(v),missing:c},w=s.canonizeResults?this.canon.admit(O):k(O);return w.result&&this.knownResults.set(w.result,r),w},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,s=e.enclosingRef,a=e.context,c=new m.w0;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map((function(e,t){return null===e?null:(0,_.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:s,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,h.Yk)(e)?e:s,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,g.s)(r)&&((0,i.kG)(!(0,h.Yk)(r),8,function(e,t){return(0,h.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r),t.name.value),Object.values(r).forEach(n.add,n))}))}}(a.store,n,e),e)})),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function W(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(t){return t}}var $=r(79487),J=r(13887),X=r(66438),H=Object.create(null);function Z(e){var t=JSON.stringify(e);return H[t]||(H[t]=Object.create(null))}function ee(e){var t=Z(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=re(e,(function(e){var o=oe(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&w.call(t,e[0])&&(o=oe(t,e,ie)),(0,i.kG)(void 0!==o,2,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function te(e){var t=Z(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,s=re(e,(function(e){var r=e[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(t)return oe(t,e)}else{var s=r.slice(1);if(i&&w.call(i,s)){var a=e.slice(0);return a[0]=s,oe(i,a)}}else if(n&&(0,_.O)(n.directives)){var c=r.slice(1),u=n.directives.find((function(e){return e.name.value===c})),l=u&&(0,h.NC)(u,i);return l&&oe(l,e.slice(1))}})),a=JSON.stringify(s);return(t||"{}"!==a)&&(o+=":"+a),o})}function re(e,t){var r=new m.w0;return ne(e).reduce((function(e,n){var i,o=t(n);if(void 0!==o){for(var s=n.length-1;s>=0;--s)(i={})[n[s]]=o,o=i;e=r.merge(e,o)}return e}),Object.create(null))}function ne(e){var t=Z(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,_.k)(t)?(ne(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,_.k)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function ie(e,t){return e[t]}function oe(e,t,r){return r=r||ie,se(t.reduce((function e(t,n){return(0,_.k)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function se(e){return(0,g.s)(e)?(0,_.k)(e)?e.map(se):re(Object.keys(e).sort(),(function(t){return oe(e,t)})):e}function ae(e){return void 0!==e.args?e.args:e.field?(0,h.NC)(e.field,e.variables):null}h.PT.setStringify(z.B);var ce=function(){},ue=function(e,t){return t.fieldName},le=function(e,t,r){return(0,r.mergeObjects)(e,t)},fe=function(e,t){return t},he=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:S},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s,a=t&&t.storeObject||e,c=(0,n.pi)((0,n.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=de(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l((0,n.pi)((0,n.pi)({},e),a),c);if(!(0,_.k)(f)){s=f;break}l=ee(f)}return s=s?String(s):void 0,c.keyObject?[s,c.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],o=i.queryType,s=i.mutationType,a=i.subscriptionType,c=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),s&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),w.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function s(e,t){e.merge="function"==typeof t?t:!0===t?le:!1===t?fe:e.merge}s(n,t.merge),n.keyFn=!1===i?ce:(0,_.k)(i)?ee(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var a=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===a?ue:(0,_.k)(a)?te(a):"function"==typeof a?a:n.keyFn,"function"==typeof c&&(n.read=c),s(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||ue)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.kG)(!n||n===e,3,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(x);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!w.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,s=(0,n._T)(i,["fields"]);Object.assign(r,s),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var s=e.typeCondition.name.value;if(t===s)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(s))for(var a=this.getSupertypeSet(t,!0),c=[a],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,h=0;h1?a:t}:(o=(0,n.pi)({},s),w.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(5,(0,J.v)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function ve(e){return function(t,r){if((0,_.k)(t)||(0,_.k)(r))throw(0,i._K)(6);if((0,g.s)(t)&&(0,g.s)(r)){var o=e.getFieldValue(t,"__typename"),s=e.getFieldValue(r,"__typename");if(o&&s&&o!==s)return r;if((0,h.Yk)(t)&&R(r))return e.merge(t.__ref,r),t;if(R(t)&&(0,h.Yk)(r))return e.merge(t,r.__ref),r;if(R(t)&&R(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}function ye(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),o}var me=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,a=t.result,c=t.dataId,u=t.variables,l=t.overwrite,f=(0,y.$H)(o),p=new m.w0;u=(0,n.pi)((0,n.pi)({},(0,y.O4)(f)),u);var d=(0,n.pi)((0,n.pi)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,z.B)(u)},F(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:a||Object.create(null),dataId:c,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,h.Yk)(v))throw(0,i._K)(9,a);return d.incomingById.forEach((function(t,n){var o=t.storeObject,a=t.mergeTree,c=t.fieldNodeSet,u=(0,h.kQ)(n);if(a&&a.map.size){var l=r.applyMerges(a,u,o,d);if((0,h.Yk)(l))return;o=l}if(!1!==globalThis.__DEV__&&!d.overwrite){var f=Object.create(null);c.forEach((function(e){e.selectionSet&&(f[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===f[N(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=o(e);if(!a)return;var c=o(t);if(!c)return;if((0,h.Yk)(a))return;if((0,s.D)(a,c))return;if(Object.keys(a).every((function(e){return void 0!==n.getFieldValue(c,e)})))return;var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=N(r),f="".concat(u,".").concat(l);if(_e.has(f))return;_e.add(f);var p=[];(0,_.k)(a)||(0,_.k)(c)||[a,c].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}));!1!==globalThis.__DEV__&&i.kG.warn(12,l,u,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",f,a,c)}(u,o,e,d.store)}))}e.merge(n,o)})),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,s=e.selectionSet,a=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),p=r&&u.rootTypenamesById[r]||(0,h.qw)(o,s,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof p&&(l.__typename=p);var d=function(){var e=de(arguments,l,a.variables);if((0,h.Yk)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return u.readField(e,a)},v=new Set;this.flattenFields(s,o,a,p).forEach((function(e,r){var n,s=(0,h.u2)(r),a=o[s];if(v.add(r),void 0!==a){var y=u.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),m=ge(c,y),b=t.processFieldValue(a,r,r.selectionSet?ye(e,!1,!1):e,m),g=void 0;r.selectionSet&&((0,h.Yk)(b)||R(b))&&(g=d("__typename",b));var E=u.getMergeFunction(p,r.name.value,g);E?m.info={field:r,typename:p,merge:E}:Oe(c,y),l=e.merge(l,((n={})[y]=b,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||f.Gw.added(r)||u.getReadFunction(p,r.name.value)||!1!==globalThis.__DEV__&&i.kG.error(10,(0,h.u2)(r),o)}));try{var y=u.identify(o,{typename:p,selectionSet:s,fragmentMap:a.fragmentMap,storeObject:l,readField:d}),m=y[0],b=y[1];r=r||m,b&&(l=a.merge(l,b))}catch(O){if(!r)throw O}if("string"==typeof r){var g=(0,h.kQ)(r),E=a.written[r]||(a.written[r]=[]);if(E.indexOf(s)>=0)return g;if(E.push(s),this.reader&&this.reader.isFresh(o,g,s,a))return g;var k=a.incomingById.get(r);return k?(k.storeObject=a.merge(k.storeObject,l),k.mergeTree=Ee(k.mergeTree,c),v.forEach((function(e){return k.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:l,mergeTree:ke(c)?void 0:c,fieldNodeSet:v}),g}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,_.k)(e)?e.map((function(e,o){var s=i.processFieldValue(e,t,r,ge(n,o));return Oe(n,o),s})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,$.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,h.qw)(t,e,r.fragmentMap));var o=new Map,s=this.cache.policies,c=new O.B(!1);return function e(u,l){var f=c.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach((function(c){if((0,b.LZ)(c,r.variables)){var u=l.clientOnly,f=l.deferred;if(u&&f||!(0,_.O)(c.directives)||c.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,h.NC)(e,r.variables);n&&!1===n.if||(f=!0)}})),(0,h.My)(c)){var d=o.get(c);d&&(u=u&&d.clientOnly,f=f&&d.deferred),o.set(c,ye(r,u,f))}else{var v=(0,a.hi)(c,r.lookupFragment);if(!v&&c.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(11,c.name.value);v&&s.fragmentMatches(v,n,t,r.variables)&&e(v.selectionSet,ye(r,u,f))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,s){var a,c=this;if(e.map.size&&!(0,h.Yk)(r)){var u,l=(0,_.k)(r)||!(0,h.Yk)(t)&&!R(t)?void 0:t,f=r;l&&!s&&(s=[(0,h.Yk)(l)?l.__ref:l]);var p=function(e,t){return(0,_.k)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=p(l,t),n=p(f,t);if(void 0!==n){s&&s.push(t);var a=c.applyMerges(e,r,n,o,s);a!==n&&(u=u||new Map).set(t,a),s&&(0,i.kG)(s.pop()===t)}})),u&&(r=(0,_.k)(f)?f.slice(0):(0,n.pi)({},f),u.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,s&&(a=o.store).getStorage.apply(a,s)):r},e}(),be=[];function ge(e,t){var r=e.map;return r.has(t)||r.set(t,be.pop()||{map:new Map}),r.get(t)}function Ee(e,t){if(e===t||!t||ke(t))return e;if(!e||ke(e))return t;var r=e.info&&t.info?(0,n.pi)((0,n.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var s=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,Ee(e,t.map.get(r))),s.delete(r)})),s.forEach((function(r){o.map.set(r,Ee(t.map.get(r),e.map.get(r)))}))}return o}function ke(e){return!e||!(e.info||e.map.size)}function Oe(e,t){var r=e.map,n=r.get(t);n&&ke(n)&&(be.push(n),r.delete(t))}var _e=new Set;var we=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new l.A(f.Gw),r.assumeImmutableResults=!0,r.makeVar=X.QS,r.txCount=0,r.config=function(e){return(0,v.o)(D,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new he({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new M.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new me(this,this.storeReader=new Y({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:I(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(G(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,z.B)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u)return null;throw i}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(w.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.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,X._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,X.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){z.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(w.call(e,"id"))return!1;e=(0,n.pi)((0,n.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(),z.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,X.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,r=this,i=e.update,o=e.optimistic,s=void 0===o||o,a=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r,o=n.data,s=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=s}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof s?this.optimisticData=this.optimisticData.addLayer(s,u):!1===s?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),c&&l.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,s.D)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(c)},80900:(e,t,r)=>{r.d(t,{B:()=>f,h:()=>l});var n=r(97582),i=r(75028),o=r(13154),s=r(30320),a=r(21436);var c,u,l=function(){function e(){this.known=new(s.sy?WeakSet:Set),this.pool=new i.B(s.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.s)(e)){var t=function(e){return(0,o.s)(e)?(0,a.k)(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(c=this.pool.lookupArray(n)).array||(this.known.add(c.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),c.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),s=[i],a=this.sortedKeys(e);s.push(a.json);var c,u=s.length;if(a.sorted.forEach((function(r){s.push(t.admit(e[r]))})),!(c=this.pool.lookupArray(s)).object){var l=c.object=Object.create(i);this.known.add(l),a.sorted.forEach((function(e,t){l[e]=s[u+t]})),!1!==globalThis.__DEV__&&Object.freeze(l)}return c.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),f=Object.assign((function(e){if((0,o.s)(e)){void 0===c&&h();var t=c.admit(e),r=u.get(t);return void 0===r&&u.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:h});function h(){c=new l,u=new(s.mr?WeakMap:Map)}},66438:(e,t,r)=>{r.d(t,{QS:()=>u,_v:()=>c,ab:()=>i,li:()=>a});var n=r(33893),i=new(r(70093).g7),o=new WeakMap;function s(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function a(e){s(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){s(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach((function(e){s(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var c=Array.from(r);r.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),s(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),s(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},7015:(e,t,r)=>{r.d(t,{f:()=>ce});var n=r(97582),i=r(78287),o=r(48702),s=o.i.execute,a=r(49379),c=r(56429),u=r(30020),l=r(37280),f=r(19065),h=r(76487),p=r(80900),d=r(30320),v=r(18056),y=r(48216);function m(e,t,r){return new y.y((function(n){var i=n.next,o=n.error,s=n.complete,a=0,c=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++a;var r=function(){return e(t)};u=u.then(r,r).then((function(e){--a,i&&i.call(n,e),c&&f.complete()}),(function(e){throw--a,e})).catch((function(e){o&&o.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var f={next:l(t,i),error:l(r,o),complete:function(){c=!0,a||s&&s.call(n)}},h=e.subscribe(f);return function(){return h.unsubscribe()}}))}var b=r(21436);function g(e){var t=E(e);return(0,b.O)(t)}function E(e){var t=(0,b.O)(e.errors)?e.errors.slice(0):[];return(0,l.GG)(e)&&(0,b.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var k=r(36765),O=r(51761),_=r(13154),w=r(60897);function T(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function S(e){function t(t){Object.defineProperty(e,t,{value:y.y})}return d.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function D(e){return e&&"function"==typeof e.then}var I=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),T(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),T(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?D(i)?i.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=i.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),T(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new y.y(t)]),D(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.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],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(r,n){t||(t=!0,e(r,n))}))},t}(y.y);S(I);var x,N=r(30990);function A(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(x||(x={}));var R=r(53712),F=r(79487),C=r(23361);function P(e,t,r,i){var o=t.data,s=(0,n._T)(t,["data"]),a=r.data,c=(0,n._T)(r,["data"]);return(0,u.Z)(s,c)&&L((0,k.p$)(e).selectionSet,o,a,{fragmentMap:(0,C.F)((0,k.kU)(e)),variables:i})}function L(e,t,r,n){if(t===r)return!0;var i=new Set;return e.selections.every((function(e){if(i.has(e))return!0;if(i.add(e),!(0,f.LZ)(e,n.variables))return!0;if(M(e))return!0;if((0,O.My)(e)){var o=(0,O.u2)(e),s=t&&t[o],a=r&&r[o],c=e.selectionSet;if(!c)return(0,u.Z)(s,a);var l=Array.isArray(s),h=Array.isArray(a);if(l!==h)return!1;if(l&&h){var p=s.length;if(a.length!==p)return!1;for(var d=0;d0},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}(y.y);function B(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"==typeof n?n.apply(this,arguments):r}}):e.reobserve()}function U(e){!1!==globalThis.__DEV__&&i.kG.error(21,e.message,e.stack)}function G(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(22,e)}function z(e){return"network-only"===e||"no-cache"===e||"standby"===e}S(Q);var K=r(77304),Y=r(97359);function W(e){return e.kind===Y.h.FIELD||e.kind===Y.h.FRAGMENT_SPREAD||e.kind===Y.h.INLINE_FRAGMENT}var $=r(182),J=r(66438),X=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,$.Ee)(t.resolvers,e)})):this.resolvers=(0,$.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){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,s=e.onlyRunForcedResolvers,a=void 0!==s&&s;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,a).then((function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,h.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,K.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 K.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,h.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.mG)(this,void 0,void 0,(function(){var a,c,u,l,f,h,p,d,v,y;return(0,n.Jh)(this,(function(m){return a=(0,k.p$)(e),c=(0,k.kU)(e),u=(0,C.F)(c),l=this.collectSelectionsToResolve(a,u),f=a.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=(p=this).cache,v=p.client,y={fragmentMap:u,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:s},!1,[2,this.resolveSelectionSet(a.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.mG)(this,void 0,void 0,(function(){var s,a,c,u,l,h=this;return(0,n.Jh)(this,(function(p){return s=o.fragmentMap,a=o.context,c=o.variables,u=[r],l=function(e){return(0,n.mG)(h,void 0,void 0,(function(){var l,h;return(0,n.Jh)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,c)?(0,O.My)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;void 0!==t&&u.push(((r={})[(0,O.u2)(e)]=t,r))}))]:((0,O.Ao)(e)?l=e:(l=s[e.name.value],(0,i.kG)(l,16,e.name.value)),l&&l.typeCondition&&(h=l.typeCondition.name.value,o.fragmentMatcher(r,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,$.bw)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return(0,n.mG)(this,void 0,void 0,(function(){var o,s,a,c,u,l,f,h,p,d=this;return(0,n.Jh)(this,(function(n){return r?(o=i.variables,s=e.name.value,a=(0,O.u2)(e),c=s!==a,u=r[a]||r[s],l=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[c?s:a])&&(l=Promise.resolve(J.ab.withValue(this.cache,p,[r,(0,O.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var s=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||s,r,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||s,r,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var s=new Set;n.set(o,s),(0,K.Vn)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&W(e)&&s.add(e)}))},FragmentSpread:function(n,o,a,c,u){var l=t[n.name.value];(0,i.kG)(l,17,n.name.value);var f=e(l);f.size>0&&(u.forEach((function(e){r(e)&&W(e)&&s.add(e)})),s.add(n),f.forEach((function(e){s.add(e)})))}})}return n.get(o)}(e)},e}(),H=new(d.mr?WeakMap:Map);function Z(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return H.set(e,(H.get(e)+1)%1e15),r.apply(this,arguments)})}function ee(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var te=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.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;H.has(r)||(H.set(r,0),Z(r,"evict"),Z(r,"modify"),Z(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||x.loading;return this.variables&&this.networkStatus!==x.loading&&!(0,u.D)(this.variables,e.variables)&&(t=x.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(){ee(this),this.dirty=!1},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 r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,u.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.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():B(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;ee(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(A(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,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.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 r=this.lastWrite;return!(r&&r.dmCount===H.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new $.w0,s=(0,b.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,b.O)(e.incremental)){var a=(0,l.mT)(this.getDiff().result,e);e.data=a}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(re(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:H.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var s=i.getDiffOptions(r.variables),a=o.diff(s);!i.stopped&&(0,u.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(a,s),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=x.ready},e.prototype.markError=function(e){return this.networkStatus=x.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function re(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!g(e);return!n&&r&&e.data&&(n=!0),n}var ne=r(50713),ie=Object.prototype.hasOwnProperty,oe=function(){function e(e){var t=this,r=e.cache,n=e.link,i=e.defaultOptions,o=e.documentTransform,s=e.queryDeduplication,a=void 0!==s&&s,c=e.onBroadcast,u=e.ssrMode,l=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,p=e.localState,y=e.assumeImmutableResults,m=void 0===y?!!r.assumeImmutableResults:y;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var b=new v.A((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=r,this.link=n,this.defaultOptions=i||Object.create(null),this.queryDeduplication=a,this.clientAwareness=h,this.localState=p||new X({cache:r}),this.ssrMode=l,this.assumeImmutableResults=m,this.documentTransform=o?b.concat(o).concat(b):b,(this.onBroadcast=c)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i._K)(23))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,s=e.variables,a=e.optimisticResponse,c=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,d=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,b=e.errorPolicy,k=void 0===b?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":b,O=e.keepRootFields,_=e.context;return(0,n.mG)(this,void 0,void 0,(function(){var e,t,r,u;return(0,n.Jh)(this,(function(f){switch(f.label){case 0:return(0,i.kG)(o,24),(0,i.kG)("network-only"===y||"no-cache"===y,25),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,s=this.getVariables(o,s),t?[4,this.localState.addExportedVariables(o,s,_)]:[3,2];case 1:s=f.sent(),f.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:s,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:o,variables:s,fetchPolicy:y,errorPolicy:k,context:_,updateQueries:c,update:p,keepRootFields:O}),this.broadcastQueries(),u=this,[2,new Promise((function(t,i){return m(u.getObservableFromLink(o,(0,n.pi)((0,n.pi)({},_),{optimisticResponse:a}),s,!1),(function(t){if(g(t)&&"none"===k)throw new N.cA({graphQLErrors:E(t)});r&&(r.loading=!1,r.error=null);var i=(0,n.pi)({},t);return"function"==typeof l&&(l=l(i)),"ignore"===k&&g(i)&&delete i.errors,u.markMutationResult({mutationId:e,result:i,document:o,variables:s,fetchPolicy:y,errorPolicy:k,context:_,update:p,updateQueries:c,awaitRefetchQueries:h,refetchQueries:l,removeOptimistic:a?e:void 0,onQueryUpdated:d,keepRootFields:O})})).subscribe({next:function(e){u.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),a&&u.cache.removeOptimistic(e),u.broadcastQueries(),i(t instanceof N.cA?t:new N.cA({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&re(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,b.O)(i.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;a.result&&(c=(0,l.mT)(a.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,n){var s=e.observableQuery,a=s&&s.queryName;if(a&&ie.call(u,a)){var c=u[a],l=r.queries.get(n),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=c(d,{mutationResult:i,queryName:f&&(0,k.rY)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var a=e.update,c=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(a){if(!s){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,n.pi)((0,n.pi)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&a(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return 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 r=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:o}}),e)}catch(s){!1!==globalThis.__DEV__&&i.kG.error(s)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,h.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,k.O4)((0,k.$H)(e)),asQuery:(0,n.pi)((0,n.pi)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new te(this),i=new Q({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,26),(0,i.kG)("Document"===e.query.kind,27),(0,i.kG)(!e.returnPartialData,28),(0,i.kG)(!e.pollInterval,29),this.fetchQuery(t,(0,n.pi)((0,n.pi)({},e),{query:this.transform(e.query)})).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,i._K)(30)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=x.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"==typeof e?o.set(e,!1):(0,O.JW)(e)?o.set(t.transform(e),!1):(0,_.s)(e)&&e.query&&s.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,s=t.document;if(i){if("all"===e)return void r.set(n,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&o.has(a)||s&&o.has(s))&&(r.set(n,i),a&&o.set(a,!0),s&&o.set(s,!0))}})),s.size&&s.forEach((function(e){var o=(0,w.X)("legacyOneTimeQuery"),s=t.getQuery(o).init({document:e.query,variables:e.variables}),a=new Q({queryManager:t,queryInfo:s,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(a.queryId===o),s.setObservableQuery(a),r.set(o,a)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(e,t){e||!1!==globalThis.__DEV__&&i.kG.warn("string"==typeof t?31:32,t)})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,s=e.variables,a=e.context,c=void 0===a?{}:a;r=this.transform(r),s=this.getVariables(r,s);var u=function(e){return t.getObservableFromLink(r,c,e).map((function(i){"no-cache"!==n&&(re(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var s=g(i),a=(0,N.ls)(i);if(s||a){var c={};if(s&&(c.graphQLErrors=i.errors),a&&(c.protocolErrors=i.extensions[N.YG]),"none"===o||a)throw new N.cA(c)}return"ignore"===o&&delete i.errors,i}))};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,s,c).then(u);return new y.y((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(s)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var o,a,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 h=this.inFlightLinkObservables,d=this.link,v={query:l,variables:r,operationName:(0,k.rY)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=v.context,i){var b=(0,ne.S)(l),g=h.get(b)||new Map;h.set(b,g);var E=(0,p.B)(r);if(!(a=g.get(E))){var O=new I([s(d,v)]);g.set(E,a=O),O.beforeNext((function(){g.delete(E)&&g.size<1&&h.delete(b)}))}}else a=new I([s(d,v)])}else a=new I([y.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=m(a,(function(e){return c.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})}))),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),(function(o){var s=E(o),a=s.length>0;if(n>=e.lastRequestId){if(a&&"none"===r.errorPolicy)throw e.markError(new N.cA({graphQLErrors:s}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:x.ready};return a&&"ignore"!==r.errorPolicy&&(c.errors=s,c.networkStatus=x.error),c}),(function(t){var r=(0,N.MS)(t)?t:new N.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r){var n=this;void 0===r&&(r=x.loading);var i,o,s=t.query,a=this.getVariables(s,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?u&&u.errorPolicy||"none":h,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b,E=Object.assign({},t,{query:s,variables:a,fetchPolicy:f,errorPolicy:p,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),k=function(e){E.variables=e;var i=n.fetchQueryByPolicy(c,E,r);return"standby"!==E.fetchPolicy&&i.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),i},O=function(){return n.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){O(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(E.query).hasClientExports)i=new I(this.localState.addExportedVariables(E.query,E.variables,E.context).then(k).then((function(e){return e.sources}))),o=!0;else{var _=k(E.variables);o=_.fromLink,i=new I(_.sources)}return i.promise.then(O,O),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,s=e.removeOptimistic,a=void 0===s?o?(0,w.X)("refetchQueries"):void 0:s,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof te&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,s=e.diff;if(c){if(!s){var a=i.queryInfo;a.reset(),s=a.getDiff()}n=c(i,s,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),a&&this.cache.removeOptimistic(a),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,s=t.variables,a=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:s,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||x.loading);var a=t.result;!1===globalThis.__DEV__||f||(0,u.D)(a,{})||G(t.missing);var c=function(e){return y.y.of((0,n.pi)({data:e,loading:A(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:a},context:h,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===l&&r===x.refetch&&Array.isArray(t.missing)?c(void 0):c(a)},b="no-cache"===a?0:r===x.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:s,context:h,fetchPolicy:a,errorPolicy:l})},E=p&&"number"==typeof d&&d!==r&&A(r);switch(a){default:case"cache-first":return(k=v()).complete?{fromLink:!1,sources:[m(k,e.markReady())]}:f||E?{fromLink:!0,sources:[m(k),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var k;return(k=v()).complete||f||E?{fromLink:!0,sources:[m(k),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":return E?{fromLink:!0,sources:[m(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return E?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new te(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function se(e,t){return(0,R.o)(e,t,t.variables&&{variables:(0,R.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}var ae=!1,ce=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i._K)(13);var r=e.uri,n=e.credentials,s=e.headers,u=e.cache,l=e.documentTransform,f=e.ssrMode,h=void 0!==f&&f,p=e.ssrForceFetchDelay,d=void 0===p?0:p,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,E=e.assumeImmutableResults,k=void 0===E?u.assumeImmutableResults:E,O=e.resolvers,_=e.typeDefs,w=e.fragmentMatcher,T=e.name,S=e.version,D=e.link;if(D||(D=r?new c.u({uri:r,credentials:n,headers:s}):o.i.empty()),this.link=D,this.cache=u,this.disableNetworkFetches=h||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=_,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.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),y&&"object"==typeof window){var I=window,x=Symbol.for("apollo.devtools");(I[x]=I[x]||[]).push(this),I.__APOLLO_CLIENT__=this}!ae&&y&&!1!==globalThis.__DEV__&&(ae=!0,setTimeout((function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}}),1e4)),this.version=a.i,this.localState=new X({cache:u,client:this,resolvers:O,fragmentMatcher:w}),this.queryManager=new oe({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:l,queryDeduplication:b,ssrMode:h,clientAwareness:{name:T,version:S},localState:this.localState,assumeImmutableResults:k,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return 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=se(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=se(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=se(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.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 s(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var o=Promise.all(n);return o.queries=r,o.results=n,o.catch((function(e){!1!==globalThis.__DEV__&&i.kG.debug(15,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},e}()},30990:(e,t,r)=>{r.d(t,{MS:()=>a,YG:()=>o,cA:()=>c,ls:()=>s});var n=r(97582),i=(r(78287),r(13154)),o=Symbol();function s(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function a(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(r){var o,s,a=r.graphQLErrors,c=r.protocolErrors,u=r.clientErrors,l=r.networkError,f=r.errorMessage,h=r.extraInfo,p=e.call(this,f)||this;return p.name="ApolloError",p.graphQLErrors=a||[],p.protocolErrors=c||[],p.clientErrors=u||[],p.networkError=l||null,p.message=f||(o=p,s=(0,n.ev)((0,n.ev)((0,n.ev)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&s.push(o.networkError),s.map((function(e){return(0,i.s)(e)&&e.message||"Error message not found."})).join("\n")),p.extraInfo=h,p.__proto__=t.prototype,p}return(0,n.ZT)(t,e),t}(Error)},48702:(e,t,r)=>{r.d(t,{i:()=>l});var n=r(78287),i=r(48216),o=r(97582);var s=r(36765);function a(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,r,n){var o=c(r),s=c(n||new e(a));return u(o)&&u(s)?new e((function(e){return t(e)?o.request(e)||i.y.of():s.request(e)||i.y.of()})):new e((function(e,r){return t(e)?o.request(e,r)||i.y.of():s.request(e,r)||i.y.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=(0,o.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,o.pi)((0,o.pi)({},r),e(r)):(0,o.pi)((0,o.pi)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,s.rY)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r{r.d(t,{u:()=>x});var n=r(97582),i=r(48702),o=r(78287),s=r(19065),a=r(48216),c=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=(0,o._K)(37,t,i.message);throw n.parseError=i,n}return r},u=r(30320);function l(e){var t=null,r=null,n=!1,i=[],o=[];function s(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function a(e){r=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){n=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",a),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",a),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise((function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])}))}};return u.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}function f(e){var t={next:function(){return e.read()}};return u.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function h(e){var t,r,n=e;if(e.body&&(n=e.body),function(e){return!(!u.DN||!e[Symbol.asyncIterator])}(n))return r=n[Symbol.asyncIterator](),(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(n))return f(n.getReader());if(function(e){return!!e.stream}(n))return f(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,r){e.then((function(e){t({value:e,done:!1})})).catch(r)})))}};return u.DN&&(r[Symbol.asyncIterator]=function(){return this}),r}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return l(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var p=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},d=r(30990),v=r(37280),y=Object.prototype.hasOwnProperty;function m(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function b(e,t){if(e.status>=300){p(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var g=r(50713),E={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},k=function(e,t){return t(e)};function O(e,t){for(var r=[],i=2;i-1;){if(_=void 0,N=[u.slice(0,O),u.slice(O+c.length)],u=N[1],w=(_=N[0]).indexOf("\r\n\r\n"),T=m(_.slice(0,w)),(S=T["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(D=_.slice(w))if(I=b(e,D),Object.keys(I).length>1||"data"in I||"incremental"in I||"errors"in I||"payload"in I)(0,v.yU)(I)?(x={},"payload"in I&&(x=(0,n.pi)({},I.payload)),"errors"in I&&(x=(0,n.pi)((0,n.pi)({},x),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in x?x.extensions:null),(A={},A[d.YG]=I.errors,A))})),t(x)):t(I);else if(1===Object.keys(I).length&&"hasNext"in I&&!I.hasNext)return[2];O=u.indexOf(c)}return[3,1];case 3:return[2]}}))}))}(t,s):(i=e,function(e){return e.text().then((function(t){return b(e,t)})).then((function(t){return e.status>=300&&p(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||y.call(t,"data")||y.call(t,"errors")||p(e,t,"Server response was missing for query '".concat(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName,"'.")),t}))})(t).then(s)})).then((function(){q=void 0,r.complete()})).catch((function(e){q=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,r)})),function(){q&&q.abort()}}))}))},x=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,I(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(i.i)},21436:(e,t,r)=>{r.d(t,{O:()=>i,k:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},30320:(e,t,r)=>{r.d(t,{DN:()=>a,aS:()=>s,mr:()=>i,sy:()=>o});var n=r(78287),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),o="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,a=s&&Symbol.asyncIterator;(0,n.wY)((function(){return window.document.createElement})),(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},79487:(e,t,r)=>{r.d(t,{X:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=o(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=o(e[r],t)})),i;default:return e}}},53712:(e,t,r)=>{function n(){for(var e=[],t=0;tn})},37280:(e,t,r)=>{r.d(t,{GG:()=>s,M0:()=>a,mT:()=>u,yU:()=>c});var n=r(13154),i=r(21436),o=r(182);function s(e){return"incremental"in e}function a(e){return s(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function c(e){return(0,n.s)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.w0;return s(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 s=i[o],a=!isNaN(+s)?[]:{};a[s]=t,t=a}r=n.merge(r,t)})),r}},60897:(e,t,r)=>{r.d(t,{X:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},182:(e,t,r)=>{r.d(t,{Ee:()=>s,bw:()=>a,w0:()=>u});var n=r(97582),i=r(13154),o=Object.prototype.hasOwnProperty;function s(){for(var e=[],t=0;t1)for(var n=new u,i=1;i{function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:()=>n})},13887:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(60897);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("")}},78287:(e,t,r)=>{r.d(t,{kG:()=>m,wY:()=>p,_K:()=>b});var n=r(97582),i="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,a=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,s(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new a(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));var h=r(49379);function p(e){try{return e()}catch(o){}}const d=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return global}))||p((function(){return p.constructor("return this")()}));var v=r(13887);function y(e){return function(t){for(var r=[],i=1;i{r.d(t,{A:()=>c});var n=r(75028),i=r(30320),o=r(36765),s=r(78287);function a(e){return e}var c=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),!1!==t.cache&&(this.stableCacheKeys=new n.B(i.mr,(function(e){return{key:e}})))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(a,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.A$)(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e((function(e){return t.transformDocument(r.transformDocument(e))}),{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?((0,s.kG)(Array.isArray(t),63),this.stableCacheKeys.lookupArray(t)):void 0}},e}()},19065:(e,t,r)=>{r.d(t,{FS:()=>s,LZ:()=>o,mj:()=>a});var n=r(78287),i=r(77304);function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;(0,n.kG)(r&&1===r.length,65,i);var o=r[0];(0,n.kG)(o.name&&"if"===o.name.value,66,i);var s=o.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),67,i),t.push({directive:e,ifArgument:o})}}));return t}(r).every((function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.kG)(void 0!==o,64,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size{r.d(t,{F:()=>s,Yk:()=>o,hi:()=>a});var n=r(97582),i=r(78287);function o(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(68,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),void 0===r&&((0,i.kG)(1===o.length,69,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function a(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,70,r),n||null;default:return null}}},36765:(e,t,r)=>{r.d(t,{$H:()=>s,A$:()=>o,O4:()=>h,iW:()=>u,kU:()=>c,p$:()=>f,pD:()=>l,rY:()=>a});var n=r(78287),i=r(51761);function o(e){(0,n.kG)(e&&"Document"===e.kind,71);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(72,e.kind);return e}));return(0,n.kG)(t.length<=1,73,t.length),e}function s(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function a(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=s(e);return(0,n.kG)(t&&"query"===t.operation,74),t}function l(e){(0,n.kG)("Document"===e.kind,75),(0,n.kG)(e.definitions.length<=1,76);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,77),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r{r.d(t,{S:()=>v});var n=r(87392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var a=r(77304);const c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>u(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=f("(",u(e.variableDefinitions,", "),")"),r=u([e.operation,u([e.name,t]),u(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+f(" = ",r)+f(" ",u(n," "))},SelectionSet:{leave:({selections:e})=>l(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const o=f("",e,": ")+t;let s=o+f("(",u(r,", "),")");return s.length>80&&(s=o+f("(\n",h(u(r,"\n")),"\n)")),u([s,u(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+f(" ",u(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>u(["...",f("on ",e),u(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${f("(",u(r,", "),")")} on ${t} ${f("",u(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+u(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+u(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+f("(",u(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>f("",e,"\n")+u(["schema",u(t," "),l(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>f("",e,"\n")+u(["scalar",t,u(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>f("",e,"\n")+u(["type",t,f("implements ",u(r," & ")),u(n," "),l(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>f("",e,"\n")+t+(p(r)?f("(\n",h(u(r,"\n")),"\n)"):f("(",u(r,", "),")"))+": "+n+f(" ",u(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>f("",e,"\n")+u([t+": "+r,f("= ",n),u(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>f("",e,"\n")+u(["interface",t,f("implements ",u(r," & ")),u(n," "),l(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>f("",e,"\n")+u(["union",t,u(r," "),f("= ",u(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>f("",e,"\n")+u(["enum",t,u(r," "),l(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>f("",e,"\n")+u([t,u(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>f("",e,"\n")+u(["input",t,u(r," "),l(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>f("",e,"\n")+"directive @"+t+(p(r)?f("(\n",h(u(r,"\n")),"\n)"):f("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>u(["extend schema",u(e," "),l(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>u(["extend scalar",e,u(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>u(["extend type",e,f("implements ",u(t," & ")),u(r," "),l(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>u(["extend interface",e,f("implements ",u(t," & ")),u(r," "),l(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>u(["extend union",e,u(t," "),f("= ",u(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>u(["extend enum",e,u(t," "),l(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>u(["extend input",e,u(t," "),l(r)]," ")}};function u(e,t=""){var r;return null!==(r=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function l(e){return f("{\n",h(u(e,"\n")),"\n}")}function f(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function h(e){return f(" ",e.replace(/\n/g,"\n "))}function p(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var d=r(30320).mr?new WeakMap:void 0,v=function(e){var t;return(t=null==d?void 0:d.get(e))||(t=function(e){return(0,a.Vn)(e,c)}(e),null==d||d.set(e,t)),t}},51761:(e,t,r)=>{r.d(t,{Ao:()=>g,JW:()=>c,My:()=>b,NC:()=>v,PT:()=>h,Yk:()=>a,kQ:()=>s,qw:()=>m,u2:()=>y,vb:()=>u,vf:()=>l});var n=r(78287),i=r(13154),o=r(23361);function s(e){return{__ref:String(e)}}function a(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function u(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return u(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var s=(i||{})[r.name.value];e[t.value]=s}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return u(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n._K)(79,t.value,r.kind);e[t.value]=null}}function l(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return u(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return u(n,r,i,t)}))),h(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export","nonreactive"],h=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(p(i),")")}return r.connection.key}var o=e;if(t){var s=p(t);o+="(".concat(s,")")}return r&&Object.keys(r).forEach((function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=p;return p=e,t}}),p=function(e){return JSON.stringify(e,d)};function d(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return u(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,r){for(var n,i=0,s=t.selections;i{r.d(t,{Gw:()=>m,aL:()=>b,bi:()=>y,ob:()=>g});var n=r(97582),i=r(78287),o=r(97359),s=r(77304),a=r(36765),c=r(51761),u=r(23361),l=r(21436),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function h(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.h.FRAGMENT_SPREAD&&h(t[e.name.value],t)}))}function p(e){return h((0,a.$H)(e)||(0,a.pD)(e),(0,u.F)((0,a.kU)(e)))?null:e}function d(e){var t=new Map,r=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))})),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach((function(t,r){r(e)&&(n=t)})),n}}function v(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function y(e,t){(0,a.A$)(t);for(var r=v(""),c=v(""),u=function(e){for(var t=0,n=void 0;t=0;--h)t.definitions[h].kind===o.h.OPERATION_DEFINITION&&++f;var y=d(e),m=function(e){return(0,l.O)(e)&&e.map(y).some((function(e){return e&&e.remove}))},b=new Map,g=!1,E={enter:function(e){if(m(e.directives))return g=!0,null}},k=(0,s.Vn)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=u(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(m(e.directives))return g=!0,null;var o=u(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value}))?(c(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var O=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){O(c(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},_=new Set;k.definitions.forEach((function(e){e.kind===o.h.OPERATION_DEFINITION?O(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){_.add(e)})):e.kind!==o.h.FRAGMENT_DEFINITION||0!==f||c(e.name.value).removed||_.add(e.name.value)})),_.forEach((function(e){O(c(e)).fragmentSpreads.forEach((function(e){_.add(e)}))}));var w={enter:function(e){if(t=e.name.value,!_.has(t)||c(t).removed)return null;var t}};return p((0,s.Vn)(k,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(r(e.name&&e.name.value)).transitiveVars;if(t.size{r.d(t,{i:()=>n});var n="3.8.2"},81880:(e,t,r)=>{function n(e,t){return t||(t=e.slice(0)),e.raw=t,e}r.d(t,{Z:()=>n})},70093:(e,t,r)=>{r.d(t,{g7:()=>u});let n=null;const i={};let o=1;function s(e){try{return e()}catch(t){}}const a="@wry/context:Slot",c=s((()=>globalThis))||s((()=>global))||Object.create(null),u=c[a]||Array[a]||function(e){try{Object.defineProperty(c,a,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=n;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(e,t,r,i){const o={__proto__:null,[this.id]:e},s=n;n={parent:s,slots:o};try{return t.apply(i,r)}finally{n=s}}static bind(e){const t=n;return function(){const r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}}static noContext(e,t,r){if(!n)return e.apply(r,t);{const i=n;try{return n=null,e.apply(r,t)}finally{n=i}}}}),{bind:l,noContext:f}=u},30020:(e,t,r)=>{r.d(t,{D:()=>a,Z:()=>c});const{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,s=new Map;function a(e,t){try{return u(e,t)}finally{s.clear()}}const c=a;function u(e,t){if(e===t)return!0;const r=n.call(e);if(r!==n.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(p(e,t))return!0;const r=l(e),n=l(t),o=r.length;if(o!==n.length)return!1;for(let e=0;e=0&&e.indexOf(t,r)===r}(r,h)}}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}const h="{ [native code] }";function p(e,t){let r=s.get(e);if(r){if(r.has(t))return!0}else s.set(e,r=new Set);return r.add(t),!1}},75028:(e,t,r)=>{r.d(t,{B:()=>a});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class a{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),s.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r{function n(e,t){if(!Boolean(e))throw new Error(t)}r.d(t,{a:()=>n})},25821:(e,t,r)=>{r.d(t,{X:()=>o});const n=10,i=2;function o(e){return s(e,[])}function s(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:s(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const r=Math.min(n,e.length),o=e.length-r,a=[];for(let n=0;n1&&a.push(`... ${o} more items`);return"["+a.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+s(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},72380:(e,t,r)=>{r.d(t,{UG:()=>a,WU:()=>i,Ye:()=>n,h8:()=>o,ku:()=>c});class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function a(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},87392:(e,t,r)=>{r.d(t,{LZ:()=>s,wv:()=>i});var n=r(68297);function i(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t1&&i.slice(1).every((e=>0===e.length||(0,n.FD)(e.charCodeAt(0)))),a=r.endsWith('\\"""'),c=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=c||u,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||s||a);let h="";const p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||s)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},68297:(e,t,r)=>{function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}r.d(t,{FD:()=>n,HQ:()=>a,LQ:()=>s,X1:()=>i})},97359:(e,t,r)=>{var n;r.d(t,{h:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},77304:(e,t,r)=>{r.d(t,{$_:()=>a,Vn:()=>c});var n=r(37826),i=r(25821),o=r(72380),s=r(97359);const a=Object.freeze({});function c(e,t,r=o.h8){const c=new Map;for(const n of Object.values(s.h))c.set(n,u(t,n));let l,f,h,p=Array.isArray(e),d=[e],v=-1,y=[],m=e;const b=[],g=[];do{v++;const e=v===d.length,s=e&&0!==y.length;if(e){if(f=0===g.length?void 0:b[b.length-1],m=h,h=g.pop(),s)if(p){m=m.slice();let e=0;for(const[t,r]of y){const n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else{m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m));for(const[e,t]of y)m[e]=t}v=l.index,d=l.keys,y=l.edits,p=l.inArray,l=l.prev}else if(h){if(f=p?v:d[v],m=h[f],null==m)continue;b.push(f)}let u;if(!Array.isArray(m)){var E,k;(0,o.UG)(m)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(m)}.`);const r=e?null===(E=c.get(m.kind))||void 0===E?void 0:E.leave:null===(k=c.get(m.kind))||void 0===k?void 0:k.enter;if(u=null==r?void 0:r.call(t,m,f,h,b,g),u===a)break;if(!1===u){if(!e){b.pop();continue}}else if(void 0!==u&&(y.push([f,u]),!e)){if(!(0,o.UG)(u)){b.pop();continue}m=u}}var O;if(void 0===u&&s&&y.push([f,m]),e)b.pop();else l={inArray:p,index:v,keys:d,edits:y,prev:l},p=Array.isArray(m),d=p?m:null!==(O=r[m.kind])&&void 0!==O?O:[],v=-1,y=[],h&&g.push(h),h=m}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}function u(e,t){const r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}},33893:(e,t,r)=>{r.d(t,{dP:()=>D,re:()=>A});var n=r(75028);function i(){}class o{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}const s=new(r(70093).g7);const{hasOwnProperty:a}=Object.prototype,c=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function u(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const l=[],f=100;function h(e,t){if(!e)throw new Error(t||"assertion failure")}function p(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class d{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,++d.count}peek(){if(1===this.value.length&&!m(this))return v(this),this.value[0]}recompute(e){return h(!this.recomputing,"already recomputing"),v(this),m(this)?function(e,t){w(e),s.withValue(e,y,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{u(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(r){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,m(e))return;g(e)}(e);return p(e.value)}(this,e):p(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,b(this),u(this))}dispose(){this.setDirty(),w(this),E(this,((e,t)=>{e.setDirty(),T(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=l.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(c(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),l.push(this.deps),this.deps=null)}}function v(e){const t=s.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),m(e)?k(t,e):O(t,e),t}function y(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(r){e.value[1]=r}e.recomputing=!1}function m(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function b(e){E(e,k)}function g(e){E(e,O)}function E(e,t){const r=e.parents.size;if(r){const n=c(e.parents);for(let i=0;i0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),_(e,t),m(e)||g(e)}function _(e,t){const r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(l.length0&&e.childValues.forEach(((t,r)=>{T(e,r)})),e.forgetDeps(),h(null===e.dirtyChildren)}function T(e,t){t.parents.delete(e),e.childValues.delete(t),_(e,t)}d.count=0;const S={setDirty:!0,dispose:!0,forget:!0};function D(e){const t=new Map,r=e&&e.subscribe;function n(e){const n=s.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(u(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){const n=t.get(e);if(n){const i=r&&a.call(S,r)?r:"setDirty";c(n).forEach((e=>e[i]())),t.delete(e),u(n)}},n}let I;function x(...e){return(I||(I=new n.B("function"==typeof WeakMap))).lookupArray(e)}const N=new Set;function A(e,{max:t=Math.pow(2,16),makeCacheKey:r=x,keyArgs:n,subscribe:i}=Object.create(null)){const a=new o(t,(e=>e.dispose())),c=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=a.get(t);o||(a.set(t,o=new d(e)),o.subscribe=i,o.forget=()=>a.delete(t));const c=o.recompute(Array.prototype.slice.call(arguments));return a.set(t,o),N.add(a),s.hasValue()||(N.forEach((e=>e.clean())),N.clear()),c};function u(e){const t=a.get(e);t&&t.setDirty()}function l(e){const t=a.get(e);if(t)return t.peek()}function f(e){return a.delete(e)}return Object.defineProperty(c,"size",{get:()=>a.map.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,makeCacheKey:r,keyArgs:n,subscribe:i}),c.dirtyKey=u,c.dirty=function(){u(r.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(r.apply(null,arguments))},c.forgetKey=f,c.forget=function(){return f(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},48216:(e,t,r)=>{function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rw});var a=function(){return"function"==typeof Symbol},c=function(e){return a()&&Boolean(Symbol[e])},u=function(e){return c(e)?Symbol[e]:"@@"+e};a()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),f=u("observable"),h=u("species");function p(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:w}function v(e){return e instanceof w}function y(e){y.log?y.log(e):setTimeout((function(){throw e}))}function m(e){Promise.resolve().then((function(){try{e()}catch(t){y(t)}}))}function b(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=p(t,"unsubscribe");r&&r.call(t)}}catch(n){y(n)}}function g(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function E(e,t,r){e._state="running";var n=e._observer;try{var i=p(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(g(e),!i)throw r;i.call(n,r);break;case"complete":g(e),i&&i.call(n)}}catch(o){y(o)}"closed"===e._state?b(e):"running"===e._state&&(e._state="ready")}function k(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void m((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r1,i=!1,o=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var s=!i;if(i=!0,!s||n)try{o=e(o,t)}catch(a){return r.error(a)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){n.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[f]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=p(t,f);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return v(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(c("iterator")&&(i=p(t,l)))return new r((function(e){m((function(){if(!e.closed){for(var r,o=n(i.call(t));!(r=o()).done;){var s=r.value;if(e.next(s),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){m((function(){if(!e.closed){for(var r=0;r{r.d(t,{Ps:()=>X});var n=r(97582);function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const o=/\r\n|[\n\r]/g;function s(e,t){let r=0,n=1;for(const s of e.body.matchAll(o)){if("number"==typeof s.index||i(!1),s.index>=t)break;r=s.index+s[0].length,n+=1}return{line:n,column:t+1-r}}function a(e,t){const r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?r:0,u=t.column+a,l=`${e.name}:${s}:${u}\n`,f=n.split(/\r\n|[\n\r]/g),h=f[i];if(h.length>120){const e=Math.floor(u/80),t=u%80,r=[];for(let n=0;n["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return l+c([[s-1+" |",f[i-1]],[`${s} |`,h],["|","^".padStart(u)],[`${s+1} |`,f[i+1]]])}function c(e){const t=e.filter((([e,t])=>void 0!==t)),r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}class u extends Error{constructor(e,...t){var r,n,i;const{nodes:o,source:a,positions:c,path:f,originalError:h,extensions:p}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=f?f:void 0,this.originalError=null!=h?h:void 0,this.nodes=l(Array.isArray(o)?o:o?[o]:void 0);const d=l(null===(r=this.nodes)||void 0===r?void 0:r.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=a?a:null==d||null===(n=d[0])||void 0===n?void 0:n.source,this.positions=null!=c?c:null==d?void 0:d.map((e=>e.start)),this.locations=c&&a?c.map((e=>s(a,e))):null==d?void 0:d.map((e=>s(e.source,e.start)));const v="object"==typeof(y=null==h?void 0:h.extensions)&&null!==y?null==h?void 0:h.extensions:void 0;var y;this.extensions=null!==(i=null!=p?p:v)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+="\n\n"+a((t=r.loc).source,s(t.source,t.start)));else if(this.source&&this.locations)for(const r of this.locations)e+="\n\n"+a(this.source,r);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function f(e,t,r){return new u(`Syntax Error: ${r}`,{source:e,positions:[t]})}var h,p=r(72380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(h||(h={}));var d,v=r(97359),y=r(87392),m=r(68297);!function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(d||(d={}));class b{constructor(e){const t=new p.WU(d.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==d.EOF)do{if(e.next)e=e.next;else{const t=T(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===d.COMMENT);return e}}function g(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function E(e,t){return k(e.charCodeAt(t))&&O(e.charCodeAt(t+1))}function k(e){return e>=55296&&e<=56319}function O(e){return e>=56320&&e<=57343}function _(e,t){const r=e.source.body.codePointAt(t);if(void 0===r)return d.EOF;if(r>=32&&r<=126){const e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function w(e,t,r,n,i){const o=e.line,s=1+r-e.lineStart;return new p.WU(t,r,n,o,s,i)}function T(e,t){const r=e.source.body,n=r.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function C(e,t){const r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function P(e,t){const r=e.source.body,n=r.length;let i=e.lineStart,o=t+3,s=o,a="";const c=[];for(;o0||(0,M.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,M.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Q{constructor(e,t={}){const r=function(e){return q(e,V)}(e)?e:new V(e);this._lexer=new b(r),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(d.NAME);return this.node(e,{kind:v.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:v.h.DOCUMENT,definitions:this.many(d.SOF,this.parseDefinition,d.EOF)})}parseDefinition(){if(this.peek(d.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===d.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(d.BRACE_L))return this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:p.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let r;return this.peek(d.NAME)&&(r=this.parseName()),this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(d.NAME);switch(e.value){case"query":return p.ku.QUERY;case"mutation":return p.ku.MUTATION;case"subscription":return p.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(d.PAREN_L,this.parseVariableDefinition,d.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:v.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(d.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(d.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(d.DOLLAR),this.node(e,{kind:v.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:v.h.SELECTION_SET,selections:this.many(d.BRACE_L,this.parseSelection,d.BRACE_R)})}parseSelection(){return this.peek(d.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let r,n;return this.expectOptionalToken(d.COLON)?(r=t,n=this.parseName()):n=t,this.node(e,{kind:v.h.FIELD,alias:r,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(d.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(d.PAREN_L,t,d.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,r=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:v.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(d.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(d.NAME)?this.node(e,{kind:v.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:v.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case d.BRACKET_L:return this.parseList(e);case d.BRACE_L:return this.parseObject(e);case d.INT:return this.advanceLexer(),this.node(t,{kind:v.h.INT,value:t.value});case d.FLOAT:return this.advanceLexer(),this.node(t,{kind:v.h.FLOAT,value:t.value});case d.STRING:case d.BLOCK_STRING:return this.parseStringLiteral();case d.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:v.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:v.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:v.h.NULL});default:return this.node(t,{kind:v.h.ENUM,value:t.value})}case d.DOLLAR:if(e){if(this.expectToken(d.DOLLAR),this._lexer.token.kind===d.NAME){const e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:v.h.STRING,value:e.value,block:e.kind===d.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:v.h.LIST,values:this.any(d.BRACKET_L,(()=>this.parseValueLiteral(e)),d.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:v.h.OBJECT,fields:this.any(d.BRACE_L,(()=>this.parseObjectField(e)),d.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,r=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:v.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(d.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(d.AT),this.node(t,{kind:v.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(d.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(d.BRACKET_R),t=this.node(e,{kind:v.h.LIST_TYPE,type:r})}else t=this.parseNamedType();return this.expectOptionalToken(d.BANG)?this.node(e,{kind:v.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:v.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(d.STRING)||this.peek(d.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);return this.node(e,{kind:v.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(d.COLON);const r=this.parseNamedType();return this.node(e,{kind:v.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(d.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseFieldDefinition,d.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(d.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:v.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(d.PAREN_L,this.parseInputValueDef,d.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(d.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken(d.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:v.h.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:v.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(d.EQUALS)?this.delimitedMany(d.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:v.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(d.BRACE_L,this.parseEnumValueDefinition,d.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${B(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseInputValueDef,d.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===d.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),r=this.optionalMany(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(d.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:v.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(d.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(h,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new p.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${U(e)}, found ${B(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==d.NAME||t.value!==e)throw f(this._lexer.source,t.start,`Expected "${e}", found ${B(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===d.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${B(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==d.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function B(e){const t=e.value;return U(e.kind)+(null!=t?` "${t}"`:"")}function U(e){return function(e){return e===d.BANG||e===d.DOLLAR||e===d.AMP||e===d.PAREN_L||e===d.PAREN_R||e===d.SPREAD||e===d.COLON||e===d.EQUALS||e===d.AT||e===d.BRACKET_L||e===d.BRACKET_R||e===d.BRACE_L||e===d.PIPE||e===d.BRACE_R}(e)?`"${e}"`:e}var G=new Map,z=new Map,K=!0,Y=!1;function W(e){return e.replace(/[\s,]+/g," ").trim()}function $(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=W((s=e.loc).source.body.substring(s.start,s.end)),o=z.get(n);o&&!o.has(i)?K&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||z.set(n,o=new Set),o.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e);var s})),(0,n.pi)((0,n.pi)({},e),{definitions:r})}function J(e){var t=W(e);if(!G.has(t)){var r=function(e,t){return new Q(e,t).parseDocument()}(e,{experimentalFragmentVariables:Y,allowLegacyFragmentVariables:Y});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");G.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}($(r)))}return G.get(t)}function X(e){for(var t=[],r=1;r{r.d(t,{h:()=>we});var n=r(97582),i=r(78287),o=r(33893),s=r(30020),a=r(23361),c=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.re)(a.Yk)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n._T)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,s=(0,n._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(s,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e}(),u=function(e){function t(r,n,i,o){var s,a=e.call(this,r)||this;if(a.message=r,a.path=n,a.query=i,a.variables=o,Array.isArray(a.path)){a.missing=a.message;for(var c=a.path.length-1;c>=0;--c)a.missing=((s={})[a.path[c]]=a.missing,s)}else a.missing=a.path;return a.__proto__=t.prototype,a}return(0,n.ZT)(t,e),t}(Error),l=r(18056),f=r(76487),h=r(51761),p=r(97359),d=r(30320),v=r(53712),y=r(36765),m=r(182),b=r(19065),g=r(13154);function E(e){var t=new Set([e]);return t.forEach((function(e){(0,g.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){(0,g.s)(e[r])&&t.add(e[r])}))})),e}function k(e){return!1!==globalThis.__DEV__&&E(e),e}var O=r(75028),_=r(21436),w=Object.prototype.hasOwnProperty;function T(e){return null==e}function S(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=T(n)?T(i)?void 0:{_id:i}:{id:n}),T(n)&&!T(i)&&(n=i),!T(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var D={dataIdFromObject:S,addTypename:!0,resultCaching:!0,canonizeResults:!1};function I(e){var t=e.canonizeResults;return void 0===t?D.canonizeResults:t}var x=/^[_a-z][_0-9a-z]*/i;function N(e){var t=e.match(x);return t?t[0]:e}function A(e,t,r){return!!(0,g.s)(t)&&((0,_.k)(t)?t.every((function(t){return A(e,t,r)})):e.selections.every((function(e){if((0,h.My)(e)&&(0,b.LZ)(e,r)){var n=(0,h.u2)(e);return w.call(t,n)&&(!e.selectionSet||A(e.selectionSet,t[n],r))}return!0})))}function R(e){return(0,g.s)(e)&&!(0,h.Yk)(e)&&!(0,_.k)(e)}function F(e,t){var r=(0,a.F)((0,y.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var C=Object.create(null),P=function(){return C},L=Object.create(null),M=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return k((0,h.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,h.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,h.kQ)(e);if((0,h.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,h.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.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),w.call(this.data,e)){var r=this.data[e];if(r&&w.call(r,t))return r[t]}return"__typename"===t&&w.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Q?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),w.call(this.data,e)?this.data[e]:this instanceof Q?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,h.Yk)(e)&&(e=e.__ref),(0,h.Yk)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,s="string"==typeof t?this.lookup(r=t):t;if(s){(0,i.kG)("string"==typeof r,1);var a=new m.w0(U).merge(o,s);if(this.data[r]=a,a!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(s).forEach((function(e){if(!o||o[e]!==a[e]){c[e]=1;var t=N(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(c[t]=1),void 0!==a[e]||n instanceof Q||delete a[e]}})),!c.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==a.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),s=!1,a=!0,c={DELETE:C,INVALIDATE:L,isReference:h.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,h.kQ)(e)}:t,{store:r})}};if(Object.keys(i).forEach((function(u){var l=N(u),f=i[u];if(void 0!==f){var h="function"==typeof t?t:t[u]||t[l];if(h){var p=h===P?C:h(k(f),(0,n.pi)((0,n.pi)({},c),{fieldName:l,storeFieldName:u,storage:r.getStorage(e,u)}));p===L?r.group.dirty(e,u):(p===C&&(p=void 0),p!==f&&(o[u]=p,s=!0,f=p))}void 0!==f&&(a=!1)}})),s)return this.merge(e,o),a&&(this instanceof Q?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),s=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,s?((n={})[s]=P,n):P)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(w.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Q&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){w.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&w.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n._T)(e,["__META"]);Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Q?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){w.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof Q;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!w.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,h.Yk)(e)&&(t[e.__ref]=!0),(0,g.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,g.s)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),j=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.dP)():null,this.keyMaker=new O.B(d.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(q(e,t));var r=N(t);r!==t&&this.d(q(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(q(e,t),"__exists"===t?"forget":"setDirty")},e}();function q(e,t){return t+"#"+e}function V(e,t){G(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,s=e.call(this,r,new j(i))||this;return s.stump=new B(s),s.storageTrie=new O.B(d.mr),o&&s.replace(o),s}return(0,n.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}(e);e.Root=t}(M||(M={}));var Q=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,s.D)(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return w.call(this.data,t)?(0,n.pi)((0,n.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(M),B=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new j(t.group.caching,t.group))||this}return(0,n.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(Q);function U(e,t,r){var n=e[r],i=t[r];return(0,s.D)(n,i)?n:i}function G(e){return!!(e instanceof M&&e.group.caching)}var z=r(80900);function K(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Y=function(){function e(e){var t=this;this.knownResults=new(d.mr?WeakMap:Map),this.config=(0,v.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:I(e)}),this.canon=e.canon||new z.h,this.executeSelectionSet=(0,o.re)((function(e){var r,i=e.context.canonizeResults,o=K(e);o[3]=!i;var s=(r=t.executeSelectionSet).peek.apply(r,o);return s?i?(0,n.pi)((0,n.pi)({},s),{result:t.canon.admit(s.result)}):s:(V(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:K,makeCacheKey:function(e,t,r,n){if(G(r.store))return r.store.makeCacheKey(e,(0,h.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.re)((function(e){return V(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(G(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new z.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,s=e.variables,a=e.returnPartialData,c=void 0===a||a,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,p=this.config.cache.policies;s=(0,n.pi)((0,n.pi)({},(0,y.O4)((0,y.iW)(r))),s);var d,v=(0,h.kQ)(o),m=this.executeSelectionSet({selectionSet:(0,y.p$)(r).selectionSet,objectOrReference:v,enclosingRef:v,context:(0,n.pi)({store:t,query:r,policies:p,variables:s,varString:(0,z.B)(s),canonizeResults:f},F(r,this.config.fragments))});if(m.missing&&(d=[new u(W(m.missing),m.missing,r,s)],!c))throw d[0];return{result:m.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,r,n){if(G(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,h.Yk)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var c,u=s.variables,l=s.policies,d=s.store.getFieldValue(n,"__typename"),v=[],y=new m.w0;function g(e,t){var r;return e.missing&&(c=y.merge(c,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof d&&!l.rootIdsByTypename[d]&&v.push({__typename:d});var E=new Set(r.selections);E.forEach((function(e){var r,m;if((0,b.LZ)(e,u))if((0,h.My)(e)){var k=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),O=(0,h.u2)(e);void 0===k?f.Gw.added(e)||(c=y.merge(c,((r={})[O]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,_.k)(k)?k=g(t.executeSubSelectedArray({field:e,array:k,enclosingRef:o,context:s}),O):e.selectionSet?null!=k&&(k=g(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:k,enclosingRef:(0,h.Yk)(k)?k:o,context:s}),O)):s.canonizeResults&&(k=t.canon.pass(k)),void 0!==k&&v.push(((m={})[O]=k,m))}else{var w=(0,a.hi)(e,s.lookupFragment);if(!w&&e.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(7,e.name.value);w&&l.fragmentMatches(w,d)&&w.selectionSet.selections.forEach(E.add,E)}}));var O={result:(0,m.bw)(v),missing:c},w=s.canonizeResults?this.canon.admit(O):k(O);return w.result&&this.knownResults.set(w.result,r),w},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,s=e.enclosingRef,a=e.context,c=new m.w0;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map((function(e,t){return null===e?null:(0,_.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:s,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,h.Yk)(e)?e:s,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,g.s)(r)&&((0,i.kG)(!(0,h.Yk)(r),8,function(e,t){return(0,h.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r),t.name.value),Object.values(r).forEach(n.add,n))}))}}(a.store,n,e),e)})),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function W(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(t){return t}}var $=r(79487),J=r(13887),X=r(66438),H=Object.create(null);function Z(e){var t=JSON.stringify(e);return H[t]||(H[t]=Object.create(null))}function ee(e){var t=Z(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=re(e,(function(e){var o=oe(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&w.call(t,e[0])&&(o=oe(t,e,ie)),(0,i.kG)(void 0!==o,2,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function te(e){var t=Z(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,s=re(e,(function(e){var r=e[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(t)return oe(t,e)}else{var s=r.slice(1);if(i&&w.call(i,s)){var a=e.slice(0);return a[0]=s,oe(i,a)}}else if(n&&(0,_.O)(n.directives)){var c=r.slice(1),u=n.directives.find((function(e){return e.name.value===c})),l=u&&(0,h.NC)(u,i);return l&&oe(l,e.slice(1))}})),a=JSON.stringify(s);return(t||"{}"!==a)&&(o+=":"+a),o})}function re(e,t){var r=new m.w0;return ne(e).reduce((function(e,n){var i,o=t(n);if(void 0!==o){for(var s=n.length-1;s>=0;--s)(i={})[n[s]]=o,o=i;e=r.merge(e,o)}return e}),Object.create(null))}function ne(e){var t=Z(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,_.k)(t)?(ne(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,_.k)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function ie(e,t){return e[t]}function oe(e,t,r){return r=r||ie,se(t.reduce((function e(t,n){return(0,_.k)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function se(e){return(0,g.s)(e)?(0,_.k)(e)?e.map(se):re(Object.keys(e).sort(),(function(t){return oe(e,t)})):e}function ae(e){return void 0!==e.args?e.args:e.field?(0,h.NC)(e.field,e.variables):null}h.PT.setStringify(z.B);var ce=function(){},ue=function(e,t){return t.fieldName},le=function(e,t,r){return(0,r.mergeObjects)(e,t)},fe=function(e,t){return t},he=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:S},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s,a=t&&t.storeObject||e,c=(0,n.pi)((0,n.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=de(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l((0,n.pi)((0,n.pi)({},e),a),c);if(!(0,_.k)(f)){s=f;break}l=ee(f)}return s=s?String(s):void 0,c.keyObject?[s,c.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],o=i.queryType,s=i.mutationType,a=i.subscriptionType,c=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),s&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),w.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function s(e,t){e.merge="function"==typeof t?t:!0===t?le:!1===t?fe:e.merge}s(n,t.merge),n.keyFn=!1===i?ce:(0,_.k)(i)?ee(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var a=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===a?ue:(0,_.k)(a)?te(a):"function"==typeof a?a:n.keyFn,"function"==typeof c&&(n.read=c),s(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||ue)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.kG)(!n||n===e,3,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(x);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!w.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,s=(0,n._T)(i,["fields"]);Object.assign(r,s),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var s=e.typeCondition.name.value;if(t===s)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(s))for(var a=this.getSupertypeSet(t,!0),c=[a],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,h=0;h1?a:t}:(o=(0,n.pi)({},s),w.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(5,(0,J.v)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function ve(e){return function(t,r){if((0,_.k)(t)||(0,_.k)(r))throw(0,i._K)(6);if((0,g.s)(t)&&(0,g.s)(r)){var o=e.getFieldValue(t,"__typename"),s=e.getFieldValue(r,"__typename");if(o&&s&&o!==s)return r;if((0,h.Yk)(t)&&R(r))return e.merge(t.__ref,r),t;if(R(t)&&(0,h.Yk)(r))return e.merge(t,r.__ref),r;if(R(t)&&R(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}function ye(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),o}var me=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,a=t.result,c=t.dataId,u=t.variables,l=t.overwrite,f=(0,y.$H)(o),p=new m.w0;u=(0,n.pi)((0,n.pi)({},(0,y.O4)(f)),u);var d=(0,n.pi)((0,n.pi)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,z.B)(u)},F(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:a||Object.create(null),dataId:c,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,h.Yk)(v))throw(0,i._K)(9,a);return d.incomingById.forEach((function(t,n){var o=t.storeObject,a=t.mergeTree,c=t.fieldNodeSet,u=(0,h.kQ)(n);if(a&&a.map.size){var l=r.applyMerges(a,u,o,d);if((0,h.Yk)(l))return;o=l}if(!1!==globalThis.__DEV__&&!d.overwrite){var f=Object.create(null);c.forEach((function(e){e.selectionSet&&(f[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===f[N(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=o(e);if(!a)return;var c=o(t);if(!c)return;if((0,h.Yk)(a))return;if((0,s.D)(a,c))return;if(Object.keys(a).every((function(e){return void 0!==n.getFieldValue(c,e)})))return;var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=N(r),f="".concat(u,".").concat(l);if(_e.has(f))return;_e.add(f);var p=[];(0,_.k)(a)||(0,_.k)(c)||[a,c].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}));!1!==globalThis.__DEV__&&i.kG.warn(12,l,u,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",f,a,c)}(u,o,e,d.store)}))}e.merge(n,o)})),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,s=e.selectionSet,a=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),p=r&&u.rootTypenamesById[r]||(0,h.qw)(o,s,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof p&&(l.__typename=p);var d=function(){var e=de(arguments,l,a.variables);if((0,h.Yk)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return u.readField(e,a)},v=new Set;this.flattenFields(s,o,a,p).forEach((function(e,r){var n,s=(0,h.u2)(r),a=o[s];if(v.add(r),void 0!==a){var y=u.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),m=ge(c,y),b=t.processFieldValue(a,r,r.selectionSet?ye(e,!1,!1):e,m),g=void 0;r.selectionSet&&((0,h.Yk)(b)||R(b))&&(g=d("__typename",b));var E=u.getMergeFunction(p,r.name.value,g);E?m.info={field:r,typename:p,merge:E}:Oe(c,y),l=e.merge(l,((n={})[y]=b,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||f.Gw.added(r)||u.getReadFunction(p,r.name.value)||!1!==globalThis.__DEV__&&i.kG.error(10,(0,h.u2)(r),o)}));try{var y=u.identify(o,{typename:p,selectionSet:s,fragmentMap:a.fragmentMap,storeObject:l,readField:d}),m=y[0],b=y[1];r=r||m,b&&(l=a.merge(l,b))}catch(O){if(!r)throw O}if("string"==typeof r){var g=(0,h.kQ)(r),E=a.written[r]||(a.written[r]=[]);if(E.indexOf(s)>=0)return g;if(E.push(s),this.reader&&this.reader.isFresh(o,g,s,a))return g;var k=a.incomingById.get(r);return k?(k.storeObject=a.merge(k.storeObject,l),k.mergeTree=Ee(k.mergeTree,c),v.forEach((function(e){return k.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:l,mergeTree:ke(c)?void 0:c,fieldNodeSet:v}),g}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,_.k)(e)?e.map((function(e,o){var s=i.processFieldValue(e,t,r,ge(n,o));return Oe(n,o),s})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,$.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,h.qw)(t,e,r.fragmentMap));var o=new Map,s=this.cache.policies,c=new O.B(!1);return function e(u,l){var f=c.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach((function(c){if((0,b.LZ)(c,r.variables)){var u=l.clientOnly,f=l.deferred;if(u&&f||!(0,_.O)(c.directives)||c.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,h.NC)(e,r.variables);n&&!1===n.if||(f=!0)}})),(0,h.My)(c)){var d=o.get(c);d&&(u=u&&d.clientOnly,f=f&&d.deferred),o.set(c,ye(r,u,f))}else{var v=(0,a.hi)(c,r.lookupFragment);if(!v&&c.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(11,c.name.value);v&&s.fragmentMatches(v,n,t,r.variables)&&e(v.selectionSet,ye(r,u,f))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,s){var a,c=this;if(e.map.size&&!(0,h.Yk)(r)){var u,l=(0,_.k)(r)||!(0,h.Yk)(t)&&!R(t)?void 0:t,f=r;l&&!s&&(s=[(0,h.Yk)(l)?l.__ref:l]);var p=function(e,t){return(0,_.k)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=p(l,t),n=p(f,t);if(void 0!==n){s&&s.push(t);var a=c.applyMerges(e,r,n,o,s);a!==n&&(u=u||new Map).set(t,a),s&&(0,i.kG)(s.pop()===t)}})),u&&(r=(0,_.k)(f)?f.slice(0):(0,n.pi)({},f),u.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,s&&(a=o.store).getStorage.apply(a,s)):r},e}(),be=[];function ge(e,t){var r=e.map;return r.has(t)||r.set(t,be.pop()||{map:new Map}),r.get(t)}function Ee(e,t){if(e===t||!t||ke(t))return e;if(!e||ke(e))return t;var r=e.info&&t.info?(0,n.pi)((0,n.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var s=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,Ee(e,t.map.get(r))),s.delete(r)})),s.forEach((function(r){o.map.set(r,Ee(t.map.get(r),e.map.get(r)))}))}return o}function ke(e){return!e||!(e.info||e.map.size)}function Oe(e,t){var r=e.map,n=r.get(t);n&&ke(n)&&(be.push(n),r.delete(t))}var _e=new Set;var we=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new l.A(f.Gw),r.assumeImmutableResults=!0,r.makeVar=X.QS,r.txCount=0,r.config=function(e){return(0,v.o)(D,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new he({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new M.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new me(this,this.storeReader=new Y({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:I(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(G(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,z.B)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u)return null;throw i}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(w.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.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,X._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,X.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){z.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(w.call(e,"id"))return!1;e=(0,n.pi)((0,n.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(),z.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,X.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,r=this,i=e.update,o=e.optimistic,s=void 0===o||o,a=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r,o=n.data,s=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=s}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof s?this.optimisticData=this.optimisticData.addLayer(s,u):!1===s?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),c&&l.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,s.D)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(c)},80900:(e,t,r)=>{r.d(t,{B:()=>f,h:()=>l});var n=r(97582),i=r(75028),o=r(13154),s=r(30320),a=r(21436);var c,u,l=function(){function e(){this.known=new(s.sy?WeakSet:Set),this.pool=new i.B(s.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.s)(e)){var t=function(e){return(0,o.s)(e)?(0,a.k)(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(c=this.pool.lookupArray(n)).array||(this.known.add(c.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),c.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),s=[i],a=this.sortedKeys(e);s.push(a.json);var c,u=s.length;if(a.sorted.forEach((function(r){s.push(t.admit(e[r]))})),!(c=this.pool.lookupArray(s)).object){var l=c.object=Object.create(i);this.known.add(l),a.sorted.forEach((function(e,t){l[e]=s[u+t]})),!1!==globalThis.__DEV__&&Object.freeze(l)}return c.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),f=Object.assign((function(e){if((0,o.s)(e)){void 0===c&&h();var t=c.admit(e),r=u.get(t);return void 0===r&&u.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:h});function h(){c=new l,u=new(s.mr?WeakMap:Map)}},66438:(e,t,r)=>{r.d(t,{QS:()=>u,_v:()=>c,ab:()=>i,li:()=>a});var n=r(33893),i=new(r(70093).g7),o=new WeakMap;function s(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function a(e){s(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){s(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach((function(e){s(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var c=Array.from(r);r.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),s(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),s(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},7015:(e,t,r)=>{r.d(t,{f:()=>ce});var n=r(97582),i=r(78287),o=r(48702),s=o.i.execute,a=r(49379),c=r(56429),u=r(30020),l=r(37280),f=r(19065),h=r(76487),p=r(80900),d=r(30320),v=r(18056),y=r(48216);function m(e,t,r){return new y.y((function(n){var i=n.next,o=n.error,s=n.complete,a=0,c=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++a;var r=function(){return e(t)};u=u.then(r,r).then((function(e){--a,i&&i.call(n,e),c&&f.complete()}),(function(e){throw--a,e})).catch((function(e){o&&o.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var f={next:l(t,i),error:l(r,o),complete:function(){c=!0,a||s&&s.call(n)}},h=e.subscribe(f);return function(){return h.unsubscribe()}}))}var b=r(21436);function g(e){var t=E(e);return(0,b.O)(t)}function E(e){var t=(0,b.O)(e.errors)?e.errors.slice(0):[];return(0,l.GG)(e)&&(0,b.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var k=r(36765),O=r(51761),_=r(13154),w=r(60897);function T(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function S(e){function t(t){Object.defineProperty(e,t,{value:y.y})}return d.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function D(e){return e&&"function"==typeof e.then}var I=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),T(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),T(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?D(i)?i.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=i.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),T(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new y.y(t)]),D(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.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],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(r,n){t||(t=!0,e(r,n))}))},t}(y.y);S(I);var x,N=r(30990);function A(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(x||(x={}));var R=r(53712),F=r(79487),C=r(23361);function P(e,t,r,i){var o=t.data,s=(0,n._T)(t,["data"]),a=r.data,c=(0,n._T)(r,["data"]);return(0,u.Z)(s,c)&&L((0,k.p$)(e).selectionSet,o,a,{fragmentMap:(0,C.F)((0,k.kU)(e)),variables:i})}function L(e,t,r,n){if(t===r)return!0;var i=new Set;return e.selections.every((function(e){if(i.has(e))return!0;if(i.add(e),!(0,f.LZ)(e,n.variables))return!0;if(M(e))return!0;if((0,O.My)(e)){var o=(0,O.u2)(e),s=t&&t[o],a=r&&r[o],c=e.selectionSet;if(!c)return(0,u.Z)(s,a);var l=Array.isArray(s),h=Array.isArray(a);if(l!==h)return!1;if(l&&h){var p=s.length;if(a.length!==p)return!1;for(var d=0;d0},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}(y.y);function B(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"==typeof n?n.apply(this,arguments):r}}):e.reobserve()}function U(e){!1!==globalThis.__DEV__&&i.kG.error(21,e.message,e.stack)}function G(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(22,e)}function z(e){return"network-only"===e||"no-cache"===e||"standby"===e}S(Q);var K=r(77304),Y=r(97359);function W(e){return e.kind===Y.h.FIELD||e.kind===Y.h.FRAGMENT_SPREAD||e.kind===Y.h.INLINE_FRAGMENT}var $=r(182),J=r(66438),X=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,$.Ee)(t.resolvers,e)})):this.resolvers=(0,$.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){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,s=e.onlyRunForcedResolvers,a=void 0!==s&&s;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,a).then((function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,h.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,K.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 K.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,h.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.mG)(this,void 0,void 0,(function(){var a,c,u,l,f,h,p,d,v,y;return(0,n.Jh)(this,(function(m){return a=(0,k.p$)(e),c=(0,k.kU)(e),u=(0,C.F)(c),l=this.collectSelectionsToResolve(a,u),f=a.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=(p=this).cache,v=p.client,y={fragmentMap:u,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:s},!1,[2,this.resolveSelectionSet(a.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.mG)(this,void 0,void 0,(function(){var s,a,c,u,l,h=this;return(0,n.Jh)(this,(function(p){return s=o.fragmentMap,a=o.context,c=o.variables,u=[r],l=function(e){return(0,n.mG)(h,void 0,void 0,(function(){var l,h;return(0,n.Jh)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,c)?(0,O.My)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;void 0!==t&&u.push(((r={})[(0,O.u2)(e)]=t,r))}))]:((0,O.Ao)(e)?l=e:(l=s[e.name.value],(0,i.kG)(l,16,e.name.value)),l&&l.typeCondition&&(h=l.typeCondition.name.value,o.fragmentMatcher(r,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,$.bw)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return(0,n.mG)(this,void 0,void 0,(function(){var o,s,a,c,u,l,f,h,p,d=this;return(0,n.Jh)(this,(function(n){return r?(o=i.variables,s=e.name.value,a=(0,O.u2)(e),c=s!==a,u=r[a]||r[s],l=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[c?s:a])&&(l=Promise.resolve(J.ab.withValue(this.cache,p,[r,(0,O.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var s=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||s,r,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||s,r,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var s=new Set;n.set(o,s),(0,K.Vn)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&W(e)&&s.add(e)}))},FragmentSpread:function(n,o,a,c,u){var l=t[n.name.value];(0,i.kG)(l,17,n.name.value);var f=e(l);f.size>0&&(u.forEach((function(e){r(e)&&W(e)&&s.add(e)})),s.add(n),f.forEach((function(e){s.add(e)})))}})}return n.get(o)}(e)},e}(),H=new(d.mr?WeakMap:Map);function Z(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return H.set(e,(H.get(e)+1)%1e15),r.apply(this,arguments)})}function ee(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var te=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.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;H.has(r)||(H.set(r,0),Z(r,"evict"),Z(r,"modify"),Z(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||x.loading;return this.variables&&this.networkStatus!==x.loading&&!(0,u.D)(this.variables,e.variables)&&(t=x.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(){ee(this),this.dirty=!1},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 r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,u.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.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():B(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;ee(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(A(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,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.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 r=this.lastWrite;return!(r&&r.dmCount===H.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new $.w0,s=(0,b.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,b.O)(e.incremental)){var a=(0,l.mT)(this.getDiff().result,e);e.data=a}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(re(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:H.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var s=i.getDiffOptions(r.variables),a=o.diff(s);!i.stopped&&(0,u.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(a,s),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=x.ready},e.prototype.markError=function(e){return this.networkStatus=x.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function re(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!g(e);return!n&&r&&e.data&&(n=!0),n}var ne=r(50713),ie=Object.prototype.hasOwnProperty,oe=function(){function e(e){var t=this,r=e.cache,n=e.link,i=e.defaultOptions,o=e.documentTransform,s=e.queryDeduplication,a=void 0!==s&&s,c=e.onBroadcast,u=e.ssrMode,l=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,p=e.localState,y=e.assumeImmutableResults,m=void 0===y?!!r.assumeImmutableResults:y;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var b=new v.A((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=r,this.link=n,this.defaultOptions=i||Object.create(null),this.queryDeduplication=a,this.clientAwareness=h,this.localState=p||new X({cache:r}),this.ssrMode=l,this.assumeImmutableResults=m,this.documentTransform=o?b.concat(o).concat(b):b,(this.onBroadcast=c)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i._K)(23))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,s=e.variables,a=e.optimisticResponse,c=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,d=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,b=e.errorPolicy,k=void 0===b?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":b,O=e.keepRootFields,_=e.context;return(0,n.mG)(this,void 0,void 0,(function(){var e,t,r,u;return(0,n.Jh)(this,(function(f){switch(f.label){case 0:return(0,i.kG)(o,24),(0,i.kG)("network-only"===y||"no-cache"===y,25),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,s=this.getVariables(o,s),t?[4,this.localState.addExportedVariables(o,s,_)]:[3,2];case 1:s=f.sent(),f.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:s,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:o,variables:s,fetchPolicy:y,errorPolicy:k,context:_,updateQueries:c,update:p,keepRootFields:O}),this.broadcastQueries(),u=this,[2,new Promise((function(t,i){return m(u.getObservableFromLink(o,(0,n.pi)((0,n.pi)({},_),{optimisticResponse:a}),s,!1),(function(t){if(g(t)&&"none"===k)throw new N.cA({graphQLErrors:E(t)});r&&(r.loading=!1,r.error=null);var i=(0,n.pi)({},t);return"function"==typeof l&&(l=l(i)),"ignore"===k&&g(i)&&delete i.errors,u.markMutationResult({mutationId:e,result:i,document:o,variables:s,fetchPolicy:y,errorPolicy:k,context:_,update:p,updateQueries:c,awaitRefetchQueries:h,refetchQueries:l,removeOptimistic:a?e:void 0,onQueryUpdated:d,keepRootFields:O})})).subscribe({next:function(e){u.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),a&&u.cache.removeOptimistic(e),u.broadcastQueries(),i(t instanceof N.cA?t:new N.cA({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&re(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,b.O)(i.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;a.result&&(c=(0,l.mT)(a.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,n){var s=e.observableQuery,a=s&&s.queryName;if(a&&ie.call(u,a)){var c=u[a],l=r.queries.get(n),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=c(d,{mutationResult:i,queryName:f&&(0,k.rY)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var a=e.update,c=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(a){if(!s){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,n.pi)((0,n.pi)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&a(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return 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 r=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:o}}),e)}catch(s){!1!==globalThis.__DEV__&&i.kG.error(s)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,h.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,k.O4)((0,k.$H)(e)),asQuery:(0,n.pi)((0,n.pi)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new te(this),i=new Q({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,26),(0,i.kG)("Document"===e.query.kind,27),(0,i.kG)(!e.returnPartialData,28),(0,i.kG)(!e.pollInterval,29),this.fetchQuery(t,(0,n.pi)((0,n.pi)({},e),{query:this.transform(e.query)})).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,i._K)(30)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=x.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"==typeof e?o.set(e,!1):(0,O.JW)(e)?o.set(t.transform(e),!1):(0,_.s)(e)&&e.query&&s.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,s=t.document;if(i){if("all"===e)return void r.set(n,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&o.has(a)||s&&o.has(s))&&(r.set(n,i),a&&o.set(a,!0),s&&o.set(s,!0))}})),s.size&&s.forEach((function(e){var o=(0,w.X)("legacyOneTimeQuery"),s=t.getQuery(o).init({document:e.query,variables:e.variables}),a=new Q({queryManager:t,queryInfo:s,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(a.queryId===o),s.setObservableQuery(a),r.set(o,a)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(e,t){e||!1!==globalThis.__DEV__&&i.kG.warn("string"==typeof t?31:32,t)})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,s=e.variables,a=e.context,c=void 0===a?{}:a;r=this.transform(r),s=this.getVariables(r,s);var u=function(e){return t.getObservableFromLink(r,c,e).map((function(i){"no-cache"!==n&&(re(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var s=g(i),a=(0,N.ls)(i);if(s||a){var c={};if(s&&(c.graphQLErrors=i.errors),a&&(c.protocolErrors=i.extensions[N.YG]),"none"===o||a)throw new N.cA(c)}return"ignore"===o&&delete i.errors,i}))};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,s,c).then(u);return new y.y((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(s)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var o,a,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 h=this.inFlightLinkObservables,d=this.link,v={query:l,variables:r,operationName:(0,k.rY)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=v.context,i){var b=(0,ne.S)(l),g=h.get(b)||new Map;h.set(b,g);var E=(0,p.B)(r);if(!(a=g.get(E))){var O=new I([s(d,v)]);g.set(E,a=O),O.beforeNext((function(){g.delete(E)&&g.size<1&&h.delete(b)}))}}else a=new I([s(d,v)])}else a=new I([y.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=m(a,(function(e){return c.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})}))),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),(function(o){var s=E(o),a=s.length>0;if(n>=e.lastRequestId){if(a&&"none"===r.errorPolicy)throw e.markError(new N.cA({graphQLErrors:s}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:x.ready};return a&&"ignore"!==r.errorPolicy&&(c.errors=s,c.networkStatus=x.error),c}),(function(t){var r=(0,N.MS)(t)?t:new N.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r){var n=this;void 0===r&&(r=x.loading);var i,o,s=t.query,a=this.getVariables(s,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?u&&u.errorPolicy||"none":h,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b,E=Object.assign({},t,{query:s,variables:a,fetchPolicy:f,errorPolicy:p,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),k=function(e){E.variables=e;var i=n.fetchQueryByPolicy(c,E,r);return"standby"!==E.fetchPolicy&&i.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),i},O=function(){return n.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){O(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(E.query).hasClientExports)i=new I(this.localState.addExportedVariables(E.query,E.variables,E.context).then(k).then((function(e){return e.sources}))),o=!0;else{var _=k(E.variables);o=_.fromLink,i=new I(_.sources)}return i.promise.then(O,O),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,s=e.removeOptimistic,a=void 0===s?o?(0,w.X)("refetchQueries"):void 0:s,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof te&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,s=e.diff;if(c){if(!s){var a=i.queryInfo;a.reset(),s=a.getDiff()}n=c(i,s,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),a&&this.cache.removeOptimistic(a),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,s=t.variables,a=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:s,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||x.loading);var a=t.result;!1===globalThis.__DEV__||f||(0,u.D)(a,{})||G(t.missing);var c=function(e){return y.y.of((0,n.pi)({data:e,loading:A(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:a},context:h,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===l&&r===x.refetch&&Array.isArray(t.missing)?c(void 0):c(a)},b="no-cache"===a?0:r===x.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:s,context:h,fetchPolicy:a,errorPolicy:l})},E=p&&"number"==typeof d&&d!==r&&A(r);switch(a){default:case"cache-first":return(k=v()).complete?{fromLink:!1,sources:[m(k,e.markReady())]}:f||E?{fromLink:!0,sources:[m(k),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var k;return(k=v()).complete||f||E?{fromLink:!0,sources:[m(k),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":return E?{fromLink:!0,sources:[m(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return E?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new te(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function se(e,t){return(0,R.o)(e,t,t.variables&&{variables:(0,R.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}var ae=!1,ce=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i._K)(13);var r=e.uri,n=e.credentials,s=e.headers,u=e.cache,l=e.documentTransform,f=e.ssrMode,h=void 0!==f&&f,p=e.ssrForceFetchDelay,d=void 0===p?0:p,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,E=e.assumeImmutableResults,k=void 0===E?u.assumeImmutableResults:E,O=e.resolvers,_=e.typeDefs,w=e.fragmentMatcher,T=e.name,S=e.version,D=e.link;D||(D=r?new c.u({uri:r,credentials:n,headers:s}):o.i.empty()),this.link=D,this.cache=u,this.disableNetworkFetches=h||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=_,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.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=a.i,this.localState=new X({cache:u,client:this,resolvers:O,fragmentMatcher:w}),this.queryManager=new oe({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:l,queryDeduplication:b,ssrMode:h,clientAwareness:{name:T,version:S},localState:this.localState,assumeImmutableResults:k,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}ae||!1===globalThis.__DEV__||(ae=!0,setTimeout((function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}}),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=se(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=se(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=se(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.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 s(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var o=Promise.all(n);return o.queries=r,o.results=n,o.catch((function(e){!1!==globalThis.__DEV__&&i.kG.debug(15,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},e}()},30990:(e,t,r)=>{r.d(t,{MS:()=>a,YG:()=>o,cA:()=>c,ls:()=>s});var n=r(97582),i=(r(78287),r(13154)),o=Symbol();function s(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function a(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(r){var o,s,a=r.graphQLErrors,c=r.protocolErrors,u=r.clientErrors,l=r.networkError,f=r.errorMessage,h=r.extraInfo,p=e.call(this,f)||this;return p.name="ApolloError",p.graphQLErrors=a||[],p.protocolErrors=c||[],p.clientErrors=u||[],p.networkError=l||null,p.message=f||(o=p,s=(0,n.ev)((0,n.ev)((0,n.ev)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&s.push(o.networkError),s.map((function(e){return(0,i.s)(e)&&e.message||"Error message not found."})).join("\n")),p.extraInfo=h,p.__proto__=t.prototype,p}return(0,n.ZT)(t,e),t}(Error)},48702:(e,t,r)=>{r.d(t,{i:()=>l});var n=r(78287),i=r(48216),o=r(97582);var s=r(36765);function a(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,r,n){var o=c(r),s=c(n||new e(a));return u(o)&&u(s)?new e((function(e){return t(e)?o.request(e)||i.y.of():s.request(e)||i.y.of()})):new e((function(e,r){return t(e)?o.request(e,r)||i.y.of():s.request(e,r)||i.y.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=(0,o.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,o.pi)((0,o.pi)({},r),e(r)):(0,o.pi)((0,o.pi)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,s.rY)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r{r.d(t,{u:()=>x});var n=r(97582),i=r(48702),o=r(78287),s=r(19065),a=r(48216),c=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=(0,o._K)(37,t,i.message);throw n.parseError=i,n}return r},u=r(30320);function l(e){var t=null,r=null,n=!1,i=[],o=[];function s(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function a(e){r=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){n=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",a),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",a),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise((function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])}))}};return u.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}function f(e){var t={next:function(){return e.read()}};return u.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function h(e){var t,r,n=e;if(e.body&&(n=e.body),function(e){return!(!u.DN||!e[Symbol.asyncIterator])}(n))return r=n[Symbol.asyncIterator](),(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(n))return f(n.getReader());if(function(e){return!!e.stream}(n))return f(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,r){e.then((function(e){t({value:e,done:!1})})).catch(r)})))}};return u.DN&&(r[Symbol.asyncIterator]=function(){return this}),r}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return l(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var p=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},d=r(30990),v=r(37280),y=Object.prototype.hasOwnProperty;function m(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function b(e,t){if(e.status>=300){p(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var g=r(50713),E={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},k=function(e,t){return t(e)};function O(e,t){for(var r=[],i=2;i-1;){if(_=void 0,N=[u.slice(0,O),u.slice(O+c.length)],u=N[1],w=(_=N[0]).indexOf("\r\n\r\n"),T=m(_.slice(0,w)),(S=T["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(D=_.slice(w))if(I=b(e,D),Object.keys(I).length>1||"data"in I||"incremental"in I||"errors"in I||"payload"in I)(0,v.yU)(I)?(x={},"payload"in I&&(x=(0,n.pi)({},I.payload)),"errors"in I&&(x=(0,n.pi)((0,n.pi)({},x),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in x?x.extensions:null),(A={},A[d.YG]=I.errors,A))})),t(x)):t(I);else if(1===Object.keys(I).length&&"hasNext"in I&&!I.hasNext)return[2];O=u.indexOf(c)}return[3,1];case 3:return[2]}}))}))}(t,s):(i=e,function(e){return e.text().then((function(t){return b(e,t)})).then((function(t){return e.status>=300&&p(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||y.call(t,"data")||y.call(t,"errors")||p(e,t,"Server response was missing for query '".concat(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName,"'.")),t}))})(t).then(s)})).then((function(){q=void 0,r.complete()})).catch((function(e){q=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,r)})),function(){q&&q.abort()}}))}))},x=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,I(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(i.i)},21436:(e,t,r)=>{r.d(t,{O:()=>i,k:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},30320:(e,t,r)=>{r.d(t,{DN:()=>a,aS:()=>s,mr:()=>i,sy:()=>o});var n=r(78287),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),o="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,a=s&&Symbol.asyncIterator;(0,n.wY)((function(){return window.document.createElement})),(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},79487:(e,t,r)=>{r.d(t,{X:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=o(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=o(e[r],t)})),i;default:return e}}},53712:(e,t,r)=>{function n(){for(var e=[],t=0;tn})},37280:(e,t,r)=>{r.d(t,{GG:()=>s,M0:()=>a,mT:()=>u,yU:()=>c});var n=r(13154),i=r(21436),o=r(182);function s(e){return"incremental"in e}function a(e){return s(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function c(e){return(0,n.s)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.w0;return s(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 s=i[o],a=!isNaN(+s)?[]:{};a[s]=t,t=a}r=n.merge(r,t)})),r}},60897:(e,t,r)=>{r.d(t,{X:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},182:(e,t,r)=>{r.d(t,{Ee:()=>s,bw:()=>a,w0:()=>u});var n=r(97582),i=r(13154),o=Object.prototype.hasOwnProperty;function s(){for(var e=[],t=0;t1)for(var n=new u,i=1;i{function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:()=>n})},13887:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(60897);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("")}},78287:(e,t,r)=>{r.d(t,{kG:()=>m,wY:()=>p,_K:()=>b});var n=r(97582),i="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,a=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,s(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new a(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));var h=r(49379);function p(e){try{return e()}catch(o){}}const d=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return global}))||p((function(){return p.constructor("return this")()}));var v=r(13887);function y(e){return function(t){for(var r=[],i=1;i{r.d(t,{A:()=>c});var n=r(75028),i=r(30320),o=r(36765),s=r(78287);function a(e){return e}var c=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),!1!==t.cache&&(this.stableCacheKeys=new n.B(i.mr,(function(e){return{key:e}})))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(a,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.A$)(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e((function(e){return t.transformDocument(r.transformDocument(e))}),{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?((0,s.kG)(Array.isArray(t),63),this.stableCacheKeys.lookupArray(t)):void 0}},e}()},19065:(e,t,r)=>{r.d(t,{FS:()=>s,LZ:()=>o,mj:()=>a});var n=r(78287),i=r(77304);function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;(0,n.kG)(r&&1===r.length,65,i);var o=r[0];(0,n.kG)(o.name&&"if"===o.name.value,66,i);var s=o.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),67,i),t.push({directive:e,ifArgument:o})}}));return t}(r).every((function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.kG)(void 0!==o,64,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size{r.d(t,{F:()=>s,Yk:()=>o,hi:()=>a});var n=r(97582),i=r(78287);function o(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(68,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),void 0===r&&((0,i.kG)(1===o.length,69,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function a(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,70,r),n||null;default:return null}}},36765:(e,t,r)=>{r.d(t,{$H:()=>s,A$:()=>o,O4:()=>h,iW:()=>u,kU:()=>c,p$:()=>f,pD:()=>l,rY:()=>a});var n=r(78287),i=r(51761);function o(e){(0,n.kG)(e&&"Document"===e.kind,71);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(72,e.kind);return e}));return(0,n.kG)(t.length<=1,73,t.length),e}function s(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function a(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=s(e);return(0,n.kG)(t&&"query"===t.operation,74),t}function l(e){(0,n.kG)("Document"===e.kind,75),(0,n.kG)(e.definitions.length<=1,76);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,77),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r{r.d(t,{S:()=>v});var n=r(87392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var a=r(77304);const c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>u(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=f("(",u(e.variableDefinitions,", "),")"),r=u([e.operation,u([e.name,t]),u(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+f(" = ",r)+f(" ",u(n," "))},SelectionSet:{leave:({selections:e})=>l(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const o=f("",e,": ")+t;let s=o+f("(",u(r,", "),")");return s.length>80&&(s=o+f("(\n",h(u(r,"\n")),"\n)")),u([s,u(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+f(" ",u(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>u(["...",f("on ",e),u(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${f("(",u(r,", "),")")} on ${t} ${f("",u(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+u(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+u(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+f("(",u(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>f("",e,"\n")+u(["schema",u(t," "),l(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>f("",e,"\n")+u(["scalar",t,u(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>f("",e,"\n")+u(["type",t,f("implements ",u(r," & ")),u(n," "),l(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>f("",e,"\n")+t+(p(r)?f("(\n",h(u(r,"\n")),"\n)"):f("(",u(r,", "),")"))+": "+n+f(" ",u(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>f("",e,"\n")+u([t+": "+r,f("= ",n),u(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>f("",e,"\n")+u(["interface",t,f("implements ",u(r," & ")),u(n," "),l(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>f("",e,"\n")+u(["union",t,u(r," "),f("= ",u(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>f("",e,"\n")+u(["enum",t,u(r," "),l(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>f("",e,"\n")+u([t,u(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>f("",e,"\n")+u(["input",t,u(r," "),l(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>f("",e,"\n")+"directive @"+t+(p(r)?f("(\n",h(u(r,"\n")),"\n)"):f("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>u(["extend schema",u(e," "),l(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>u(["extend scalar",e,u(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>u(["extend type",e,f("implements ",u(t," & ")),u(r," "),l(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>u(["extend interface",e,f("implements ",u(t," & ")),u(r," "),l(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>u(["extend union",e,u(t," "),f("= ",u(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>u(["extend enum",e,u(t," "),l(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>u(["extend input",e,u(t," "),l(r)]," ")}};function u(e,t=""){var r;return null!==(r=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function l(e){return f("{\n",h(u(e,"\n")),"\n}")}function f(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function h(e){return f(" ",e.replace(/\n/g,"\n "))}function p(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var d=r(30320).mr?new WeakMap:void 0,v=function(e){var t;return(t=null==d?void 0:d.get(e))||(t=function(e){return(0,a.Vn)(e,c)}(e),null==d||d.set(e,t)),t}},51761:(e,t,r)=>{r.d(t,{Ao:()=>g,JW:()=>c,My:()=>b,NC:()=>v,PT:()=>h,Yk:()=>a,kQ:()=>s,qw:()=>m,u2:()=>y,vb:()=>u,vf:()=>l});var n=r(78287),i=r(13154),o=r(23361);function s(e){return{__ref:String(e)}}function a(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function u(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return u(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var s=(i||{})[r.name.value];e[t.value]=s}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return u(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n._K)(79,t.value,r.kind);e[t.value]=null}}function l(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return u(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return u(n,r,i,t)}))),h(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export","nonreactive"],h=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(p(i),")")}return r.connection.key}var o=e;if(t){var s=p(t);o+="(".concat(s,")")}return r&&Object.keys(r).forEach((function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=p;return p=e,t}}),p=function(e){return JSON.stringify(e,d)};function d(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return u(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,r){for(var n,i=0,s=t.selections;i{r.d(t,{Gw:()=>m,aL:()=>b,bi:()=>y,ob:()=>g});var n=r(97582),i=r(78287),o=r(97359),s=r(77304),a=r(36765),c=r(51761),u=r(23361),l=r(21436),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function h(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.h.FRAGMENT_SPREAD&&h(t[e.name.value],t)}))}function p(e){return h((0,a.$H)(e)||(0,a.pD)(e),(0,u.F)((0,a.kU)(e)))?null:e}function d(e){var t=new Map,r=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))})),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach((function(t,r){r(e)&&(n=t)})),n}}function v(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function y(e,t){(0,a.A$)(t);for(var r=v(""),c=v(""),u=function(e){for(var t=0,n=void 0;t=0;--h)t.definitions[h].kind===o.h.OPERATION_DEFINITION&&++f;var y=d(e),m=function(e){return(0,l.O)(e)&&e.map(y).some((function(e){return e&&e.remove}))},b=new Map,g=!1,E={enter:function(e){if(m(e.directives))return g=!0,null}},k=(0,s.Vn)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=u(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(m(e.directives))return g=!0,null;var o=u(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value}))?(c(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var O=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){O(c(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},_=new Set;k.definitions.forEach((function(e){e.kind===o.h.OPERATION_DEFINITION?O(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){_.add(e)})):e.kind!==o.h.FRAGMENT_DEFINITION||0!==f||c(e.name.value).removed||_.add(e.name.value)})),_.forEach((function(e){O(c(e)).fragmentSpreads.forEach((function(e){_.add(e)}))}));var w={enter:function(e){if(t=e.name.value,!_.has(t)||c(t).removed)return null;var t}};return p((0,s.Vn)(k,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(r(e.name&&e.name.value)).transitiveVars;if(t.size{r.d(t,{i:()=>n});var n="3.8.3"},81880:(e,t,r)=>{function n(e,t){return t||(t=e.slice(0)),e.raw=t,e}r.d(t,{Z:()=>n})},70093:(e,t,r)=>{r.d(t,{g7:()=>u});let n=null;const i={};let o=1;function s(e){try{return e()}catch(t){}}const a="@wry/context:Slot",c=s((()=>globalThis))||s((()=>global))||Object.create(null),u=c[a]||Array[a]||function(e){try{Object.defineProperty(c,a,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=n;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(e,t,r,i){const o={__proto__:null,[this.id]:e},s=n;n={parent:s,slots:o};try{return t.apply(i,r)}finally{n=s}}static bind(e){const t=n;return function(){const r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}}static noContext(e,t,r){if(!n)return e.apply(r,t);{const i=n;try{return n=null,e.apply(r,t)}finally{n=i}}}}),{bind:l,noContext:f}=u},30020:(e,t,r)=>{r.d(t,{D:()=>a,Z:()=>c});const{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,s=new Map;function a(e,t){try{return u(e,t)}finally{s.clear()}}const c=a;function u(e,t){if(e===t)return!0;const r=n.call(e);if(r!==n.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(p(e,t))return!0;const r=l(e),n=l(t),o=r.length;if(o!==n.length)return!1;for(let e=0;e=0&&e.indexOf(t,r)===r}(r,h)}}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}const h="{ [native code] }";function p(e,t){let r=s.get(e);if(r){if(r.has(t))return!0}else s.set(e,r=new Set);return r.add(t),!1}},75028:(e,t,r)=>{r.d(t,{B:()=>a});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class a{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),s.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r{function n(e,t){if(!Boolean(e))throw new Error(t)}r.d(t,{a:()=>n})},25821:(e,t,r)=>{r.d(t,{X:()=>o});const n=10,i=2;function o(e){return s(e,[])}function s(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:s(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const r=Math.min(n,e.length),o=e.length-r,a=[];for(let n=0;n1&&a.push(`... ${o} more items`);return"["+a.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+s(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},72380:(e,t,r)=>{r.d(t,{UG:()=>a,WU:()=>i,Ye:()=>n,h8:()=>o,ku:()=>c});class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function a(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},87392:(e,t,r)=>{r.d(t,{LZ:()=>s,wv:()=>i});var n=r(68297);function i(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t1&&i.slice(1).every((e=>0===e.length||(0,n.FD)(e.charCodeAt(0)))),a=r.endsWith('\\"""'),c=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=c||u,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||s||a);let h="";const p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||s)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},68297:(e,t,r)=>{function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}r.d(t,{FD:()=>n,HQ:()=>a,LQ:()=>s,X1:()=>i})},97359:(e,t,r)=>{var n;r.d(t,{h:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},77304:(e,t,r)=>{r.d(t,{$_:()=>a,Vn:()=>c});var n=r(37826),i=r(25821),o=r(72380),s=r(97359);const a=Object.freeze({});function c(e,t,r=o.h8){const c=new Map;for(const n of Object.values(s.h))c.set(n,u(t,n));let l,f,h,p=Array.isArray(e),d=[e],v=-1,y=[],m=e;const b=[],g=[];do{v++;const e=v===d.length,s=e&&0!==y.length;if(e){if(f=0===g.length?void 0:b[b.length-1],m=h,h=g.pop(),s)if(p){m=m.slice();let e=0;for(const[t,r]of y){const n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else{m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m));for(const[e,t]of y)m[e]=t}v=l.index,d=l.keys,y=l.edits,p=l.inArray,l=l.prev}else if(h){if(f=p?v:d[v],m=h[f],null==m)continue;b.push(f)}let u;if(!Array.isArray(m)){var E,k;(0,o.UG)(m)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(m)}.`);const r=e?null===(E=c.get(m.kind))||void 0===E?void 0:E.leave:null===(k=c.get(m.kind))||void 0===k?void 0:k.enter;if(u=null==r?void 0:r.call(t,m,f,h,b,g),u===a)break;if(!1===u){if(!e){b.pop();continue}}else if(void 0!==u&&(y.push([f,u]),!e)){if(!(0,o.UG)(u)){b.pop();continue}m=u}}var O;if(void 0===u&&s&&y.push([f,m]),e)b.pop();else l={inArray:p,index:v,keys:d,edits:y,prev:l},p=Array.isArray(m),d=p?m:null!==(O=r[m.kind])&&void 0!==O?O:[],v=-1,y=[],h&&g.push(h),h=m}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}function u(e,t){const r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}},33893:(e,t,r)=>{r.d(t,{dP:()=>D,re:()=>A});var n=r(75028);function i(){}class o{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}const s=new(r(70093).g7);const{hasOwnProperty:a}=Object.prototype,c=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function u(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const l=[],f=100;function h(e,t){if(!e)throw new Error(t||"assertion failure")}function p(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class d{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,++d.count}peek(){if(1===this.value.length&&!m(this))return v(this),this.value[0]}recompute(e){return h(!this.recomputing,"already recomputing"),v(this),m(this)?function(e,t){w(e),s.withValue(e,y,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{u(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(r){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,m(e))return;g(e)}(e);return p(e.value)}(this,e):p(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,b(this),u(this))}dispose(){this.setDirty(),w(this),E(this,((e,t)=>{e.setDirty(),T(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=l.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(c(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),l.push(this.deps),this.deps=null)}}function v(e){const t=s.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),m(e)?k(t,e):O(t,e),t}function y(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(r){e.value[1]=r}e.recomputing=!1}function m(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function b(e){E(e,k)}function g(e){E(e,O)}function E(e,t){const r=e.parents.size;if(r){const n=c(e.parents);for(let i=0;i0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),_(e,t),m(e)||g(e)}function _(e,t){const r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(l.length0&&e.childValues.forEach(((t,r)=>{T(e,r)})),e.forgetDeps(),h(null===e.dirtyChildren)}function T(e,t){t.parents.delete(e),e.childValues.delete(t),_(e,t)}d.count=0;const S={setDirty:!0,dispose:!0,forget:!0};function D(e){const t=new Map,r=e&&e.subscribe;function n(e){const n=s.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(u(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){const n=t.get(e);if(n){const i=r&&a.call(S,r)?r:"setDirty";c(n).forEach((e=>e[i]())),t.delete(e),u(n)}},n}let I;function x(...e){return(I||(I=new n.B("function"==typeof WeakMap))).lookupArray(e)}const N=new Set;function A(e,{max:t=Math.pow(2,16),makeCacheKey:r=x,keyArgs:n,subscribe:i}=Object.create(null)){const a=new o(t,(e=>e.dispose())),c=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=a.get(t);o||(a.set(t,o=new d(e)),o.subscribe=i,o.forget=()=>a.delete(t));const c=o.recompute(Array.prototype.slice.call(arguments));return a.set(t,o),N.add(a),s.hasValue()||(N.forEach((e=>e.clean())),N.clear()),c};function u(e){const t=a.get(e);t&&t.setDirty()}function l(e){const t=a.get(e);if(t)return t.peek()}function f(e){return a.delete(e)}return Object.defineProperty(c,"size",{get:()=>a.map.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,makeCacheKey:r,keyArgs:n,subscribe:i}),c.dirtyKey=u,c.dirty=function(){u(r.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(r.apply(null,arguments))},c.forgetKey=f,c.forget=function(){return f(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},48216:(e,t,r)=>{function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rw});var a=function(){return"function"==typeof Symbol},c=function(e){return a()&&Boolean(Symbol[e])},u=function(e){return c(e)?Symbol[e]:"@@"+e};a()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),f=u("observable"),h=u("species");function p(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:w}function v(e){return e instanceof w}function y(e){y.log?y.log(e):setTimeout((function(){throw e}))}function m(e){Promise.resolve().then((function(){try{e()}catch(t){y(t)}}))}function b(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=p(t,"unsubscribe");r&&r.call(t)}}catch(n){y(n)}}function g(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function E(e,t,r){e._state="running";var n=e._observer;try{var i=p(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(g(e),!i)throw r;i.call(n,r);break;case"complete":g(e),i&&i.call(n)}}catch(o){y(o)}"closed"===e._state?b(e):"running"===e._state&&(e._state="ready")}function k(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void m((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r1,i=!1,o=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var s=!i;if(i=!0,!s||n)try{o=e(o,t)}catch(a){return r.error(a)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){n.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[f]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=p(t,f);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return v(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(c("iterator")&&(i=p(t,l)))return new r((function(e){m((function(){if(!e.closed){for(var r,o=n(i.call(t));!(r=o()).done;){var s=r.value;if(e.next(s),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){m((function(){if(!e.closed){for(var r=0;r{"use strict";var e,f,a,c,d={},b={};function r(e){var f=b[e];if(void 0!==f)return f.exports;var a=b[e]={id:e,loaded:!1,exports:{}};return d[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=d,r.c=b,e=[],r.O=(f,a,c,d)=>{if(!a){var b=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](a[o])))?a.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[a,c,d]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var b={};f=f||[null,a({}),a([]),a(a)];for(var t=2&c&&e;"object"==typeof t&&!~f.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach((f=>b[f]=()=>e[f]));return b.default=()=>e,r.d(d,b),d},r.d=(e,f)=>{for(var a in f)r.o(f,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((f,a)=>(r.f[a](e,f),f)),[])),r.u=e=>"assets/js/"+({6:"408829bd",53:"935f2afb",192:"f189ca9f",250:"f2717f8e",315:"9528ac88",502:"2d429218",537:"3829cf1d",601:"0c06bca3",609:"d569989b",626:"79d4be33",657:"386bfe51",691:"145746f5",810:"23498fd5",1062:"f90fa732",1090:"cfd53ea4",1213:"25f2bd2a",1239:"f359a251",1288:"fabebe44",1299:"74df6a22",1372:"b61f6dc7",1415:"4d76887f",1419:"f750c690",1481:"4dff184a",1486:"8dd7cee0",1494:"b21dd8a7",1506:"c977dfe8",1529:"ffe9c3c9",1598:"7fbac68a",1703:"a5002e4a",1723:"0df78d26",1748:"987d08ef",1786:"d9ef69a7",1957:"df154d69",1966:"f47489cd",2008:"4f031749",2042:"dd32e389",2078:"84f79495",2117:"21877fa5",2136:"ecb495b7",2169:"1646726c",2194:"6151e7ce",2242:"f3027c84",2248:"da9f79cb",2354:"493c7fdf",2483:"d6d2b2d5",2505:"9a101178",2507:"7c78c461",2665:"f4130007",2677:"ece9fdae",2704:"f3bde756",2712:"c2c6a3a6",2754:"78868b16",2758:"9e3f6a8a",2791:"7d54ab5a",2884:"5d69d9d4",2909:"f4200fe5",2914:"2be0d940",2949:"2ea50c63",3132:"85afe03a",3262:"8a8a7d05",3513:"41b7b3e8",3599:"21899dd2",3620:"f137ce68",3667:"b0cbc1d4",3669:"dbbd9e76",3757:"bea375d6",3842:"ff6596ea",3933:"cda87995",3944:"fac80962",4004:"ec3b6a32",4097:"eef3f1dd",4195:"c4f5d8e4",4355:"19ed4d4c",4363:"f2c21b54",4428:"991ceaa9",4445:"4d9b9869",4476:"f4003c83",4507:"a7b37b86",4537:"1ae2b102",4541:"3e56470e",4577:"9ebc4c9a",4620:"48d75399",4634:"54338ffb",4666:"f41c4e9d",4672:"43ee4f22",4860:"346ef9e6",4909:"f0855ff9",4916:"c1bbdb2a",5005:"320c8a05",5013:"c41801b5",5157:"d27ae88d",5422:"b3719d54",5483:"f7acb151",5526:"0c68fb82",5651:"9e2042f5",6104:"c7c5ba1a",6140:"32e8da05",6253:"a29dc56e",6294:"bbba852d",6357:"43cda9e8",6585:"13b7bafa",6689:"f2521980",6730:"fea93377",6776:"666ba125",6827:"279fb1d6",6862:"60e73337",6920:"ccc1222e",6946:"4642ab5c",7061:"feea648c",7202:"4a8eb552",7211:"f44ed8f8",7280:"fbea1897",7288:"6f1a81b8",7368:"bb8b1738",7388:"bd701914",7466:"a5b3561d",7485:"d3db551a",7633:"b940de31",7654:"c07c2447",7683:"cc44e8fd",7745:"9129da9e",7799:"8b670b2b",7837:"0a3f0c9b",7908:"33bbe353",7918:"17896441",7920:"1a4e3797",7940:"ad762f86",7961:"a2800a5b",8067:"69b97ecd",8080:"77a2b809",8138:"694672cd",8139:"386099fc",8236:"ffd76171",8270:"12331e8b",8355:"c91a9c06",8361:"824749c6",8618:"e4f3654b",8702:"a74a59a0",8791:"ab138bf8",8831:"3bd77df4",8860:"766a10e1",8901:"b48c599b",9062:"b38833d4",9071:"60738e36",9217:"64c7e1cc",9226:"2f3b630e",9247:"8167490d",9323:"131c7f55",9478:"c7a2145e",9514:"1be78505",9548:"f95cee6f",9764:"dc776cbc",9802:"1e15616a",9806:"51fbc2c9"}[e]||e)+"."+{6:"d05e5729",53:"f6b627a2",192:"1cae3a1b",250:"016e6307",315:"50c36aa2",502:"91becb77",537:"973cf70e",601:"64bc4973",609:"012adafb",626:"74933ba6",657:"e69de0d2",691:"1a067431",810:"6fb323e7",1062:"74dd695d",1090:"925d00c8",1213:"6a98185b",1239:"09937971",1288:"77019097",1299:"4e5c60a5",1372:"8eac1f68",1415:"9e1bf21b",1419:"92c8eaff",1481:"551b5b89",1486:"945c1698",1494:"77491e10",1506:"3f5fb1c7",1529:"82d2b972",1598:"865c323b",1703:"ac9e220c",1723:"e1d070ef",1748:"a4f2b17d",1786:"9b22fae3",1957:"f6f4ce3c",1966:"1374e8ac",2008:"9b472f5e",2042:"ec23e51b",2078:"9c685a9d",2117:"88a445a4",2136:"cf18d27f",2169:"0959b964",2194:"44debed9",2242:"a17b5612",2248:"602f7d45",2354:"8e07caba",2483:"cef8759b",2505:"1acd9ffd",2507:"6b6813f8",2665:"329833d7",2677:"2203e895",2704:"9db3903d",2712:"a967f819",2754:"d41c76df",2758:"0686f8f4",2791:"525759e3",2859:"0e95b965",2884:"21726cd8",2909:"6491f608",2914:"bd615dd7",2949:"411b5a4b",3132:"9677a60a",3262:"438390d4",3513:"11874f42",3599:"a39f0f54",3620:"0202b292",3667:"60542d29",3669:"605bdfcf",3757:"a15dbe0b",3842:"206bd9f8",3933:"d98a2d86",3944:"6c8917e0",4004:"35025386",4097:"4f0041c0",4195:"ed3277a4",4355:"9ffb1a31",4363:"0ce780c9",4428:"50239959",4445:"1120f545",4476:"be8190b6",4507:"b89065bb",4537:"4bd0623a",4541:"4baf9fbc",4577:"e82df813",4620:"93aa20ed",4634:"2d5a83c8",4666:"69fc2b37",4672:"e3e2f4db",4860:"dbd9de91",4909:"4468613e",4916:"9d01b902",4972:"d0d52519",5005:"814be5b6",5013:"0adca969",5157:"3b935aa9",5422:"1f833ec2",5483:"bf46af0c",5526:"365c74bd",5651:"949bc63f",6104:"5479be55",6140:"3c9b84d4",6253:"1c75ee93",6294:"496ade5b",6357:"da66a0da",6495:"4071f460",6585:"01978749",6689:"cd1047b0",6730:"fe9c850a",6776:"978c8415",6780:"35cedf78",6827:"bf5f8413",6862:"a1be21d5",6920:"ffc422fe",6945:"96d36007",6946:"492ebfbd",7061:"71c0388c",7202:"c213cf29",7211:"14200b43",7280:"d2eb2404",7288:"d58d933c",7368:"faca6adb",7388:"36737a94",7466:"0c21b184",7485:"7259b166",7633:"61a31c5b",7654:"594725d6",7683:"3c31e6ee",7745:"946d7ac7",7799:"9ac89a68",7837:"62e93e93",7908:"8bdb7670",7918:"bf824a69",7920:"6fd4704f",7940:"102e6877",7961:"94328495",8067:"8e22b0e3",8080:"9ab65335",8138:"75b07c74",8139:"a7113e67",8236:"adc9f428",8270:"6539b400",8355:"72e8005d",8361:"cda72e1e",8618:"e62d0629",8702:"138ea571",8791:"22a61531",8831:"e7dbe41c",8860:"5c0ca221",8894:"ba661129",8901:"3e914279",9062:"b7c69db4",9071:"ba20dde3",9217:"c330134f",9226:"d61d9a33",9247:"365b66f5",9323:"56bd8d30",9447:"cd4df001",9478:"63255098",9514:"1abd7d12",9548:"7ddd5b5a",9764:"4d07ff02",9802:"ba9d6510",9806:"54c2c043"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),c={},r.l=(e,f,a,d)=>{if(c[e])c[e].push(f);else{var b,t;if(void 0!==a)for(var o=document.getElementsByTagName("script"),n=0;n{b.onerror=b.onload=null,clearTimeout(u);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(a))),f)return f(a)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),t&&document.head.appendChild(b)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"7918","408829bd":"6","935f2afb":"53",f189ca9f:"192",f2717f8e:"250","9528ac88":"315","2d429218":"502","3829cf1d":"537","0c06bca3":"601",d569989b:"609","79d4be33":"626","386bfe51":"657","145746f5":"691","23498fd5":"810",f90fa732:"1062",cfd53ea4:"1090","25f2bd2a":"1213",f359a251:"1239",fabebe44:"1288","74df6a22":"1299",b61f6dc7:"1372","4d76887f":"1415",f750c690:"1419","4dff184a":"1481","8dd7cee0":"1486",b21dd8a7:"1494",c977dfe8:"1506",ffe9c3c9:"1529","7fbac68a":"1598",a5002e4a:"1703","0df78d26":"1723","987d08ef":"1748",d9ef69a7:"1786",df154d69:"1957",f47489cd:"1966","4f031749":"2008",dd32e389:"2042","84f79495":"2078","21877fa5":"2117",ecb495b7:"2136","1646726c":"2169","6151e7ce":"2194",f3027c84:"2242",da9f79cb:"2248","493c7fdf":"2354",d6d2b2d5:"2483","9a101178":"2505","7c78c461":"2507",f4130007:"2665",ece9fdae:"2677",f3bde756:"2704",c2c6a3a6:"2712","78868b16":"2754","9e3f6a8a":"2758","7d54ab5a":"2791","5d69d9d4":"2884",f4200fe5:"2909","2be0d940":"2914","2ea50c63":"2949","85afe03a":"3132","8a8a7d05":"3262","41b7b3e8":"3513","21899dd2":"3599",f137ce68:"3620",b0cbc1d4:"3667",dbbd9e76:"3669",bea375d6:"3757",ff6596ea:"3842",cda87995:"3933",fac80962:"3944",ec3b6a32:"4004",eef3f1dd:"4097",c4f5d8e4:"4195","19ed4d4c":"4355",f2c21b54:"4363","991ceaa9":"4428","4d9b9869":"4445",f4003c83:"4476",a7b37b86:"4507","1ae2b102":"4537","3e56470e":"4541","9ebc4c9a":"4577","48d75399":"4620","54338ffb":"4634",f41c4e9d:"4666","43ee4f22":"4672","346ef9e6":"4860",f0855ff9:"4909",c1bbdb2a:"4916","320c8a05":"5005",c41801b5:"5013",d27ae88d:"5157",b3719d54:"5422",f7acb151:"5483","0c68fb82":"5526","9e2042f5":"5651",c7c5ba1a:"6104","32e8da05":"6140",a29dc56e:"6253",bbba852d:"6294","43cda9e8":"6357","13b7bafa":"6585",f2521980:"6689",fea93377:"6730","666ba125":"6776","279fb1d6":"6827","60e73337":"6862",ccc1222e:"6920","4642ab5c":"6946",feea648c:"7061","4a8eb552":"7202",f44ed8f8:"7211",fbea1897:"7280","6f1a81b8":"7288",bb8b1738:"7368",bd701914:"7388",a5b3561d:"7466",d3db551a:"7485",b940de31:"7633",c07c2447:"7654",cc44e8fd:"7683","9129da9e":"7745","8b670b2b":"7799","0a3f0c9b":"7837","33bbe353":"7908","1a4e3797":"7920",ad762f86:"7940",a2800a5b:"7961","69b97ecd":"8067","77a2b809":"8080","694672cd":"8138","386099fc":"8139",ffd76171:"8236","12331e8b":"8270",c91a9c06:"8355","824749c6":"8361",e4f3654b:"8618",a74a59a0:"8702",ab138bf8:"8791","3bd77df4":"8831","766a10e1":"8860",b48c599b:"8901",b38833d4:"9062","60738e36":"9071","64c7e1cc":"9217","2f3b630e":"9226","8167490d":"9247","131c7f55":"9323",c7a2145e:"9478","1be78505":"9514",f95cee6f:"9548",dc776cbc:"9764","1e15616a":"9802","51fbc2c9":"9806"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(f,a)=>{var c=r.o(e,f)?e[f]:void 0;if(0!==c)if(c)a.push(c[2]);else if(/^(1303|532)$/.test(f))e[f]=0;else{var d=new Promise(((a,d)=>c=e[f]=[a,d]));a.push(c[2]=d);var b=r.p+r.u(f),t=new Error;r.l(b,(a=>{if(r.o(e,f)&&(0!==(c=e[f])&&(e[f]=void 0),c)){var d=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;t.message="Loading chunk "+f+" failed.\n("+d+": "+b+")",t.name="ChunkLoadError",t.type=d,t.request=b,c[1](t)}}),"chunk-"+f,f)}},r.O.j=f=>0===e[f];var f=(f,a)=>{var c,d,[b,t,o]=a,n=0;if(b.some((f=>0!==e[f]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(f&&f(a);n{"use strict";var e,f,a,d,c={},b={};function r(e){var f=b[e];if(void 0!==f)return f.exports;var a=b[e]={id:e,loaded:!1,exports:{}};return c[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=c,r.c=b,e=[],r.O=(f,a,d,c)=>{if(!a){var b=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](a[o])))?a.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[a,d,c]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};f=f||[null,a({}),a([]),a(a)];for(var t=2&d&&e;"object"==typeof t&&!~f.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach((f=>b[f]=()=>e[f]));return b.default=()=>e,r.d(c,b),c},r.d=(e,f)=>{for(var a in f)r.o(f,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((f,a)=>(r.f[a](e,f),f)),[])),r.u=e=>"assets/js/"+({6:"408829bd",53:"935f2afb",192:"f189ca9f",250:"f2717f8e",315:"9528ac88",502:"2d429218",537:"3829cf1d",601:"0c06bca3",609:"d569989b",626:"79d4be33",657:"386bfe51",691:"145746f5",810:"23498fd5",1062:"f90fa732",1090:"cfd53ea4",1213:"25f2bd2a",1239:"f359a251",1288:"fabebe44",1299:"74df6a22",1372:"b61f6dc7",1415:"4d76887f",1419:"f750c690",1481:"4dff184a",1486:"8dd7cee0",1494:"b21dd8a7",1506:"c977dfe8",1529:"ffe9c3c9",1598:"7fbac68a",1703:"a5002e4a",1723:"0df78d26",1748:"987d08ef",1786:"d9ef69a7",1957:"df154d69",1966:"f47489cd",2008:"4f031749",2042:"dd32e389",2078:"84f79495",2117:"21877fa5",2136:"ecb495b7",2169:"1646726c",2194:"6151e7ce",2242:"f3027c84",2248:"da9f79cb",2354:"493c7fdf",2483:"d6d2b2d5",2505:"9a101178",2507:"7c78c461",2665:"f4130007",2677:"ece9fdae",2704:"f3bde756",2712:"c2c6a3a6",2754:"78868b16",2758:"9e3f6a8a",2791:"7d54ab5a",2884:"5d69d9d4",2909:"f4200fe5",2914:"2be0d940",2949:"2ea50c63",3132:"85afe03a",3262:"8a8a7d05",3513:"41b7b3e8",3599:"21899dd2",3620:"f137ce68",3667:"b0cbc1d4",3669:"dbbd9e76",3757:"bea375d6",3842:"ff6596ea",3933:"cda87995",3944:"fac80962",4004:"ec3b6a32",4097:"eef3f1dd",4195:"c4f5d8e4",4355:"19ed4d4c",4363:"f2c21b54",4428:"991ceaa9",4445:"4d9b9869",4476:"f4003c83",4507:"a7b37b86",4537:"1ae2b102",4541:"3e56470e",4577:"9ebc4c9a",4620:"48d75399",4634:"54338ffb",4666:"f41c4e9d",4672:"43ee4f22",4860:"346ef9e6",4909:"f0855ff9",4916:"c1bbdb2a",5005:"320c8a05",5013:"c41801b5",5157:"d27ae88d",5422:"b3719d54",5483:"f7acb151",5526:"0c68fb82",5651:"9e2042f5",6104:"c7c5ba1a",6140:"32e8da05",6253:"a29dc56e",6294:"bbba852d",6357:"43cda9e8",6585:"13b7bafa",6689:"f2521980",6730:"fea93377",6776:"666ba125",6827:"279fb1d6",6862:"60e73337",6920:"ccc1222e",6946:"4642ab5c",7061:"feea648c",7202:"4a8eb552",7211:"f44ed8f8",7280:"fbea1897",7288:"6f1a81b8",7368:"bb8b1738",7388:"bd701914",7466:"a5b3561d",7485:"d3db551a",7633:"b940de31",7654:"c07c2447",7683:"cc44e8fd",7745:"9129da9e",7799:"8b670b2b",7837:"0a3f0c9b",7908:"33bbe353",7918:"17896441",7920:"1a4e3797",7940:"ad762f86",7961:"a2800a5b",8067:"69b97ecd",8080:"77a2b809",8138:"694672cd",8139:"386099fc",8236:"ffd76171",8270:"12331e8b",8355:"c91a9c06",8361:"824749c6",8618:"e4f3654b",8702:"a74a59a0",8791:"ab138bf8",8831:"3bd77df4",8860:"766a10e1",8901:"b48c599b",9062:"b38833d4",9071:"60738e36",9217:"64c7e1cc",9226:"2f3b630e",9247:"8167490d",9323:"131c7f55",9478:"c7a2145e",9514:"1be78505",9548:"f95cee6f",9764:"dc776cbc",9802:"1e15616a",9806:"51fbc2c9"}[e]||e)+"."+{6:"d05e5729",53:"f6b627a2",192:"1cae3a1b",250:"016e6307",315:"50c36aa2",502:"91becb77",537:"973cf70e",601:"64bc4973",609:"012adafb",626:"74933ba6",657:"e69de0d2",691:"1a067431",810:"6fb323e7",1062:"74dd695d",1090:"925d00c8",1213:"6a98185b",1239:"09937971",1288:"77019097",1299:"4e5c60a5",1372:"8eac1f68",1415:"9e1bf21b",1419:"92c8eaff",1481:"551b5b89",1486:"945c1698",1494:"77491e10",1506:"3f5fb1c7",1529:"82d2b972",1598:"865c323b",1703:"ac9e220c",1723:"e1d070ef",1748:"a4f2b17d",1786:"9b22fae3",1957:"f6f4ce3c",1966:"1374e8ac",2008:"9b472f5e",2042:"ec23e51b",2078:"9c685a9d",2117:"88a445a4",2136:"cf18d27f",2169:"0959b964",2194:"44debed9",2242:"a17b5612",2248:"602f7d45",2354:"8e07caba",2483:"cef8759b",2505:"1acd9ffd",2507:"6b6813f8",2665:"329833d7",2677:"2203e895",2704:"9db3903d",2712:"a967f819",2754:"d41c76df",2758:"0686f8f4",2791:"525759e3",2859:"0e95b965",2884:"21726cd8",2909:"6491f608",2914:"bd615dd7",2949:"411b5a4b",3132:"9677a60a",3262:"438390d4",3513:"11874f42",3599:"a39f0f54",3620:"0202b292",3667:"60542d29",3669:"605bdfcf",3757:"a15dbe0b",3842:"206bd9f8",3933:"d98a2d86",3944:"6c8917e0",4004:"35025386",4097:"4f0041c0",4195:"ed3277a4",4355:"9ffb1a31",4363:"0ce780c9",4428:"50239959",4445:"1120f545",4476:"be8190b6",4507:"b89065bb",4537:"4bd0623a",4541:"4baf9fbc",4577:"e82df813",4620:"93aa20ed",4634:"2d5a83c8",4666:"69fc2b37",4672:"e3e2f4db",4860:"dbd9de91",4909:"4468613e",4916:"9d01b902",4972:"d0d52519",5005:"814be5b6",5013:"0adca969",5157:"3b935aa9",5422:"1f833ec2",5483:"bf46af0c",5526:"365c74bd",5651:"949bc63f",6104:"5479be55",6140:"3c9b84d4",6253:"1c75ee93",6294:"496ade5b",6357:"da66a0da",6495:"4071f460",6585:"01978749",6689:"cd1047b0",6730:"fe9c850a",6776:"978c8415",6780:"35cedf78",6827:"bf5f8413",6862:"a1be21d5",6920:"ffc422fe",6945:"96d36007",6946:"492ebfbd",7061:"71c0388c",7202:"c213cf29",7211:"14200b43",7280:"d2eb2404",7288:"d58d933c",7368:"faca6adb",7388:"36737a94",7466:"0c21b184",7485:"7259b166",7633:"61a31c5b",7654:"594725d6",7683:"3c31e6ee",7745:"946d7ac7",7799:"9ac89a68",7837:"62e93e93",7908:"8bdb7670",7918:"bf824a69",7920:"6fd4704f",7940:"102e6877",7961:"94328495",8067:"8e22b0e3",8080:"9ab65335",8138:"75b07c74",8139:"a7113e67",8236:"adc9f428",8270:"6539b400",8355:"72e8005d",8361:"cda72e1e",8618:"e62d0629",8702:"138ea571",8791:"22a61531",8831:"e7dbe41c",8860:"5c0ca221",8894:"ba661129",8901:"3e914279",9062:"b7c69db4",9071:"ba20dde3",9217:"c330134f",9226:"d61d9a33",9247:"365b66f5",9323:"56bd8d30",9447:"4797b942",9478:"63255098",9514:"1abd7d12",9548:"7ddd5b5a",9764:"4d07ff02",9802:"ba9d6510",9806:"54c2c043"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),d={},r.l=(e,f,a,c)=>{if(d[e])d[e].push(f);else{var b,t;if(void 0!==a)for(var o=document.getElementsByTagName("script"),n=0;n{b.onerror=b.onload=null,clearTimeout(u);var c=d[e];if(delete d[e],b.parentNode&&b.parentNode.removeChild(b),c&&c.forEach((e=>e(a))),f)return f(a)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),t&&document.head.appendChild(b)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={17896441:"7918","408829bd":"6","935f2afb":"53",f189ca9f:"192",f2717f8e:"250","9528ac88":"315","2d429218":"502","3829cf1d":"537","0c06bca3":"601",d569989b:"609","79d4be33":"626","386bfe51":"657","145746f5":"691","23498fd5":"810",f90fa732:"1062",cfd53ea4:"1090","25f2bd2a":"1213",f359a251:"1239",fabebe44:"1288","74df6a22":"1299",b61f6dc7:"1372","4d76887f":"1415",f750c690:"1419","4dff184a":"1481","8dd7cee0":"1486",b21dd8a7:"1494",c977dfe8:"1506",ffe9c3c9:"1529","7fbac68a":"1598",a5002e4a:"1703","0df78d26":"1723","987d08ef":"1748",d9ef69a7:"1786",df154d69:"1957",f47489cd:"1966","4f031749":"2008",dd32e389:"2042","84f79495":"2078","21877fa5":"2117",ecb495b7:"2136","1646726c":"2169","6151e7ce":"2194",f3027c84:"2242",da9f79cb:"2248","493c7fdf":"2354",d6d2b2d5:"2483","9a101178":"2505","7c78c461":"2507",f4130007:"2665",ece9fdae:"2677",f3bde756:"2704",c2c6a3a6:"2712","78868b16":"2754","9e3f6a8a":"2758","7d54ab5a":"2791","5d69d9d4":"2884",f4200fe5:"2909","2be0d940":"2914","2ea50c63":"2949","85afe03a":"3132","8a8a7d05":"3262","41b7b3e8":"3513","21899dd2":"3599",f137ce68:"3620",b0cbc1d4:"3667",dbbd9e76:"3669",bea375d6:"3757",ff6596ea:"3842",cda87995:"3933",fac80962:"3944",ec3b6a32:"4004",eef3f1dd:"4097",c4f5d8e4:"4195","19ed4d4c":"4355",f2c21b54:"4363","991ceaa9":"4428","4d9b9869":"4445",f4003c83:"4476",a7b37b86:"4507","1ae2b102":"4537","3e56470e":"4541","9ebc4c9a":"4577","48d75399":"4620","54338ffb":"4634",f41c4e9d:"4666","43ee4f22":"4672","346ef9e6":"4860",f0855ff9:"4909",c1bbdb2a:"4916","320c8a05":"5005",c41801b5:"5013",d27ae88d:"5157",b3719d54:"5422",f7acb151:"5483","0c68fb82":"5526","9e2042f5":"5651",c7c5ba1a:"6104","32e8da05":"6140",a29dc56e:"6253",bbba852d:"6294","43cda9e8":"6357","13b7bafa":"6585",f2521980:"6689",fea93377:"6730","666ba125":"6776","279fb1d6":"6827","60e73337":"6862",ccc1222e:"6920","4642ab5c":"6946",feea648c:"7061","4a8eb552":"7202",f44ed8f8:"7211",fbea1897:"7280","6f1a81b8":"7288",bb8b1738:"7368",bd701914:"7388",a5b3561d:"7466",d3db551a:"7485",b940de31:"7633",c07c2447:"7654",cc44e8fd:"7683","9129da9e":"7745","8b670b2b":"7799","0a3f0c9b":"7837","33bbe353":"7908","1a4e3797":"7920",ad762f86:"7940",a2800a5b:"7961","69b97ecd":"8067","77a2b809":"8080","694672cd":"8138","386099fc":"8139",ffd76171:"8236","12331e8b":"8270",c91a9c06:"8355","824749c6":"8361",e4f3654b:"8618",a74a59a0:"8702",ab138bf8:"8791","3bd77df4":"8831","766a10e1":"8860",b48c599b:"8901",b38833d4:"9062","60738e36":"9071","64c7e1cc":"9217","2f3b630e":"9226","8167490d":"9247","131c7f55":"9323",c7a2145e:"9478","1be78505":"9514",f95cee6f:"9548",dc776cbc:"9764","1e15616a":"9802","51fbc2c9":"9806"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(f,a)=>{var d=r.o(e,f)?e[f]:void 0;if(0!==d)if(d)a.push(d[2]);else if(/^(1303|532)$/.test(f))e[f]=0;else{var c=new Promise(((a,c)=>d=e[f]=[a,c]));a.push(d[2]=c);var b=r.p+r.u(f),t=new Error;r.l(b,(a=>{if(r.o(e,f)&&(0!==(d=e[f])&&(e[f]=void 0),d)){var c=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;t.message="Loading chunk "+f+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,d[1](t)}}),"chunk-"+f,f)}},r.O.j=f=>0===e[f];var f=(f,a)=>{var d,c,[b,t,o]=a,n=0;if(b.some((f=>0!==e[f]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(f&&f(a);n - + @@ -26,7 +26,7 @@ core team members, and gain access to Polkadot events.

There are many ways you can get involved in expanding Polkadot’s ecosystem, such as:

  • Contributing code and documentation related to the ecosystem
  • Speaking about Polkadot at events, workshops, and meetups
  • Writing blog posts
  • Representing Polkadot in your region
  • Mentoring and onboarding newcomers
  • Identifying partnerships and opportunities for the Polkadot ecosystem
  • Participating in calls and tasks that help drive the ecosystem forward

How to apply:

To become a Polkadot Ambassador, please fill out your application here.

Find out more about the programme and how to join here.

- + \ No newline at end of file diff --git a/docs/bug-bounty/index.html b/docs/bug-bounty/index.html index 0f2c20cddd..f2d7ba9d54 100644 --- a/docs/bug-bounty/index.html +++ b/docs/bug-bounty/index.html @@ -15,7 +15,7 @@ - + @@ -39,7 +39,7 @@ not to be disruptive or harmful to our users or us. Otherwise, your actions might be interpreted as an attack rather than an effort to be helpful.

How to report a bug

Please follow the instructions at web3.foundation/security-report/.

- + \ No newline at end of file diff --git a/docs/build-data/index.html b/docs/build-data/index.html index 69a93105c3..13b879ad01 100644 --- a/docs/build-data/index.html +++ b/docs/build-data/index.html @@ -15,7 +15,7 @@ - + @@ -43,7 +43,7 @@ recorded in smart contracts that are often not accessible.

Polkadot-based Explorers

As you can imagine, blockchain explorers also offer data analytics through an interface where users can examine common data points.

Some block explorers in the Polkadot ecosystem are listed on the tools page.

- + \ No newline at end of file diff --git a/docs/build-guide/index.html b/docs/build-guide/index.html index 1de849edc2..24d2f33296 100644 --- a/docs/build-guide/index.html +++ b/docs/build-guide/index.html @@ -15,7 +15,7 @@ - + @@ -136,7 +136,7 @@ ecosystem contains various SDKs to tap into the relay chain and parachains.

For front-end applications, several options exist for interfacing with Substrate-based chains (parachains, relay chains, etc.) and smart contracts. These often will interact with the RPC of a Substrate node:

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata. Full documentation & examples available.

For a full list of tools please take a look here: Tools, APIs and Languages

- + \ No newline at end of file diff --git a/docs/build-hackathon/index.html b/docs/build-hackathon/index.html index 36b0a76f43..9ebb8dee12 100644 --- a/docs/build-hackathon/index.html +++ b/docs/build-hackathon/index.html @@ -15,7 +15,7 @@ - + @@ -42,7 +42,7 @@ that can be a feature of you hackathon or suggested prerequisite for those joining to use.

Support / Contact

If you have any questions regarding organizing a hackathon, please free feel to contact us by email or ask us via Element chat.

- + \ No newline at end of file diff --git a/docs/build-hrmp-channels/index.html b/docs/build-hrmp-channels/index.html index 1958e61cb2..5e14540431 100644 --- a/docs/build-hrmp-channels/index.html +++ b/docs/build-hrmp-channels/index.html @@ -15,7 +15,7 @@ - + @@ -55,7 +55,7 @@ encourage the community to vote on this, highlighting the benefits for your chain, use cases enabled with this submission, among other things. After the enactment period is over, both chains will authorize the channel.

- + \ No newline at end of file diff --git a/docs/build-index/index.html b/docs/build-index/index.html index b9b58842a5..9717196147 100644 --- a/docs/build-index/index.html +++ b/docs/build-index/index.html @@ -15,7 +15,7 @@ - + @@ -36,7 +36,7 @@ are building.

Grants

  • Grants - Information regarding grants and funding sources available in the Kusama ecosystem.

PSPs

Polkadot Standards Proposals (PSPs) are standards for the Polkadot ecosystem.

Hackathon

- + \ No newline at end of file diff --git a/docs/build-integrate-assets/index.html b/docs/build-integrate-assets/index.html index 58f094ea57..5b25f3c129 100644 --- a/docs/build-integrate-assets/index.html +++ b/docs/build-integrate-assets/index.html @@ -15,7 +15,7 @@ - + @@ -69,7 +69,7 @@ constructing parachain transactions, you can use txwrapper-polkadot exactly as on the Relay Chain, but would construct transactions with the appropriate parachain metadata like genesis hash, spec version, and type registry.

- + \ No newline at end of file diff --git a/docs/build-integration/index.html b/docs/build-integration/index.html index 6a65d872e0..8eefeadbd8 100644 --- a/docs/build-integration/index.html +++ b/docs/build-integration/index.html @@ -15,7 +15,7 @@ - + @@ -38,7 +38,7 @@ transactions. Parity and Web3 Foundation will be able to provide the best support if you use these tools.

If your team would like support, join some of our community channels or contact support@polkadot.network.

- + \ No newline at end of file diff --git a/docs/build-node-interaction/index.html b/docs/build-node-interaction/index.html index d198956891..d1270e1e59 100644 --- a/docs/build-node-interaction/index.html +++ b/docs/build-node-interaction/index.html @@ -15,7 +15,7 @@ - + @@ -53,7 +53,7 @@ block by the block author.

{
"number":"7409038",
"hash":"0x0e9610f3c89fac046ef83aa625ad414d5403031faa026b7ab2a918184e389968",
"parentHash":"0xba308541eb207bc639f36d392706309a031c21622f883fb07411060389c5ffdd",
"stateRoot":"0x4426383b64a944ad7222a4019aefd558c749da0c6920cfcdfd587741d54abbe2",
"extrinsicsRoot":"0x74749e5f5aeb610bc23fd6d8d79fd8bbf5e4b6053f70ba94ea6b3cc271df4b3a",
"authorId":"Fvvz6Ej1D5ZR5ZTK1vE1dCjBvkbxE1VncptEtmFaecXe4PF",
"logs":[
{
"type":"PreRuntime",
"index":"6",
"value":[
"BABE",
"0x023a0200009c7d191000000000"
]
},
{
"type":"Seal",
"index":"5",
"value":[
"BABE",
"0x2296a50fa4fea3a46a95ad5b1f09de76d22c6ed3dc6755718c976e2d14c63e4dd3c6257813d9bdc03bb180b1e20393f1558ae1204982e5c7570df393e11f908b"
]
}
],
"onInitialize":{
"events":[

]
},
"extrinsics":[
{
"method":{
"pallet":"timestamp",
"method":"set"
},
"signature":null,
"nonce":null,
"args":{
"now":"1620636072000"
},
"tip":null,
"hash":"0x8b853f49b6543e4fcbc796ad3574ea5601d2869d80629e080e501da4cb7b74b4",
"info":{

},
"events":[
{
"method":{
"pallet":"system",
"method":"ExtrinsicSuccess"
},
"data":[
{
"weight":"185253000",
"class":"Mandatory",
"paysFee":"Yes"
}
]
}
],
"success":true,
"paysFee":false
},
{
"method":{
"pallet":"balances",
"method":"transfer"
},
"signature":{
"signature":"0x94b63112648e8e692f0076fa1ccab3a04510c269d1392c1df2560503865e144e3afd578f1e37e98063b64b98a77a89a9cdc8ade579dcac0984e78d90646a052001",
"signer":{
"id":"Gr5sBB1EgdmQ7FG3Ud2BdECWQTMDXNgGPfdHMMtDsmT4Dj3"
}
},
"nonce":"12",
"args":{
"dest":{
"id":"J6ksma2jVeHRcRoYPZBkJRzRbckys7oSmgvjKLrVbj1U8bE"
},
"value":"100000000"
},
"tip":"0",
"hash":"0xfbc5e5de75d64abe5aa3ee9272a3112b3ce53710664f6f2b9416b2ffda8799c2",
"info":{
"weight":"201217000",
"class":"Normal",
"partialFee":"2583332634"
},
"events":[
{
"method":{
"pallet":"balances",
"method":"Transfer"
},
"data":[
"Gr5sBB1EgdmQ7FG3Ud2BdECWQTMDXNgGPfdHMMtDsmT4Dj3",
"J6ksma2jVeHRcRoYPZBkJRzRbckys7oSmgvjKLrVbj1U8bE",
"100000000"
]
},
{
"method":{
"pallet":"balances",
"method":"Deposit"
},
"data":[
"Fvvz6Ej1D5ZR5ZTK1vE1dCjBvkbxE1VncptEtmFaecXe4PF",
"2583332634"
]
},
{
"method":{
"pallet":"system",
"method":"ExtrinsicSuccess"
},
"data":[
{
"weight":"201217000",
"class":"Normal",
"paysFee":"Yes"
}
]
}
],
"success":true,
"paysFee":true
},
{
"method":{
"pallet":"utility",
"method":"batch"
},
"signature":{
"signature":"0x8aa2fc3f0cff52533745679523705720cff42d0e7258b9797feed193deb0ca73474726e148af0a0b096d44c07f20e5292819ec92279cffb2897e95cc337e638e",
"signer":{
"id":"F4gmSZGiM9pMYPsKW7xnGktDr4zRmN2jqy5Ze678y9YWR7F"
}
},
"nonce":"687",
"args":{
"calls":[
{
"method":{
"pallet":"staking",
"method":"payoutStakers"
},
"args":{
"validator_stash":"Cfish3zJiFnTvR9jscCap7imeA9ep3cH1wZfcZwAp2gdZHo",
"era":"2229"
}
},
{
"method":{
"pallet":"staking",
"method":"payoutStakers"
},
"args":{
"validator_stash":"Cfish3zJiFnTvR9jscCap7imeA9ep3cH1wZfcZwAp2gdZHo",
"era":"2230"
}
},
{
"method":{
"pallet":"staking",
"method":"payoutStakers"
},
"args":{
"validator_stash":"Cfish3zJiFnTvR9jscCap7imeA9ep3cH1wZfcZwAp2gdZHo",
"era":"2231"
}
},
{
"method":{
"pallet":"staking",
"method":"payoutStakers"
},
"args":{
"validator_stash":"DifishR4auphofhzxsy2aupgYo4NaUECH7qgt71CgiB2o6P",
"era":"2231"
}
},
{
"method":{
"pallet":"staking",
"method":"payoutStakers"
},
"args":{
"validator_stash":"J1fishfH94nFZLNScHgC2HorWpFD2xdPxd96wtTCHLvKxfa",
"era":"2231"
}
}
]
},
"tip":"0",
"hash":"0x69171ec3f4e5e4dfd27f4d1c5b5dbc884932c5d9a078c84495bb7ab875c8785f",
"info":{
"weight":"629782467000",
"class":"Normal",
"partialFee":"5150837715"
},
"events":[
{
"method":{
"pallet":"staking",
"method":"Reward"
},
"data":[
"Cfish3zJiFnTvR9jscCap7imeA9ep3cH1wZfcZwAp2gdZHo",
"40730624074"
]
},
{
"method":{
"pallet":"staking",
"method":"Reward"
},
"data":[
"FhLcXuFkTwyc3o9K82VBahpain1YHWyGeNMDTTyeDJKfm5b",
"4296071738"
]
},
{
"method":{
"pallet":"staking",
"method":"Reward"
},
"data":[
"F1NyXFUayqmVMdjNK45hcaTCE3JiqdU83sEGhQ3HQXn2Rpq",
"1770904403"
]
},

// ...

{
"method":{
"pallet":"utility",
"method":"BatchCompleted"
},
"data":[

]
},
{
"method":{
"pallet":"balances",
"method":"Deposit"
},
"data":[
"Fvvz6Ej1D5ZR5ZTK1vE1dCjBvkbxE1VncptEtmFaecXe4PF",
"5150837715"
]
},
{
"method":{
"pallet":"system",
"method":"ExtrinsicSuccess"
},
"data":[
{
"weight":"629782467000",
"class":"Normal",
"paysFee":"Yes"
}
]
}
],
"success":true,
"paysFee":true
}
],
"onFinalize":{
"events":[

]
},
"finalized":true
}
The JS number type is a 53 bit precision float

There is no guarantee that the numerical values in the response will have a numerical type. Any numbers larger than 2**53-1 will have a string type.

Submitting a Transaction

Submit a serialized transaction using the transaction endpoint with an HTTP POST request.

import requests
import json

url = 'http://127.0.0.1:8080/transaction/'
tx_headers = {'Content-type' : 'application/json', 'Accept' : 'text/plain'}
response = requests.post(
url,
data='{"tx": "0xed0...000"}', # A serialized tx.
headers=tx_headers
)
tx_response = json.loads(response.text)

If successful, this endpoint returns a JSON with the transaction hash. In case of error, it will return an error report, e.g.:

{
"error": "Failed to parse a tx" | "Failed to submit a tx",
"cause": "Upstream error description"
}
- + \ No newline at end of file diff --git a/docs/build-node-management/index.html b/docs/build-node-management/index.html index 008ea7f8d9..307afe2b4b 100644 --- a/docs/build-node-management/index.html +++ b/docs/build-node-management/index.html @@ -15,7 +15,7 @@ - + @@ -64,7 +64,7 @@ has a monitor node metrics tutorial which uses this endpoint.

- + \ No newline at end of file diff --git a/docs/build-open-source/index.html b/docs/build-open-source/index.html index fa8ce20f1e..8f923eceab 100644 --- a/docs/build-open-source/index.html +++ b/docs/build-open-source/index.html @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ the tech stack.

❗ All technologies listed above need to be open-source. Ideally, the links lead directly to the code.

Note: You will need a GitHub account to suggest changes or open issues. If you do not have one, you may sign up for free.

- + \ No newline at end of file diff --git a/docs/build-oracle/index.html b/docs/build-oracle/index.html index f856948d53..c9a8fc4d50 100644 --- a/docs/build-oracle/index.html +++ b/docs/build-oracle/index.html @@ -15,7 +15,7 @@ - + @@ -45,7 +45,7 @@ Kusama ecosystem develops and oracle parachains begin to appear, this article will be updated with a comparison of the different solutions and the benefits and drawbacks that each provide.

- + \ No newline at end of file diff --git a/docs/build-pdk/index.html b/docs/build-pdk/index.html index dca494d959..0d0e5f73b3 100644 --- a/docs/build-pdk/index.html +++ b/docs/build-pdk/index.html @@ -15,7 +15,7 @@ - + @@ -185,7 +185,7 @@ transition into a Relay Chain.

For more information on how parathread per-block auctions work, see the more detailed parathread page.

Resources

- + \ No newline at end of file diff --git a/docs/build-protocol-info/index.html b/docs/build-protocol-info/index.html index d3043830f3..38959e100a 100644 --- a/docs/build-protocol-info/index.html +++ b/docs/build-protocol-info/index.html @@ -15,7 +15,7 @@ - + @@ -161,7 +161,7 @@ to cancel a runtime upgrade. Using a finalized depth of ten blocks should be safe.

Note that block production and finality are isolated processes in Polkadot, and the chain can have a long unfinalized head.

Do users need to interact with any smart contracts?

No, users interact directly with the chain's logic.

Does Polkadot have state rent?

No, Polkadot uses the existential deposit to prevent dust accounts and other economic mechanisms like locking or reserving tokens for operations that utilize state.

What is an external source to see the current chain height?

- + \ No newline at end of file diff --git a/docs/build-smart-contracts/index.html b/docs/build-smart-contracts/index.html index 25605558d5..9576afba18 100644 --- a/docs/build-smart-contracts/index.html +++ b/docs/build-smart-contracts/index.html @@ -15,7 +15,7 @@ - + @@ -139,7 +139,7 @@ Substrate and Polkadot StackExchange to ask their questions. As always, keep up to date with Polkadot and Kusama by following the social channels.

- + \ No newline at end of file diff --git a/docs/build-ss58-registry/index.html b/docs/build-ss58-registry/index.html index 1896b98ead..348d4f8d99 100644 --- a/docs/build-ss58-registry/index.html +++ b/docs/build-ss58-registry/index.html @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@

SS58 Registry

Substrate-based chains use an SS58 encoding for their address formats.

Please see the SS58 registry to see which chain corresponds to a given prefix, and which prefixes are available.

- + \ No newline at end of file diff --git a/docs/build-storage/index.html b/docs/build-storage/index.html index 0aa20d2cfc..f56abeff7b 100644 --- a/docs/build-storage/index.html +++ b/docs/build-storage/index.html @@ -15,7 +15,7 @@ - + @@ -55,7 +55,7 @@ directory info will not be visible if you switch to a new browser or clear the browser cache. The storage module allows you to export file directory info from the current browser and import it to the new browser.

manage file dir

note

These above images are taken from this pull request

- + \ No newline at end of file diff --git a/docs/build-substrate/index.html b/docs/build-substrate/index.html index d2986fa1ef..9c3b6bd8eb 100644 --- a/docs/build-substrate/index.html +++ b/docs/build-substrate/index.html @@ -15,7 +15,7 @@ - + @@ -50,7 +50,7 @@ end-users to interact with applications connected to multiple blockchains or connect their own blockchains to applications that support it.

note

Substrate Connect will auto-detect whether a user is using the extension. If not, the Wasm light client will be created in-page for them.

Resources

- + \ No newline at end of file diff --git a/docs/build-tools-index/index.html b/docs/build-tools-index/index.html index f4518c9df1..6366ced8f0 100644 --- a/docs/build-tools-index/index.html +++ b/docs/build-tools-index/index.html @@ -15,7 +15,7 @@ - + @@ -100,7 +100,7 @@ Squid Archive Registry
  • Polka-store - A tool which scans a Substrate chain and stores balance-relevant transactions in an SQLite database.
  • Substrate-graph - A compact indexer for Substrate based nodes providing a GraphQL interface.
  • - + \ No newline at end of file diff --git a/docs/build-transaction-construction/index.html b/docs/build-transaction-construction/index.html index 0877804b3a..2ee939a4ce 100644 --- a/docs/build-transaction-construction/index.html +++ b/docs/build-transaction-construction/index.html @@ -15,7 +15,7 @@ - + @@ -55,7 +55,7 @@ author_submitAndWatchExtrinsic, the latter of which will subscribe you to events to be notified as a transaction gets validated and included in the chain.

    Notes

    Some addresses to use in the examples. See Subkey documentation.

    $ subkey --network polkadot generate
    Secret phrase `pulp gaze fuel ... mercy inherit equal` is account:
    Secret seed: 0x57450b3e09ba4598 ... ... ... ... ... ... ... .. 219756eeba80bb16
    Public key (hex): 0x2ca17d26ca376087dc30ed52deb74bf0f64aca96fe78b05ec3e720a72adb1235
    Account ID: 0x2ca17d26ca376087dc30ed52deb74bf0f64aca96fe78b05ec3e720a72adb1235
    SS58 Address: 121X5bEgTZcGQx5NZjwuTjqqKoiG8B2wEAvrUFjuw24ZGZf2

    $ subkey --network polkadot generate
    Secret phrase `exercise auction soft ... obey control easily` is account:
    Secret seed: 0x5f4bbb9fbb69261a ... ... ... ... ... ... ... .. 4691ed7d1130fbbd
    Public key (hex): 0xda04de6cd781c98acf0693dfb97c11011938ad22fcc476ed0089ac5aec3fe243
    Account ID: 0xda04de6cd781c98acf0693dfb97c11011938ad22fcc476ed0089ac5aec3fe243
    SS58 Address: 15vrtLsCQFG3qRYUcaEeeEih4JwepocNJHkpsrqojqnZPc2y
    - + \ No newline at end of file diff --git a/docs/builders-program/index.html b/docs/builders-program/index.html index c4c6d453c7..0c068aedb5 100644 --- a/docs/builders-program/index.html +++ b/docs/builders-program/index.html @@ -15,7 +15,7 @@ - + @@ -42,7 +42,7 @@ form of tooling, UI, middleware, bridges, and more.

    Application track

    This track supports builders who are building on top of Substrate-based chains.

    Check out the official Substrate Builders Program site for more information and steps on how to apply.

    - + \ No newline at end of file diff --git a/docs/community/index.html b/docs/community/index.html index d4909a13a9..750747ac7d 100644 --- a/docs/community/index.html +++ b/docs/community/index.html @@ -15,7 +15,7 @@ - + @@ -55,7 +55,7 @@ development and where there's room for your contributions.
  • Teams Building on Polkadot - Community maintained list of teams building on Polkadot and/or Substrate. (Note that this may contain inaccuracies, as it's unofficial).
  • - + \ No newline at end of file diff --git a/docs/contributing/index.html b/docs/contributing/index.html index 54c854178c..42c49351b1 100644 --- a/docs/contributing/index.html +++ b/docs/contributing/index.html @@ -15,7 +15,7 @@ - + @@ -54,7 +54,7 @@ the official crowdin knowledge base as well.




    The following shows an example in Arabic. You can type in your desired translation for each section in the provided area, while using the suggestions generated by the crowdin built-in translator.


    Make sure to save your translation.

    - + \ No newline at end of file diff --git a/docs/contributors/index.html b/docs/contributors/index.html index 8c724fa8fa..c1def555ee 100644 --- a/docs/contributors/index.html +++ b/docs/contributors/index.html @@ -15,7 +15,7 @@ - + @@ -91,7 +91,7 @@ for the Polkadot protocol. He contributed in creating written content and example applications that demonstrate how to use these new technologies.

    You can now find Logan leading efforts to define the prediction market space at Zeitgeist.

    - + \ No newline at end of file diff --git a/docs/dev-heroes/index.html b/docs/dev-heroes/index.html index e15aeaadac..3f53e51fa8 100644 --- a/docs/dev-heroes/index.html +++ b/docs/dev-heroes/index.html @@ -15,7 +15,7 @@ - + @@ -36,7 +36,7 @@ open source technology stack list and contribute with a pull request, an issue, or find and fix bugs.

  • Create content: Write a blog post, record a video tutorial, and write a Twitter thread. Share about your latest coding success, something you learned and are excited about.

  • Speak at events: Do a workshop or talk at meetups and conferences.

  • - + \ No newline at end of file diff --git a/docs/faq/index.html b/docs/faq/index.html index a39f87d426..7270dd766a 100644 --- a/docs/faq/index.html +++ b/docs/faq/index.html @@ -15,7 +15,7 @@ - + @@ -185,7 +185,7 @@ fee calculation page in the Substrate documentation for more detailed information.

    Answered by Gav series

    The "Answered by Gav" series is a collection of posts uploaded to Reddit of questions that have been asked in the Polkadot Watercooler Riot channel and answered by Polkadot founder Gavin Wood.

    - + \ No newline at end of file diff --git a/docs/getting-started/index.html b/docs/getting-started/index.html index 4c0d603353..7b569874d5 100644 --- a/docs/getting-started/index.html +++ b/docs/getting-started/index.html @@ -15,7 +15,7 @@ - + @@ -129,7 +129,7 @@ about Polkadot.
  • Sample Applications - Sample applications that are built on or currently being built for Polkadot.
  • Contributing Guide - Rules for contributing to the wiki.
  • Polkadot Knowledge Base - Troubleshooting resources for specific errors and problems.
  • - + \ No newline at end of file diff --git a/docs/glossary/index.html b/docs/glossary/index.html index a0c4041a90..704b189d0d 100644 --- a/docs/glossary/index.html +++ b/docs/glossary/index.html @@ -15,7 +15,7 @@ - + @@ -281,7 +281,7 @@ transaction weights and fees.

    Witness

    Cryptographic proof statements of data validity.

    Whitelist Pallet

    Allows one Origin to escalate the privilege level of another Origin for a certain operation. In terms of OpenGov, it allows the Fellowship to authorise a new origin (which we will call Whitelisted-Root) to be executed with Root-level privileges.

    - + \ No newline at end of file diff --git a/docs/grants/index.html b/docs/grants/index.html index f76be9d56d..9e2b59c008 100644 --- a/docs/grants/index.html +++ b/docs/grants/index.html @@ -15,7 +15,7 @@ - + @@ -35,7 +35,7 @@ Foundation has considered new ways to distribute KSM for people who need KSM to build.

    If you are interested in obtaining KSM for building or research, you can apply through the Treasury or receive a tip for doing something cool in the community.

    Other Grant Programs

    Below is a list of other grant programs in the Polkadot/Substrate ecosystem.

    - + \ No newline at end of file diff --git a/docs/how-to-dyor/index.html b/docs/how-to-dyor/index.html index 442e5925b3..13840b8b6c 100644 --- a/docs/how-to-dyor/index.html +++ b/docs/how-to-dyor/index.html @@ -15,7 +15,7 @@ - + @@ -218,7 +218,7 @@ aims to bring to the ecosystem.

    This does not fall under fact-checking and verifying claims, but it is important to mention: fully understanding what something does and its prospective impact is an integral part of making an informed decision, so do not overlook it.

    - + \ No newline at end of file diff --git a/docs/kusama-adversarial-cheatsheet/index.html b/docs/kusama-adversarial-cheatsheet/index.html index bc4688ff78..6dd48a002c 100644 --- a/docs/kusama-adversarial-cheatsheet/index.html +++ b/docs/kusama-adversarial-cheatsheet/index.html @@ -15,14 +15,14 @@ - +

    Adversarial Cheatsheet

    Expect things to break on Kusama. To help you break some things, take a look at the following threat model.

    Hacker wants to …Security promise that should prevent the hackHacking IncentiveHacking DamageHacking value details
    Double spend tokens via getting the clients to accept a different chainIntegrity (System-wide)HighHighIf attackers are able to double spend tokens, they are able to get services without paying for them. This gives them a high monetary incentive to execute the attack.
    Cause system to mint tokens to his own accountIntegrity (System-wide) MediumLow - MediumIf an attacker is able to craft transactions that mint tokens to their account, then this provides a high monetary incentive to execute this attack.
    Validate malicious blocks to double spend tokensAvailability (System-wide) HighMediumIf an attacker is able to double spend tokens, they are able to get services without paying for them. This gives them a high monetary incentive to execute the attack.
    Undermine consensus mechanism to split chainIntegrity (System-wide)HighHigh"If an attacker is able to double spend tokens, they are able to get services without paying for them. This gives them a high monetary incentive to execute the attack. Betting on decrease in value of the cryptocurrency or competitors want to damage the reputation, so that the value of their blockchain increases.
    Tamper/manipulate blockchain history to invalidate transactions (e.g. a voting result)Integrity (System-wide)MediumMedium - HighAttacker can rollback undesired transactions by intentionally invalidating the block where transaction has happened. Attacker can force a governance decision (or even an on-chain update) that favors them.
    Undermine blockchain or consensus mechanism to damage the ecosystem's reputationAvailability (System-wide)HighHighBetting on decrease in value of the cryptocurrency or competitors want to damage the reputation, so that the value of their blockchain increases
    CensorshipAvailability (System-wide)MediumHighHackers are able to block undesirable types of transactions (e.g. industry competitor transactions or referendum votes). This could be achieved by colluding with other stakeholders or by otherwise obtaining more voting power.
    Deanonymize usersConfidentiality (Node)MediumMediumParties that want to de-anonymize users can use the information to oppress the opposition (e.g. political activists).
    Steal token from nodeIntegrity (Node)HighHighAttackers that are able to steal tokens from nodes can claim assets for themselves, which gives them a high monetary incentive to execute the attack.
    Steal token from node by leaking credentialsConfidentiality (Node)HighHighAttackers that are able to steal tokens from nodes can claim assets for themselves, which gives them a high monetary incentive to execute the attack.
    Prevent node from accessing the Polkadot networkAvailability (Node)LowLow - MediumRun a targeted denial-of-service attack out of revenge, monetary interests (in case of a competing coin exchange, etc.).
    Defraud other participantsIntegrity (Node)MediumLow - MediumAttacker can abuse other participants’ misunderstanding of Polkadot's security guarantees to defraud them. Also, if the reward for calling out bad behavior can be set up so that it is higher than the according punishment, a set of self-handled nodes can be set up to generate a source cycle. Other participants are not needed for this attack.
    Defraud other participantsIntegrity (System-wide)HighHighAn attacker could abuse bugs in Polkadot's economic system to defraud other participants. For example, an attacker could exploit a logic bug to not pay transaction fees.
    - + \ No newline at end of file diff --git a/docs/kusama-bug-bounty/index.html b/docs/kusama-bug-bounty/index.html index 8137602521..ed4a3461a5 100644 --- a/docs/kusama-bug-bounty/index.html +++ b/docs/kusama-bug-bounty/index.html @@ -15,7 +15,7 @@ - + @@ -40,7 +40,7 @@ not to be disruptive or harmful to our users or us. Otherwise, your actions might be interpreted as an attack rather than an effort to be helpful.

    How to report a bug

    Please follow the instructions at web3.foundation/security-report/.

    - + \ No newline at end of file diff --git a/docs/kusama-claims/index.html b/docs/kusama-claims/index.html index feae43b853..8e165b6447 100644 --- a/docs/kusama-claims/index.html +++ b/docs/kusama-claims/index.html @@ -15,7 +15,7 @@ - + @@ -94,7 +94,7 @@ Polkadot Support page.

    Third Party Claims Processes

    We do not recommend using a third-party app or process to perform your claim or acquire KSM.

    Claiming using a third-party process can lead to the loss of your allocation; therefore, we cannot recommend using any third-party apps to do so. Manually specifying your transaction data, as specified in our claims process, is the only way to be certain you will receive your allocation.

    - + \ No newline at end of file diff --git a/docs/kusama-coc/index.html b/docs/kusama-coc/index.html index b67b6501f4..330bd2553a 100644 --- a/docs/kusama-coc/index.html +++ b/docs/kusama-coc/index.html @@ -15,7 +15,7 @@ - + @@ -38,7 +38,7 @@ on feedback from the Kusama participants and/or the Polkadot community.

    Bugs

    Please understand that this network is, despite its success, an experiment with potential flaws, so it’s appreciated that community members help report any sort of exploits directly to the team before sharing publicly. Please see the bug bounty program.

    - + \ No newline at end of file diff --git a/docs/kusama-community/index.html b/docs/kusama-community/index.html index dad88ce6b8..dff208c9d9 100644 --- a/docs/kusama-community/index.html +++ b/docs/kusama-community/index.html @@ -15,7 +15,7 @@ - + @@ -38,7 +38,7 @@ for technical questions on building with Substrate.
  • Smart Contracts & Parity Ink! - A room to discuss developing Substrate smart contracts using Parity Ink!
  • Social

    Blogs and tutorials

    Newsletters

    - + \ No newline at end of file diff --git a/docs/kusama-getting-started/index.html b/docs/kusama-getting-started/index.html index 8fc8c20169..c8013211bd 100644 --- a/docs/kusama-getting-started/index.html +++ b/docs/kusama-getting-started/index.html @@ -15,7 +15,7 @@ - + @@ -51,7 +51,7 @@ here.

    While Kusama does not support smart contracts natively, building apps on it is still possible (e.g. RMRK.app). If you're interested in diving deeper into proper development, however, check out the builders guide.

    Additional Resources:

    - + \ No newline at end of file diff --git a/docs/kusama-index/index.html b/docs/kusama-index/index.html index 403e5028b6..28e2256948 100644 --- a/docs/kusama-index/index.html +++ b/docs/kusama-index/index.html @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@

    Kusama

    Polkadot's Canary Network

    Kusama is a canary network for Polkadot; an earlier release of the code that is available first and holds real economic value. For developers, Kusama is a proving ground for runtime upgrades, on-chain governance, and parachains.

    No Promises.

    Kusama has a dedicated Wiki guide. Click on the image below to access it.

    guide
    Kusama Guide
    - + \ No newline at end of file diff --git a/docs/kusama-parameters/index.html b/docs/kusama-parameters/index.html index e329e41e07..b422f56c19 100644 --- a/docs/kusama-parameters/index.html +++ b/docs/kusama-parameters/index.html @@ -15,7 +15,7 @@ - + @@ -37,7 +37,7 @@ redirected into the Society's treasury to fund growth.

    Precision

    KSM have 12 decimals of precision. In other words, 1e12 (1_000_000_000_000, or one trillion) Plancks make up a single KSM.

    - + \ No newline at end of file diff --git a/docs/kusama-social-recovery/index.html b/docs/kusama-social-recovery/index.html index ba21a4cfa6..3d7421b371 100644 --- a/docs/kusama-social-recovery/index.html +++ b/docs/kusama-social-recovery/index.html @@ -15,7 +15,7 @@ - + @@ -62,7 +62,7 @@ either go through the council or submit a public proposal. To learn more about governance, see here.

    Further Reading

    - + \ No newline at end of file diff --git a/docs/kusama-timeline/index.html b/docs/kusama-timeline/index.html index 211f4fa88c..af9bc0d4d9 100644 --- a/docs/kusama-timeline/index.html +++ b/docs/kusama-timeline/index.html @@ -15,7 +15,7 @@ - + @@ -53,7 +53,7 @@ forkless upgradability provided by Substrate, chaos continues, and in the spirit of chaos, more teams are eager to deploy on Kusama. The path of Kusama deployment has paved the way to Polkadot's parachains as the technology became proven.

    - + \ No newline at end of file diff --git a/docs/learn-DOT/index.html b/docs/learn-DOT/index.html index c9cb680934..1f235915f4 100644 --- a/docs/learn-DOT/index.html +++ b/docs/learn-DOT/index.html @@ -15,7 +15,7 @@ - + @@ -77,7 +77,7 @@ through the Treasury. Alternatively, they can be obtained on the open market.

    Polkadot Mainnet DOT

    Polkadot Mainnet DOT are not freely given away. If you purchased DOT in the original 2017 offering, you may claim them via the Polkadot claims process. Alternatively, they are available on the open market.

    - + \ No newline at end of file diff --git a/docs/learn-account-advanced/index.html b/docs/learn-account-advanced/index.html index 9e25ed1a56..dfb7040c3d 100644 --- a/docs/learn-account-advanced/index.html +++ b/docs/learn-account-advanced/index.html @@ -15,7 +15,7 @@ - + @@ -166,7 +166,7 @@ directly in the browser on the new one.

    This has been tested on Brave and Chrome, but not other browsers.

    1. Go to Polkadot-JS Apps
    2. Go to JavaScript console on the browser (Available in Developer Tools)
    3. Type in the command:
    JSON.stringify(localStorage)
    1. Copy and paste the returned string to a text editor and save the file.
    2. Check that the string you pasted begins and ends with a tick mark ('). If not, add one to the beginning and end.
    3. Save and send that file with the copied string to the new computer.
    4. On the new computer, go to Polkadot-JS Apps
    5. Open the Javascript console on the browser (Available in Developer Tools)
    6. Set a variable raw equal to the string from the text file
    raw = ... copy-pasted json from original computer ...
    1. Run the following code on the console:
    accounts = JSON.parse(raw);
    for (var key in accounts) {
    if (accounts.hasOwnProperty(key)) {
    val = JSON.stringify(accounts[key]).replace(/\\/g,'').slice(1,-1);
    console.log(key + " -> " + val);
    localStorage.setItem(key, val);
    }
    }
    1. Refresh Polkadot-JS App browser and check the Accounts and Addresses pages. All of your accounts and addresses should now be available.
    - + \ No newline at end of file diff --git a/docs/learn-account-generation/index.html b/docs/learn-account-generation/index.html index c4786299e3..0859f5f2e5 100644 --- a/docs/learn-account-generation/index.html +++ b/docs/learn-account-generation/index.html @@ -15,7 +15,7 @@ - + @@ -137,7 +137,7 @@ encrypting/decrypting your wallet. If you cannot load a JSON file, please use the latest version of the wallet software. If you cannot load it, ensure that the wallet software uses the newest version of the Polkadot API.

    - + \ No newline at end of file diff --git a/docs/learn-account-multisig/index.html b/docs/learn-account-multisig/index.html index f9fbd32088..d993e799d6 100644 --- a/docs/learn-account-multisig/index.html +++ b/docs/learn-account-multisig/index.html @@ -15,7 +15,7 @@ - + @@ -110,7 +110,7 @@ Check the "How to use a multisig account" in the support docs on how to decode the multisig call data.

    - + \ No newline at end of file diff --git a/docs/learn-accounts/index.html b/docs/learn-accounts/index.html index f1b748fe1b..07d1fa3c5c 100644 --- a/docs/learn-accounts/index.html +++ b/docs/learn-accounts/index.html @@ -15,7 +15,7 @@ - + @@ -136,7 +136,7 @@ multi-signature accounts, including their use-cases.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-architecture/index.html b/docs/learn-architecture/index.html index 2cb6e2dd3e..f53d9036eb 100644 --- a/docs/learn-architecture/index.html +++ b/docs/learn-architecture/index.html @@ -15,7 +15,7 @@ - + @@ -82,7 +82,7 @@ verify their validity (and later, their availability).


    Whiteboard Series

    For a video overview of the architecture of Kusama watch the video below for the whiteboard interview with W3F researcher Alistair Stewart:

    - + \ No newline at end of file diff --git a/docs/learn-assets/index.html b/docs/learn-assets/index.html index 63746aa486..f80d8cbf12 100644 --- a/docs/learn-assets/index.html +++ b/docs/learn-assets/index.html @@ -15,7 +15,7 @@ - + @@ -122,7 +122,7 @@ create a 2-of-2 multisig from two pure proxies, and then set members from each group as proxies to those two accounts.

    - + \ No newline at end of file diff --git a/docs/learn-auction/index.html b/docs/learn-auction/index.html index 7b36b18e6a..241b1ae4e8 100644 --- a/docs/learn-auction/index.html +++ b/docs/learn-auction/index.html @@ -15,7 +15,7 @@ - + @@ -139,7 +139,7 @@ W3F research page on parachain allocation that goes more in depth to the mechanism
  • Research Update: The Case for Candle Auctions - W3F breakdown and research update about candle auctions
  • Front-Running, Smart Contracts, and Candle Auctions W3F Research team discusses how to remedy current blockchain auction setbacks with candle auctions
  • - + \ No newline at end of file diff --git a/docs/learn-balance-transfers/index.html b/docs/learn-balance-transfers/index.html index 571e98e8ab..c3221bf2b5 100644 --- a/docs/learn-balance-transfers/index.html +++ b/docs/learn-balance-transfers/index.html @@ -15,7 +15,7 @@ - + @@ -95,7 +95,7 @@ chain state. This can be found under Developer > Chain state in PolkadotJS Apps.

    Existing Non-Native Assets

    Currently, Kusama does not use the Assets Pallet, so this is probably not the reason for your tokens having existing references.

    - + \ No newline at end of file diff --git a/docs/learn-bridges/index.html b/docs/learn-bridges/index.html index e93620fd5f..5eca56f222 100644 --- a/docs/learn-bridges/index.html +++ b/docs/learn-bridges/index.html @@ -15,7 +15,7 @@ - + @@ -84,7 +84,7 @@ Network's implementation of Parity's bridge chain solution.
  • Edgeth Bridge - a bridge from Ethereum to Edgeware chain (a Substrate-based chain) - now defunct and not maintained, but a good example.
  • XCLAIM - XCLAIM is a framework for achieving trustless and efficient cross-chain exchanges using cryptocurrency-backed assets.
  • - + \ No newline at end of file diff --git a/docs/learn-collator/index.html b/docs/learn-collator/index.html index 9261771931..8200e71e10 100644 --- a/docs/learn-collator/index.html +++ b/docs/learn-collator/index.html @@ -15,7 +15,7 @@ - + @@ -61,7 +61,7 @@ Cumulus repository. More information can be found under the Cumulus section on the build parachain page.

    Guides and Tools

    - + \ No newline at end of file diff --git a/docs/learn-comparisons-avalanche/index.html b/docs/learn-comparisons-avalanche/index.html index 9a293ff3d3..c3c6e7a850 100644 --- a/docs/learn-comparisons-avalanche/index.html +++ b/docs/learn-comparisons-avalanche/index.html @@ -15,7 +15,7 @@ - + @@ -109,7 +109,7 @@ need a recommended minimum of 5 validators, which make the costs of launch predictable. Avalanche has plans to implement shared security, interoperability, composability and on-chain governance features which are already offered by Polkadot.

    References

    1. The Avalanche Platform Whitepaper
    2. The Avalanche Consensus Whitepaper
    3. The AVAX Token Dynamics Paper
    4. Nakomoto vs Snow consensus
    - + \ No newline at end of file diff --git a/docs/learn-comparisons-cosmos/index.html b/docs/learn-comparisons-cosmos/index.html index a738d49530..5b349e75b8 100644 --- a/docs/learn-comparisons-cosmos/index.html +++ b/docs/learn-comparisons-cosmos/index.html @@ -15,7 +15,7 @@ - + @@ -128,7 +128,7 @@ chain must trust the sending chain. Thus, each blockchain in the Cosmos network has its independent security mechanisms. They're independently secured and do not rely on the security of other blockchains or the hub.

    - + \ No newline at end of file diff --git a/docs/learn-comparisons-ethereum-2/index.html b/docs/learn-comparisons-ethereum-2/index.html index 3d840b82e5..00820ac6f6 100644 --- a/docs/learn-comparisons-ethereum-2/index.html +++ b/docs/learn-comparisons-ethereum-2/index.html @@ -15,7 +15,7 @@ - + @@ -154,7 +154,7 @@ enacted autonomously via forkless upgrades.
  • Validator selection mechanisms differ as Kusama can provide strong availability and validity guarantees with fewer validators per shard.
  • - + \ No newline at end of file diff --git a/docs/learn-comparisons-kusama/index.html b/docs/learn-comparisons-kusama/index.html index b54c7f2a7a..0a2453983e 100644 --- a/docs/learn-comparisons-kusama/index.html +++ b/docs/learn-comparisons-kusama/index.html @@ -15,7 +15,7 @@ - + @@ -72,7 +72,7 @@ the future, we’re also likely to see Kusama bridged to Polkadot for cross-network interoperability. Web3 Foundation remains committed to both networks going forward, providing crucial support and guidance to teams building for the ecosystem.

    Explore more

    - + \ No newline at end of file diff --git a/docs/learn-comparisons-rollups/index.html b/docs/learn-comparisons-rollups/index.html index 402d17a967..bc5d3257d9 100644 --- a/docs/learn-comparisons-rollups/index.html +++ b/docs/learn-comparisons-rollups/index.html @@ -15,7 +15,7 @@ - + @@ -90,7 +90,7 @@ transition data.

    Despite these drawbacks, Kusama remains upgradable through forkless upgrades, which allows the protocol to be easily upgradable to stay in line with future technological advances.

    - + \ No newline at end of file diff --git a/docs/learn-comparisons/index.html b/docs/learn-comparisons/index.html index 3752ca5fcc..0efb8ca899 100644 --- a/docs/learn-comparisons/index.html +++ b/docs/learn-comparisons/index.html @@ -15,7 +15,7 @@ - + @@ -57,7 +57,7 @@ Chain, and as the number of validators in the active set on Kusama are increased, more parachains can be supported.

    - + \ No newline at end of file diff --git a/docs/learn-consensus/index.html b/docs/learn-consensus/index.html index 4cefeba1c4..a3fdc3cb4c 100644 --- a/docs/learn-consensus/index.html +++ b/docs/learn-consensus/index.html @@ -15,7 +15,7 @@ - + @@ -154,7 +154,7 @@ with Bill Laboon.
  • Block Production and Finalization in Polkadot: Understanding the BABE and GRANDPA Protocols - An academic talk by Bill Laboon, given at MIT Cryptoeconomic Systems 2020, describing Polkadot's hybrid consensus model in-depth.
  • - + \ No newline at end of file diff --git a/docs/learn-controller/index.html b/docs/learn-controller/index.html index 34db4f2a42..14ada722de 100644 --- a/docs/learn-controller/index.html +++ b/docs/learn-controller/index.html @@ -15,7 +15,7 @@ - + @@ -37,7 +37,7 @@ used less often and usually signed by the stash.

    stash-not-as-controller

    From a practical perspective, there were two accounts, and we needed to remember two passwords. From a security perspective, the party who wanted to control our staking actions was required to control two accounts.

    - + \ No newline at end of file diff --git a/docs/learn-crowdloans/index.html b/docs/learn-crowdloans/index.html index 22130285a5..74751f3c6b 100644 --- a/docs/learn-crowdloans/index.html +++ b/docs/learn-crowdloans/index.html @@ -15,7 +15,7 @@ - + @@ -93,7 +93,7 @@ Apps page.

    Here is an example of the crowdloans in play during the very first Kusama auction.

    crowdloan dashboard

    Furthermore, check out this video on How to Participate in Crowdloans for steps on how to access available crowdloans on PolkadotJS apps.

    - + \ No newline at end of file diff --git a/docs/learn-cryptography/index.html b/docs/learn-cryptography/index.html index 908d845ba8..a90a4c9c0a 100644 --- a/docs/learn-cryptography/index.html +++ b/docs/learn-cryptography/index.html @@ -15,7 +15,7 @@ - + @@ -171,7 +171,7 @@ make passive attacks much harder if such a backdoor exists.

    However an alternative exists in the form of Curve25519. This algorithm has been proposed in 2006 by DJB [Curve25519]. Its main strengths are its speed, its constant-time run time (and resistance against side-channel attacks), and its lack of nebulous hard-coded constants.

    - + \ No newline at end of file diff --git a/docs/learn-extrinsics/index.html b/docs/learn-extrinsics/index.html index 2cfd1c3757..979bb43058 100644 --- a/docs/learn-extrinsics/index.html +++ b/docs/learn-extrinsics/index.html @@ -15,7 +15,7 @@ - + @@ -97,7 +97,7 @@ without the possibility of verifying it.

    Defense against Attacks

    danger

    If you can't verify the extrinsic or you suspect you are signing something different than what you intended, don't sign it!

    To avoid being victim of an attack:

    • Use only trusted extensions, sites and software in general.
    • Use cold storage options (Ledger, Signer) and verify on them. Trust what these devices tell you over what is shown in the app or the browser extension.
    • Update Signer metadata only from trusted sources (or do it yourself).
    • Accept metadata updates for the extension only from trusted apps.
    - + \ No newline at end of file diff --git a/docs/learn-governance/index.html b/docs/learn-governance/index.html index c38f35b4d8..0da79c6d64 100644 --- a/docs/learn-governance/index.html +++ b/docs/learn-governance/index.html @@ -15,7 +15,7 @@ - + @@ -236,7 +236,7 @@ case for why the change should be made.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-guides-assets-create/index.html b/docs/learn-guides-assets-create/index.html index 0ff32f7680..999abae0ea 100644 --- a/docs/learn-guides-assets-create/index.html +++ b/docs/learn-guides-assets-create/index.html @@ -15,7 +15,7 @@ - + @@ -56,7 +56,7 @@ an ID that has already been taken. After all the details are entered, click on the next button.

    Add Asset Metadata

    • Choose the admin, issuer and the freezer accounts for your asset and click on the create button.

    Asset managing accounts

    • Sign and submit the transaction (If you like to verify the transaction details before signing, you can click on the dropdown button pointed by the arrow in the snapshot below).

    Sign asset creating transaction

    If the transaction is successful, you should see the asset and its details displayed in the Network > Assets page on the Asset Hub.

    - + \ No newline at end of file diff --git a/docs/learn-guides-assets-ledger/index.html b/docs/learn-guides-assets-ledger/index.html index ecddaca780..6b06550968 100644 --- a/docs/learn-guides-assets-ledger/index.html +++ b/docs/learn-guides-assets-ledger/index.html @@ -15,7 +15,7 @@ - + @@ -91,7 +91,7 @@ here.
  • Transfer the desired amount as described above. If you want to send exactly the amount you want to teleport, don't forget take into account the fees for teleporting that will be deducted in the next step.
  • Teleport your tokens following the instructions you will find here.
  • Teleporting to a Ledger account from a non-Ledger account doesn't require these extra steps.

    Support

    If you need support, please visit the Polkadot Support page.

    - + \ No newline at end of file diff --git a/docs/learn-guides-identity/index.html b/docs/learn-guides-identity/index.html index f5173e8edd..471e036082 100644 --- a/docs/learn-guides-identity/index.html +++ b/docs/learn-guides-identity/index.html @@ -15,7 +15,7 @@ - + @@ -48,7 +48,7 @@
    for each sub-identity. This reserved account balance is freed once you clear the identities on the account.

    Sub-identity example

    - + \ No newline at end of file diff --git a/docs/learn-guides-polkadot-opengov/index.html b/docs/learn-guides-polkadot-opengov/index.html index 2bf9799648..c2091db838 100644 --- a/docs/learn-guides-polkadot-opengov/index.html +++ b/docs/learn-guides-polkadot-opengov/index.html @@ -15,7 +15,7 @@ - + @@ -46,7 +46,7 @@ have been met. Failing to submit the decision deposit within a -day period will lead to a referendum timeout.

    - + \ No newline at end of file diff --git a/docs/learn-guides-staking-pools/index.html b/docs/learn-guides-staking-pools/index.html index 4c063beb8f..98384d33a4 100644 --- a/docs/learn-guides-staking-pools/index.html +++ b/docs/learn-guides-staking-pools/index.html @@ -15,7 +15,7 @@ - + @@ -59,7 +59,7 @@ Polkadot-JS UI Extrinsic Tab and issue the following extrisics:

    • nominationPools.claimPayoutOthers extrinsic specifying ALICE's account. This will claim the rewards as a free balance on ALICE's account.

    pools-payoutOthers

    • nominationPools.bondExtraOthers extrinsic specifying ALICE's account and the option to bond:
      • the free balance currently available in ALICE's account (FreeBalance) or
      • the pool rewards (Rewards) unclaimed by ALICE.

    pools-bondExtraOthers

    - + \ No newline at end of file diff --git a/docs/learn-guides-staking/index.html b/docs/learn-guides-staking/index.html index a7d66737ba..4d6aff4713 100644 --- a/docs/learn-guides-staking/index.html +++ b/docs/learn-guides-staking/index.html @@ -15,7 +15,7 @@ - + @@ -35,7 +35,7 @@ which will list all the pending payouts for your stashes.

    pending-payouts

    To then claim your reward, select the "Payout all" button. This will prompt you to select your stash accounts for payout.

    select-payouts

    Once you are done with payout, another screen will appear asking for you to sign and submit the transaction.

    transaction-payouts

    - + \ No newline at end of file diff --git a/docs/learn-guides-treasury/index.html b/docs/learn-guides-treasury/index.html index 938e38fc30..1f436f998d 100644 --- a/docs/learn-guides-treasury/index.html +++ b/docs/learn-guides-treasury/index.html @@ -15,7 +15,7 @@ - + @@ -57,7 +57,7 @@ to the 32 / Small Spender track, you will need to submit it to the 30 / Small Tipper or 31 / Big Tipper tracks depending on the number of tokens to be requested.

    Briefly, you will need to:

    • Create a preimage using the treasury.Spend extrinsic and specifying the number of tokens and the beneficiary of the tip, and
    • Submit a proposal to the right track (i.e. 30 or 31) using the preimage hash.
    - + \ No newline at end of file diff --git a/docs/learn-guides-vault/index.html b/docs/learn-guides-vault/index.html index eed7ed6f7b..5bee94e469 100644 --- a/docs/learn-guides-vault/index.html +++ b/docs/learn-guides-vault/index.html @@ -15,7 +15,7 @@ - + @@ -66,7 +66,7 @@ chain and version is the version of the metadata.

    Add the renamed files to the /public/qr folder within the Metadata Portal repository.

    Run Portal

    Open the terminal within the Metadata Portal repository and run make updater. Then run make collector; this will create the _latest.apng files for each of the chains (removed by the command make cleaner). Finally, run yarn start to load the metadata portal on your localhost.

    - + \ No newline at end of file diff --git a/docs/learn-identity/index.html b/docs/learn-identity/index.html index 8224e53417..bb0131f3c2 100644 --- a/docs/learn-identity/index.html +++ b/docs/learn-identity/index.html @@ -15,7 +15,7 @@ - + @@ -101,7 +101,7 @@ an identity also clears all sub accounts and returns their deposits.

    Visit the section "Clear an Identity" on

    this support article for guidelines about clearing identities.

    Killing: The Council can kill an identity that it deems erroneous. This results in a slash of the deposit.

    - + \ No newline at end of file diff --git a/docs/learn-implementations/index.html b/docs/learn-implementations/index.html index f34b1299f0..ee29b33cd2 100644 --- a/docs/learn-implementations/index.html +++ b/docs/learn-implementations/index.html @@ -15,7 +15,7 @@ - + @@ -53,7 +53,7 @@ collection of tools, interfaces, and libraries for Polkadot and Substrate.

    Other implementations that have received grants

    While the ecosystem continues to grow rapidly, the continued development of alternative implementations will only make Polkadot stronger. Consider becoming a contributor to the ecosystem, and learn about the how you can receieve a grant for your development.

    - + \ No newline at end of file diff --git a/docs/learn-launch/index.html b/docs/learn-launch/index.html index b2204162d6..2119a80c38 100644 --- a/docs/learn-launch/index.html +++ b/docs/learn-launch/index.html @@ -15,7 +15,7 @@ - + @@ -43,7 +43,7 @@ block number 1_205_128 on August 18, 2020, at 16:39 UTC.

    Core Functionality

    After five years of research and development and a multi-stage launch that began in May 2020, Polkadot launch was completed on December 18, 2021, with all auction-winning parachains producing blocks on the network.

    Check out these resources for further information:

    - + \ No newline at end of file diff --git a/docs/learn-nft-pallets/index.html b/docs/learn-nft-pallets/index.html index 597edc00f8..c576dd393b 100644 --- a/docs/learn-nft-pallets/index.html +++ b/docs/learn-nft-pallets/index.html @@ -15,7 +15,7 @@ - + @@ -104,7 +104,7 @@ balance-keeping chain for both fungible and non-fungibles.

    These NFTs can be viewed and interacted with on RMRK's Singular platform, by switching the top right menu from Kusama to the Asset Hub.

    nft-hub

    They can also be interacted with directly through the extrinsics tab of the Asset Hub:

    uniques.png

    - + \ No newline at end of file diff --git a/docs/learn-nft-projects/index.html b/docs/learn-nft-projects/index.html index 9d138cb023..3baa1ce33b 100644 --- a/docs/learn-nft-projects/index.html +++ b/docs/learn-nft-projects/index.html @@ -15,7 +15,7 @@ - + @@ -93,7 +93,7 @@ on, rather than entering the NFT space themselves as an end-product.

    Unique Network aims to make their marketplace technology open-source and whitelabel-friendly. In theory, it should be trivial to set up a new marketplace for your project using Unique's technology. Unique network aims to be a parachain on Polkadot, and Quartz is their Kusama counterpart.

    - + \ No newline at end of file diff --git a/docs/learn-nft/index.html b/docs/learn-nft/index.html index ada39d7d1c..454707e76d 100644 --- a/docs/learn-nft/index.html +++ b/docs/learn-nft/index.html @@ -15,7 +15,7 @@ - + @@ -60,7 +60,7 @@ RMRK hackathon for porting RMRK NFTs into simplified IOUs on EVM chains

    References

    - + \ No newline at end of file diff --git a/docs/learn-nomination-pools/index.html b/docs/learn-nomination-pools/index.html index f71f9f4505..39a04fe578 100644 --- a/docs/learn-nomination-pools/index.html +++ b/docs/learn-nomination-pools/index.html @@ -15,7 +15,7 @@ - + @@ -197,7 +197,7 @@ in the nomination pools and earn staking rewards. For additional information, see this blog post. Check the wiki doc on nomination pools for more information.

    NominatingJoining a Pool
    Minimum 250 DOT to nominate.Minimum 1 DOT to be a member.
    Rewards can be compounded automatically or sent to any account.Rewards can be manually claimed to the pool member's account and be bonded in the pool again to compound them.
    If the active validator gets slashed, all active nominators are subjected to slashing, also those that do not receive rewards due to the oversubscription issue.If the active validator gets slashed, all pool members are subjected to slashing.
    Can bond and stake DOT indefinitely.Can bond and stake DOT until the pool exists.
    Unbonding period of 28 days. Can switch validators without unbonding.Unbonding period of 28 days. Need to unbond before switching to a different pool.
    Maximum uncapped.Maximum uncapped.
    Should bond more than the minimum active nomination in an era to be eligible to earn staking rewards, although it can depend on multiple other factors outlined in the linked document.A nomination pool earns rewards in an era if it satisfies all the conditions mentioned for the nominator (as the nomination pool is just a nominator from the NPoS system perspective).
    Staked tokens can be used for participation in Governance.Staked tokens cannot be used for participation in Governance.
    Rewards payout can be triggered permissionlessly by anyone (typically done by the validator).The pool member must claim the rewards.
    Bonded funds remain in your account.Bonded funds are transferred to a pool account which is administered by the network protocol and is not accessible to anyone else. See System Accounts for more information.
    Nominator manages the list of staked validators (up to 16).Nominations managed by the pool operator.
    - + \ No newline at end of file diff --git a/docs/learn-nominator/index.html b/docs/learn-nominator/index.html index 27ae877879..c08061bcd3 100644 --- a/docs/learn-nominator/index.html +++ b/docs/learn-nominator/index.html @@ -15,7 +15,7 @@ - + @@ -266,7 +266,7 @@ Polkadot JS Apps > Network > Staking > Targets page.

    Minimum Active Nomination

    Guides

    - + \ No newline at end of file diff --git a/docs/learn-parachains-faq/index.html b/docs/learn-parachains-faq/index.html index 338299af34..f63dd97905 100644 --- a/docs/learn-parachains-faq/index.html +++ b/docs/learn-parachains-faq/index.html @@ -15,7 +15,7 @@ - + @@ -107,7 +107,7 @@ initiate an auction, however, Root origin (via referendum) is needed to cancel an auction. Here is a proposal that gives a glimpse of what goes into planning auctions schedule - Proposed Polkadot Auction Schedule 2022.

    - + \ No newline at end of file diff --git a/docs/learn-parachains-protocol/index.html b/docs/learn-parachains-protocol/index.html index 7d0b22f2fe..e9e5f05161 100644 --- a/docs/learn-parachains-protocol/index.html +++ b/docs/learn-parachains-protocol/index.html @@ -15,7 +15,7 @@ - + @@ -264,7 +264,7 @@ Parity analyst Joe Petrowski expounds on the validity checks that a parachain block must pass in order to progress the parachain.
  • Availability and Validity - Paper by the W3F Research Team that specifies the availability and validity protocol in detail.
  • - + \ No newline at end of file diff --git a/docs/learn-parachains/index.html b/docs/learn-parachains/index.html index 99bebe1132..d72d073567 100644 --- a/docs/learn-parachains/index.html +++ b/docs/learn-parachains/index.html @@ -15,7 +15,7 @@ - + @@ -185,7 +185,7 @@ its own. The Relay Chain provides security to attached parachains, but also provides a guarantee of secure message-passing between them."
  • The Path of a Parachain Block - A technical walk-through of how parachains interact with the Relay Chain.
  • - + \ No newline at end of file diff --git a/docs/learn-parathreads/index.html b/docs/learn-parathreads/index.html index 3765f4d3b1..29c6c55e7f 100644 --- a/docs/learn-parathreads/index.html +++ b/docs/learn-parathreads/index.html @@ -15,7 +15,7 @@ - + @@ -86,7 +86,7 @@ produce new blocks when they need to.

    Parathreads help ease the sharp stop of the parachain slot term by allowing parachains that are still doing something useful to produce blocks, even if it is no longer economically viable to rent a parachain slot.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-phragmen/index.html b/docs/learn-phragmen/index.html index 2dc6f347d4..abbb2ede30 100644 --- a/docs/learn-phragmen/index.html +++ b/docs/learn-phragmen/index.html @@ -15,7 +15,7 @@ - + @@ -268,7 +268,7 @@ This paper by Brill et al. is the source for the simple Phragmén method, along with proofs about its properties.
  • Offline Phragmén - Script to generate the Phragmén validator election outcome before the start of an era.
  • - + \ No newline at end of file diff --git a/docs/learn-polkadot-host/index.html b/docs/learn-polkadot-host/index.html index 97255febc9..7e24bfe31e 100644 --- a/docs/learn-polkadot-host/index.html +++ b/docs/learn-polkadot-host/index.html @@ -15,7 +15,7 @@ - + @@ -41,7 +41,7 @@ Host is referred to as the Executor. For additional technical implementation details, check out this section of the Polkadot Spec.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-polkadot-opengov-treasury/index.html b/docs/learn-polkadot-opengov-treasury/index.html index 3d0e3b7be6..e9a6145a76 100644 --- a/docs/learn-polkadot-opengov-treasury/index.html +++ b/docs/learn-polkadot-opengov-treasury/index.html @@ -15,7 +15,7 @@ - + @@ -53,7 +53,7 @@ requires a decision deposit of 0.33 KSM .

    Small Tipper

    This track can be used for treasury spending requests up to 8.25 KSM per referendum. Each referendum requires a decision deposit of 0.033 KSM .

    - + \ No newline at end of file diff --git a/docs/learn-polkadot-opengov/index.html b/docs/learn-polkadot-opengov/index.html index ea282cc86d..3ea22b9dfd 100644 --- a/docs/learn-polkadot-opengov/index.html +++ b/docs/learn-polkadot-opengov/index.html @@ -15,7 +15,7 @@ - + @@ -288,7 +288,7 @@ these guidelines.

    Future plans include that public members can apply to become a Fellowship candidate by placing a small deposit (which will be returned once they become members). Their candidacy will go through a referendum to be approved to become a member.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-proxies/index.html b/docs/learn-proxies/index.html index bf239ed065..e833d6664b 100644 --- a/docs/learn-proxies/index.html +++ b/docs/learn-proxies/index.html @@ -15,7 +15,7 @@ - + @@ -240,7 +240,7 @@ transfer of some tokens from ABC to Dan. Then, Charly does the same to confirm the transaction. Note that Charly will need to pay for some weight, for the computation that is necessary to execute the transaction.

    - + \ No newline at end of file diff --git a/docs/learn-redenomination/index.html b/docs/learn-redenomination/index.html index b90733474f..007ea6be7b 100644 --- a/docs/learn-redenomination/index.html +++ b/docs/learn-redenomination/index.html @@ -15,7 +15,7 @@ - + @@ -80,7 +80,7 @@ Ecosystem Redenomination Guide for recommendations.

    Please reach out to support@polkadot.network if you need any assistance in making sure your software is compatible with the redenomination.

    - + \ No newline at end of file diff --git a/docs/learn-runtime-upgrades/index.html b/docs/learn-runtime-upgrades/index.html index d568999682..d81ce19316 100644 --- a/docs/learn-runtime-upgrades/index.html +++ b/docs/learn-runtime-upgrades/index.html @@ -15,7 +15,7 @@ - + @@ -80,7 +80,7 @@ may be up to the last block before execution, but it will not work if this is missing.
  • democracy(Executed) events for actual execution. In the case of a runtime upgrade, there will also be a system(CodeUpdated) event.
  • You can also monitor Polkassembly for discussions on on-chain proposals and referenda.

    * E.g. via pallets/democracy/storage/ReferendumInfoOf?key1=index&at=blockNumber on Sidecar.

    - + \ No newline at end of file diff --git a/docs/learn-scams/index.html b/docs/learn-scams/index.html index 1967815c56..7f92390f1f 100644 --- a/docs/learn-scams/index.html +++ b/docs/learn-scams/index.html @@ -15,7 +15,7 @@ - + @@ -78,7 +78,7 @@ for steps you should take to prevent further loss and contact Polkadot Support from the same page. Finally, make sure to read the present article carefully to learn how to avoid falling victim in the future.

    - + \ No newline at end of file diff --git a/docs/learn-spree/index.html b/docs/learn-spree/index.html index 4246168575..e5d71fe72f 100644 --- a/docs/learn-spree/index.html +++ b/docs/learn-spree/index.html @@ -15,7 +15,7 @@ - + @@ -74,7 +74,7 @@ instances, and the next state root of the instance. They do this validation by checking it against the validate function as provided by the SPREE module API. Collators are expected to be able to provide this information to progress their parachains.

    - + \ No newline at end of file diff --git a/docs/learn-staking-advanced/index.html b/docs/learn-staking-advanced/index.html index 3d146ba098..28d51dbdf7 100644 --- a/docs/learn-staking-advanced/index.html +++ b/docs/learn-staking-advanced/index.html @@ -15,7 +15,7 @@ - + @@ -347,7 +347,7 @@ which is a fixed amount.

    Further Resources

    If you want to run a staking miner on your validator, refer to the repository provided in the resources section below.

    - + \ No newline at end of file diff --git a/docs/learn-staking/index.html b/docs/learn-staking/index.html index a0089871c9..3104f11ba5 100644 --- a/docs/learn-staking/index.html +++ b/docs/learn-staking/index.html @@ -15,7 +15,7 @@ - + @@ -352,7 +352,7 @@ this support page for the FAQs about staking.

    Resources

    - + \ No newline at end of file diff --git a/docs/learn-system-chains/index.html b/docs/learn-system-chains/index.html index a03698a232..1e35e49406 100644 --- a/docs/learn-system-chains/index.html +++ b/docs/learn-system-chains/index.html @@ -15,7 +15,7 @@ - + @@ -83,7 +83,7 @@ isolation provided by parachains.

    See the Bridges page for information on the latest bridge projects. Currently, a Bridge Hub parachain is in development that will be a portal for trust-minimized bridges to other networks.

    - + \ No newline at end of file diff --git a/docs/learn-teleport/index.html b/docs/learn-teleport/index.html index 9b2b14d6c1..a10966d943 100644 --- a/docs/learn-teleport/index.html +++ b/docs/learn-teleport/index.html @@ -15,7 +15,7 @@ - + @@ -46,7 +46,7 @@ condition will result in a change in the asset's total issuance (in the case of fungible tokens) or a complete loss/duplication of an NFT.

    Teleporting Tokens using the Polkadot-JS UI

    Troubleshooting

    If you do not see "Accounts > Teleport" in [Polkadot-JS UI], the source chain that you have selected does not support teleportation yet.

    - + \ No newline at end of file diff --git a/docs/learn-transaction-fees/index.html b/docs/learn-transaction-fees/index.html index d34f043a3f..19dd8e26fd 100644 --- a/docs/learn-transaction-fees/index.html +++ b/docs/learn-transaction-fees/index.html @@ -15,7 +15,7 @@ - + @@ -138,7 +138,7 @@ how reasonable they find the timestamp. In Kusama, it must be within some acceptable range of their own system clocks.

    Learn More

    - + \ No newline at end of file diff --git a/docs/learn-treasury/index.html b/docs/learn-treasury/index.html index 0531b881d7..ccc103402f 100644 --- a/docs/learn-treasury/index.html +++ b/docs/learn-treasury/index.html @@ -15,7 +15,7 @@ - + @@ -166,7 +166,7 @@ taking place. The time delay then allows chain participants time to respond. The response may take the form of governance measures or - in the most extreme cases a liquidation of their holdings and a migration to a minority fork. However, the possibility of this scenario is quite low.

    Further Reading

    - + \ No newline at end of file diff --git a/docs/learn-validator/index.html b/docs/learn-validator/index.html index fa01d56c1b..d81a13a612 100644 --- a/docs/learn-validator/index.html +++ b/docs/learn-validator/index.html @@ -15,7 +15,7 @@ - + @@ -91,7 +91,7 @@ statistics.
  • YieldScan - Staking yield maximization platform, designed to minimize effort.
  • Subscan Validators Page - Displays information on the current validators - not as tailored for validators as the other sites.
  • - + \ No newline at end of file diff --git a/docs/learn-video-tutorials/index.html b/docs/learn-video-tutorials/index.html index 8d46a64270..bae54af30a 100644 --- a/docs/learn-video-tutorials/index.html +++ b/docs/learn-video-tutorials/index.html @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@

    Videos about Polkadot

    Visit the Polkadot YouTube Channel

    For more videos see all playlists on the Polkadot YouTube channel.

    Ongoing Series

    Learn about Polkadot and Substrate at a deeper level with these ongoing deep dives, technical seminars, and initiatives within the ecosystem.

    Drawing
    Technical Explainers
    Drawing
    Substrate Seminars
    Drawing
    Polkadot Deep Dives

    Drawing
    Polkadot Community Calls
    Drawing
    Polkadot Decoded 2023
    Drawing
    Polkadot Blockchain Academy

    Past Events

    Drawing
    Polkadot for Beginners
    Drawing
    ETH Denver 2023
    Drawing
    Encode Polkadot Club

    Drawing
    Sub0 2022
    Drawing
    Polkadot Decoded 2022
    Drawing
    Polkadot in Davos 2022

    Drawing
    Polkadot Webinars
    Drawing
    Hackathon North America
    Drawing
    Hackathon Global Series
    - + \ No newline at end of file diff --git a/docs/learn-wasm/index.html b/docs/learn-wasm/index.html index 0789dc64fa..649f6e026f 100644 --- a/docs/learn-wasm/index.html +++ b/docs/learn-wasm/index.html @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ spec.
  • Wasmi - WebAssembly interpreter written in Rust.
  • Parity Wasm - WebAssembly serialization/deserialization in Rust.
  • Wasm utils - Collection of Wasm utilities used in Parity and Wasm contract development.
  • - + \ No newline at end of file diff --git a/docs/learn-xcm-instructions/index.html b/docs/learn-xcm-instructions/index.html index 2e18237eeb..8859751a67 100644 --- a/docs/learn-xcm-instructions/index.html +++ b/docs/learn-xcm-instructions/index.html @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ system and may not be transferred. It may only be unlocked with the receipt of the UnlockAsset instruction from this chain.

  • RequestUnlock(MultiAsset, MultiLocation) - Send an UnlockAsset instruction to the locker for the given asset.

  • - + \ No newline at end of file diff --git a/docs/learn-xcm-pallet/index.html b/docs/learn-xcm-pallet/index.html index 8d354ee763..8c6ea657e3 100644 --- a/docs/learn-xcm-pallet/index.html +++ b/docs/learn-xcm-pallet/index.html @@ -15,7 +15,7 @@ - + @@ -81,7 +81,7 @@ calculates the total fee based on the number of instructions.

    The Trader used to calculate the weight (time for computation in consensus) to include in the message. Fee calculation in XCM is highly configurable and, for this reason, subjective to whichever configuration is in place.

    - + \ No newline at end of file diff --git a/docs/learn-xcm-transport/index.html b/docs/learn-xcm-transport/index.html index ae77d1a044..3ab098acac 100644 --- a/docs/learn-xcm-transport/index.html +++ b/docs/learn-xcm-transport/index.html @@ -15,7 +15,7 @@ - + @@ -64,7 +64,7 @@ asset transfer as intended.

    The collator now hands this block to the validator, which itself will verify that this message was processed. If the message was processed and all other aspects of the block are valid, the validator will include this block for parachain B into the Relay Chain.

    - + \ No newline at end of file diff --git a/docs/learn-xcm-usecases/index.html b/docs/learn-xcm-usecases/index.html index 1433138699..2c131e76d4 100644 --- a/docs/learn-xcm-usecases/index.html +++ b/docs/learn-xcm-usecases/index.html @@ -15,7 +15,7 @@ - + @@ -41,7 +41,7 @@ destination's sovereign account, and sends this instruction onwards to the destination. The destination receives the instruction and processes it, minting the derivative assets as a result of the process.

    1. DepositAsset

    The destination deposits the derivative assets minted to the receiving account.

    - + \ No newline at end of file diff --git a/docs/learn-xcm/index.html b/docs/learn-xcm/index.html index 4a696cf4a9..e970cf4ae0 100644 --- a/docs/learn-xcm/index.html +++ b/docs/learn-xcm/index.html @@ -15,7 +15,7 @@ - + @@ -87,7 +87,7 @@ Technical audit report by Quarkslab prepared for Parity.

  • XCM pallet code - The pallet that contains XCM logic from the Polkadot code repository

  • XCM Config & Pallet-XCM | Polkadot Deep Dives - A technical deep dive into pallet-xcm and the XCM configuration.

  • - + \ No newline at end of file diff --git a/docs/learn-xcvm/index.html b/docs/learn-xcvm/index.html index 4bffc0b2ef..1f78906f36 100644 --- a/docs/learn-xcvm/index.html +++ b/docs/learn-xcvm/index.html @@ -15,7 +15,7 @@ - + @@ -105,7 +105,7 @@ a MultiLocation.

    Simulating XCVM using the xcm-simulator

    Within the Polkadot repository exists the xcm-simulator, which allows developers to experiment with building, executing, and simulating various XCM use scenarios.

    - + \ No newline at end of file diff --git a/docs/ledger/index.html b/docs/ledger/index.html index 39ac166f0e..b055caed9f 100644 --- a/docs/ledger/index.html +++ b/docs/ledger/index.html @@ -15,7 +15,7 @@ - + @@ -137,7 +137,7 @@ device after the installation.
  • If you wish to revert the version to the stable release, go to Ledger Live. The app will automatically detect the developer release and give the option to install the previous stable release.
  • - + \ No newline at end of file diff --git a/docs/maintain-bootnode/index.html b/docs/maintain-bootnode/index.html index 6e955c4497..ccb482f444 100644 --- a/docs/maintain-bootnode/index.html +++ b/docs/maintain-bootnode/index.html @@ -15,7 +15,7 @@ - + @@ -37,7 +37,7 @@ port 30311:

    /etc/nginx/sites-enabled/dot-bootnode

    server {
    listen 30312 ssl http2 default_server;
    server_name dot-bootnode.stakeworld.io;
    root /var/www/html;

    ssl_certificate "<your_cert";
    ssl_certificate_key "<your_key>";

    location / {
    proxy_buffers 16 4k;
    proxy_buffer_size 2k;
    proxy_pass http://localhost:30311;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header Host $host;
    }

    }

    Testing Bootnode Connection

    If we have the above node running with DNS name dot-bootnode.stakeworld.io, proxied with a valid certificate and node-id 12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg then the following commands should give you a: "syncing 1 peers".

    tip

    You can add -lsub-libp2p=trace on the end to get libp2p trace logging for debugging purposes.

    p2p:

    polkadot --chain polkadot --base-path /tmp/node --name "Bootnode testnode" --reserved-only --reserved-nodes "/dns/dot-bootnode.stakeworld.io/tcp/30310/p2p/12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg" --no-hardware-benchmarks

    p2p/ws:

    polkadot --chain polkadot --base-path /tmp/node --name "Bootnode testnode" --reserved-only --reserved-nodes "/dns/dot-bootnode.stakeworld.io/tcp/30311/ws/p2p/12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg" --no-hardware-benchmarks

    p2p/wss:

    polkadot --chain polkadot --base-path /tmp/node --name "Bootnode testnode" --reserved-only --reserved-nodes "/dns/dot-bootnode.stakeworld.io/tcp/30312/wss/p2p/12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg" --no-hardware-benchmarks
    - + \ No newline at end of file diff --git a/docs/maintain-endpoints/index.html b/docs/maintain-endpoints/index.html index d6a235c0e5..5d7be26b19 100644 --- a/docs/maintain-endpoints/index.html +++ b/docs/maintain-endpoints/index.html @@ -15,7 +15,7 @@ - + @@ -36,7 +36,7 @@ provide additional services such as higher rate limits, potentially more reliable and scalable service, and additional metrics.

    note

    The list of third party RPC endpoints above for Polkadot and Kusama is directly fetched from Polkdot-JS UI

    - + \ No newline at end of file diff --git a/docs/maintain-errors/index.html b/docs/maintain-errors/index.html index 3ccd070b97..3707ce5f89 100644 --- a/docs/maintain-errors/index.html +++ b/docs/maintain-errors/index.html @@ -15,7 +15,7 @@ - + @@ -46,7 +46,7 @@ will wait to be executed at the correct place in the nonce sequence OR it will get discarded due to some other error (ex. the validity period expires).*

    Error Table

    The below table is a reference to the errors that exists in Polkadot. It is generated from the runtime's metadata.

    PalletErrorDocumentation
    System (0)
    InvalidSpecName (0)The name of specification does not match between the current runtime and the new runtime.
    SpecVersionNeedsToIncrease (1)The specification version is not allowed to decrease between the current runtime and the new runtime.
    FailedToExtractRuntimeVersion (2)Failed to extract the runtime version from the new runtime. Either calling Core_version or decoding RuntimeVersion failed.
    NonDefaultComposite (3)Suicide called when the account has non-default composite data.
    NonZeroRefCount (4)There is a non-zero reference count preventing the account from being purged.
    Scheduler (1)
    FailedToSchedule (0)Failed to schedule a call
    NotFound (1)Cannot find the scheduled call.
    TargetBlockNumberInPast (2)Given target block number is in the past.
    RescheduleNoChange (3)Reschedule failed because it does not change scheduled time.
    Balances (5)
    VestingBalance (0)Vesting balance too high to send value
    LiquidityRestrictions (1)Account liquidity restrictions prevent withdrawal
    Overflow (2)Got an overflow after adding
    InsufficientBalance (3)Balance too low to send value
    ExistentialDeposit (4)Value too low to create account due to existential deposit
    KeepAlive (5)Transfer/payment would kill account
    ExistingVestingSchedule (6)A vesting schedule already exists for this account
    DeadAccount (7)Beneficiary account must pre-exist
    Authorship (6)
    InvalidUncleParent (0)The uncle parent not in the chain.
    UnclesAlreadySet (1)Uncles already set in the block.
    TooManyUncles (2)Too many uncles.
    GenesisUncle (3)The uncle is genesis.
    TooHighUncle (4)The uncle is too high in chain.
    UncleAlreadyIncluded (5)The uncle is already included.
    OldUncle (6)The uncle isn't recent enough to be included.
    Staking (7)
    NotController (0)Not a controller account.
    NotStash (1)Not a stash account.
    AlreadyBonded (2)Stash is already bonded.
    AlreadyPaired (3)Controller is already paired.
    EmptyTargets (4)Targets cannot be empty.
    DuplicateIndex (5)Duplicate index.
    InvalidSlashIndex (6)Slash record index out of bounds.
    InsufficientValue (7)Can not bond with value less than minimum balance.
    NoMoreChunks (8)Can not schedule more unlock chunks.
    NoUnlockChunk (9)Can not rebond without unlocking chunks.
    FundedTarget (10)Attempting to target a stash that still has funds.
    InvalidEraToReward (11)Invalid era to reward.
    InvalidNumberOfNominations (12)Invalid number of nominations.
    NotSortedAndUnique (13)Items are not sorted and unique.
    AlreadyClaimed (14)Rewards for this era have already been claimed for this validator.
    OffchainElectionEarlySubmission (15)The submitted result is received out of the open window.
    OffchainElectionWeakSubmission (16)The submitted result is not as good as the one stored on chain.
    SnapshotUnavailable (17)The snapshot data of the current window is missing.
    OffchainElectionBogusWinnerCount (18)Incorrect number of winners were presented.
    OffchainElectionBogusWinner (19)One of the submitted winners is not an active candidate on chain (index is out of range in snapshot).
    OffchainElectionBogusCompact (20)Error while building the assignment type from the compact. This can happen if an index is invalid, or if the weights overflow.
    OffchainElectionBogusNominator (21)One of the submitted nominators is not an active nominator on chain.
    OffchainElectionBogusNomination (22)One of the submitted nominators has an edge to which they have not voted on chain.
    OffchainElectionSlashedNomination (23)One of the submitted nominators has an edge which is submitted before the last non-zero slash of the target.
    OffchainElectionBogusSelfVote (24)A self vote must only be originated from a validator to ONLY themselves.
    OffchainElectionBogusEdge (25)The submitted result has unknown edges that are not among the presented winners.
    OffchainElectionBogusScore (26)The claimed score does not match with the one computed from the data.
    OffchainElectionBogusElectionSize (27)The election size is invalid.
    CallNotAllowed (28)The call is not allowed at the given time due to restrictions of election period.
    IncorrectHistoryDepth (29)Incorrect previous history depth input provided.
    IncorrectSlashingSpans (30)Incorrect number of slashing spans provided.
    Session (9)
    InvalidProof (0)Invalid ownership proof.
    NoAssociatedValidatorId (1)No associated validator ID for account.
    DuplicatedKey (2)Registered duplicate key.
    NoKeys (3)No keys are associated with this account.
    Grandpa (11)
    PauseFailed (0)Attempt to signal GRANDPA pause when the authority set isn't live (either paused or already pending pause).
    ResumeFailed (1)Attempt to signal GRANDPA resume when the authority set isn't paused (either live or already pending resume).
    ChangePending (2)Attempt to signal GRANDPA change with one already pending.
    TooSoon (3)Cannot signal forced change so soon after last.
    InvalidKeyOwnershipProof (4)A key ownership proof provided as part of an equivocation report is invalid.
    InvalidEquivocationProof (5)An equivocation proof provided as part of an equivocation report is invalid.
    DuplicateOffenceReport (6)A given equivocation report is valid but already previously reported.
    ImOnline (12)
    InvalidKey (0)Non existent public key.
    DuplicatedHeartbeat (1)Duplicated heartbeat.
    Democracy (14)
    ValueLow (0)Value too low
    ProposalMissing (1)Proposal does not exist
    BadIndex (2)Unknown index
    AlreadyCanceled (3)Cannot cancel the same proposal twice
    DuplicateProposal (4)Proposal already made
    ProposalBlacklisted (5)Proposal still blacklisted
    NotSimpleMajority (6)Next external proposal not simple majority
    InvalidHash (7)Invalid hash
    NoProposal (8)No external proposal
    AlreadyVetoed (9)Identity may not veto a proposal twice
    NotDelegated (10)Not delegated
    DuplicatePreimage (11)Preimage already noted
    NotImminent (12)Not imminent
    TooEarly (13)Too early
    Imminent (14)Imminent
    PreimageMissing (15)Preimage not found
    ReferendumInvalid (16)Vote given for invalid referendum
    PreimageInvalid (17)Invalid preimage
    NoneWaiting (18)No proposals waiting
    NotLocked (19)The target account does not have a lock.
    NotExpired (20)The lock on the account to be unlocked has not yet expired.
    NotVoter (21)The given account did not vote on the referendum.
    NoPermission (22)The actor has no permission to conduct the action.
    AlreadyDelegating (23)The account is already delegating.
    Overflow (24)An unexpected integer overflow occurred.
    Underflow (25)An unexpected integer underflow occurred.
    InsufficientFunds (26)Too high a balance was provided that the account cannot afford.
    NotDelegating (27)The account is not currently delegating.
    VotesExist (28)The account currently has votes attached to it and the operation cannot succeed until these are removed, either through unvote or reap_vote.
    InstantNotAllowed (29)The instant referendum origin is currently disallowed.
    Nonsense (30)Delegation to oneself makes no sense.
    WrongUpperBound (31)Invalid upper bound.
    MaxVotesReached (32)Maximum number of votes reached.
    InvalidWitness (33)The provided witness data is wrong.
    TooManyProposals (34)Maximum number of proposals reached.
    Council (15)
    NotMember (0)Account is not a member
    DuplicateProposal (1)Duplicate proposals not allowed
    ProposalMissing (2)Proposal must exist
    WrongIndex (3)Mismatched index
    DuplicateVote (4)Duplicate vote ignored
    AlreadyInitialized (5)Members are already initialized!
    TooEarly (6)The close call was made too early, before the end of the voting.
    TooManyProposals (7)There can only be a maximum of MaxProposals active proposals.
    WrongProposalWeight (8)The given weight bound for the proposal was too low.
    WrongProposalLength (9)The given length bound for the proposal was too low.
    TechnicalCommittee (16)
    NotMember (0)Account is not a member
    DuplicateProposal (1)Duplicate proposals not allowed
    ProposalMissing (2)Proposal must exist
    WrongIndex (3)Mismatched index
    DuplicateVote (4)Duplicate vote ignored
    AlreadyInitialized (5)Members are already initialized!
    TooEarly (6)The close call was made too early, before the end of the voting.
    TooManyProposals (7)There can only be a maximum of MaxProposals active proposals.
    WrongProposalWeight (8)The given weight bound for the proposal was too low.
    WrongProposalLength (9)The given length bound for the proposal was too low.
    ElectionsPhragmen (17)
    UnableToVote (0)Cannot vote when no candidates or members exist.
    NoVotes (1)Must vote for at least one candidate.
    TooManyVotes (2)Cannot vote more than candidates.
    MaximumVotesExceeded (3)Cannot vote more than maximum allowed.
    LowBalance (4)Cannot vote with stake less than minimum balance.
    UnableToPayBond (5)Voter can not pay voting bond.
    MustBeVoter (6)Must be a voter.
    ReportSelf (7)Cannot report self.
    DuplicatedCandidate (8)Duplicated candidate submission.
    MemberSubmit (9)Member cannot re-submit candidacy.
    RunnerSubmit (10)Runner cannot re-submit candidacy.
    InsufficientCandidateFunds (11)Candidate does not have enough funds.
    NotMember (12)Not a member.
    InvalidCandidateCount (13)The provided count of number of candidates is incorrect.
    InvalidVoteCount (14)The provided count of number of votes is incorrect.
    InvalidRenouncing (15)The renouncing origin presented a wrong Renouncing parameter.
    InvalidReplacement (16)Prediction regarding replacement after member removal is wrong.
    Treasury (19)
    InsufficientProposersBalance (0)Proposer's balance is too low.
    InvalidIndex (1)No proposal or bounty at that index.
    ReasonTooBig (2)The reason given is just too big.
    AlreadyKnown (3)The tip was already found/started.
    UnknownTip (4)The tip hash is unknown.
    NotFinder (5)The account attempting to retract the tip is not the finder of the tip.
    StillOpen (6)The tip cannot be claimed/closed because there are not enough tippers yet.
    Premature (7)The tip cannot be claimed/closed because it's still in the countdown period.
    UnexpectedStatus (8)The bounty status is unexpected.
    RequireCurator (9)Require bounty curator.
    InvalidValue (10)Invalid bounty value.
    InvalidFee (11)Invalid bounty fee.
    PendingPayout (12)A bounty payout is pending. To cancel the bounty, you must unassign and slash the curator.
    Claims (24)
    InvalidEthereumSignature (0)Invalid Ethereum signature.
    SignerHasNoClaim (1)Ethereum address has no claim.
    SenderHasNoClaim (2)Account ID sending tx has no claim.
    PotUnderflow (3)There's not enough in the pot to pay out some unvested amount. Generally implies a logic error.
    InvalidStatement (4)A needed statement was not included.
    VestedBalanceExists (5)The account already has a vested balance.
    Vesting (25)
    NotVesting (0)The account given is not vesting.
    ExistingVestingSchedule (1)An existing vesting schedule already exists for this account that cannot be clobbered.
    AmountLow (2)Amount being transferred is too low to create a vesting schedule.
    Identity (28)
    TooManySubAccounts (0)Too many subs-accounts.
    NotFound (1)Account isn't found.
    NotNamed (2)Account isn't named.
    EmptyIndex (3)Empty index.
    FeeChanged (4)Fee is changed.
    NoIdentity (5)No identity found.
    StickyJudgement (6)Sticky judgement.
    JudgementGiven (7)Judgement given.
    InvalidJudgement (8)Invalid judgement.
    InvalidIndex (9)The index is invalid.
    InvalidTarget (10)The target is invalid.
    TooManyFields (11)Too many additional fields.
    TooManyRegistrars (12)Maximum amount of registrars reached. Cannot add any more.
    AlreadyClaimed (13)Account ID is already named.
    NotSub (14)Sender is not a sub-account.
    NotOwned (15)Sub-account isn't owned by sender.
    Proxy (29)
    TooMany (0)There are too many proxies registered or too many announcements pending.
    NotFound (1)Proxy registration not found.
    NotProxy (2)Sender is not a proxy of the account to be proxied.
    Unproxyable (3)A call which is incompatible with the proxy type's filter was attempted.
    Duplicate (4)Account is already a proxy.
    NoPermission (5)Call may not be made by proxy because it may escalate its privileges.
    Unannounced (6)Announcement, if made at all, was made too recently.
    Multisig (30)
    MinimumThreshold (0)Threshold must be 2 or greater.
    AlreadyApproved (1)Call is already approved by this signatory.
    NoApprovalsNeeded (2)Call doesn't need any (more) approvals.
    TooFewSignatories (3)There are too few signatories in the list.
    TooManySignatories (4)There are too many signatories in the list.
    SignatoriesOutOfOrder (5)The signatories were provided out of order; they should be ordered.
    SenderInSignatories (6)The sender was contained in the other signatories; it shouldn't be.
    NotFound (7)Multisig operation not found when attempting to cancel.
    NotOwner (8)Only the account that originally created the multisig is able to cancel it.
    NoTimepoint (9)No timepoint was given, yet the multisig operation is already underway.
    WrongTimepoint (10)A different timepoint was given to the multisig operation that is underway.
    UnexpectedTimepoint (11)A timepoint was given, yet no multisig operation is underway.
    WeightTooLow (12)The maximum weight information provided was too low.
    AlreadyStored (13)The data to be stored is already stored.
    - + \ No newline at end of file diff --git a/docs/maintain-guides-avoid-slashing/index.html b/docs/maintain-guides-avoid-slashing/index.html index fdbd2aa5da..8f8bae91dc 100644 --- a/docs/maintain-guides-avoid-slashing/index.html +++ b/docs/maintain-guides-avoid-slashing/index.html @@ -15,7 +15,7 @@ - + @@ -64,7 +64,7 @@ obtain pristine binaries or source code and to ensure the security of their node:

    1. Always download either source files or binaries from the official Parity repository
    2. Verify the hash of downloaded files.
    3. Use the W3F secure validator setup or adhere to its principles
    4. Ensure essential security items are checked, use a firewall, manage user access, use SSH certificates
    5. Avoid using your server as a general-purpose system. Hosting a validator on your workstation or one that hosts other services increases the risk of maleficence.

    Examples

    NetworkEraEvent TypeDetailsAction Taken
    Polkadot774Small EquivocationThe validator migrated servers and cloned the keystore folder. The on-chain event can be viewed here.The validator did not submit a request for the slash to be canceled.
    Kusama3329Small EquivocationThe validator operated a test machine with cloned keys; the test machine was online at the same time as the primary, which resulted in a slash. Details can be found here.The validator requested a cancellation of the slash, but the council declined.
    Kusama3995Small EquivocationThe validator noticed several errors, after which the client crashed, and a slash was applied. The validator recorded all events and opened GitHub issues to allow for technical opinions to be shared. Details can be found here.The validator requested to cancel the slash. The council approved the request as they believed the error was not operator related.
    Kusama4543Medium UnresponsivenessA large amount of disputes flooded the network resulting in an application fault. The fault caused the client software to hang and as a result ~197 unique validators become unresponsive. Further details can be found here.The pending slash was cancelled and with runtime 9350 all lost nominations were restored. The application bug was addressed with client version 0.9.36
    - + \ No newline at end of file diff --git a/docs/maintain-guides-democracy/index.html b/docs/maintain-guides-democracy/index.html index bf7ed8e312..90aea8b835 100644 --- a/docs/maintain-guides-democracy/index.html +++ b/docs/maintain-guides-democracy/index.html @@ -15,7 +15,7 @@ - + @@ -158,7 +158,7 @@ a decimal integer. The bitfield stores both the conviction and aye/nay boolean, where the boolean is represented using the MSB of the byte. This would mean that the grouping of the 7 remaining bits is used to store the conviction.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-chill/index.html b/docs/maintain-guides-how-to-chill/index.html index 7830bcd468..7fe5a75714 100644 --- a/docs/maintain-guides-how-to-chill/index.html +++ b/docs/maintain-guides-how-to-chill/index.html @@ -15,7 +15,7 @@ - + @@ -75,7 +75,7 @@ Polkadot is set to None eliminating the upper bound on the number of nominators on the network. Due to this, the chillOther extrinsic on Polkadot network has no effect as the chill threshold will never be met.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-join-council/index.html b/docs/maintain-guides-how-to-join-council/index.html index 86b454dd5a..9c5ecdff5a 100644 --- a/docs/maintain-guides-how-to-join-council/index.html +++ b/docs/maintain-guides-how-to-join-council/index.html @@ -15,7 +15,7 @@ - + @@ -39,7 +39,7 @@ the row "Members".

    council members list

    Now you are able to participate on the council by making motions or voting proposals. To join in on the active discussions, join the Polkadot Direction channel.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-monitor-your-node/index.html b/docs/maintain-guides-how-to-monitor-your-node/index.html index 3eb733c33b..3a64caa1c5 100644 --- a/docs/maintain-guides-how-to-monitor-your-node/index.html +++ b/docs/maintain-guides-how-to-monitor-your-node/index.html @@ -15,7 +15,7 @@ - + @@ -79,7 +79,7 @@ here. There are other interesting alerts you may find useful here.

    groups:
    - name: alert_rules
    rules:
    - alert: InstanceDown
    expr: up == 0
    for: 5m
    labels:
    severity: critical
    annotations:
    summary: "Instance [{{ $labels.instance }}] down"
    description: "[{{ $labels.instance }}] of job [{{ $labels.job }}] has been down for more than 1 minute."

    Change the ownership of this file to prometheus instead of root by running:

    sudo chown prometheus:prometheus rules.yml

    To check the rules defined in the "rules.yml" is syntactically correct, run the following command:

    sudo -u prometheus promtool check rules rules.yml

    Finally, restart everything by running:

    sudo systemctl restart prometheus && sudo systemctl restart alertmanager

    Now if one of your target instances down, you will receive an alert on the AlertManager and Gmail like below.

    grafana-am-6

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-nominate-kusama/index.html b/docs/maintain-guides-how-to-nominate-kusama/index.html index b84e47802c..969c956138 100644 --- a/docs/maintain-guides-how-to-nominate-kusama/index.html +++ b/docs/maintain-guides-how-to-nominate-kusama/index.html @@ -15,7 +15,7 @@ - + @@ -92,7 +92,7 @@ Polkascan. Also, you can verify the bonding state under the Staking page on the Polkadot-JS Apps Dashboard.

    Step 3. Nominate a validator

    To nominate a validator, you can execute the following command:

    polkadot-js-api --seed "MNEMONIC_PHRASE" tx.staking.nominate '["VALIDATOR_ADDRESS"]' --ws WS_ENDPOINT
    polkadot-js-api --seed "xxxx xxxxx xxxx xxxxx" tx.staking.nominate '["CmD9vaMYoiKe7HiFnfkftwvhKbxN9bhyjcDrfFRGbifJEG8","E457XaKbj2yTB2URy8N4UuzmyuFRkcdxYs67UvSgVr7HyFb"]' --ws wss://kusama-rpc.polkadot.io/

    After a few seconds, you should see the hash of the transaction and if you would like to verify the nomination status, you can check that on the Polkadot-JS UI as well.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-nominate-polkadot/index.html b/docs/maintain-guides-how-to-nominate-polkadot/index.html index 32a838d34a..beec73f03b 100644 --- a/docs/maintain-guides-how-to-nominate-polkadot/index.html +++ b/docs/maintain-guides-how-to-nominate-polkadot/index.html @@ -15,7 +15,7 @@ - + @@ -63,7 +63,7 @@ Polkascan. Also, you can verify the bonding state under the Staking page on the Polkadot-JS Apps Dashboard.

    Step 3. Nominate a validator

    To nominate a validator, you can execute the following command:

    polkadot-js-api --seed "MNEMONIC_PHRASE" tx.staking.nominate '["VALIDATOR_ADDRESS"]' --ws WS_ENDPOINT
    polkadot-js-api --seed "xxxx xxxxx xxxx xxxxx" tx.staking.nominate '["CmD9vaMYoiKe7HiFnfkftwvhKbxN9bhyjcDrfFRGbifJEG8","E457XaKbj2yTB2URy8N4UuzmyuFRkcdxYs67UvSgVr7HyFb"]' --ws wss://rpc.polkadot.io

    After a few seconds, you should see the hash of the transaction, and if you would like to verify the nomination status, you can check that on the Polkadot-JS UI as well.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-stop-validating/index.html b/docs/maintain-guides-how-to-stop-validating/index.html index aa7b7bb86a..fdf38c1bb5 100644 --- a/docs/maintain-guides-how-to-stop-validating/index.html +++ b/docs/maintain-guides-how-to-stop-validating/index.html @@ -15,7 +15,7 @@ - + @@ -36,7 +36,7 @@ transfer your tokens.

    See Unbonding and Rebonding for more details.

    Unbond your tokens

    Unbonding your tokens can be done through the Network > Staking > Account actions page in PolkadotJS Apps by clicking the corresponding stash account dropdown and selecting "Unbond funds". This can also be done through the staking.unbond() extrinsic with the staking proxy account.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-systemd/index.html b/docs/maintain-guides-how-to-systemd/index.html index f3003ed7b8..da0394dc6b 100644 --- a/docs/maintain-guides-how-to-systemd/index.html +++ b/docs/maintain-guides-how-to-systemd/index.html @@ -15,7 +15,7 @@ - + @@ -28,7 +28,7 @@ not recognize votes that didn't make it to disk, and will then cast conflicting votes. Delaying the restart will allow the network to progress past potentially conflicting votes, at which point other nodes will not accept them.

    To enable this to autostart on bootup run:

    systemctl enable polkadot-validator.service

    Start it manually with:

    systemctl start polkadot-validator.service

    You can check that it's working with:

    systemctl status polkadot-validator.service

    You can tail the logs with journalctl like so:

    journalctl -f -u polkadot-validator
    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-upgrade/index.html b/docs/maintain-guides-how-to-upgrade/index.html index 9c93455077..5d46d53bca 100644 --- a/docs/maintain-guides-how-to-upgrade/index.html +++ b/docs/maintain-guides-how-to-upgrade/index.html @@ -15,7 +15,7 @@ - + @@ -46,7 +46,7 @@ Validator A.
  • Take note of the Session that this extrinsic was executed in.
  • Again, it is imperative that Validator B is kept running until the current session finishes and two further full sessions have elapsed.

    Once this time has elapsed, Validator A will take over. You can safely stop Validator B.

    NOTE: To verify that the Session has changed, make sure that a block in the new Session is finalized. You should see log messages like the ones below to confirm the change:

    2019-10-28 21:44:13 Applying authority set change scheduled at block #450092
    2019-10-28 21:44:13 Applying GRANDPA set change to new set with 20 authorities
    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-validate-kusama/index.html b/docs/maintain-guides-how-to-validate-kusama/index.html index 5842a410ac..6f063e1f9e 100644 --- a/docs/maintain-guides-how-to-validate-kusama/index.html +++ b/docs/maintain-guides-how-to-validate-kusama/index.html @@ -15,7 +15,7 @@ - + @@ -64,7 +64,7 @@ validator payout document.

    Run a Kusama Validator

    Running a validator on the Kusama network is identical to running a Polkadot validator. Check out the Polkadot guide on how to setup a validator.

    Make sure to adjust the Polkadot guide to run a Kusama network validator (the instructions will also be available in the Polkadot Validator guide):

    • When starting the node pass --chain=kusama CLI flag
    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-validate-polkadot/index.html b/docs/maintain-guides-how-to-validate-polkadot/index.html index 2c50fae200..cf1f8315ae 100644 --- a/docs/maintain-guides-how-to-validate-polkadot/index.html +++ b/docs/maintain-guides-how-to-validate-polkadot/index.html @@ -15,7 +15,7 @@ - + @@ -255,7 +255,7 @@ instance, Digital Ocean lists "Mining of Cryptocurrencies" under the Network Abuse section of their Acceptable Use Policy and requires explicit permission to do so. This may extend to other cryptocurrency activity.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-how-to-vote-councillor/index.html b/docs/maintain-guides-how-to-vote-councillor/index.html index 0fc7aa1424..6ce3aa1c8e 100644 --- a/docs/maintain-guides-how-to-vote-councillor/index.html +++ b/docs/maintain-guides-how-to-vote-councillor/index.html @@ -15,7 +15,7 @@ - + @@ -43,7 +43,7 @@ Polkadot-JS Apps Dashboard.

    Under the "Council overview" tab, click on "Vote".

    polkadotjs_removeVoter

    Issue the "Unvote all" option.

    When the transaction is included in a block you should have your reserved tokens made liquid again and your vote will no longer be counting for any councillors in the elections starting in the next term.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-polkadot-opengov/index.html b/docs/maintain-guides-polkadot-opengov/index.html index 612143a21e..8955a66505 100644 --- a/docs/maintain-guides-polkadot-opengov/index.html +++ b/docs/maintain-guides-polkadot-opengov/index.html @@ -15,7 +15,7 @@ - + @@ -140,7 +140,7 @@ If you like to use Polkadot-JS UI for performing multi-role delegation, the instructions are available here.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-secure-validator/index.html b/docs/maintain-guides-secure-validator/index.html index 12a17fab09..753dcbdf96 100644 --- a/docs/maintain-guides-secure-validator/index.html +++ b/docs/maintain-guides-secure-validator/index.html @@ -15,7 +15,7 @@ - + @@ -61,7 +61,7 @@ hardware. The provisioning of the validator machine should be automated and defined in code. This code should be kept in private version control, reviewed, audited, and tested.

  • Session keys should be generated and provided in a secure way.

  • Polkadot should be started at boot and restarted if stopped for any reason (supervisor process).

  • Polkadot should run as a non-root user.

  • Monitoring

    • There should be an on-call rotation for managing the alerts.

    • There should be a clear protocol with actions to perform for each level of each alert and an escalation policy.

    Resources

    - + \ No newline at end of file diff --git a/docs/maintain-guides-society-kusama/index.html b/docs/maintain-guides-society-kusama/index.html index e7a6a00259..53b5b587d9 100644 --- a/docs/maintain-guides-society-kusama/index.html +++ b/docs/maintain-guides-society-kusama/index.html @@ -15,7 +15,7 @@ - + @@ -89,7 +89,7 @@ extrinsic's parameters go to Element 1 ("proposal") -> "value" -> "params" -> Element 2 ("rules") and copy the value corresponding to the key "value". You can use a hex-to-UTF8 converter to then display the text. Note that the text is formatted with Markdown.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-validator-community/index.html b/docs/maintain-guides-validator-community/index.html index 5d9b2e1285..3aff40a070 100644 --- a/docs/maintain-guides-validator-community/index.html +++ b/docs/maintain-guides-validator-community/index.html @@ -15,7 +15,7 @@ - + @@ -159,7 +159,7 @@ monitoring, observability services, staking dashboards, wallets, command-line utilities, or porting implementations to other languages. Additionally, this may also be eligible to be funded via a Web3 Foundation Grant.

    - + \ No newline at end of file diff --git a/docs/maintain-guides-validator-payout/index.html b/docs/maintain-guides-validator-payout/index.html index 5512a2dda2..35c6a4410f 100644 --- a/docs/maintain-guides-validator-payout/index.html +++ b/docs/maintain-guides-validator-payout/index.html @@ -15,7 +15,7 @@ - + @@ -105,7 +105,7 @@ brackets ([]) next to each validator. Note that since the validator payment is public knowledge, having a low or non-existent validator payment may attract more stake from nominators, since they know they will receive a larger reward.

    Validator Set Size (v): 4
    Validator 1 Stake (v1) [20% commission]: 18 DOT (9 validator, 9 nominator)
    Validator 2 Stake (v2) [40% commission]: 9 DOT (3 validator, 6 nominator)
    Validator 3 Stake (v3) [10% commission]: 8 DOT (4 validator, 4 nominator)
    Validator 4 Stake (v4) [ 0% commission]: 6 DOT (1 validator, 5 nominator)
    Payout (p): 8 DOT

    Payout for each validator (v1 - v4):
    p / v = 8 / 4 = 2 DOT

    v1:
    (0.2 * 2) = 0.4 DOT -> validator payment
    (2 - 0.4) = 1.6 -> shared between all stake
    (9 / 18) * 1.6 = 0.8 -> validator stake share
    (9 / 18) * 1.6 = 0.8 -> nominator stake share
    v1 validator total reward: 0.4 + 0.8 = 1.2 DOT
    v1 nominator reward: 0.8 DOT

    v2:
    (0.4 * 2) = 0.8 DOT -> validator payment
    (2 - 0.8) = 1.2 -> shared between all stake
    (3 / 9) * 1.2 = 0.4 -> validator stake share
    (6 / 9) * 1.2 = 0.8 -> nominator stake share
    v2 validator total reward: 0.8 + 0.4 = 1.2 DOT
    v2 nominator reward: 0.8 DOT

    v3:
    (0.1 * 2) = 0.2 DOT -> validator payment
    (2 - 0.2) = 1.8 -> shared between all stake
    (4 / 8) * 1.8 = 0.9 -> validator stake share
    (4 / 8) * 1.8 = 0.9 -> nominator stake share
    v3 validator total reward: 0.2 + 0.9 DOT = 1.1 DOT
    v3 nominator reward: 0.9 DOT

    v4:
    (0 * 2) = 0 DOT -> validator payment
    (2 - 0) = 2.0 -> shared between all stake
    (1 / 6) * 2 = 0.33 -> validator stake share
    (5 / 6) * 2 = 1.67 -> nominator stake share
    v4 validator total reward: 0 + 0.33 DOT = 0.33 DOT
    v4 nominator reward: 1.67 DOT
    - + \ No newline at end of file diff --git a/docs/maintain-index/index.html b/docs/maintain-index/index.html index 3817552d1f..e076cd1076 100644 --- a/docs/maintain-index/index.html +++ b/docs/maintain-index/index.html @@ -15,7 +15,7 @@ - + @@ -41,7 +41,7 @@ participate in governance.
  • How to join the Council - Step by step guide for running for the Council.
  • How to vote for a Councillor - Step by step guide for voting for your favorite councillors.
  • - + \ No newline at end of file diff --git a/docs/maintain-networks/index.html b/docs/maintain-networks/index.html index 0787f65c1b..34058be749 100644 --- a/docs/maintain-networks/index.html +++ b/docs/maintain-networks/index.html @@ -15,7 +15,7 @@ - + @@ -50,7 +50,7 @@ the public Telemetry service.

    You can verify that your node is connected by navigating to the correct network on the dashboard and finding the name of your node.

    There is a built-in search function on the nodes page. Simply start typing keystrokes in the main window to make it available.

    - + \ No newline at end of file diff --git a/docs/maintain-polkadot-parameters/index.html b/docs/maintain-polkadot-parameters/index.html index 3a097448a4..b9a727fc8a 100644 --- a/docs/maintain-polkadot-parameters/index.html +++ b/docs/maintain-polkadot-parameters/index.html @@ -15,7 +15,7 @@ - + @@ -35,7 +35,7 @@ .

    PolkadotTimeSlotsDescription
    Term duration1 Day14_400The time for which a validator is in the set after being elected. Note, this duration can be shortened in the case that a validator misbehaves.
    Nomination period1 Day14_400How often a new validator set is elected according to Phragmén's method.
    Bonding duration28 days403_200How long until your funds will be transferrable after unbonding. Note that the bonding duration is defined in eras, not directly by slots.
    Slash defer duration28 days403_200Prevents overslashing and validators "escaping" and getting their nominators slashed with no repercussions to themselves. Note that the bonding duration is defined in eras, not directly by slots.

    Parachains

    Crowdloans and AuctionsTimeSlotsDescription
    Auction duration7 days100_800The total duration of the slot auction, subject to the candle auction mechanism.
    Opening period2 days28_800The opening period of the slot auction.
    Ending period5 days72_000The ending period of the slot auction.
    Parachain SlotTimeSlotsDescription
    Lease period12 weeks1_209_600The length of one lease period in a parachain slot.
    Total slot duration2 years10_512_000The maximum duration a parachain can lease by winning a slot auction (8 lease periods).

    Treasury

    TreasuryTimeSlotsDescription
    Periods between spends24 days345_600When the treasury can spend again after spending previously.

    Burn percentage is currently 1.00%.

    Precision

    DOT have 10 decimals of precision. In other words, 10 ** 10 (10_000_000_000 or ten billion) Plancks make up a DOT.

    The denomination of DOT was changed from 12 decimals of precision at block #1,248,328 in an event known as Denomination Day. See Redenomination for details.

    - + \ No newline at end of file diff --git a/docs/maintain-rpc/index.html b/docs/maintain-rpc/index.html index 4d63a21bb0..7800122bae 100644 --- a/docs/maintain-rpc/index.html +++ b/docs/maintain-rpc/index.html @@ -15,7 +15,7 @@ - + @@ -50,7 +50,7 @@ node. Activate the "Development" toggle and input your node's address - either the domain or the IP address. Remember to prefix with wss://, and if you're using the 443 port, append :443 like so: wss://example.com:443.

    A sync-in-progress chain connected to Polkadot-JS UI

    Now you have a secure remote connect setup for your Substrate node.

    - + \ No newline at end of file diff --git a/docs/maintain-sync/index.html b/docs/maintain-sync/index.html index c68e4d67d0..7e6d39f027 100644 --- a/docs/maintain-sync/index.html +++ b/docs/maintain-sync/index.html @@ -15,7 +15,7 @@ - + @@ -86,7 +86,7 @@ on localhost by default. If you would like to connect to your node's services (rpc, websockets, and prometheus) you need to ensure that you run you node with the --rpc-external, --ws-external, and --prometheus-external commands.

    docker run -p 9944:9944 -p 9615:9615 parity/polkadot:v0.9.13 --name "calling_home_from_a_docker_container" --rpc-external --ws-external --prometheus-external
    - + \ No newline at end of file diff --git a/docs/maintain-wss/index.html b/docs/maintain-wss/index.html index 95e5ae15e0..40bf083c83 100644 --- a/docs/maintain-wss/index.html +++ b/docs/maintain-wss/index.html @@ -15,7 +15,7 @@ - + @@ -39,7 +39,7 @@ node. Activate the "Development" toggle and input your node's address - either the domain or the IP address. Remember to prefix with wss:// and if you're using the 443 port, append :443, like so: wss://example.com:443.

    A sync-in-progress chain connected to Polkadot-JS UI

    Now you have a secure remote connect setup for your Substrate node.

    - + \ No newline at end of file diff --git a/docs/metadata/index.html b/docs/metadata/index.html index 7e8f86fade..a1a56b9c42 100644 --- a/docs/metadata/index.html +++ b/docs/metadata/index.html @@ -15,7 +15,7 @@ - + @@ -25,7 +25,7 @@ The dropdown below allows you to update the chain selection to visualize. You can search all sub-categories using the provided search field. The information is categorized by the chains Pallets, RPC and Runtime information.

    - + \ No newline at end of file diff --git a/docs/polkadot-v1/index.html b/docs/polkadot-v1/index.html index 19f54c29fb..5917799473 100644 --- a/docs/polkadot-v1/index.html +++ b/docs/polkadot-v1/index.html @@ -15,7 +15,7 @@ - + @@ -96,7 +96,7 @@ could become.

    Polkadot is perfecting its implementation through RFCs to continue being a decentralized, secure, ubiquitous computing engine to power the next generation of Web3 applications.

    - + \ No newline at end of file diff --git a/docs/polkadot-vault/index.html b/docs/polkadot-vault/index.html index 3ed45f54ee..a0a7705bd4 100644 --- a/docs/polkadot-vault/index.html +++ b/docs/polkadot-vault/index.html @@ -15,7 +15,7 @@ - + @@ -85,7 +85,7 @@ this article for detailed instructions. If you choose this approach, you should trust the provider you choose.

    Advanced How-to Guides

    See the advanced guides for more information about how to add chain specification and do metadata updates yourself.

    - + \ No newline at end of file diff --git a/docs/polkadotjs-ui/index.html b/docs/polkadotjs-ui/index.html index ebfc4d85f3..219dbecb20 100644 --- a/docs/polkadotjs-ui/index.html +++ b/docs/polkadotjs-ui/index.html @@ -15,7 +15,7 @@ - + @@ -67,7 +67,7 @@ nomination pool settings (nomination and roles) and use non-transfer proxies, destroy assets, and much more.

    Beginner's Guide to Polkadot-JS

    - + \ No newline at end of file diff --git a/docs/polkadotjs/index.html b/docs/polkadotjs/index.html index 357277489d..bee1b2cc9a 100644 --- a/docs/polkadotjs/index.html +++ b/docs/polkadotjs/index.html @@ -15,7 +15,7 @@ - + @@ -88,7 +88,7 @@ of spam prevention, whereas signed transactions are issued by the originator account of a transaction which contains a signature of that account, which will be subject to a fee to include it on the chain.

    - + \ No newline at end of file diff --git a/docs/research/index.html b/docs/research/index.html index 1f9d691bf5..3d44ec1186 100644 --- a/docs/research/index.html +++ b/docs/research/index.html @@ -15,7 +15,7 @@ - + @@ -50,7 +50,7 @@ – Gives an outline of Nominated Proof of Stake in Polkadot. Author: Alfonzo Cevallos
  • Messaging Protocol Workshop Outcomes – An initiative to design and implement a privacy-preserving communication system for decentralized applications.
  • - + \ No newline at end of file diff --git a/docs/staking-dashboard/index.html b/docs/staking-dashboard/index.html index 31f2e25777..c17eff2dfa 100644 --- a/docs/staking-dashboard/index.html +++ b/docs/staking-dashboard/index.html @@ -15,7 +15,7 @@ - + @@ -153,7 +153,7 @@ feature request. We take your feedback seriously, do not hesitate to contact us.

    Network

    Under Network, you can connect to either Polkadot, Kusama, or Westend through public RPC nodes or light clients for a true Web3 experience. For more information about light clients, see this page.

    - + \ No newline at end of file diff --git a/docs/thousand-contributors/index.html b/docs/thousand-contributors/index.html index a5975a6d7e..5b64ae6073 100644 --- a/docs/thousand-contributors/index.html +++ b/docs/thousand-contributors/index.html @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ the account shared with us.

    Submission reviews

    The review process follows the present pipeline in the 1KC public GitHub project.

    Learn more about the program and its components on the official 1KC repository

    - + \ No newline at end of file diff --git a/docs/thousand-validators/index.html b/docs/thousand-validators/index.html index 47b657c21a..67da89c9d5 100644 --- a/docs/thousand-validators/index.html +++ b/docs/thousand-validators/index.html @@ -15,7 +15,7 @@ - + @@ -80,7 +80,7 @@ things time to resolve; if they don't, leave a message in the dedicated matrix room or open an issue on GitHub.
  • The 1000 validators website is not up to date? See these resources for more up-to-date information.
  • Resources

    To extract and display the 1KV Program scores there are various tools listed below.

    ResourceGithub sourceInfo
    Main 1KV sitegithubMain site and 1KV backend.
    SubVT telegram bot for polkadot and kusamagithubTelegram bot with overviews and alerts for various polkadot and kusama related events, including 1KV events.
    SubVT ios and android appgithubSubVT app version for mobile phones.
    Validator earnings overviewgithubOverview of validators' earnings.
    Math Crypto's Insightsgithub1KV-oriented scoring overview of Kusama and Polkadot.
    One-T for polkadot and kusamagithubA performance report bot for the Polkadot and Kusama network with special focus on the 1KV programme.
    One-T parachains overviewgithubOne-T's parachain overview.
    Metaspan's 1KV overviewgithubOverview of 1KV programme, including the newly introduced endpoints, see here for available endpoints.
    Decentradot's 1KV overviewgithubOverview of the 1KV programme, including the newly introduced endpoints.
    Hirish 1KV overviewgithub?Overview of the 1KV Programme.
    - + \ No newline at end of file diff --git a/docs/wallets-and-extensions/index.html b/docs/wallets-and-extensions/index.html index ec379bd198..244c1ec4b3 100644 --- a/docs/wallets-and-extensions/index.html +++ b/docs/wallets-and-extensions/index.html @@ -15,7 +15,7 @@ - + @@ -84,7 +84,7 @@ your accounts on over 150+ Substrate and EVM networks. NFT Management, ledger Support, fiat On-ramp, portfolio tracking. Talisman received funding from Polkadot Treasury [1].

    - + \ No newline at end of file diff --git a/index.html b/index.html index be611c8327..696133e1c8 100644 --- a/index.html +++ b/index.html @@ -15,13 +15,13 @@ - +

    Kusama is an early release of Polkadot: a scalable, multichain network for radical innovation. Kusama serves as a proving ground that allows teams and developers to build and deploy a parachain, and experiment with Polkadot’s governance and NPoS functionality in a real environment.

    Join the chaos.

    Become a Nominator

    Help maintain the network by participating as a nominator. Nomination is the process of staking your tokens behind a validator to support and secure the network. As a result, nominators are rewarded from the block production rewards that their nominatations are entitled to.

    Become a Validator

    The minimum requirement for staking as a validator on Kusama is much lower than it is expected for Polkadot. There are also programs in place such as Thousand Validators to help community validators rise the ranks.


    Deploy Parachains

    Kusama Parachains are live. Chaos has been welcomed and continues with no promises. The path of Kusama deployment is paving the way to Polkadot's parachains as the technology becomes proven.

    Explore the Politics

    Learn about Kusama's on-chain governance. Campaign as a councillor or vote for new runtime proposals using Democracy.


    Learn about Kusama's Cousin, Polkadot

    Kusama is Polkadot’s canary network. Polkadot development is on track to deliver the most robust platform for security, scalability and innovation. With the help of Kusama, Polkadot will become a scalable, interoperable & secure network protocol for web 3.0.

    Help Improve this Wiki

    This Wiki was started by and is maintained by Web3 Foundation. It is an open-source project and aims to be the most extensive resource of knowledge on Kusama and the Kusama ecosystem.


    - + \ No newline at end of file diff --git a/search/index.html b/search/index.html index da817696e7..4a208ff836 100644 --- a/search/index.html +++ b/search/index.html @@ -15,13 +15,13 @@ - +

    Search the documentation

    - + \ No newline at end of file