(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{239:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(7437),i=r(2265);t.default=function(e){let{html:t,height:r=null,width:o=null,children:a,dataNtpc:s=""}=e;return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(s)}})},[s]),(0,n.jsxs)(n.Fragment,{children:[a,t?(0,n.jsx)("div",{style:{height:null!=r?"".concat(r,"px"):"auto",width:null!=o?"".concat(o,"px"):"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:t}}):null]})}},4404:function(e,t,r){"use strict";var n;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let o=r(7437),a=r(2265),s=(n=r(1877))&&n.__esModule?n:{default:n};t.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:r="dataLayer"}=e;return void 0===i&&(i=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(r,"'] = window['").concat(r,"'] || [];\n function gtag(){window['").concat(r,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"');")}}),(0,o.jsx)(s.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),r=0;r{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(r,"');")}}),(0,o.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:"https://www.googletagmanager.com/gtm.js?id=".concat(t).concat(l).concat(n?">m_auth=".concat(n):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):"")})]})},t.sendGTMEvent=e=>{if(void 0===i){console.warn("@next/third-parties: GTM has not been initialized");return}window[i]?window[i].push(e):console.warn("@next/third-parties: GTM dataLayer ".concat(i," does not exist"))}},9881:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=r(9077);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var o=r(5031);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(o).default}});var a=r(7640);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var s=r(4404);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},5031:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(7437),o=n(r(1877)),a=r(1772),s=n(r(239)),u={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,a.YouTubeEmbed)(e);return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,i.jsx)(o.default,{src:e.url,strategy:u[e.strategy],stylesheets:n},e.url))})}},1432:function(e,t,r){"use strict";r.d(t,{Ps:function(){return U}});var n,i,o,a,s,u=r(1735);let c=/\r\n|[\n\r]/g;function l(e,t){let r=0,n=1;for(let i of e.body.matchAll(c)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function f(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,c=`${e.name}:${a}:${u} `,l=n.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+h([[`${a-1} |`,l[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,l[i+1]]])}function h(e){let 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 p extends Error{constructor(e,...t){var r,n,i,o;let{nodes:a,source:s,positions:u,path:c,originalError:f,extensions:h}=function(e){let 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!=c?c:void 0,this.originalError=null!=f?f:void 0,this.nodes=d(Array.isArray(a)?a:a?[a]:void 0);let y=d(null===(r=this.nodes)||void 0===r?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==y?void 0:null===(n=y[0])||void 0===n?void 0:n.source,this.positions=null!=u?u:null==y?void 0:y.map(e=>e.start),this.locations=u&&s?u.map(e=>l(s,e)):null==y?void 0:y.map(e=>l(e.source,e.start));let v="object"==typeof(o=null==f?void 0:f.extensions)&&null!==o?null==f?void 0:f.extensions:void 0;this.extensions=null!==(i=null!=h?h: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!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):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(let r of this.nodes)if(r.loc){var t;e+="\n\n"+f((t=r.loc).source,l(t.source,t.start))}}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+f(this.source,t);return e}toJSON(){let 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 d(e){return void 0===e||0===e.length?void 0:e}function y(e,t,r){return new p(`Syntax Error: ${r}`,{source:e,positions:[t]})}var v=r(3482);(n=a||(a={})).QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var m=r(8350),g=r(1052),b=r(4540);(i=s||(s={})).SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment";class _{constructor(e){let t=new v.WU(s.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(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,i=t;for(;i=0&&e<=55295||e>=57344&&e<=1114111}function E(e,t){return w(e.charCodeAt(t))&&k(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function S(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function T(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new v.WU(t,r,n,o,a,i)}function x(e,t,r){if(!(0,b.X1)(r))throw y(e.source,t,`Invalid number, expected digit but got: ${S(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,b.X1)(n.charCodeAt(i));)++i;return i}function I(e,t){return D(e.charCodeAt(t))<<12|D(e.charCodeAt(t+1))<<8|D(e.charCodeAt(t+2))<<4|D(e.charCodeAt(t+3))}function D(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var N=r(9446),R=r(8996);let P=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name)){let t=(0,R.X)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other relied on modules, use "resolutions" to ensure only one version is installed. https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and spurious results.`)}}return!1};class A{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,N.a)(!1,`Body must be a string. Received: ${(0,R.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,N.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,N.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class j{constructor(e,t={}){let r=P(e,A)?e:new A(e);this._lexer=new _(r),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:m.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:m.h.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===s.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 y(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(){let e;let t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:m.h.OPERATION_DEFINITION,operation:v.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:m.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return v.ku.QUERY;case"mutation":return v.ku.MUTATION;case"subscription":return v.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:m.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:m.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:m.h.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(s.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:m.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:m.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:m.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:m.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:m.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){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:m.h.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:m.h.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:m.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:m.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:m.h.NULL});default:return this.node(t,{kind:m.h.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw y(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(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:m.h.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:m.h.LIST,values:this.any(s.BRACKET_L,()=>this.parseValueLiteral(e),s.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:m.h.OBJECT,fields:this.any(s.BRACE_L,()=>this.parseObjectField(e),s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:m.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:m.h.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:m.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:m.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:m.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let r=this.parseNamedType();return this.node(e,{kind:m.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:m.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(s.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:m.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(s.COLON);let i=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:m.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:m.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:m.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:m.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 y(this._lexer.source,this._lexer.token.start,`${C(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:m.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.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(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:m.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let 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:m.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let 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:m.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:m.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new v.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw y(this._lexer.source,t.start,`Expected ${M(e)}, found ${C(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw y(this._lexer.source,t.start,`Expected "${e}", found ${C(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return y(this._lexer.source,t.start,`Unexpected ${C(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==s.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw y(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function C(e){let t=e.value;return M(e.kind)+(null!=t?` "${t}"`:"")}function M(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}var F=new Map,L=new Map,q=!0,Q=!1;function V(e){return e.replace(/[\s,]+/g," ").trim()}function U(e){for(var t=[],r=1;r1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,i="";if(n){let{children:e}=n.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),a=Number(n.content),s=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=s.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),c.forEach(e=>r.insertBefore(e,n)),n.content=(a-s.length+c.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(9920),i=r(1452),o=r(7437),a=i._(r(2265)),s=n._(r(4887)),u=n._(r(8321)),c=r(497),l=r(7103),f=r(3938);r(2301);let h=r(291),p=n._(r(1241)),d={deviceSizes:[640,750,828,1080,1200,1440,1690,1920,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){let[t,r]=a.version.split(".",2),n=parseInt(t,10),i=parseInt(r,10);return n>18||18===n&&i>=3?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let m=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:u,decoding:c,className:l,style:f,fetchPriority:h,placeholder:p,loading:d,unoptimized:m,fill:g,onLoadRef:b,onLoadingCompleteRef:_,setBlurComplete:O,setShowAltText:E,sizesInput:w,onLoad:k,onError:S,...T}=e;return(0,o.jsx)("img",{...T,...v(h),loading:d,width:u,height:s,decoding:c,"data-nimg":g?"fill":"1",className:l,style:f,sizes:i,srcSet:n,src:r,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&y(e,p,b,_,O,m,w))},[r,p,b,_,O,S,m,w,t]),onLoad:e=>{y(e.currentTarget,p,b,_,O,m,w)},onError:e=>{E(!0),"empty"!==p&&O(!0),S&&S(e)}})});function g(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(f.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=d||n||l.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:s,onLoadingComplete:u}=e,y=(0,a.useRef)(s);(0,a.useEffect)(()=>{y.current=s},[s]);let v=(0,a.useRef)(u);(0,a.useEffect)(()=>{v.current=u},[u]);let[b,_]=(0,a.useState)(!1),[O,E]=(0,a.useState)(!1),{props:w,meta:k}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:O});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{...w,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:y,onLoadingCompleteRef:v,setBlurComplete:_,setShowAltText:E,sizesInput:e.sizes,ref:t}),k.priority?(0,o.jsx)(g,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},231:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});let n=r(9920),i=r(7437),o=n._(r(2265)),a=r(8016),s=r(8029),u=r(1142),c=r(3461),l=r(844),f=r(291),h=r(4467),p=r(3106),d=r(5944),y=r(4897),v=r(1507),m=new Set;function g(e,t,r,n,i,o){if("undefined"!=typeof window&&(o||(0,s.isLocalURL)(t))){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(m.has(i))return;m.add(i)}Promise.resolve(o?e.prefetch(t,i):e.prefetch(t,r,n)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let _=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:m,children:_,prefetch:O=null,passHref:E,replace:w,shallow:k,scroll:S,locale:T,onClick:x,onMouseEnter:I,onTouchStart:D,legacyBehavior:N=!1,...R}=e;r=_,N&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let P=o.default.useContext(f.RouterContext),A=o.default.useContext(h.AppRouterContext),j=null!=P?P:A,C=!P,M=!1!==O,F=null===O?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,{href:L,as:q}=o.default.useMemo(()=>{if(!P){let e=b(u);return{href:e,as:m?b(m):e}}let[e,t]=(0,a.resolveHref)(P,u,!0);return{href:e,as:m?(0,a.resolveHref)(P,m):t||e}},[P,u,m]),Q=o.default.useRef(L),V=o.default.useRef(q);N&&(n=o.default.Children.only(r));let U=N?n&&"object"==typeof n&&n.ref:t,[z,G,B]=(0,p.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(V.current!==q||Q.current!==L)&&(B(),V.current=q,Q.current=L),z(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[q,U,L,B,z]);o.default.useEffect(()=>{j&&G&&M&&g(j,L,q,{locale:T},{kind:F},C)},[q,L,G,T,M,null==P?void 0:P.locale,j,C,F]);let Y={ref:W,onClick(e){N||"function"!=typeof x||x(e),N&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),j&&!e.defaultPrevented&&function(e,t,r,n,i,a,u,c,l){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let h=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:c,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};l?o.default.startTransition(h):h()}(e,j,L,q,w,k,S,T,C)},onMouseEnter(e){N||"function"!=typeof I||I(e),N&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),j&&(M||!C)&&g(j,L,q,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:F},C)},onTouchStart:function(e){N||"function"!=typeof D||D(e),N&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),j&&(M||!C)&&g(j,L,q,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:F},C)}};if((0,c.isAbsoluteUrl)(q))Y.href=q;else if(!N||E||"a"===n.type&&!("href"in n.props)){let e=void 0!==T?T:null==P?void 0:P.locale,t=(null==P?void 0:P.isLocaleDomain)&&(0,d.getDomainLocale)(q,e,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);Y.href=t||(0,y.addBasePath)((0,l.addLocale)(q,e,null==P?void 0:P.defaultLocale))}return N?o.default.cloneElement(n,Y):(0,i.jsx)("a",{...R,...Y,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9189:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8016:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(8323),i=r(1142),o=r(5519),a=r(3461),s=r(8157),u=r(8029),c=r(9195),l=r(20);function f(e,t,r){let f;let h="string"==typeof t?t:(0,i.formatWithValidation)(t),p=h.match(/^[a-zA-Z]{1,}:\/\//),d=p?h.slice(p[0].length):h;if((d.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(d);h=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(h))return r?[h]:h;try{f=new URL(h.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(h,f);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,c.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:a,params:s}=(0,l.interpolateAs)(e.pathname,e.pathname,r);a&&(t=(0,i.formatWithValidation)({pathname:a,hash:e.hash,query:(0,o.omit)(r,s)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[a,t||a]:a}catch(e){return r?[h]:h}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return b},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return m}});let n=r(9920),i=r(1452),o=r(7437),a=n._(r(4887)),s=i._(r(2265)),u=r(6590),c=r(905),l=r(9189),f=new Map,h=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],d=e=>{if(a.default.preinit){e.forEach(e=>{a.default.preinit(e,{as:"style"})});return}if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},y=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:s="afterInteractive",onError:u,stylesheets:l}=e,y=r||t;if(y&&h.has(y))return;if(f.has(t)){h.add(y),f.get(t).then(n,u);return}let v=()=>{i&&i(),h.add(y)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),v()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",v()):a?(m.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",v()):t&&(m.src=t,f.set(t,g)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=c.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),l&&d(l),document.body.appendChild(m)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,l.requestIdleCallback)(()=>y(e))}):y(e)}function m(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:c="afterInteractive",onError:f,stylesheets:p,...d}=e,{updateScripts:v,scripts:m,getIsSsr:g,appDir:b,nonce:_}=(0,s.useContext)(u.HeadManagerContext),O=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;O.current||(i&&e&&h.has(e)&&i(),O.current=!0)},[i,t,r]);let E=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!E.current&&("afterInteractive"===c?y(e):"lazyOnload"===c&&("complete"===document.readyState?(0,l.requestIdleCallback)(()=>y(e)):window.addEventListener("load",()=>{(0,l.requestIdleCallback)(()=>y(e))})),E.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(v?(m[c]=(m[c]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:f,...d}]),v(m)):g&&g()?h.add(t||r):g&&!g()&&y(e)),b){if(p&&p.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)return r?(a.default.preload(r,d.integrity?{as:"script",integrity:d.integrity,nonce:_}:{as:"script",nonce:_}),(0,o.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...d,id:t}])+")"}})):(d.dangerouslySetInnerHTML&&(d.children=d.dangerouslySetInnerHTML.__html,delete d.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...d,id:t}])+")"}}));"afterInteractive"===c&&r&&a.default.preload(r,d.integrity?{as:"script",integrity:d.integrity,nonce:_}:{as:"script",nonce:_})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let b=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3106:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(2265),i=r(9189),o="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,c=u||!o,[l,f]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(c||l)return;let e=h.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,r,t,l,h.current]),[p,l,(0,n.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2901:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext({})},687:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},1943:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(2301);let n=r(1564),i=r(7103);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r;let s,u,c,{src:l,sizes:f,unoptimized:h=!1,priority:p=!1,loading:d,className:y,quality:v,width:m,height:g,fill:b=!1,style:_,overrideSrc:O,onLoad:E,onLoadingComplete:w,placeholder:k="empty",blurDataURL:S,fetchPriority:T,layout:x,objectFit:I,objectPosition:D,lazyBoundary:N,lazyRoot:R,...P}=e,{imgConf:A,showAltText:j,blurComplete:C,defaultLoader:M}=t,F=A||i.imageConfigDefault;if("allSizes"in F)s=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t);s={...F,allSizes:e,deviceSizes:t}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let L=P.loader||M;delete P.loader,delete P.srcSet;let q="__next_img_default"in L;if(q){if("custom"===s.loader)throw Error('Image with src "'+l+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=L;L=t=>{let{config:r,...n}=t;return e(n)}}if(x){"fill"===x&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[x];e&&(_={..._,...e});let t={responsive:"100vw",fill:"100vw"}[x];t&&!f&&(f=t)}let Q="",V=a(m),U=a(g);if("object"==typeof(r=l)&&(o(r)||void 0!==r.src)){let e=o(l)?l.default:l;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,c=e.blurHeight,S=S||e.blurDataURL,Q=e.src,!b){if(V||U){if(V&&!U){let t=V/e.width;U=Math.round(e.height*t)}else if(!V&&U){let t=U/e.height;V=Math.round(e.width*t)}}else V=e.width,U=e.height}}let z=!p&&("lazy"===d||void 0===d);(!(l="string"==typeof l?l:Q)||l.startsWith("data:")||l.startsWith("blob:"))&&(h=!0,z=!1),s.unoptimized&&(h=!0),q&&l.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(h=!0),p&&(T="high");let G=a(v),B=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:D}:{},j?{}:{color:"transparent"},_),W=C||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:V,heightInt:U,blurWidth:u,blurHeight:c,blurDataURL:S||"",objectFit:B.objectFit})+'")':'url("'+k+'")',Y=W?{backgroundSize:B.objectFit||"cover",backgroundPosition:B.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{},K=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:c}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),l=u.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:u.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:o,width:u[l]})}}({config:s,src:l,unoptimized:h,width:V,quality:G,sizes:f,loader:L});return{props:{...P,loading:z?"lazy":d,fetchPriority:T,width:V,height:U,decoding:"async",className:y,style:{...B,...Y},sizes:K.sizes,srcSet:K.srcSet,src:O||K.src},meta:{unoptimized:h,priority:p,placeholder:k,fill:b}}}},8321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},defaultHead:function(){return f}});let n=r(9920),i=r(1452),o=r(7437),a=i._(r(2265)),s=n._(r(5960)),u=r(2901),c=r(6590),l=r(687);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2301);let p=["name","httpEquiv","charSet","itemProp"];function d(e,t){let{inAmpMode:r}=t;return e.reduce(h,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:n})})}let y=function(e){let{children:t}=e,r=(0,a.useContext)(u.AmpStateContext),n=(0,a.useContext)(c.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:d,headManager:n,inAmpMode:(0,l.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1564:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,u=i?40*i:r,c=s&&u?"viewBox='0 0 "+s+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},3938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(9920)._(r(2265)),i=r(7103),o=n.default.createContext(i.imageConfigDefault)},7103:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},5601:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return s}});let n=r(9920),i=r(497),o=r(8173),a=n._(r(1241));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1440,1690,1920,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},1241:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:i}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},291:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext(null)},1142:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return o},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}});let n=r(1452)._(r(8323)),i=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",a=e.pathname||"",s=e.hash||"",u=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=String(n.urlQueryToSearchParams(u)));let l=e.search||u&&"?"+u||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||i.test(o))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),l&&"?"!==l[0]&&(l="?"+l),""+o+c+(a=a.replace(/[?#]/g,encodeURIComponent))+(l=l.replace("#","%23"))+s}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return o(e)}},9195:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let n=r(9089),i=r(8083)},20:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(1533),i=r(3169);function o(e,t,r){let o="",a=(0,i.getRouteRegex)(e),s=a.groups,u=(t!==e?(0,n.getRouteMatcher)(a)(t):"")||r;o=e;let c=Object.keys(s);return c.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=s[e],i="["+(r?"...":"")+e+"]";return n&&(i=(t?"":"/")+"["+i+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(o=o.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:c,result:o}}},8083:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let n=r(2269),i=/\/\[[^/]+?\](?=\/|$)/;function o(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),i.test(e)}},8029:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(3461),i=r(9404);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},5519:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},8323:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,i]=e;Array.isArray(i)?i.forEach(e=>t.append(r,n(e))):t.set(r,n(i))}),t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return o},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},1533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let n=r(3461);function i(e){let{re:t,groups:r}=e;return e=>{let i=t.exec(e);if(!i)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(e=>{let t=r[e],n=i[t.pos];void 0!==n&&(a[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),a}}},3169:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return h},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return u}});let n=r(2269),i=r(1943),o=r(7741);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function s(e){let t=(0,o.removeTrailingSlash)(e).slice(1).split("/"),r={},s=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){let{key:e,optional:n,repeat:u}=a(o[1]);return r[e]={pos:s++,repeat:u,optional:n},"/"+(0,i.escapeStringRegexp)(t)+"([^/]+?)"}if(!o)return"/"+(0,i.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=a(o[1]);return r[e]={pos:s++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=s(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function c(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:o,keyPrefix:s}=e,{key:u,optional:c,repeat:l}=a(n),f=u.replace(/\W/g,"");s&&(f=""+s+f);let h=!1;(0===f.length||f.length>30)&&(h=!0),isNaN(parseInt(f.slice(0,1)))||(h=!0),h&&(f=r()),s?o[f]=""+s+u:o[f]=u;let p=t?(0,i.escapeStringRegexp)(t):"";return l?c?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function l(e,t){let r;let a=(0,o.removeTrailingSlash)(e).slice(1).split("/"),s=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:a.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&o){let[r]=e.split(o[0]);return c({getSafeRouteKey:s,interceptionMarker:r,segment:o[1],routeKeys:u,keyPrefix:t?"nxtI":void 0})}return o?c({getSafeRouteKey:s,segment:o[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,i.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function f(e,t){let r=l(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function h(e,t){let{parameterizedRoute:r}=s(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:i}=l(e,!1);return{namedRegex:"^"+i+(n?"(?:(/.*)?)":"")+"$"}}},9089:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let r=i.slice(1,-1),a=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),a=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,r),this.restSlugName=r,i="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,r),this.slugName=r,i="[]"}}this.children.has(i)||this.children.set(i,new r),this.children.get(i)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},5960:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(2265),i="undefined"==typeof window,o=i?()=>{}:n.useLayoutEffect,a=i?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),s()}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},3461:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return d},MiddlewareNotFoundError:function(){return g},MissingStaticPage:function(){return m},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return a},getURL:function(){return s},isAbsoluteUrl:function(){return o},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return l},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;oi.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function l(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let h="undefined"!=typeof performance,p=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class d extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class g extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},2474:function(e,t,r){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(2265))},1772:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(5081);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=r(4062);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=r(3730);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},5081:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let o=i(r(6893)),a=r(5783);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},4062:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let o=i(r(6362)),a=r(5783);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},3730:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let o=i(r(5825)),a=r(5783);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},5783:function(e,t){"use strict";function r(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function i(e,t,r,i,o){var a;if(!t)return`<${e}>`;let s=(null===(a=t.src)||void 0===a?void 0:a.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,o)}):t,u=Object.keys(Object.assign(Object.assign({},s),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],i=s[t],o=null!=n?n:i,a=!0===o?t:`${t}="${o}"`;return o?e+` ${a}`:e},"");return`<${e}${u}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=i,t.formatData=function(e,t){var o,a,s,u,c;let l=r(t,null===(o=e.scripts)||void 0===o?void 0:o.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),f=r(t,null===(s=null===(a=e.html)||void 0===a?void 0:a.attributes.src)||void 0===s?void 0:s.params),h=r(t,[null===(c=null===(u=e.html)||void 0===u?void 0:u.attributes.src)||void 0===c?void 0:c.slugParam]),p=r(t,[...Object.keys(l),...Object.keys(f),...Object.keys(h)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,p,f,h):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,l)})):null})}},5566:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],c=!1,l=-1;function f(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(n=u,u=[];++l1)for(var r=1;r=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,o.ZT)(t,e),t}(Error),g=r(4774),b=r(9159),_=r(9045),O=r(2457),E=r(8290),w=r(8350),k=r(2511),S=r(8620),T=r(84),x=r(2120),I=r(2018),D=r(1167),N=r(7637),R=r(1567),P=Object.prototype.hasOwnProperty;function A(e){return null==e}function j(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=A(n)?A(i)?void 0:{_id:i}:{id:n}),A(n)&&!A(i)&&(n=i),!A(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var C={dataIdFromObject:j,addTypename:!0,resultCaching:!0,canonizeResults:!1};function M(e){var t=e.canonizeResults;return void 0===t?C.canonizeResults:t}var F=/^[_a-z][_0-9a-z]*/i;function L(e){var t=e.match(F);return t?t[0]:e}function q(e){return(0,D.s)(e)&&!(0,E.Yk)(e)&&!(0,R.k)(e)}function Q(e,t){var r=(0,c.F)((0,T.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var V=Object.create(null),U=function(){return V},z=Object.create(null),G=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,I.J)((0,E.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,E.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,E.kQ)(e);if((0,E.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,E.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,o.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),P.call(this.data,e)){var r=this.data[e];if(r&&P.call(r,t))return r[t]}return"__typename"===t&&P.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Y?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),P.call(this.data,e))?this.data[e]:this instanceof Y?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,E.Yk)(e)&&(e=e.__ref),(0,E.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,a.kG)("string"==typeof r,1);var s=new h.w0($).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=L(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof Y||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),s=!1,u=!0,c={DELETE:V,INVALIDATE:z,isReference:E.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,E.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var f=L(l),h=n[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===U?V:p((0,I.J)(h),(0,o.pi)((0,o.pi)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===z)r.group.dirty(e,l);else if(d===V&&(d=void 0),d!==h&&(i[l]=d,s=!0,h=d,!1!==globalThis.__DEV__)){var y=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.kG.warn(2,e),!0};if((0,E.Yk)(d))y(d);else if(Array.isArray(d))for(var v=!1,m=void 0,g=0,b=d;g0){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 Y?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){P.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 Y;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!P.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,E.Yk)(e)&&(t[e.__ref]=!0),(0,D.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,D.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),B=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new N.B(k.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=L(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function W(e,t){J(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new B(void 0===n||n))||this;return o.stump=new K(o),o.storageTrie=new N.B(k.mr),i&&o.replace(i),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(n=G||(G={})),n.Root=i;var Y=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,o.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,u.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,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return P.call(this.data,t)?(0,o.pi)((0,o.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}(G),K=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new B(t.group.caching,t.group))||this}return(0,o.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Y);function $(e,t,r){var n=e[r],i=t[r];return(0,u.D)(n,i)?n:i}function J(e){return!!(e instanceof G&&e.group.caching)}var H=function(){function e(){this.known=new(k.sy?WeakSet:Set),this.pool=new N.B(k.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.s)(e)){var t=(0,D.s)(e)?(0,R.k)(e)?e.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,D.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.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}();function X(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Z=function(){function e(e){var t=this;this.knownResults=new(k.mr?WeakMap:Map),this.config=(0,S.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:M(e)}),this.canon=e.canon||new H,this.executeSelectionSet=(0,s.re)(function(e){var r,n=e.context.canonizeResults,i=X(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,o.pi)((0,o.pi)({},a),{result:t.canon.admit(a.result)}):a:(W(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:X,makeCacheKey:function(e,t,r,n){if(J(r.store))return r.store.makeCacheKey(e,(0,E.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.re)(function(e){return W(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(J(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new H},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;a=(0,o.pi)((0,o.pi)({},(0,T.O4)((0,T.iW)(n))),a);var f=(0,E.kQ)(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:(0,T.p$)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,o.pi)({store:r,query:n,policies:l,variables:a,varString:(0,_.B)(a),canonizeResults:c},Q(n,this.config.fragments))});if(h.missing&&(t=[new m(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,n,a)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(J(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,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,E.Yk)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var u=s.variables,l=s.policies,f=s.store.getFieldValue(i,"__typename"),p=[],d=new h.w0;function y(e,r){var n;return e.missing&&(t=d.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof f&&!l.rootIdsByTypename[f]&&p.push({__typename:f});var v=new Set(n.selections);v.forEach(function(e){var n,h;if((0,x.LZ)(e,u)){if((0,E.My)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:i},s),g=(0,E.u2)(e);void 0===m?b.Gw.added(e)||(t=d.merge(t,((n={})[g]="Can't find field '".concat(e.name.value,"' on ").concat((0,E.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,R.k)(m)?m.length>0&&(m=y(r.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:s}),g)):e.selectionSet?null!=m&&(m=y(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,E.Yk)(m)?m:o,context:s}),g)):s.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&p.push(((h={})[g]=m,h))}else{var _=(0,c.hi)(e,s.lookupFragment);if(!_&&e.kind===w.h.FRAGMENT_SPREAD)throw(0,a._K)(9,e.name.value);_&&l.fragmentMatches(_,f)&&_.selectionSet.selections.forEach(v.add,v)}}});var m={result:(0,h.bw)(p),missing:t},g=s.canonizeResults?this.canon.admit(m):(0,I.J)(m);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,s=e.context,u=new h.w0;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,R.k)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,E.Yk)(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,D.s)(r)&&((0,a.kG)(!(0,E.Yk)(r),10,(0,E.Yk)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),ee=r(1893),et=r(8142),er=r(8771),en=Object.create(null);function ei(e){var t=JSON.stringify(e);return en[t]||(en[t]=Object.create(null))}function eo(e){var t=ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=es(e,function(e){var i=ec(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&P.call(t,e[0])&&(i=ec(t,e,eu)),(0,a.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function ea(e){var t=ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(es(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,R.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,E.NC)(s,i);return u&&ec(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&P.call(i,c)){var l=e.slice(0);return l[0]=c,ec(i,l)}return}if(t)return ec(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function es(e,t){var r=new h.w0;return(function e(t){var r=ei(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,R.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,R.k)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function eu(e,t){return e[t]}function ec(e,t,r){return r=r||eu,function e(t){return(0,D.s)(t)?(0,R.k)(t)?t.map(e):es(Object.keys(t).sort(),function(e){return ec(t,e)}):t}(t.reduce(function e(t,n){return(0,R.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function el(e){return void 0!==e.args?e.args:e.field?(0,E.NC)(e.field,e.variables):null}var ef=function(){},eh=function(e,t){return t.fieldName},ep=function(e,t,r){return(0,r.mergeObjects)(e,t)},ed=function(e,t){return t},ey=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,o.pi)({dataIdFromObject:j},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,n,i=this,a=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,u=(0,o.pi)((0,o.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=em(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),l=c&&c.keyFn||this.config.dataIdFromObject;l;){var f=l((0,o.pi)((0,o.pi)({},e),s),u);if((0,R.k)(f))l=eo(f);else{n=f;break}}return n=n?String(n):void 0,u.keyObject?[n,u.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,a=n.mutationType,s=n.subscriptionType,u=(0,o._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),P.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ep:!1===t?ed:e.merge}a(n,t.merge),n.keyFn=!1===i?ef:(0,R.k)(i)?eo(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?eh:(0,R.k)(s)?ea(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||eh)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,a.kG)(!n||n===e,5,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(F);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!P.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,o._T)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h1?s:t}:(n=(0,o.pi)({},i),P.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&a.kG.warn(7,(0,et.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function eg(e){return function(t,r){if((0,R.k)(t)||(0,R.k)(r))throw(0,a._K)(8);if((0,D.s)(t)&&(0,D.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,E.Yk)(t)&&q(r))return e.merge(t.__ref,r),t;if(q(t)&&(0,E.Yk)(r))return e.merge(t,r.__ref),r;if(q(t)&&q(r))return(0,o.pi)((0,o.pi)({},t),r)}return r}}function eb(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,o.pi)((0,o.pi)({},e),{clientOnly:t,deferred:r})),i}var e_=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,n=t.query,i=t.result,s=t.dataId,c=t.variables,l=t.overwrite,f=(0,T.$H)(n),p=new h.w0;c=(0,o.pi)((0,o.pi)({},(0,T.O4)(f)),c);var d=(0,o.pi)((0,o.pi)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,_.B)(c)},Q(n,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,E.Yk)(y))throw(0,a._K)(11,i);return d.incomingById.forEach(function(t,n){var i=t.storeObject,s=t.mergeTree,c=t.fieldNodeSet,l=(0,E.kQ)(n);if(s&&s.map.size){var f=r.applyMerges(s,l,i,d);if((0,E.Yk)(f))return;i=f}if(!1!==globalThis.__DEV__&&!d.overwrite){var h=Object.create(null);c.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});var p=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==h[L(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},s=i(e);if(s){var c=i(t);if(!(!c||(0,E.Yk)(s)||(0,u.D)(s,c)||Object.keys(s).every(function(e){return void 0!==n.getFieldValue(c,e)}))){var l=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),f=L(r),h="".concat(l,".").concat(f);if(!eS.has(h)){eS.add(h);var p=[];(0,R.k)(s)||(0,R.k)(c)||[s,c].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),!1!==globalThis.__DEV__&&a.kG.warn(14,f,l,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",h,(0,o.pi)({},s),(0,o.pi)({},c))}}}}(l,i,e,d.store)})}e.merge(n,i)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,E.qw)(n,i,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=em(arguments,l,s.variables);if((0,E.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,o.pi)((0,o.pi)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},p=new Set;this.flattenFields(i,n,s,f).forEach(function(e,r){var i,o=n[(0,E.u2)(r)];if(p.add(r),void 0!==o){var s=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=eE(u,s),y=t.processFieldValue(o,r,r.selectionSet?eb(e,!1,!1):e,d),v=void 0;r.selectionSet&&((0,E.Yk)(y)||q(y))&&(v=h("__typename",y));var m=c.getMergeFunction(f,r.name.value,v);m?d.info={field:r,typename:f,merge:m}:ek(u,s),l=e.merge(l,((i={})[s]=y,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||b.Gw.added(r)||c.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||a.kG.error(12,(0,E.u2)(r),n)});try{var d=c.identify(n,{typename:f,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),y=d[0],v=d[1];r=r||y,v&&(l=s.merge(l,v))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,E.kQ)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(i)>=0||(g.push(i),this.reader&&this.reader.isFresh(n,m,i,s)))return m;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,l),_.mergeTree=function e(t,r){if(t===r||!r||ew(r))return t;if(!t||ew(t))return r;var n=t.info&&r.info?(0,o.pi)((0,o.pi)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,a={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,u),p.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:ew(u)?void 0:u,fieldNodeSet:p}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,R.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eE(n,o));return ek(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,ee.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,E.qw)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,s=new N.B(!1);return function e(u,l){var f=s.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(s){if((0,x.LZ)(s,r.variables)){var u=l.clientOnly,f=l.deferred;if(!(u&&f)&&(0,R.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,E.NC)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,E.My)(s)){var h=i.get(s);h&&(u=u&&h.clientOnly,f=f&&h.deferred),i.set(s,eb(r,u,f))}else{var p=(0,c.hi)(s,r.lookupFragment);if(!p&&s.kind===w.h.FRAGMENT_SPREAD)throw(0,a._K)(13,s.name.value);p&&o.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,eb(r,u,f))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var s=this;if(e.map.size&&!(0,E.Yk)(r)){var u,c,l=!(0,R.k)(r)&&((0,E.Yk)(t)||q(t))?t:void 0,f=r;l&&!i&&(i=[(0,E.Yk)(l)?l.__ref:l]);var h=function(e,t){return(0,R.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(l,t),o=h(f,t);if(void 0!==o){i&&i.push(t);var u=s.applyMerges(e,r,o,n,i);u!==o&&(c=c||new Map).set(t,u),i&&(0,a.kG)(i.pop()===t)}}),c&&(r=(0,R.k)(f)?f.slice(0):(0,o.pi)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(u=n.store).getStorage.apply(u,i)):r},e}(),eO=[];function eE(e,t){var r=e.map;return r.has(t)||r.set(t,eO.pop()||{map:new Map}),r.get(t)}function ew(e){return!e||!(e.info||e.map.size)}function ek(e,t){var r=e.map,n=r.get(t);n&&ew(n)&&(eO.push(n),r.delete(t))}var eS=new Set,eT=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new g.A(b.Gw),n.assumeImmutableResults=!0,n.makeVar=er.QS,n.txCount=0,n.config=(r=t,(0,S.o)(C,r)),n.addTypename=!!n.config.addTypename,n.policies=new ey({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,o.ZT)(t,e),t.prototype.init=function(){var e=this.data=new G.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 e_(this,this.storeReader=new Z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:M(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,s.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(J(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,_.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;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof m)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(P.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,er._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,er.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){_.B.reset(),O.S.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,E.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&a.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(P.call(e,"id"))return!1;e=(0,o.pi)((0,o.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),_.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,er.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,n=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e,t){var r=u.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,u.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(v);!1!==globalThis.__DEV__&&(eT.prototype.getMemoryInternals=d.q4)},8771:function(e,t,r){"use strict";r.d(t,{QS:function(){return c},_v:function(){return u},ab:function(){return i},li:function(){return s}});var n=r(3310),i=new n.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},6677:function(e,t,r){"use strict";r.d(t,{f:function(){return ek}});var n=r(1735),i=r(8164),o=r(9670),a=r(84);function s(e,t){return t?t(e):o.y.of()}function u(e){return"function"==typeof e?new l(e):e}function c(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 o.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=u(r),a=u(n||new e(s));return Object.assign(new e(c(i)&&c(a)?function(e){return t(e)?i.request(e)||o.y.of():a.request(e)||o.y.of()}:function(e,r){return t(e)?i.request(e,r)||o.y.of():a.request(e,r)||o.y.of()}),{left:i,right:a})},e.execute=function(e,t){var r,s,u,c;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);rt.indexOf(o))throw(0,i._K)(43,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.rY)(s.query)||void 0:""),c=(0,n.pi)({},u),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,n.pi)((0,n.pi)({},c),e(c)):(0,n.pi)((0,n.pi)({},c),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,n.pi)({},c)}}),s))||o.y.of()},e.concat=function(t,r){var n=u(t);if(c(n))return!1!==globalThis.__DEV__&&i.kG.warn(35,n),n;var a=u(r);return Object.assign(new e(c(a)?function(e){return n.request(e,function(e){return a.request(e)||o.y.of()})||o.y.of()}:function(e,t){return n.request(e,function(e){return a.request(e,t)||o.y.of()})||o.y.of()}),{left:n,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,i._K)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),f=l.execute,h=r(2635),p=r(2120),d=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,i._K)(39,t,e.message);throw n.parseError=e,n}return r},y=r(2511);function v(e){var t={next:function(){return e.read()}};return y.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var m=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},g=r(1288),b=r(1167),_=r(1567),O=r(7737);function E(e){return"incremental"in e}function w(e,t){var r=e,n=new O.w0;return E(t)&&(0,_.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}var k=Object.prototype.hasOwnProperty;function S(e,t){e.status>=300&&m(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var T=function(e){if(!e&&"undefined"==typeof fetch)throw(0,i._K)(37)},x=r(2457),I={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},D=function(e,t){return t(e)};function N(e){return new o.y(function(t){t.error(e)})}var R=r(4739),P=r(9159),A=(0,i.wY)(function(){return fetch}),j=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,s=e.fetch,u=e.print,c=void 0===u?D:u,f=e.includeExtensions,h=e.preserveHeaderCase,_=e.useGETForQueries,O=e.includeUnusedVariables,E=void 0!==O&&O,w=(0,n._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&T(s||A);var j={http:{includeExtensions:f,preserveHeaderCase:h},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new l(function(e){var t,u,l,f,h,O,w,T,D=(t=e,u=r,t.getContext().uri||("function"==typeof u?u(t):u||"/graphql")),C=e.getContext(),M={};if(C.clientAwareness){var F=C.clientAwareness,L=F.name,q=F.version;L&&(M["apollographql-client-name"]=L),q&&(M["apollographql-client-version"]=q)}var Q=(0,n.pi)((0,n.pi)({},M),C.headers),V={http:C.http,options:C.fetchOptions,credentials:C.credentials,headers:Q};if((0,p.FS)(["client"],e.query)){var U=(0,P.ob)(e.query);if(!U)return N(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=U}var z=function(e,t){for(var r=[],i=2;i-1;){if(O=void 0,O=(I=[u.slice(0,_),u.slice(_+s.length)])[0],u=I[1],E=O.indexOf("\r\n\r\n"),(w=function(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}(O.slice(0,E))["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(k=O.slice(E)){if(Object.keys(T=S(e,k)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T){if((0,b.s)(T)&&"payload"in T){if(x={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];x=(0,n.pi)({},T.payload)}"errors"in T&&(x=(0,n.pi)((0,n.pi)({},x),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in x?x.extensions:null),((D={})[g.YG]=T.errors,D))})),t(x)}else t(T)}else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}_=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,o):t.text().then(function(e){return S(t,e)}).then(function(r){return Array.isArray(r)||k.call(r,"data")||k.call(r,"errors")||m(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(o)}).then(function(){T=void 0,t.complete()}).catch(function(e){T=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){T&&T.abort()}})})},C=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,j(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(l),M=r(4511),F=r(9045),L=r(4774);function q(e,t,r){return new o.y(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function Q(e){var t=V(e);return(0,_.O)(t)}function V(e){var t=(0,_.O)(e.errors)?e.errors.slice(0):[];return E(e)&&(0,_.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var U=r(8290),z=r(1756);function G(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function B(e){function t(t){Object.defineProperty(e,t,{value:o.y})}return y.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function W(e){return e&&"function"==typeof e.then}var Y=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),G(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),G(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?W(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),G(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 o.y(t)]),W(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}(o.y);B(Y);var K=r(3152),$=r(8620),J=r(1893),H=r(8338),X=Object.assign,Z=Object.hasOwnProperty,ee=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,s=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=er)}catch(e){}var r=!s.observers.size;s.observers.add(e);var n=s.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&s.reobserve().catch(function(){}),function(){s.observers.delete(e)&&!s.observers.size&&s.tearDownQuery()}})||this;s.observers=new Set,s.subscriptions=new Set,s.queryInfo=i,s.queryManager=r,s.waitForOwnResult=ei(o.fetchPolicy),s.isTornDown=!1;var u=r.defaultOptions.watchQuery,c=(void 0===u?{}:u).fetchPolicy,l=void 0===c?"cache-first":c,f=o.fetchPolicy,h=void 0===f?l:f,p=o.initialFetchPolicy,d=void 0===p?"standby"===h?l:h:p;s.options=(0,n.pi)((0,n.pi)({},o),{initialFetchPolicy:d,fetchPolicy:h}),s.queryId=i.queryId||r.generateQueryId();var y=(0,a.$H)(s.query);return s.queryName=y&&y.name&&y.name.value,s}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||K.Ie.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,K.Oj)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(ei(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,M.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===K.Ie.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=K.Ie.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||en(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,H.W)(this.query,this.last.result,e,this.variables):!(0,M.D)(this.last.result,e))||t&&!(0,M.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,M.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?r.fetchPolicy=o:"no-cache"===o?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&Z.call(e,"variables")){var s=(0,a.iW)(this.query),u=s.variableDefinitions;u&&u.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.kG.warn(20,e,(null===(t=s.name)||void 0===t?void 0:t.value)||s)}return e&&!(0,M.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,K.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.options.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var o=this.queryInfo,a=o.networkStatus;o.networkStatus=K.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,r,K.Ie.fetchMore).then(function(n){return t.queryManager.removeQuery(i),o.networkStatus===K.Ie.fetchMore&&(o.networkStatus=a),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:n.data,variables:r.variables})}):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){s.add(e.query)}}),n}).finally(function(){s.has(t.query)||et(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&i.kG.error(21,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,$.o)(this.options,e||{});X(this.options,t)},t.prototype.setVariables=function(e){return(0,M.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},K.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.kG)(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,K.Oj)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},K.Ie.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,M.D)(t,this.last.variables)&&(r=void 0),this.last=(0,n.pi)({result:this.queryManager.assumeImmutableResults?e:(0,J.X)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===K.Ie.refetch||t===K.Ie.fetchMore||t===K.Ie.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,$.o)(this.options,e||{}),u=i?s:X(this.options,s),c=this.transformDocument(u.query);this.lastQuery=c,!i&&(this.updatePolling(),e&&e.variables&&!(0,M.D)(e.variables,o)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=K.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=ei(u.fetchPolicy));var l=function(){r.concast===p&&(r.waitForOwnResult=!1)},f=u.variables&&(0,n.pi)({},u.variables),h=this.fetch(u,t,c),p=h.concast,d=h.fromLink,y={next:function(e){(0,M.D)(r.variables,f)&&(l(),r.reportResult(e,f))},error:function(e){(0,M.D)(r.variables,f)&&(l(),r.reportError(e,f))}};return i||!d&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=y),p.addObserver(y),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(o.y);function et(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function er(e){!1!==globalThis.__DEV__&&i.kG.error(23,e.message,e.stack)}function en(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(24,e)}function ei(e){return"network-only"===e||"no-cache"===e||"standby"===e}B(ee);var eo=r(8350);function ea(e){return e.kind===eo.h.FIELD||e.kind===eo.h.FRAGMENT_SPREAD||e.kind===eo.h.INLINE_FRAGMENT}var es=r(6530),eu=r(8771),ec=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,O.Ee)(t.resolvers,e)}):this.resolvers=(0,O.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.mG)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).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,p.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,P.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.mG)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(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,R.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 R.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,P.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.mG)(this,arguments,void 0,function(e,t,r,i,o,s){var u,c,l,f,h,p,d,y,v,m;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.Jh)(this,function(g){return u=(0,a.p$)(e),c=(0,a.kU)(e),l=(0,es.F)(c),f=this.collectSelectionsToResolve(u,l),p=(h=u.operation)?h.charAt(0).toUpperCase()+h.slice(1):"Query",d=this,y=d.cache,v=d.client,m={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:y,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:f,onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.mG)(this,void 0,void 0,function(){var a,s,u,c,l,f=this;return(0,n.Jh)(this,function(h){return a=o.fragmentMap,s=o.context,u=o.variables,c=[r],l=function(e){return(0,n.mG)(f,void 0,void 0,function(){var l,f;return(0,n.Jh)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,p.LZ)(e,u)?(0,U.My)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&c.push(((r={})[(0,U.u2)(e)]=t,r))})]:((0,U.Ao)(e)?l=e:(l=a[e.name.value],(0,i.kG)(l,18,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,o.fragmentMatcher(r,f,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then(function(e){c.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,O.bw)(c)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.mG)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,p,d=this;return(0,n.Jh)(this,function(n){return r?(o=i.variables,u=(a=e.name.value)!==(s=(0,U.u2)(e)),l=Promise.resolve(c=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[u?a:s])&&(l=Promise.resolve(eu.ab.withValue(this.cache,p,[r,(0,U.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,R.Vn)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&ea(e)&&a.add(e)})},FragmentSpread:function(n,o,s,u,c){var l=t[n.name.value];(0,i.kG)(l,19,n.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){r(e)&&ea(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),el=new(y.mr?WeakMap:Map);function ef(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return el.set(e,(el.get(e)+1)%1e15),r.apply(this,arguments)})}function eh(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var ep=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;el.has(r)||(el.set(r,0),ef(r,"evict"),ef(r,"modify"),ef(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||K.Ie.loading;return this.variables&&this.networkStatus!==K.Ie.loading&&!(0,M.D)(this.variables,e.variables)&&(t=K.Ie.setVariables),(0,M.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(){eh(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,M.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,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,M.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():et(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;eh(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,K.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var 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,M.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===el.get(this.cache)&&(0,M.D)(t,r.variables)&&(0,M.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new O.w0,a=(0,_.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,_.O)(e.incremental)){var s=w(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(ed(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:el.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,M.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=K.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=K.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function ed(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!Q(e);return!n&&r&&e.data&&(n=!0),n}var ey=r(7637),ev=r(8288),em=r(1531),eg=Object.prototype.hasOwnProperty,eb=Object.create(null),e_=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.documentTransform,o=e.queryDeduplication,a=e.onBroadcast,s=e.ssrMode,u=e.clientAwareness,c=e.localState,l=e.assumeImmutableResults,f=void 0===l?!!t.assumeImmutableResults:l,h=e.defaultContext,p=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ev.s(em.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new ey.B(!1);var d=new L.A(function(e){return p.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=void 0!==o&&o,this.clientAwareness=void 0===u?{}:u,this.localState=c||new ec({cache:t}),this.ssrMode=void 0!==s&&s,this.assumeImmutableResults=f,this.documentTransform=i?d.concat(i).concat(d):d,this.defaultContext=h||Object.create(null),(this.onBroadcast=a)&&(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)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.mG)(this,arguments,void 0,function(e){var t,r,o,a,s,u,c,l=e.mutation,f=e.variables,h=e.optimisticResponse,p=e.updateQueries,d=e.refetchQueries,y=void 0===d?[]:d,v=e.awaitRefetchQueries,m=void 0!==v&&v,b=e.update,_=e.onQueryUpdated,O=e.fetchPolicy,E=void 0===O?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.fetchPolicy)||"network-only":O,w=e.errorPolicy,k=void 0===w?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":w,S=e.keepRootFields,T=e.context;return(0,n.Jh)(this,function(e){switch(e.label){case 0:if((0,i.kG)(l,26),(0,i.kG)("network-only"===E||"no-cache"===E,27),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!r)return[3,2];return[4,this.localState.addExportedVariables(l,f,T)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:E,errorPolicy:k,context:T,updateQueries:p,update:b,keepRootFields:S}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return q(s.getObservableFromLink(l,(0,n.pi)((0,n.pi)({},T),{optimisticResponse:a?h:void 0}),f,!1),function(e){if(Q(e)&&"none"===k)throw new g.cA({graphQLErrors:V(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.pi)({},e);return"function"==typeof y&&(y=y(r)),"ignore"===k&&Q(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:E,errorPolicy:k,context:T,update:b,updateQueries:p,awaitRefetchQueries:m,refetchQueries:y,removeOptimistic:a?t:void 0,onQueryUpdated:_,keepRootFields:S})}).subscribe({next:function(t){s.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof g.cA?e:new g.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&ed(i,e.errorPolicy)){if(E(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),E(i)&&(0,_.O)(i.incremental)){var u=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;u.result&&(c=w(u.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,n){var s=e.observableQuery,u=s&&s.queryName;if(u&&eg.call(l,u)){var c=l[u],f=r.queries.get(n),h=f.document,p=f.variables,d=t.diff({query:h,variables:p,returnPartialData:!0,optimistic:!1}),y=d.result;if(d.complete&&y){var v=c(y,{mutationResult:i,queryName:h&&(0,a.rY)(h)||void 0,queryVariables:p});v&&o.push({result:v,dataId:"ROOT_QUERY",query:h,variables:p})}}})}if(o.length>0||(e.refetchQueries||"").length>0||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,u=e.update,c=!(E(a=i)||"hasNext"in a&&"data"in a)||E(i)&&!i.hasNext;if(u){if(!s){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,n.pi)((0,n.pi)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var 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,{IGNORE:eb}):e;return o!==eb&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,p.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,p.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,P.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,a.O4)((0,a.$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 ep(this),i=new ee({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,28),(0,i.kG)("Document"===e.query.kind,29),(0,i.kG)(!e.returnPartialData,30),(0,i.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,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)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=K.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?o.set(e,!1):(0,U.JW)(e)?o.set(t.transform(e),!1):(0,b.s)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,a=t.document;if(i){if("all"===e){r.set(n,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,z.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new ee({queryManager:t,queryInfo:a,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){e||!1===globalThis.__DEV__||i.kG.warn("string"==typeof t?33:34,t)}),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,a=void 0===i?"none":i,s=e.variables,u=e.context,c=void 0===u?{}:u;r=this.transform(r),s=this.getVariables(r,s);var l=function(e){return t.getObservableFromLink(r,c,e).map(function(i){"no-cache"!==n&&(ed(i,a)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=Q(i),s=(0,g.ls)(i);if(o||s){var u={};if(o&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[g.YG]),"none"===a||s)throw new g.cA(u)}return"ignore"===a&&delete i.errors,i})};if(this.getDocumentInfo(r).hasClientExports){var f=this.localState.addExportedVariables(r,s,c).then(l);return new o.y(function(e){var t=null;return f.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return l(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 s,u,c=this;void 0===i&&(i=null!==(s=null==t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var l=this.getDocumentInfo(e),h=l.serverQuery,p=l.clientQuery;if(h){var d=this.inFlightLinkObservables,y=this.link,v={query:h,variables:r,operationName:(0,a.rY)(h)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=v.context,i){var m=(0,x.S)(h),g=(0,F.B)(r),b=d.lookup(m,g);if(!(u=b.observable)){var _=new Y([f(y,v)]);u=b.observable=_,_.beforeNext(function(){d.remove(m,g)})}}else u=new Y([f(y,v)])}else u=new Y([o.y.of({data:{}})]),t=this.prepareContext(t);return p&&(u=q(u,function(e){return c.localState.runResolvers({document:p,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return q(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=V(o),s=a.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new g.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:K.Ie.ready};return s&&"ignore"!==r.errorPolicy&&(u.errors=a,u.networkStatus=K.Ie.error),u},function(t){var r=(0,g.MS)(t)?t:new g.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=K.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?c&&c.errorPolicy||"none":h,d=t.returnPartialData,y=t.notifyOnNetworkStatusChange,v=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===v?{}:v}),g=function(e){m.variables=e;var n=a.fetchQueryByPolicy(u,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new Y(this.localState.addExportedVariables(m.query,m.variables,m.context).then(g).then(function(e){return e.sources})),o=!0;else{var _=g(m.variables);o=_.fromLink,i=new Y(_.sources)}return i.promise.then(b,b),{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,a=e.removeOptimistic,s=void 0===a?o?(0,z.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof ep&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,a=t.query,s=t.variables,u=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:a,variables:s,networkStatus:r});var y=function(){return e.getDiff()},v=function(t,r){void 0===r&&(r=e.networkStatus||K.Ie.loading);var u=t.result;!1===globalThis.__DEV__||f||(0,M.D)(u,{})||en(t.missing);var c=function(e){return o.y.of((0,n.pi)({data:e,loading:(0,K.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return u&&i.getDocumentInfo(a).hasForcedResolvers?i.localState.runResolvers({document:a,remoteResult:{data:u},context:h,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data||void 0)}):"none"===l&&r===K.Ie.refetch&&Array.isArray(t.missing)?c(void 0):c(u)},m="no-cache"===u?0:r===K.Ie.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,m,{query:a,variables:s,context:h,fetchPolicy:u,errorPolicy:l})},b=p&&"number"==typeof d&&d!==r&&(0,K.Oj)(r);switch(u){default:case"cache-first":var _=y();if(_.complete)return{fromLink:!1,sources:[v(_,e.markReady())]};if(f||b)return{fromLink:!0,sources:[v(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var _=y();if(_.complete||f||b)return{fromLink:!0,sources:[v(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[v(y(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[v(y()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(b)return{fromLink:!0,sources:[v(e.getDiff()),g()]};return{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new ep(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)((0,n.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),eO=r(1135),eE=r(1568),ew=!1,ek=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i._K)(15);var r=e.uri,n=e.credentials,o=e.headers,a=e.cache,s=e.documentTransform,u=e.ssrMode,c=void 0!==u&&u,f=e.ssrForceFetchDelay,p=void 0===f?0:f,d=e.connectToDevTools,y=void 0===d?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:d,v=e.queryDeduplication,m=void 0===v||v,g=e.defaultOptions,b=e.defaultContext,_=e.assumeImmutableResults,O=void 0===_?a.assumeImmutableResults:_,E=e.resolvers,w=e.typeDefs,k=e.fragmentMatcher,S=e.name,T=e.version,x=e.link;x||(x=r?new C({uri:r,credentials:n,headers:o}):l.empty()),this.link=x,this.cache=a,this.disableNetworkFetches=c||p>0,this.queryDeduplication=m,this.defaultOptions=g||Object.create(null),this.typeDefs=w,p&&setTimeout(function(){return t.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=h.i,this.localState=new ec({cache:a,client:this,resolvers:E,fragmentMatcher:k}),this.queryManager=new e_({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:b,documentTransform:s,queryDeduplication:m,ssrMode:c,clientAwareness:{name:S,version:T},localState:this.localState,assumeImmutableResults:O,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}ew||!1===globalThis.__DEV__||(ew=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&/^(https?|file):$/.test(window.location.protocol)){var e=window.navigator,t=e&&e.userAgent,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=(0,eO.J)(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=(0,eO.J)(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,16),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=(0,eO.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return f(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(17,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(ek.prototype.getMemoryInternals=eE.su)},8338:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n=r(1735),i=r(4511),o=r(84),a=r(6530),s=r(2120),u=r(8290);function c(e,t,r,c){var f=t.data,h=(0,n._T)(t,["data"]),p=r.data,d=(0,n._T)(r,["data"]);return(0,i.Z)(h,d)&&function e(t,r,n,o){if(r===n)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.LZ)(t,o.variables)||l(t)))return!0;if((0,u.My)(t)){var f=(0,u.u2)(t),h=r&&r[f],p=n&&n[f],d=t.selectionSet;if(!d)return(0,i.Z)(h,p);var y=Array.isArray(h),v=Array.isArray(p);if(y!==v)return!1;if(y&&v){var m=h.length;if(p.length!==m)return!1;for(var g=0;g0}},2511:function(e,t,r){"use strict";r.d(t,{DN:function(){return s},JC:function(){return l},aS:function(){return a},mr:function(){return i},sy:function(){return o}});var n=r(8164),i="function"==typeof WeakMap&&!(0,n.wY)(function(){return"ReactNative"==navigator.product&&!global.HermesInternal}),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,u="function"==typeof(0,n.wY)(function(){return window.document.createElement}),c=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,l=u&&!c},9045:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n,i=r(8288),o=r(1531),a=r(1568),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.L(o.Q.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return n.size}),s.reset()},1893:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},8620:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t1)for(var n=new c,i=1;i")}},8164:function(e,t,r){"use strict";r.d(t,{CO:function(){return y},kG:function(){return g},wY:function(){return d},_K:function(){return b}});var n,i=r(1735),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function h(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}(n=c||(c={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error");var p=r(2635);function d(e){try{return e()}catch(e){}}var y=d(function(){return globalThis})||d(function(){return window})||d(function(){return self})||d(function(){return global})||d(function(){return d.constructor("return this")()}),v=r(8142);function m(e){return function(t){for(var r=[],n=1;ne.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h("(",l(e.variableDefinitions,", "),")"),r=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",l(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=h("",e,": ")+t,a=o+h("(",l(r,", "),")");return a.length>80&&(a=o+h("(\n",p(l(r,"\n")),"\n)")),l([a,l(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>l(["...",h("on ",e),l(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",l(r,", "),")")} on ${t} ${h("",l(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.LZ)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+l(["schema",l(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l(["scalar",t,l(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+": "+n+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+l([t+": "+r,h("= ",n),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+l(["union",t,l(r," "),h("= ",l(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+l(["enum",t,l(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l([t,l(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+l(["input",t,l(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+(n?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend type",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend interface",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>l(["extend union",e,l(t," "),h("= ",l(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>l(["extend enum",e,l(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>l(["extend input",e,l(t," "),f(r)]," ")}};function l(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function f(e){return h("{\n",p(l(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function p(e){return h(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var y=r(8288),v=r(1531),m=r(1568),g=Object.assign(function(e){var t=n.get(e);return t||(t=(0,u.Vn)(e,c),n.set(e,t)),t},{reset:function(){n=new y.s(v.Q.print||2e3)}});g.reset(),!1!==globalThis.__DEV__&&(0,m.zP)("print",function(){return n?n.size:0})},8290:function(e,t,r){"use strict";r.d(t,{Ao:function(){return g},JW:function(){return c},My:function(){return m},NC:function(){return y},PT:function(){return d},Yk:function(){return u},kQ:function(){return s},qw:function(){return function e(t,r,n){for(var i,a=0,s=r.selections;a0))return r.connection.key;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),")")}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===h.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}});function y(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},9159:function(e,t,r){"use strict";r.d(t,{Gw:function(){return d},aL:function(){return y},bi:function(){return p},ob:function(){return v}});var n=r(1735),i=r(8164),o=r(8350),a=r(4739),s=r(84),u=r(8290),c=r(6530),l=r(1567),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function h(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 p(e,t){(0,s.A$)(t);for(var r,u,f,p=h(""),d=h(""),y=function(e){for(var t=0,r=void 0;t=0;--m)t.definitions[m].kind===o.h.OPERATION_DEFINITION&&++v;var g=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,l.O)(e)&&e.map(g).some(function(e){return e&&e.remove})},_=new Map,O=!1,E={enter:function(e){if(b(e.directives))return O=!0,null}},w=(0,a.Vn)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=y(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return O=!0,null;var o=y(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value})?(d(e.name.value).removed=!0,O=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return O=!0,null}}});if(!O)return t;var k=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){k(d(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},S=new Set;w.definitions.forEach(function(e){e.kind===o.h.OPERATION_DEFINITION?k(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){S.add(e)}):e.kind!==o.h.FRAGMENT_DEFINITION||0!==v||d(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){k(d(e)).fragmentSpreads.forEach(function(e){S.add(e)})});var T={enter:function(e){var t;if(t=e.name.value,!S.has(t)||d(t).removed)return null}};return f=(0,a.Vn)(w,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=k(p(e.name&&e.name.value)).transitiveVars;if(t.sizethis.max;)this.delete(this.oldest.key)}delete(e){let 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)}}},3754:function(e,t,r){"use strict";function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},4511:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e=0&&e.indexOf(t,r)===r}(e,l)}}return!1}(e,t)}finally{a.clear()}}function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}t.Z=s;let l="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},7637:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,o=[];for(let i=0;i1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);return 0===n.length?"{}":r.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+n.map(([t,n])=>t+": "+e(n,r)).join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},3482:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return c},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return n}});class o{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 a{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}}}let s={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"]},u=new Set(Object.keys(s));function c(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&u.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},1052:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(4540);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),h="",p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},4540:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},8350:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},4739:function(e,t,r){"use strict";r.d(t,{$_:function(){return s},Vn:function(){return u}});var n=r(9446),i=r(8996),o=r(3482),a=r(8350);let s=Object.freeze({});function u(e,t,r=o.h8){let u,c,l;let f=new Map;for(let e of Object.values(a.h))f.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],d=-1,y=[],v=e,m=[],g=[];do{var b,_,O;let e;let a=++d===p.length,E=a&&0!==y.length;if(a){if(c=0===g.length?void 0:m[m.length-1],v=l,l=g.pop(),E){if(h){v=v.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(v.splice(n,1),e++):v[n]=r}}else for(let[e,t]of(v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v)),y))v[e]=t}d=u.index,p=u.keys,y=u.edits,h=u.inArray,u=u.prev}else if(l){if(null==(v=l[c=h?d:p[d]]))continue;m.push(c)}if(!Array.isArray(v)){(0,o.UG)(v)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(v)}.`);let r=a?null===(b=f.get(v.kind))||void 0===b?void 0:b.leave:null===(_=f.get(v.kind))||void 0===_?void 0:_.enter;if((e=null==r?void 0:r.call(t,v,c,l,m,g))===s)break;if(!1===e){if(!a){m.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a)){if((0,o.UG)(e))v=e;else{m.pop();continue}}}void 0===e&&E&&y.push([c,v]),a?m.pop():(u={inArray:h,index:d,keys:p,edits:y,prev:u},p=(h=Array.isArray(v))?v:null!==(O=r[v.kind])&&void 0!==O?O:[],d=-1,y=[],l&&g.push(l),l=v)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}},3310:function(e,t,r){"use strict";let n;r.d(t,{g7:function(){return m},dP:function(){return q},re:function(){return U}});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class u{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&rglobalThis)||d(()=>global)||Object.create(null),m=v[y]||Array[y]||function(e){try{Object.defineProperty(v,y,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",p++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=f;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===h)break;return e!==f&&(f.slots[this.id]=t),!0}return f&&(f.slots[this.id]=h),!1}getValue(){if(this.hasValue())return f.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=f;f={parent:o,slots:i};try{return t.apply(n,r)}finally{f=o}}static bind(e){let t=f;return function(){let r=f;try{return f=t,e.apply(this,arguments)}finally{f=r}}}static noContext(e,t,r){if(!f)return e.apply(r,t);{let n=f;try{return f=null,e.apply(r,t)}finally{f=n}}}}),{bind:g,noContext:b}=m,_=new m,{hasOwnProperty:O}=Object.prototype,E=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function w(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let k=[];function S(e,t){if(!e)throw Error(t||"assertion failure")}function T(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function x(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class I{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,++I.count}peek(){if(1===this.value.length&&!R(this))return D(this),this.value[0]}recompute(e){var t;return S(!this.recomputing,"already recomputing"),D(this),R(this)&&(M(this),_.withValue(this,N,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{w(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,R(this)||(t=this,P(t,j)))),x(this.value)}setDirty(){this.dirty||(this.dirty=!0,P(this,A),w(this))}dispose(){this.setDirty(),M(this),P(this,(e,t)=>{e.setDirty(),F(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=k.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(E(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),k.push(this.deps),this.deps=null)}}function D(e){let t=_.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),R(e)?A(t,e):j(t,e),t}function N(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!T(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function R(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function P(e,t){let r=e.parents.size;if(r){let n=E(e.parents);for(let i=0;i0&&e.childValues.forEach((t,r)=>{F(e,r)}),e.forgetDeps(),S(null===e.dirtyChildren)}function F(e,t){t.parents.delete(e),e.childValues.delete(t),C(e,t)}I.count=0;let L={setDirty:!0,dispose:!0,forget:!0};function q(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=_.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(w(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&O.call(L,r)?r:"setDirty";E(n).forEach(e=>e[i]()),t.delete(e),w(n)}},n}function Q(...e){return(n||(n=new u("function"==typeof WeakMap))).lookupArray(e)}let V=new Set;function U(e,{max:t=65536,keyArgs:r,makeCacheKey:n=Q,normalizeResult:i,subscribe:o,cache:a=l.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new I(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let u=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),V.add(s),_.hasValue()||(V.forEach(e=>e.clean()),V.clear()),u};function c(e){let t=e&&s.get(e);t&&t.setDirty()}function f(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(u,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=f,u.peek=function(){return f(n.apply(null,arguments))},u.forgetKey=h,u.forget=function(){return h(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}},1735:function(e,t,r){"use strict";r.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof E&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,c)))return new r(function(e){y(function(){if(!e.closed){for(var r,o=function(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){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){y(function(){if(!e.closed){for(var r=0;r