@fugood/bricks-cli 2.25.0-beta.63 → 2.25.0-beta.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/lib/1010.js +1 -0
  2. package/lib/1178.js +1 -0
  3. package/lib/1215.js +1 -0
  4. package/lib/{708.js → 1708.js} +2 -2
  5. package/lib/1759.js +1 -0
  6. package/lib/1936.js +1 -0
  7. package/lib/2151.js +1 -0
  8. package/lib/{209.js → 2209.js} +3 -3
  9. package/lib/2247.js +1 -0
  10. package/lib/2486.js +1 -0
  11. package/lib/2557.js +1 -0
  12. package/lib/{223.js → 3223.js} +1 -1
  13. package/lib/3332.js +13 -0
  14. package/lib/3690.js +1 -0
  15. package/lib/3774.js +44 -0
  16. package/lib/3976.js +14 -0
  17. package/lib/4305.js +1 -0
  18. package/lib/4456.js +3 -0
  19. package/lib/{192.js → 4479.js} +4 -4
  20. package/lib/4530.js +22 -0
  21. package/lib/4642.js +9 -0
  22. package/lib/4685.js +1202 -0
  23. package/lib/5212.js +1 -0
  24. package/lib/{658.js → 5658.js} +1 -1
  25. package/lib/5785.js +1 -0
  26. package/lib/6194.js +3 -0
  27. package/lib/6370.js +1 -0
  28. package/lib/6645.js +1 -0
  29. package/lib/6818.js +1 -0
  30. package/lib/7111.js +2 -0
  31. package/lib/7456.js +1 -0
  32. package/lib/7511.js +1 -0
  33. package/lib/7574.js +1 -0
  34. package/lib/7648.js +1 -0
  35. package/lib/8026.js +1 -0
  36. package/lib/{117.js → 8117.js} +2 -2
  37. package/lib/8166.js +1 -0
  38. package/lib/853.js +1 -0
  39. package/lib/915.js +3 -3
  40. package/lib/9320.js +3 -0
  41. package/lib/{387.js → 9387.js} +1 -1
  42. package/lib/9405.js +1 -0
  43. package/lib/9430.js +1 -0
  44. package/lib/{583.js → 9583.js} +1 -1
  45. package/lib/9663.js +1 -0
  46. package/lib/{866.js → 9866.js} +1 -1
  47. package/lib/9940.js +19 -0
  48. package/lib/index.js +17 -17
  49. package/package.json +5 -5
  50. package/lib/10.js +0 -1
  51. package/lib/111.js +0 -2
  52. package/lib/166.js +0 -1
  53. package/lib/178.js +0 -1
  54. package/lib/212.js +0 -1
  55. package/lib/215.js +0 -1
  56. package/lib/247.js +0 -1
  57. package/lib/274.js +0 -55
  58. package/lib/305.js +0 -1
  59. package/lib/306.js +0 -1
  60. package/lib/320.js +0 -3
  61. package/lib/332.js +0 -13
  62. package/lib/358.js +0 -1
  63. package/lib/370.js +0 -1
  64. package/lib/405.js +0 -1
  65. package/lib/430.js +0 -1
  66. package/lib/456.js +0 -3
  67. package/lib/479.js +0 -1231
  68. package/lib/486.js +0 -1
  69. package/lib/511.js +0 -1
  70. package/lib/557.js +0 -1
  71. package/lib/574.js +0 -1
  72. package/lib/645.js +0 -1
  73. package/lib/648.js +0 -1
  74. package/lib/663.js +0 -1
  75. package/lib/690.js +0 -1
  76. package/lib/75.js +0 -1
  77. package/lib/759.js +0 -1
  78. package/lib/785.js +0 -1
  79. package/lib/818.js +0 -1
  80. package/lib/917.js +0 -1
  81. package/lib/936.js +0 -1
  82. package/lib/940.js +0 -19
package/lib/2486.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=2486;export const __rspack_esm_ids=[2486];export const __webpack_modules__={421(e,r,a){a.r(r),a.d(r,{buildDoctorReport:()=>k,renderDoctorReport:()=>v});var o,i,t=a(99436),s=a(85382),n=a(8479),c=a(7586),p=a(47988),l=(o=t(function*(){try{return yield Promise.all([a.e(9866),a.e(6645),a.e(4479),a.e(7648),a.e(853),a.e(1010),a.e(8117)]).then(a.bind(a,98372)),{available:!0}}catch(e){return{available:!1,error:e.message}}}),function(){return o.apply(this,arguments)}),u=(e,r,a)=>({severity:e,code:r,message:a}),k=(i=t(function*({version:e="2.25.0-beta.64",mcpCheck:r=l}={}){var a=(0,p.getCurrentProfile)(),o=(0,p.getCurrentProfileSource)(),i=(0,p.getTokenInfo)(a),t=(0,p.getBaseUrl)(),k=(0,p.getActivityLogBaseUrl)(),h=[],v={ok:!1,timestamp:new Date().toISOString(),cli:{name:"bricks",version:e},profile:{name:a,source:o},config:{path:p.CONFIG_PATH,baseUrl:t,activityLogBaseUrl:k},auth:{available:!!i?.token,source:i?.token?"config":"missing",workspaceId:i?.workspaceId||null,workspaceName:i?.workspaceName||null,createdAt:i?.createdAt||null,tokenPreview:(0,c.$l)(i?.token)},connectivity:{workspace:{ok:!1,skipped:!i?.token,error:null}},capabilities:{zeroArgMode:(0,n.isInteractiveTerminal)()?"interactive":"help",mcp:{available:!1,error:null}},issues:h};if(i?.token)try{var d=yield(0,s.createClient)(t,i.token).workspace();v.connectivity.workspace={ok:!0,skipped:!1,error:null,id:d?._id||i.workspaceId||null,name:d?.name||i.workspaceName||null},v.auth.workspaceId=d?._id||v.auth.workspaceId,v.auth.workspaceName=d?.name||v.auth.workspaceName}catch(e){v.connectivity.workspace={ok:!1,skipped:!1,error:e.message},h.push(u("error","workspace_unreachable",`Workspace query failed for ${t}: ${e.message}`))}else h.push(u("warning","auth_missing","No saved token for the current profile."));var m=yield r();return v.capabilities.mcp={available:m.available,error:m.error||null},m.available||h.push(u("warning","mcp_unavailable",`MCP stdio server is unavailable: ${m.error||"Unknown error"}`)),v.ok=0===h.length,v}),function(){return i.apply(this,arguments)}),h=(e,r,a)=>`${e.padEnd(14)} ${r}${a?` ${a}`:""}`,v=e=>{var r=[];if(r.push("BRICKS CLI Doctor"),r.push("─".repeat(60)),r.push(h("CLI","OK",`bricks v${e.cli.version}`)),r.push(h("Profile","OK",`${e.profile.name} (${e.profile.source})`)),r.push(h("BRICKS API","OK",e.config.baseUrl)),r.push(h("Activity Log","OK",e.config.activityLogBaseUrl)),e.auth.available){var a=e.auth.workspaceName||e.auth.workspaceId||"Unknown workspace";r.push(h("Auth","OK",`${a} (${e.auth.source}, ${e.auth.tokenPreview})`))}else r.push(h("Auth","WARN","No saved token for the current profile"));if(e.connectivity.workspace.skipped)r.push(h("Workspace","WARN","Skipped because no token is available"));else if(e.connectivity.workspace.ok){var o=e.connectivity.workspace.name||e.connectivity.workspace.id||"Unknown workspace";r.push(h("Workspace","OK",o))}else r.push(h("Workspace","FAIL",e.connectivity.workspace.error));return e.capabilities.mcp.available?r.push(h("MCP","OK","STDIO server import is available")):r.push(h("MCP","WARN",e.capabilities.mcp.error)),r.push(h("Zero-arg mode",((e,r=!1)=>e?"OK":r?"WARN":"FAIL")("interactive"===e.capabilities.zeroArgMode,"help"===e.capabilities.zeroArgMode),"interactive"===e.capabilities.zeroArgMode?"Starts Ink interactive mode on TTY":"Shows help outside TTY contexts")),e.issues.length>0&&(r.push("─".repeat(60)),r.push("Issues"),e.issues.forEach(e=>{r.push(`- [${e.severity}] ${e.message}`)})),r.join("\n")}}};
package/lib/2557.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=2557;export const __rspack_esm_ids=[2557];export const __webpack_modules__={5018(t){t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},44668(t,e,r){var i=r(56347);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,i(o.key),o)}}t.exports=function(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},70604(t){t.exports=function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},90250(t,e,r){var i=r(3634),o=r(70604),n=r(78243),s=r(5523);t.exports=function(t){return i(t)||o(t)||n(t)||s()},t.exports.__esModule=!0,t.exports.default=t.exports},23878(t,e,r){var i=r(14319).default;t.exports=function(t,e){if("object"!=i(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=i(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},56347(t,e,r){var i=r(14319).default,o=r(23878);t.exports=function(t){var e=o(t,"string");return"symbol"==i(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},14319(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},69995(t,e,r){r.d(e,{H:()=>i});function i(t,e){try{var r=JSON.parse(t).error,i=r?.message??r;if("string"==typeof i&&i)return i}catch{}return t||e}},42208(t,e,r){r.d(e,{RP:()=>l});var i=r(99436),o=r(75720),n="CTOR",s="ctor@bricks.tools",u=`Co-authored-by: ${n} <${s}>`;function a(){return(a=i(function*(t){return!!(yield(0,o.sh)`cd ${t} && git config user.email`.quiet().nothrow().text()).trim()})).apply(this,arguments)}function l(t,e){return p.apply(this,arguments)}function p(){return(p=i(function*(t,e,r=[]){var i=yield function(t){return a.apply(this,arguments)}(t),o=i?[]:["-c",`user.name=${n}`,"-c",`user.email=${s}`],l=[];for(var p of e)l.push("-m",p);return i&&l.push("-m",u),[...o,"commit",...r,...l]})).apply(this,arguments)}},13376(t,e,r){r.d(e,{a:()=>a,p:()=>s});var i=r(99436),o=r(51455),n=".bricks/.last-pushed-commit";function s(t){return u.apply(this,arguments)}function u(){return(u=i(function*(t){try{return(yield(0,o.readFile)(`${t}/${n}`,"utf8")).trim()||null}catch{return null}})).apply(this,arguments)}function a(t,e){return l.apply(this,arguments)}function l(){return(l=i(function*(t,e){e&&(yield(0,o.mkdir)(`${t}/.bricks`,{recursive:!0}),yield(0,o.writeFile)(`${t}/${n}`,e))})).apply(this,arguments)}},69070(t,e,r){r.d(e,{k:()=>s,q:()=>a});var i=r(99436),o=r(26848),n=r(1708);function s(t){return u.apply(this,arguments)}function u(){return(u=i(function*(t){if(!n.stdin.isTTY)return"";var e=(0,o.createInterface)({input:n.stdin,output:n.stdout});try{return(yield e.question(`${t} `)).trim()}finally{e.close()}})).apply(this,arguments)}function a(t){return l.apply(this,arguments)}function l(){return(l=i(function*(t){return(yield s(t))==="y"})).apply(this,arguments)}},75720(t,e,r){r.d(e,{p:()=>c,sh:()=>h});var i,o,n=r(90250),s=r(99436),u=r(5018),a=r(44668),l=r(31421),p=r(73024),c=()=>{var t=process.argv[1];return t&&!(t.includes("$bunfs")||t.includes("~BUN"))&&(0,p.existsSync)(t)?[process.execPath,t]:[process.execPath]},d=a(function t(e){u(this,t),this._cwd=void 0,this._mode="default",this._throw=!0,this._env=void 0,this._promise=null,this.args=e},[{key:"cwd",value:function(t){return this._cwd=t,this}},{key:"quiet",value:function(){return this._mode="quiet",this}},{key:"nothrow",value:function(){return this._throw=!1,this}},{key:"env",value:function(t){return this._env={...this._env,...t},this}},{key:"text",value:(i=s(function*(){return"default"===this._mode&&(this._mode="text"),(yield this.run()).stdout.toString("utf8")}),function(){return i.apply(this,arguments)})},{key:"then",value:function(t,e){return this.run().then(t,e)}},{key:"run",value:function(){return this._promise||(this._promise=this.exec()),this._promise}},{key:"exec",value:(o=s(function*(){var t=n(this.args),e=t[0],r=(function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i})(t).slice(1);if(!e)throw Error("sh: empty command");var i="default"===this._mode?["inherit","pipe","pipe"]:"quiet"===this._mode?["ignore","pipe","pipe"]:["inherit","pipe","pipe"],o=this._env?{...process.env,...this._env}:void 0,s=(0,l.spawn)(e,r,{cwd:this._cwd,stdio:i,env:o}),u=[],a=[];s.stdout?.on("data",t=>{u.push(t),"default"===this._mode&&process.stdout.write(t)}),s.stderr?.on("data",t=>{a.push(t),"default"===this._mode&&process.stderr.write(t)});var p=yield new Promise((t,e)=>{s.on("error",e),s.on("close",e=>t(e??0))}),c=Buffer.concat(u),d=Buffer.concat(a);if(0!==p&&this._throw){var f=Error(`sh: command failed with exit ${p}: ${this.args.join(" ")}`);throw f.exitCode=p,f.stdout=c,f.stderr=d,f}return{exitCode:p,stdout:c,stderr:d}}),function(){return o.apply(this,arguments)})}]),f=/\s/;function h(t,...e){var r,i,o,n,s,u=(r=[],i="",o=!1,n=()=>{o&&(r.push(i),i="",o=!1)},s=t=>{i+=t,o=!0},(t.forEach((t,r)=>{for(var i=0;i<t.length;i++){var o=t[i];f.test(o)?n():s(o)}r<e.length&&(t=>{if(null!=t){if(Array.isArray(t))return t.forEach((t,e)=>{e>0&&n(),s(String(t))});s(String(t))}})(e[r])}),n(),r.length>=3&&"cd"===r[0]&&"&&"===r[2])?{tokens:r.slice(3),initialCwd:r[1]}:{tokens:r}),a=u.tokens,l=u.initialCwd,p=new d(a);return l&&p.cwd(l),p}},71772(t,e,r){r.r(e),r.d(e,{push:()=>d});var i,o=r(99436),n=r(51455),s=r(75720),u=r(69995),a=r(42208),l=r(13376),p=r(69070),c=(i=o(function*(t){return JSON.parse((yield(0,n.readFile)(t,"utf8")))}),function(t){return i.apply(this,arguments)});function d(){return f.apply(this,arguments)}function f(){return(f=o(function*(t={}){var e,r=process.cwd(),i=t.autoCommit,o=t.check,d=t.validate,f=t.yes,h=0===(yield(0,s.sh)`cd ${r} && git status`.quiet().nothrow()).exitCode;if(!h&&!f&&!(yield(0,p.q)("No git repository found, continue? (y/n)")))throw Error("Update cancelled");var y=yield c(`${r}/application.json`),m=yield c(`${r}/.bricks/build/application-config.json`),v="",_="";if(h){if(yield(0,s.sh)`cd ${r} && git diff --name-only --diff-filter=ACMR`.text())if(i){_=(yield(0,s.sh)`cd ${r} && git rev-parse HEAD`.nothrow().text()).trim(),yield(0,s.sh)`cd ${r} && git add -A`;var x=yield(0,a.RP)(r,["chore: update bricks config"]);yield(0,s.sh)`cd ${r} && git ${x}`}else throw Error("Unstaged changes found, please commit or stash your changes before updating");v=(yield(0,s.sh)`cd ${r} && git rev-parse HEAD`.text()).trim()}if((void 0===o||o)&&(_?e=_:v&&(e=v)),!f&&!(yield(0,p.q)("Are you sure you want to push the new config? (y/n)")))throw Error("Update cancelled");var g="module"===y.type,w={...m,bricks_project_last_commit_id:v||void 0},b=`${r}/.bricks/build/push-config.json`;yield(0,n.writeFile)(b,JSON.stringify(w));var $=["bricks",g?"module":"app","update",y.id,"-f",b,"--json"];void 0===d||d||$.push("--no-validate"),e&&$.push("--last-commit-id",e);var k=yield(0,s.sh)`${$}`.quiet().nothrow();if(0!==k.exitCode){var S=k.stderr.toString()||k.stdout.toString();throw Error((0,u.H)(S,"Update failed"))}var E=JSON.parse(k.stdout.toString());v&&(yield(0,l.a)(r,v)),console.log(`${g?"Module":"App"} config updated: ${E.target?.name||y.name}`)})).apply(this,arguments)}}};
@@ -1,4 +1,4 @@
1
- export const __rspack_esm_id=223;export const __rspack_esm_ids=[223];export const __webpack_modules__={63322(e,r,o){o.r(r),o.d(r,{BUILTIN_ISSUE_CODES:()=>l,buildConfigDoctorReport:()=>g,getDoctorExitCode:()=>m,loadConfigForDoctor:()=>h,parseCodesOption:()=>f,renderConfigDoctorReport:()=>y,runConfigDoctor:()=>$});var t,i,n,s=o(99436),a=o(79896),c=o(38890),p=o(56493),l=["schema-error","ref-error","calc-error","expression-error","deprecated-feature"],u={error:0,warning:1,info:2},f=e=>"string"==typeof e&&e?e.split(",").map(e=>e.trim()).filter(Boolean):null,d=e=>{if(!e)throw Error("The fetched record has no config");return"string"==typeof e?JSON.parse(e):e},h=(t=s(function*(e,r,{composed:o=!1}={}){if(a.existsSync(r))return{config:JSON.parse(a.readFileSync(r,"utf-8")),target:{type:e,source:"file",path:r}};var t=(0,p.requireAuth)();if("app"===e){var i=yield t.application({id:r,composed:o});if(!i)throw Error(`Application not found: ${r}`);return{config:d(i.config),target:{type:e,source:"remote",id:r,composed:o}}}var n=yield t.module({id:r});if(!n)throw Error(`Module not found: ${r}`);return{config:d(n.config),target:{type:e,source:"remote",id:r}}}),function(e,r){return t.apply(this,arguments)}),g=(i=s(function*(e,{type:r="app",only:o=null,ignore:t=null,checkAutomation:i=!1}={}){var n=[...l,...c.lintRuleCodes],s=[...o||[],...t||[]].filter(e=>!n.includes(e));if(s.length>0)throw Error(`Unknown rule code(s): ${s.join(", ")}
1
+ export const __rspack_esm_id=3223;export const __rspack_esm_ids=[3223];export const __webpack_modules__={63322(e,r,o){o.r(r),o.d(r,{BUILTIN_ISSUE_CODES:()=>l,buildConfigDoctorReport:()=>g,getDoctorExitCode:()=>m,loadConfigForDoctor:()=>h,parseCodesOption:()=>f,renderConfigDoctorReport:()=>y,runConfigDoctor:()=>$});var t,i,n,s=o(99436),a=o(79896),c=o(38890),p=o(56493),l=["schema-error","ref-error","calc-error","expression-error","deprecated-feature"],u={error:0,warning:1,info:2},f=e=>"string"==typeof e&&e?e.split(",").map(e=>e.trim()).filter(Boolean):null,d=e=>{if(!e)throw Error("The fetched record has no config");return"string"==typeof e?JSON.parse(e):e},h=(t=s(function*(e,r,{composed:o=!1}={}){if(a.existsSync(r))return{config:JSON.parse(a.readFileSync(r,"utf-8")),target:{type:e,source:"file",path:r}};var t=(0,p.requireAuth)();if("app"===e){var i=yield t.application({id:r,composed:o});if(!i)throw Error(`Application not found: ${r}`);return{config:d(i.config),target:{type:e,source:"remote",id:r,composed:o}}}var n=yield t.module({id:r});if(!n)throw Error(`Module not found: ${r}`);return{config:d(n.config),target:{type:e,source:"remote",id:r}}}),function(e,r){return t.apply(this,arguments)}),g=(i=s(function*(e,{type:r="app",only:o=null,ignore:t=null,checkAutomation:i=!1}={}){var n=[...l,...c.lintRuleCodes],s=[...o||[],...t||[]].filter(e=>!n.includes(e));if(s.length>0)throw Error(`Unknown rule code(s): ${s.join(", ")}
2
2
  Valid codes: ${n.join(", ")}`);var a=e=>(!o||o.includes(e))&&(!t||!t.includes(e)),p=[],f=(0,c.checkConfig)(e,{checkCalc:!0,checkExpressions:!0,checkAutomation:i}),d=(e,r,o)=>{a(r)&&(e||[]).forEach(e=>p.push({hint:null,...o(e)}))};d(f.schema,"schema-error",e=>({severity:"error",code:"schema-error",path:e.instancePath||e.dataPath||"/",message:e.message,hint:e.params?.pattern?`pattern: ${e.params.pattern}`:null})),d(f.ref,"ref-error",e=>({severity:"error",code:"ref-error",path:e.field,message:e.message})),d(f.calc,"calc-error",e=>({severity:"error",code:"calc-error",path:e.field,message:e.message})),d(f.expression,"expression-error",e=>({severity:"error",code:"expression-error",path:e.field,message:e.message})),a("deprecated-feature")&&(0,c.checkConfigDeprecatedFeatures)(e).forEach(e=>p.push({severity:"warning",code:"deprecated-feature",path:e.id,message:e.data,hint:null}));var h=!f.valid;if(!h){var g=o?o.filter(e=>c.lintRuleCodes.includes(e)):null,m=t?t.filter(e=>c.lintRuleCodes.includes(e)):null;(!g||g.length>0)&&p.push(...(0,c.lintConfig)(e,{configType:r,only:g,ignore:m}))}p.sort((e,r)=>u[e.severity]-u[r.severity]);var v={errors:p.filter(e=>"error"===e.severity).length,warnings:p.filter(e=>"warning"===e.severity).length,infos:p.filter(e=>"info"===e.severity).length};return{ok:0===v.errors,valid:f.valid,lintSkipped:h,summary:v,issues:p}}),function(e){return i.apply(this,arguments)}),m=(e,{strict:r=!1}={})=>e.summary.errors>0||r&&e.summary.warnings>0?1:0,v=[["error","Errors"],["warning","Warnings"],["info","Info"]],y=e=>{var r=[];r.push("\nConfig Doctor Report");var o=e.target;if(o){var t="file"===o.source?`${o.type} config: ${o.path}`:`${o.type}: ${o.id}${o.composed?" (composed)":""}`;r.push(t)}if(r.push("─".repeat(60)),0===e.issues.length)return r.push("✓ No issues found"),r.join("\n");v.forEach(([o,t])=>{var i=e.issues.filter(e=>e.severity===o);0!==i.length&&(r.push(`
3
3
  ${t} (${i.length})
4
4
  `),i.forEach((e,o)=>{r.push(` ${o+1}. [${e.code}] ${e.path||""}`),r.push(` ${e.message}`),e.hint&&r.push(` ↳ ${e.hint}`)}))}),e.lintSkipped&&r.push("\n ⚠ Lint rules skipped — fix schema/reference errors first"),r.push("\n"+"─".repeat(60));var i=e.summary,n=i.errors,s=i.warnings,a=i.infos,c=[];return n>0&&c.push(`✗ ${n} error(s)`),s>0&&c.push(`⚠ ${s} warning(s)`),a>0&&c.push(`ℹ ${a} info`),r.push(c.join(" ")),r.join("\n")},$=(n=s(function*(e,r,o){var t=f(o.only),i=f(o.ignore),n=yield h(e,r,{composed:!!o.composed}),s=n.config,a=n.target,c=yield g(s,{type:e,only:t,ignore:i,checkAutomation:!!o.validateAutomation});return c.target=a,{report:c,exitCode:m(c,{strict:!!o.strict})}}),function(e,r,o){return n.apply(this,arguments)})}};
package/lib/3332.js ADDED
@@ -0,0 +1,13 @@
1
+ export const __rspack_esm_id=3332;export const __rspack_esm_ids=[3332];export const __webpack_modules__={94370(e,t,n){n.r(t),n.d(t,{default:()=>m,disableExperimentalFragmentVariables:()=>v,disableFragmentWarnings:()=>d,enableExperimentalFragmentVariables:()=>h,gql:()=>f,resetCaches:()=>p});var r,i=n(85608),o=n(20186),a=new Map,s=new Map,u=!0,c=!1;function l(e){return e.replace(/[\s,]+/g," ").trim()}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),function(e){var t=l(e);if(!a.has(t)){var n,r,f,p,d,h=(0,o.qg)(e,{experimentalFragmentVariables:c,allowLegacyFragmentVariables:c});if(!h||"Document"!==h.kind)throw Error("Not a valid GraphQL document.");a.set(t,((p=new Set((n=new Set,r=[],h.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=l((t=e.loc).source.body.substring(t.start,t.end)),a=s.get(i);a&&!a.has(o)?u&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||s.set(i,a=new Set),a.add(o),n.has(o)||(n.add(o),r.push(e))}else r.push(e)}),f=(0,i.__assign)((0,i.__assign)({},h),{definitions:r})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&p.add(n)})}),(d=f.loc)&&(delete d.startToken,delete d.endToken),f))}return a.get(t)}(r)}function p(){a.clear(),s.clear()}function d(){u=!1}function h(){c=!0}function v(){c=!1}var y=f;(r=f||(f={})).gql=y,r.resetCaches=p,r.disableFragmentWarnings=d,r.enableExperimentalFragmentVariables=h,r.disableExperimentalFragmentVariables=v,f.default=f;let m=f},5018(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},44668(e,t,n){var r=n(56347);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},23878(e,t,n){var r=n(14319).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},56347(e,t,n){var r=n(14319).default,i=n(23878);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},14319(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},42495(e,t,n){n.d(t,{k:()=>v});var r=n(85608),i=n(60837),o=n(2904),a=n(555),s=n(3777),u=n(36054),c=n(30671),l=n(54019),f=n(44114),p=n(55427),d=n(70916),h=n(62959),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(o.ct,{max:a.v["cache.fragmentQueryDocuments"]||1e3,cache:l.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,i=e.fragment,o=e.fragmentName,a=e.from,l=e.optimistic,f=(0,r.__rest)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(i,o),y=void 0===a||"string"==typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=o||(0,s.E4)(i).name.value;y||!1===globalThis.__DEV__||d.invariant.warn(1,g)}var _=(0,r.__assign)((0,r.__assign)({},f),{returnPartialData:!0,id:y,query:v,optimistic:void 0===l||l});return new u.c(function(a){return n.watch((0,r.__assign)((0,r.__assign)({},_),{immediate:!0,callback:function(s){var u=m?(0,h.z)(s.result,i,n,o):s.result;if(!(t&&(0,p.a)(v,{data:t.result},{data:u},e.variables))){var l={data:u,complete:!!s.complete};s.missing&&(l.missing=(0,c.IM)(s.missing.map(function(e){return e.missing}))),t=(0,r.__assign)((0,r.__assign)({},s),{result:u}),a.next(l)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,o=e.fragmentName,a=(0,r.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var i=n.readQuery(e),o=t(i);return null==o?i:(n.writeQuery((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var i=n.readFragment(e),o=t(i);return null==o?i:(n.writeFragment((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=f.tQ)},84673(e,t,n){var r;n.d(t,{l:()=>r}),r||(r={})},65702(e,t,n){n.d(t,{Z:()=>i});var r=n(85608),i=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(a={})[s.path[u]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.__extends)(t,e),t}(Error)},83906(e,t,n){n.d(t,{$7:()=>I,D_:()=>_,M2:()=>E});var r,i,o=n(85608),a=n(70916),s=n(60837),u=n(55888),c=n(44592),l=n(57236),f=n(28907),p=n(30671),d=n(21777),h=n(51360),v=n(35207),y=Object.create(null),m=function(){return y},g=Object.create(null),_=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,l.G)((0,f.A_)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.A_)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,f.WU)(e);if((0,f.A_)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,f.WU)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,o.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),v.$3.call(this.data,e)){var n=this.data[e];if(n&&v.$3.call(n,t))return n[t]}return"__typename"===t&&v.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof T?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),v.$3.call(this.data,e))?this.data[e]:this instanceof T?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,f.A_)(e)&&(e=e.__ref),(0,f.A_)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){(0,a.invariant)("string"==typeof n,2);var s=new p.ZI(k).merge(i,o);if(this.data[n]=s,s!==i&&(delete this.refs[n],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=(0,v.iJ)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||r instanceof T||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),s=!1,u=!0,c={DELETE:y,INVALIDATE:g,isReference:f.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,f.WU)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(p){var d=(0,v.iJ)(p),h=r[p];if(void 0!==h){var _="function"==typeof t?t:t[p]||t[d];if(_){var b=_===m?y:_((0,l.G)(h),(0,o.__assign)((0,o.__assign)({},c),{fieldName:d,storeFieldName:p,storage:n.getStorage(e,p)}));if(b===g)n.group.dirty(e,p);else if(b===y&&(b=void 0),b!==h&&(i[p]=b,s=!0,h=b,!1!==globalThis.__DEV__)){var E=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.invariant.warn(3,e),!0};if((0,f.A_)(b))E(b);else if(Array.isArray(b))for(var T=!1,O=void 0,k=0,I=b;k<I.length;k++){var N=I[k];if((0,f.A_)(N)){if(T=!0,E(N))break}else"object"==typeof N&&N&&n.policies.identify(N)[0]&&(O=N);if(T&&void 0!==O){!1!==globalThis.__DEV__&&a.invariant.warn(4,O);break}}}}void 0!==h&&(u=!1)}}),s)return this.merge(e,i),u&&(this instanceof T?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=m,r):m)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(v.$3.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof T&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){v.$3.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&v.$3.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,o.__rest)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof T?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){v.$3.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof T;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!v.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){(0,f.A_)(e)&&(t[e.__ref]=!0),(0,d.U)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,d.U)(n)&&r.add(n)})})}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.dep)():null,this.keyMaker=new c.Trie(h.et)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var n=(0,v.iJ)(t);n!==t&&this.d(n+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function E(e,t){I(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,o=e.call(this,n,new b(void 0===r||r))||this;return o.stump=new O(o),o.storageTrie=new c.Trie(h.et),i&&o.replace(i),o}return(0,o.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(r=_||(_={})),r.Root=i;var T=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,o.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){(0,u.equal)(r[n],i[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.__assign)((0,o.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return v.$3.call(this.data,t)?(0,o.__assign)((0,o.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(_),O=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new b(t.group.caching,t.group))||this}return(0,o.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(T);function k(e,t,n){var r=e[n],i=t[n];return(0,u.equal)(r,i)?r:i}function I(e){return!!(e instanceof _&&e.group.caching)}},35207(e,t,n){n.d(t,{$3:()=>f,I6:()=>v,T9:()=>function e(t,n,r){return!!(0,o.U)(n)&&((0,a.c)(n)?n.every(function(n){return e(t,n,r)}):t.selections.every(function(t){if((0,i.dt)(t)&&(0,s.MS)(t,r)){var o=(0,i.ue)(t);return f.call(n,o)&&(!t.selectionSet||e(t.selectionSet,n[o],r))}return!0}))},Ui:()=>m,Xx:()=>y,d1:()=>b,gk:()=>g,iJ:()=>_,lq:()=>T,mv:()=>E,or:()=>d});var r=n(50492),i=n(28907),o=n(21777),a=n(73767),s=n(82307),u=n(30671),c=n(2904),l=n(3777),f=Object.prototype.hasOwnProperty;function p(e){return null==e}function d(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=p(r)?p(i)?void 0:{_id:i}:{id:r}),p(r)&&!p(i)&&(r=i),!p(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var h={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,r.o)(h,e)}function y(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function m(e,t){return(0,i.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var g=/^[_a-z][_0-9a-z]*/i;function _(e){var t=e.match(g);return t?t[0]:e}function b(e){return(0,o.U)(e)&&!(0,i.A_)(e)&&!(0,a.c)(e)}function E(){return new u.ZI}function T(e,t){var n=(0,c.JG)((0,l.zK)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},7068(e,t,n){n.d(t,{D:()=>B});var r=n(85608),i=n(70916),o=n(60837),a=n(55888),s=n(42495),u=n(65702),c=n(9354),l=n(53925),f=n(555),p=n(44214),d=n(38678),h=n(28907),v=n(42455),y=n(51360),m=n(50492),g=n(3777),_=n(30671),b=n(82307),E=n(2904),T=n(57236),O=n(21777),k=n(83906),I=n(35207),N=n(73767),w=n(44592),S=function(){function e(){this.known=new(y.En?WeakSet:Set),this.pool=new w.Trie(y.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,O.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,O.U)(e)){var t=(0,O.U)(e)?(0,N.c)(e)?e.slice(0):(0,r.__assign)({__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,O.U)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(n){a.push(t.admit(e[n]))});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),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function x(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var A=function(){function e(e){var t=this;this.knownResults=new(y.et?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,I.Xx)(e)}),this.canon=e.canon||new S,this.executeSelectionSet=(0,o.wrap)(function(e){var n,i=e.context.canonizeResults,o=x(e);o[3]=!i;var a=(n=t.executeSelectionSet).peek.apply(n,o);return a?i?(0,r.__assign)((0,r.__assign)({},a),{result:t.canon.admit(a.result)}):a:((0,k.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:x,makeCacheKey:function(e,t,n,r){if((0,k.$7)(n.store))return n.store.makeCacheKey(e,(0,h.A_)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,o.wrap)(function(e){return(0,k.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if((0,k.$7)(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new S},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;a=(0,r.__assign)((0,r.__assign)({},(0,g.wY)((0,g.AT)(i))),a);var d=(0,h.WU)(void 0===o?"ROOT_QUERY":o),v=this.executeSelectionSet({selectionSet:(0,g.Vn)(i).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,r.__assign)({store:n,query:i,policies:f,variables:a,varString:(0,p.M)(a),canonizeResults:l},(0,I.lq)(i,this.config.fragments))});if(v.missing&&(t=[new u.Z(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(v.missing),v.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:v.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if((0,k.$7)(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,h.A_)(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=s.variables,c=s.policies,f=s.store.getFieldValue(o,"__typename"),p=[],d=new _.ZI;function y(e,n){var r;return e.missing&&(t=d.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof f&&!c.rootIdsByTypename[f]&&p.push({__typename:f});var m=new Set(r.selections);m.forEach(function(e){var r,g;if((0,b.MS)(e,u))if((0,h.dt)(e)){var _=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:o},s),T=(0,h.ue)(e);void 0===_?l.XY.added(e)||(t=d.merge(t,((r={})[T]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),r))):(0,N.c)(_)?_.length>0&&(_=y(n.executeSubSelectedArray({field:e,array:_,enclosingRef:a,context:s}),T)):e.selectionSet?null!=_&&(_=y(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:_,enclosingRef:(0,h.A_)(_)?_:a,context:s}),T)):s.canonizeResults&&(_=n.canon.pass(_)),void 0!==_&&p.push(((g={})[T]=_,g))}else{var O=(0,E.HQ)(e,s.lookupFragment);if(!O&&e.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);O&&c.fragmentMatches(O,f)&&O.selectionSet.selections.forEach(m.add,m)}});var g={result:(0,_.IM)(p),missing:t},O=s.canonizeResults?this.canon.admit(g):(0,T.G)(g);return O.result&&this.knownResults.set(O.result,r),O},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new _.ZI;function c(e,n){var r;return e.missing&&(t=u.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,N.c)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:a,context:s}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,h.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,O.U)(n)&&((0,i.invariant)(!(0,h.A_)(n),11,(0,I.Ui)(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(s.store,r,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),D=n(20906),C=n(92610);function R(e,t,n){var i="".concat(t).concat(n),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:(0,r.__assign)((0,r.__assign)({},e),{clientOnly:t,deferred:n})),o}var F=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,o=t.query,s=t.result,u=t.dataId,c=t.variables,l=t.overwrite,f=(0,g.Vu)(o),d=(0,I.mv)();c=(0,r.__assign)((0,r.__assign)({},(0,g.wY)(f)),c);var v=(0,r.__assign)((0,r.__assign)({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:c,varString:(0,p.M)(c)},(0,I.lq)(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,h.A_)(y))throw(0,i.newInvariantError)(12,s);return v.incomingById.forEach(function(t,o){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,h.WU)(o);if(u&&u.map.size){var f=n.applyMerges(u,l,s,v);if((0,h.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var p=Object.create(null);c.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var d=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==p[(0,I.iJ)(e)]||d(e)||function(e,t,n,o){var s=function(e){var t=o.getFieldValue(e,n);return"object"==typeof t&&t},u=s(e);if(u){var c=s(t);if(!(!c||(0,h.A_)(u)||(0,a.equal)(u,c)||Object.keys(u).every(function(e){return void 0!==o.getFieldValue(c,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=(0,I.iJ)(n),p="".concat(l,".").concat(f);if(!L.has(p)){L.add(p);var d=[];(0,N.c)(u)||(0,N.c)(c)||[u,c].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)}),!1!==globalThis.__DEV__&&i.invariant.warn(15,f,l,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,r.__assign)({},u),(0,r.__assign)({},c))}}}}(l,s,e,v.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,f=Object.create(null),p=n&&c.rootTypenamesById[n]||(0,h.D$)(o,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof p&&(f.__typename=p);var d=function(){var e=(0,C.m)(arguments,f,s.variables);if((0,h.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,r.__assign)((0,r.__assign)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},v=new Set;this.flattenFields(a,o,s,p).forEach(function(e,n){var r,a=o[(0,h.ue)(n)];if(v.add(n),void 0!==a){var s=c.getStoreFieldName({typename:p,fieldName:n.name.value,field:n,variables:e.variables}),y=M(u,s),m=t.processFieldValue(a,n,n.selectionSet?R(e,!1,!1):e,y),g=void 0;n.selectionSet&&((0,h.A_)(m)||(0,I.d1)(m))&&(g=d("__typename",m));var _=c.getMergeFunction(p,n.name.value,g);_?y.info={field:n,typename:p,merge:_}:V(u,s),f=e.merge(f,((r={})[s]=m,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.XY.added(n)||c.getReadFunction(p,n.name.value)||!1===globalThis.__DEV__||i.invariant.error(13,(0,h.ue)(n),o)});try{var y=c.identify(o,{typename:p,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:f,readField:d}),m=y[0],g=y[1];n=n||m,g&&(f=s.merge(f,g))}catch(e){if(!n)throw e}if("string"==typeof n){var _=(0,h.WU)(n),b=s.written[n]||(s.written[n]=[]);if(b.indexOf(a)>=0||(b.push(a),this.reader&&this.reader.isFresh(o,_,a,s)))return _;var E=s.incomingById.get(n);return E?(E.storeObject=s.merge(E.storeObject,f),E.mergeTree=function e(t,n){if(t===n||!n||P(n))return t;if(!t||P(t))return n;var i=t.info&&n.info?(0,r.__assign)((0,r.__assign)({},t.info),n.info):t.info||n.info,o=t.map.size&&n.map.size,a={info:i,map:o?new Map:t.map.size?t.map:n.map};if(o){var s=new Set(n.map.keys());t.map.forEach(function(t,r){a.map.set(r,e(t,n.map.get(r))),s.delete(r)}),s.forEach(function(r){a.map.set(r,e(n.map.get(r),t.map.get(r)))})}return a}(E.mergeTree,u),v.forEach(function(e){return E.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:f,mergeTree:P(u)?void 0:u,fieldNodeSet:v}),_}return f},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,N.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,n,M(r,o));return V(r,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,D.m)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,h.D$)(t,e,n.fragmentMap));var o=new Map,a=this.cache.policies,s=new w.Trie(!1);return!function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if((0,b.MS)(s,n.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,N.E)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var r=(0,h.MB)(e,n.variables);r&&!1===r.if||(l=!0)}}),(0,h.dt)(s)){var f=o.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),o.set(s,R(n,u,l))}else{var p=(0,E.HQ)(s,n.lookupFragment);if(!p&&s.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,s.name.value);p&&a.fragmentMatches(p,r,t,n.variables)&&e(p.selectionSet,R(n,u,l))}}}))}(e,n),o},e.prototype.applyMerges=function(e,t,n,o,a){var s=this;if(e.map.size&&!(0,h.A_)(n)){var u,c,l=!(0,N.c)(n)&&((0,h.A_)(t)||(0,I.d1)(t))?t:void 0,f=n;l&&!a&&(a=[(0,h.A_)(l)?l.__ref:l]);var p=function(e,t){return(0,N.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=p(l,t),r=p(f,t);if(void 0!==r){a&&a.push(t);var u=s.applyMerges(e,n,r,o,a);u!==r&&(c=c||new Map).set(t,u),a&&(0,i.invariant)(a.pop()===t)}}),c&&(n=(0,N.c)(f)?f.slice(0):(0,r.__assign)({},f),c.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):n},e}(),j=[];function M(e,t){var n=e.map;return n.has(t)||n.set(t,j.pop()||{map:new Map}),n.get(t)}function P(e){return!e||!(e.info||e.map.size)}function V(e,t){var n=e.map,r=n.get(t);r&&P(r)&&(j.push(r),n.delete(t))}var L=new Set,Y=n(777),U=n(44114),B=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new c.c(l.XY),n.assumeImmutableResults=!0,n.makeVar=Y.UT,n.txCount=0,n.config=(0,I.I6)(t),n.addTypename=!!n.config.addTypename,n.policies=new C.l({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.__extends)(t,e),t.prototype.init=function(){var e=this.data=new k.D_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new F(this,this.storeReader=new A({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,I.Xx)(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,o.wrap)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if((0,k.$7)(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,p.M)({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u.Z)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(I.$3.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,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,Y.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,Y.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){p.M.reset(),d.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(I.$3.call(e,"id"))return!1;e=(0,r.__assign)((0,r.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),p.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,Y.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var r=n.data,o=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=r,n.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof 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,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,a.equal)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(s.k);!1!==globalThis.__DEV__&&(B.prototype.getMemoryInternals=U.cM)},92610(e,t,n){n.d(t,{l:()=>I,m:()=>w});var r=n(85608),i=n(70916),o=n(28907),a=n(86563),s=n(21777),u=n(35207),c=n(73767),l=n(777),f=n(30671),p=Object.create(null);function d(e){var t=JSON.stringify(e);return p[t]||(p[t]=Object.create(null))}function h(e){var t=d(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=y(e,function(e){var o=g(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&u.$3.call(t,e[0])&&(o=g(t,e,m)),(0,i.invariant)(void 0!==o,5,e.join("."),t),o});return"".concat(n.typename,":").concat(JSON.stringify(o))})}function v(e){var t=d(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,a=n.fieldName,s=JSON.stringify(y(e,function(e){var n=e[0],a=n.charAt(0);if("@"===a){if(r&&(0,c.E)(r.directives)){var s=n.slice(1),l=r.directives.find(function(e){return e.name.value===s}),f=l&&(0,o.MB)(l,i);return f&&g(f,e.slice(1))}return}if("$"===a){var p=n.slice(1);if(i&&u.$3.call(i,p)){var d=e.slice(0);return d[0]=p,g(i,d)}return}if(t)return g(t,e)}));return(t||"{}"!==s)&&(a+=":"+s),a})}function y(e,t){var n=new f.ZI;return(function e(t){var n=d(t);if(!n.paths){var r=n.paths=[],i=[];t.forEach(function(n,o){(0,c.c)(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),(0,c.c)(t[o+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function m(e,t){return e[t]}function g(e,t,n){return n=n||m,function e(t){return(0,s.U)(t)?(0,c.c)(t)?t.map(e):y(Object.keys(t).sort(),function(e){return g(t,e)}):t}(t.reduce(function e(t,r){return(0,c.c)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}var _=n(47150);function b(e){return void 0!==e.args?e.args:e.field?(0,o.MB)(e.field,e.variables):null}var E=function(){},T=function(e,t){return t.fieldName},O=function(e,t,n){return(0,n.mergeObjects)(e,t)},k=function(e,t){return t},I=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,r.__assign)({dataIdFromObject:u.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,i,o=this,a=t&&(t.typename||(null==(n=t.storeObject)?void 0:n.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,r.__assign)((0,r.__assign)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=w(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),f=l&&l.keyFn||this.config.dataIdFromObject;return _.yV.withValue(!0,function(){for(;f;){var t=f((0,r.__assign)((0,r.__assign)({},e),s),u);if((0,c.c)(t))f=h(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var i=e[n],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,r.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),u.$3.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?O:!1===t?k:e.merge}a(r,t.merge),r.keyFn=!1===i?E:(0,c.c)(i)?h(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;r.keyFn=!1===s?T:(0,c.c)(s)?v(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||T)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.invariant)(!r||r===e,6,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(u.gk);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!u.$3.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var o=t.supertypeMap.get(r);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(n,(0,r.__rest)(i,["fields"])),Object.assign(n.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},f=!!(n&&this.fuzzySubtypes.size),p=!1,d=0;d<c.length;++d){var h=c[d];if(h.has(a))return s.has(a)||(p&&!1!==globalThis.__DEV__&&i.invariant.warn(7,t,a),s.add(a)),!0;h.forEach(l),f&&d===c.length-1&&(0,u.T9)(e.selectionSet,n,r)&&(f=!1,p=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),a=i&&i.keyFn;if(a&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},l=b(e);a;){var f=a(l,s);if((0,c.c)(f))a=v(f);else{t=f||r;break}}return(void 0===t&&(t=e.field?(0,o.Ii)(e.field,e.variables):(0,o.o5)(r,b(e))),!1===t)?r:r===(0,u.iJ)(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),a=(0,u.iJ)(i),s=t.store.getFieldValue(n,i),c=this.getFieldPolicy(e.typename,a,!1),f=c&&c.read;if(f){var p=N(this,n,e,t,t.store.getStorage((0,o.A_)(n)?n.__ref:n,i));return l.bl.withValue(this.cache,f,[s,p])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===O?S(r.store)(e,t):s===k?t:(r.overwrite&&(e=void 0),s(e,t,N(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function N(e,t,n,r,i){var a=e.getStoreFieldName(n),s=(0,u.iJ)(a),c=n.variables||r.variables,l=r.store,f=l.toReference,p=l.canRead;return{args:b(n),field:n.field||null,fieldName:s,storeFieldName:a,variables:c,isReference:o.A_,toReference:f,storage:i,cache:e.cache,canRead:p,readField:function(){return e.readField(w(arguments,t,c),r)},mergeObjects:S(r.store)}}function w(e,t,n){var o,s=e[0],c=e[1],l=e.length;return"string"==typeof s?o={fieldName:s,from:l>1?c:t}:(o=(0,r.__assign)({},s),u.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.invariant.warn(8,(0,a.p)(Array.from(e))),void 0===o.variables&&(o.variables=n),o}function S(e){return function(t,n){if((0,c.c)(t)||(0,c.c)(n))throw(0,i.newInvariantError)(9);if((0,s.U)(t)&&(0,s.U)(n)){var a=e.getFieldValue(t,"__typename"),l=e.getFieldValue(n,"__typename");if(a&&l&&a!==l)return n;if((0,o.A_)(t)&&(0,u.d1)(n))return e.merge(t.__ref,n),t;if((0,u.d1)(t)&&(0,o.A_)(n))return e.merge(t,n.__ref),n;if((0,u.d1)(t)&&(0,u.d1)(n))return(0,r.__assign)((0,r.__assign)({},t),n)}return n}}},777(e,t,n){n.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var r=n(60837),i=new r.Slot,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.dep)()}),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,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(r),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(n);n.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},55427(e,t,n){n.d(t,{a:()=>c});var r=n(85608),i=n(55888),o=n(3777),a=n(2904),s=n(82307),u=n(28907);function c(e,t,n,c){var f=t.data,p=(0,r.__rest)(t,["data"]),d=n.data,h=(0,r.__rest)(n,["data"]);return(0,i.default)(p,h)&&function e(t,n,r,o){if(n===r)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.MS)(t,o.variables)||l(t)))return!0;if((0,u.dt)(t)){var f=(0,u.ue)(t),p=n&&n[f],d=r&&r[f],h=t.selectionSet;if(!h)return(0,i.default)(p,d);var v=Array.isArray(p),y=Array.isArray(d);if(v!==y)return!1;if(v&&y){var m=p.length;if(d.length!==m)return!1;for(var g=0;g<m;++g)if(!e(h,p[g],d[g],o))return!1;return!0}return e(h,p,d,o)}var _=(0,a.HQ)(t,o.fragmentMap);if(_)return!!l(_)||e(_.selectionSet,n,r,o)})}((0,o.Vn)(e).selectionSet,f,d,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},53570(e,t,n){n.r(t),n.d(t,{ApolloError:()=>c,PROTOCOL_ERRORS_SYMBOL:()=>o,graphQLResultHasProtocolErrors:()=>a,isApolloError:()=>s});var r=n(85608);n(70916);var i=n(21777),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(n){var i=n.graphQLErrors,o=n.protocolErrors,a=n.clientErrors,s=n.networkError,c=n.errorMessage,l=n.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,f.cause=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,r.__extends)(t,e),t}(Error)},19074(e,t,n){n.d(t,{C:()=>f});var r=n(70916),i=n(36054),o=n(16878),a=n(38414),s=n(46192);function u(e,t){return t?t(e):i.c.of()}function c(e){return"function"==typeof e?new f(e):e}function l(e){return e.request.length<=1}var f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var o=c(n),a=c(r||new e(u));return Object.assign(new e(l(o)&&l(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}:function(e,n){return t(e)?o.request(e,n)||i.c.of():a.request(e,n)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){return e.request((0,o.k)(t.context,(0,a.A)((0,s.K)(t))))||i.c.of()},e.concat=function(t,n){var o=c(t);if(l(o))return!1!==globalThis.__DEV__&&r.invariant.warn(38,o),o;var a=c(n);return Object.assign(new e(l(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},25174(e,t,n){n.d(t,{g:()=>r});var r=n(19074).C.execute},4232(e,t,n){n.r(t),n.d(t,{ApolloLink:()=>r.C,concat:()=>s,empty:()=>i,execute:()=>u.g,from:()=>o,split:()=>a}),n(70916);var r=n(19074),i=r.C.empty,o=r.C.from,a=r.C.split,s=r.C.concat,u=n(25174)},49952(e,t,n){n.d(t,{P:()=>a});var r=n(85608),i=n(19074),o=n(79760),a=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,o.$)(t).request)||this;return n.options=t,n}return(0,r.__extends)(t,e),t}(i.C)},67195(e,t,n){n.d(t,{S:()=>i});var r=n(70916),i=function(e){if(!e&&"u"<typeof fetch)throw(0,r.newInvariantError)(40)}},79760(e,t,n){n.d(t,{$:()=>_});var r=n(85608),i=n(70916),o=n(19074),a=n(82307),s=n(36054),u=n(63647),c=n(33068),l=n(90117),f=n(67195),p=n(74559),d=n(11151),h=n(93161),v=n(70783),y=n(53925),m=n(3777),g=(0,i.maybe)(function(){return fetch}),_=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,_=e.fetch,b=e.print,E=void 0===b?p.i1:b,T=e.includeExtensions,O=e.preserveHeaderCase,k=e.useGETForQueries,I=e.includeUnusedVariables,N=void 0!==I&&I,w=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.S)(_||g);var S={http:{includeExtensions:T,preserveHeaderCase:O},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new o.C(function(e){var t,o,f=(0,c.z)(e,n),b=e.getContext(),T={};if(b.clientAwareness){var O=b.clientAwareness,I=O.name,w=O.version;I&&(T["apollographql-client-name"]=I),w&&(T["apollographql-client-version"]=w)}var x=(0,r.__assign)((0,r.__assign)({},T),b.headers),A={http:b.http,options:b.fetchOptions,credentials:b.credentials,headers:x};if((0,a.d8)(["client"],e.query)){var D=(0,y.er)(e.query);if(!D)return(0,h.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=D}var C=(0,p.HY)(e,E,p.R4,S,A),R=C.options,F=C.body;F.variables&&!N&&(F.variables=(0,v.X)(F.variables,e.query)),!R.signal&&"u">typeof AbortController&&(R.signal=(o=new AbortController).signal);var j="OperationDefinition"===(t=(0,m.Vn)(e.query)).kind&&"subscription"===t.operation,M=(0,a.d8)(["defer"],e.query);if(k&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(R.method="GET"),M||j){R.headers=R.headers||{};var P="multipart/mixed;";j&&M&&!1!==globalThis.__DEV__&&i.invariant.warn(41),j?P+="boundary=graphql;subscriptionSpec=1.0,application/json":M&&(P+="deferSpec=20220824,application/json"),R.headers.accept=P}if("GET"===R.method){var V=(0,d.E)(f,F),L=V.newURI,Y=V.parseError;if(Y)return(0,h.N)(Y);f=L}else try{R.body=(0,u.Y)(F,"Payload")}catch(e){return(0,h.N)(e)}return new s.c(function(t){var n=_||(0,i.maybe)(function(){return fetch})||g,r=t.next.bind(t);return n(f,R).then(function(t){e.setContext({response:t});var n,i=null==(n=t.headers)?void 0:n.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,l.tD)(t,r):(0,l.OQ)(e)(t).then(r)}).then(function(){o=void 0,t.complete()}).catch(function(e){o=void 0,(0,l.H4)(e,t)}),function(){o&&o.abort()}})})}},28876(e,t,n){n.r(t),n.d(t,{HttpLink:()=>l.P,parseAndCheckHttpResponse:()=>r.OQ,checkFetcher:()=>a.S,rewriteURIForGET:()=>f.E,serializeFetchParameter:()=>i.Y,createSignalIfSupported:()=>s,selectHttpOptionsAndBodyInternal:()=>o.HY,selectHttpOptionsAndBody:()=>o.Wz,selectURI:()=>u.z,fallbackHttpConfig:()=>o.R4,createHttpLink:()=>c.$,defaultPrinter:()=>o.i1}),n(70916);var r=n(90117),i=n(63647),o=n(74559),a=n(67195),s=function(){if("u"<typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},u=n(33068),c=n(79760),l=n(49952),f=n(11151)},90117(e,t,n){n.d(t,{H4:()=>p,OQ:()=>d,tD:()=>l});var r=n(85608),i=n(51360);function o(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var a=n(3848),s=n(53570),u=n(37396),c=Object.prototype.hasOwnProperty;function l(e,t){return(0,r.__awaiter)(this,void 0,void 0,function(){var n,a,c,l,p,d,h,v,y,m,g,_,b,E,T,O,k,I,N,w,S,x,A;return(0,r.__generator)(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),a=null==(A=e.headers)?void 0:A.get("content-type"),c="boundary=",l=(null==a?void 0:a.includes(c))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(c))+c.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",p="\r\n--".concat(l),d="",h=function(e){var t,n,r,a,s,u,c=e;if(e.body&&(c=e.body),t=c,i.uJ&&t[Symbol.asyncIterator])return r=c[Symbol.asyncIterator](),(n={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},n;if(c.getReader)return o(c.getReader());if(c.stream)return o(c.stream().getReader());if(c.arrayBuffer)return a=c.arrayBuffer(),s=!1,u={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){a.then(function(t){e({value:t,done:!1})}).catch(t)}))}},i.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u;if(c.pipe)return function(e){var t=null,n=null,r=!1,o=[],a=[];function s(e){if(!n){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function u(e){n=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void a.push([e,t])})}};return i.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}(c);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),v=!0,D.label=1;case 1:if(!v)return[3,3];return[4,h.next()];case 2:for(m=(y=D.sent()).value,g=y.done,_="string"==typeof m?m:n.decode(m),b=d.length-p.length+1,v=!g,d+=_,E=d.indexOf(p,b);E>-1;){if(T=void 0,T=(S=[d.slice(0,E),d.slice(E+p.length)])[0],d=S[1],O=T.indexOf("\r\n\r\n"),(k=function(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}(T.slice(0,O))["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(I=T.slice(O)){if(Object.keys(N=f(e,I)).length>1||"data"in N||"incremental"in N||"errors"in N||"payload"in N)if((0,u.Nw)(N)){if(w={},"payload"in N){if(1===Object.keys(N).length&&null===N.payload)return[2];w=(0,r.__assign)({},N.payload)}"errors"in N&&(w=(0,r.__assign)((0,r.__assign)({},w),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in w?w.extensions:null),((x={})[s.PROTOCOL_ERRORS_SYMBOL]=N.errors,x))})),t(w)}else t(N);else if(1===Object.keys(N).length&&"hasNext"in N&&!N.hasNext)return[2]}E=d.indexOf(p)}return[3,1];case 3:return[2]}})})}function f(e,t){e.status>=300&&(0,a.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(n){throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function p(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function d(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(n){return Array.isArray(n)||c.call(n,"data")||c.call(n,"errors")||(0,a.A)(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n})}}},11151(e,t,n){n.d(t,{E:()=>i});var r=n(63647);function i(e,t){var n=[],i=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,r.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,r.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+n.join("&")+s}}},74559(e,t,n){n.d(t,{HY:()=>u,R4:()=>o,Wz:()=>s,i1:()=>a});var r=n(85608),i=n(38678),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return n.unshift(t),u.apply(void 0,(0,r.__spreadArray)([e,a],n,!1))}function u(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a={},s={};n.forEach(function(e){a=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},a),e.options),{headers:(0,r.__assign)((0,r.__assign)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,r.__assign)((0,r.__assign)({},s),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r={};Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,p={operationName:u,variables:l};return s.includeExtensions&&(p.extensions=c),s.includeQuery&&(p.query=t(f,i.y)),{options:a,body:p}}},33068(e,t,n){n.d(t,{z:()=>r});var r=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}},63647(e,t,n){n.d(t,{Y:()=>i});var r=n(70916),i=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,r.newInvariantError)(42,t,e.message);throw i.parseError=e,i}return n}},16878(e,t,n){n.d(t,{k:()=>i});var r=n(85608);function i(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}},70783(e,t,n){n.d(t,{X:()=>o});var r=n(85608),i=n(90424);function o(e,t){var n=(0,r.__assign)({},e),o=new Set(Object.keys(e));return(0,i.YR)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&o.delete(e.name.value)}}),o.forEach(function(e){delete n[e]}),n}},93161(e,t,n){n.d(t,{N:()=>i});var r=n(36054);function i(e){return new r.c(function(t){t.error(e)})}},22594(e,t,n){n.d(t,{S:()=>i});var r=n(36054);function i(e){return new r.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}},3848(e,t,n){n.d(t,{A:()=>r});var r=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},60441(e,t,n){n.d(t,{h:()=>i});var r=n(70916);function i(e){var t=!1;return new Promise(function(n,i){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&r.invariant.warn(45):(t=!0,n(e))},error:i})})}},38414(e,t,n){n.d(t,{A:()=>i});var r=n(3777);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,r.n4)(t.query)||void 0:""),t}},46192(e,t,n){n.d(t,{K:()=>i});var r=n(70916);function i(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(0>t.indexOf(o))throw(0,r.newInvariantError)(46,o)}return e}},25186(e,t,n){n.d(t,{S:()=>c});var r=n(42455),i=n(57236),o=n(28907),a=n(82307),s=n(47150),u=n(70916);function c(e,t,n){return s.yV.withValue(!0,function(){var c=function e(t,n,i,c,l){var f,p=i.knownChanged,d=function(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}(t,i.mutableTargets);if(Array.isArray(t)){for(var h=0,v=Array.from(t.entries());h<v.length;h++){var y=v[h],m=y[0],g=y[1];if(null===g){d[m]=null;continue}var _=e(g,n,i,c,!1!==globalThis.__DEV__?"".concat(l||"","[").concat(m,"]"):void 0);p.has(_)&&p.add(d),d[m]=_}return p.has(d)?d:t}for(var b=0,E=n.selections;b<E.length;b++){var T=E[b],O=void 0;if(c&&p.add(d),T.kind===r.b.FIELD){var k=(0,o.ue)(T),I=T.selectionSet;if(void 0===(O=d[k]||t[k]))continue;if(I&&null!==O){var _=e(t[k],I,i,c,!1!==globalThis.__DEV__?"".concat(l||"",".").concat(k):void 0);p.has(_)&&(O=_)}!1===globalThis.__DEV__&&(d[k]=O),!1!==globalThis.__DEV__&&(!c||"__typename"===k||(null==(f=Object.getOwnPropertyDescriptor(d,k))?void 0:f.value)?(delete d[k],d[k]=O):Object.defineProperty(d,k,function(e,t,n,r,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.invariant.warn(48,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(k,O,l||"",i.operationName,i.operationType)))}if(T.kind===r.b.INLINE_FRAGMENT&&(!T.typeCondition||i.cache.fragmentMatches(T,t.__typename))&&(O=e(t,T.selectionSet,i,c,l)),T.kind===r.b.FRAGMENT_SPREAD){var N=T.name.value,w=i.fragmentMap[N]||(i.fragmentMap[N]=i.cache.lookupFragment(N));(0,u.invariant)(w,47,N);var S=(0,a.s7)(T);"mask"!==S&&(O=e(t,w.selectionSet,i,"migrate"===S,l))}p.has(O)&&p.add(d)}return"__typename"in t&&!("__typename"in d)&&(d.__typename=t.__typename),Object.keys(d).length!==Object.keys(t).length&&p.add(d),p.has(d)?d:t}(e,t,n,!1);return Object.isFrozen(e)&&(0,i.G)(c),c})}},62959(e,t,n){n.d(t,{z:()=>l});var r=n(42455),i=n(47150),o=n(70916),a=n(55888),s=n(25186),u=n(2904),c=n(3777);function l(e,t,n,l){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===r.b.FRAGMENT_DEFINITION});void 0===l&&((0,o.invariant)(1===f.length,49,f.length),l=f[0].name.value);var p=f.find(function(e){return e.name.value===l});return((0,o.invariant)(!!p,50,l),null==e||(0,a.default)(e,{}))?e:(0,s.S)(e,p.selectionSet,{operationType:"fragment",operationName:p.name.value,fragmentMap:(0,u.JG)((0,c.zK)(t)),cache:n,mutableTargets:new i.jq,knownChanged:new i.xm})}},28354(e,t,n){n.d(t,{m:()=>u});var r=n(70916),i=n(3777),o=n(2904),a=n(25186),s=n(47150);function u(e,t,n){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,s.Ki)(),e;var u,c=(0,i.Vu)(t);return((0,r.invariant)(c,51),null==e)?e:(0,a.S)(e,c.selectionSet,{operationType:c.operation,operationName:null==(u=c.name)?void 0:u.value,fragmentMap:(0,o.JG)((0,i.zK)(t)),cache:n,mutableTargets:new s.jq,knownChanged:new s.xm})}},47150(e,t,n){n.d(t,{Ki:()=>l,jq:()=>a,xm:()=>s,yV:()=>u});var r=n(60837),i=n(70916),o=n(51360),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new r.Slot,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.invariant.warn(52))}},45078(e,t,n){n.d(t,{A:()=>s,V:()=>u});var r=n(54019),i=n(31088),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var n=new r.l(e,t);return n.set=function(e,t){var n=r.l.prototype.set.call(this,e,t);return a(this),n},n},u=function(e,t){var n=new i.C(e,t);return n.set=function(e,t){var n=i.C.prototype.set.call(this,e,t);return a(this),n},n}},44114(e,t,n){n.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>c});var r=n(85608),i=n(555),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,n,a,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,i.v[t]||n]})),sizes:(0,r.__assign)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(n=o.canonicalStringify)?void 0:n.call(o),links:function e(t){var n;return t?(0,r.__spreadArray)((0,r.__spreadArray)([null==(n=null==t?void 0:t.getMemoryInternals)?void 0:n.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(p):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:d(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.__assign)((0,r.__assign)({},l.apply(this)),{addTypenameDocumentTransform:d(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function p(e){return null!=e}function d(e){return(function e(t){return t?(0,r.__spreadArray)((0,r.__spreadArray)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(p):[]})(e).map(function(e){return{cache:e}})}},555(e,t,n){n.d(t,{v:()=>a});var r=n(85608),i=n(70916),o=Symbol.for("apollo.cacheSize"),a=(0,r.__assign)({},i.global[o])},73767(e,t,n){n.d(t,{E:()=>i,c:()=>r});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},51360(e,t,n){n.d(t,{En:()=>a,JR:()=>f,Sw:()=>c,et:()=>o,ol:()=>s,uJ:()=>u});var r=n(70916),i="ReactNative"==(0,r.maybe)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,r.maybe)(function(){return window.document.createElement}),l=(0,r.maybe)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},44214(e,t,n){n.d(t,{M:()=>s});var r,i=n(45078),o=n(555),a=n(44114),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){r=new i.V(o.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=r.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=r.get(s)||i,r.set(o,a),r.set(s,a)}var u=Object.create(n);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return r.size}),s.reset()},20906(e,t,n){n.d(t,{m:()=>i});var r=Object.prototype.toString;function i(e){return function e(t,n){switch(r.call(t)){case"[object Array]":if((n=n||new Map).has(t))return n.get(t);var i=t.slice(0);return n.set(t,i),i.forEach(function(t,r){i[r]=e(t,n)}),i;case"[object Object]":if((n=n||new Map).has(t))return n.get(t);var o=Object.create(Object.getPrototypeOf(t));return n.set(t,o),Object.keys(t).forEach(function(r){o[r]=e(t[r],n)}),o;default:return t}}(e)}},50492(e,t,n){n.d(t,{o:()=>r});function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}},32710(e,t,n){n.d(t,{M:()=>a,t:()=>o});var r=n(73767),i=n(37396);function o(e){var t=a(e);return(0,r.E)(t)}function a(e){var t=(0,r.E)(e.errors)?e.errors.slice(0):[];return(0,i.ST)(e)&&(0,r.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},37396(e,t,n){n.d(t,{EQ:()=>s,Nw:()=>c,ST:()=>a,YX:()=>u,bd:()=>l});var r=n(21777),i=n(73767),o=n(30671);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return a(e)||s(e)}function c(e){return(0,r.U)(e)&&"payload"in e}function l(e,t){var n=e,r=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)}),n}},21461(e,t,n){n.d(t,{v:()=>i});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},57236(e,t,n){n.d(t,{G:()=>i});var r=n(21777);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,r.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.U)(e[n])&&t.add(e[n])})}),e}},30671(e,t,n){n.d(t,{D9:()=>a,IM:()=>s,ZI:()=>c});var r=n(85608),i=n(21777),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,i],a,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},31507(e,t,n){n.d(t,{l:()=>o});var r=n(85608),i=n(50492);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,r.__assign)((0,r.__assign)({},e&&e.variables),t.variables))})}},21777(e,t,n){function r(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}n.d(t,{Q:()=>i,U:()=>r})},86563(e,t,n){n.d(t,{p:()=>i});var r=n(21461);function i(e,t){void 0===t&&(t=0);var n=(0,r.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},70916(e,t,n){n.r(t),n.d(t,{invariant:()=>c,__DEV__:()=>v,DEV:()=>v,global:()=>a,InvariantError:()=>r.InvariantError,newInvariantError:()=>l,maybe:()=>o});var r=n(19371),i=n(73972);function o(e){try{return e()}catch(e){}}let a=o(function(){return globalThis})||o(function(){return window})||o(function(){return self})||o(function(){return global})||o(function(){return o.constructor("return this")()});var s=n(86563);function u(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var i=t;(t=d(i))||(t=h(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var c=Object.assign(function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e||(0,r.invariant)(e,d(t,n)||h(t,n))},{debug:u(r.invariant.debug),log:u(r.invariant.log),warn:u(r.invariant.warn),error:u(r.invariant.error)});function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new r.InvariantError(d(e,t)||h(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+i.r);function p(e){if("string"==typeof e)return e;try{return(0,s.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function d(e,t){if(void 0===t&&(t=[]),e)return a[f]&&a[f](e,t.map(p))}function h(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(p)})))}var v=!1!==globalThis.__DEV__},9354(e,t,n){n.d(t,{c:()=>f});var r=n(44592),i=n(51360),o=n(3777),a=n(70916),s=n(54019),u=n(60837),c=n(555);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new r.Trie(i.et);this.performWork=(0,u.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,a.invariant)(Array.isArray(r),77),n.lookupArray(r)},max:c.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},82307(e,t,n){n.d(t,{I5:()=>c,MS:()=>a,d8:()=>l,f2:()=>f,hE:()=>u,s7:()=>d,sx:()=>s,tY:()=>p});var r=n(70916),i=n(90424),o=n(42455);function a(e,t){var n=e.directives;return!n||!n.length||p(n).every(function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.invariant)(void 0!==o,78,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o})}function s(e){var t=[];return(0,i.YR)(e,{Directive:function(e){t.push(e.name.value)}}),t}var u=function(e,t){return l(e,t,!1)},c=function(e,t){return l(e,t,!0)};function l(e,t,n){var r=new Set(e),o=r.size;return(0,i.YR)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.sP}}),n?!r.size:r.size<o}function f(e){return e&&l(["client","export"],e,!0)}function p(e){var t=[];return e&&e.length&&e.forEach(function(e){if("skip"===(n=e.name.value)||"include"===n){var n,i=e.arguments,o=e.name.value;(0,r.invariant)(i&&1===i.length,79,o);var a=i[0];(0,r.invariant)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,r.invariant)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),t.push({directive:e,ifArgument:a})}}),t}function d(e){var t,n,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(n=i.arguments)?void 0:n.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&r.invariant.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&r.invariant.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&r.invariant.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},2904(e,t,n){n.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>c});var r=n(85608),i=n(70916),o=n(90424);function a(e,t){var n=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===n&&((0,i.invariant)(1===o.length,86,o.length),n=o[0].name.value),(0,r.__assign)((0,r.__assign)({},e),{definitions:(0,r.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.invariant)(r,87,n),r||null;default:return null}}function c(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},3777(e,t,n){n.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>p,zK:()=>u});var r=n(70916),i=n(28907);function o(e){(0,r.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r.newInvariantError)(89,e.kind);return e});return(0,r.invariant)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,r.invariant)(t&&"query"===t.operation,91),t}function l(e){(0,r.invariant)("Document"===e.kind,92),(0,r.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,r.invariant)("FragmentDefinition"===t.kind,94),t}function f(e){o(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r.newInvariantError)(95)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},38678(e,t,n){n.d(t,{y:()=>u});var r,i=n(95818),o=n(45078),a=n(555),s=n(44114),u=Object.assign(function(e){var t=r.get(e);return t||(t=(0,i.y)(e),r.set(e,t)),t},{reset:function(){r=new o.A(a.v.print||2e3)}});u.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return r?r.size:0})},28907(e,t,n){n.d(t,{A_:()=>u,D$:()=>function e(t,n,r){for(var i,a=0,s=n.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.HQ)(u,r).selectionSet,r);if("string"==typeof f)return f}},Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>v,WU:()=>s,dt:()=>m,kd:()=>g,o5:()=>h,ue:()=>y});var r=n(70916),i=n(21777),o=n(2904),a=n(44214);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,n,i){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var o={};n.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===n.kind){var a=(i||{})[n.name.value];e[t.value]=a}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var n={};return l(n,t,e,i),n[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,r.newInvariantError)(96,t.value,n.kind)}function f(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return l(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),h(e.name.value,r,n)}var p=["connection","include","skip","client","rest","export","nonreactive"],d=a.M,h=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;else{var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(d(i),")")}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===p.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(d(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=d;return d=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return l(n,e.name,e.value,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},53925(e,t,n){n.d(t,{TC:()=>_,XY:()=>v,er:()=>E,hX:()=>m,it:()=>g,iz:()=>h,x3:()=>T,zc:()=>b});var r=n(85608),i=n(70916),o=n(42455),a=n(90424),s=n(3777),u=n(28907),c=n(2904),l=n(73767),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function p(e){return!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?e:null}function d(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function h(e,t){(0,s.sw)(t);for(var n,u,c=d(""),f=d(""),h=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.c)(n)){if(n.kind===o.b.OPERATION_DEFINITION)return c(n.name&&n.name.value);if(n.kind===o.b.FRAGMENT_DEFINITION)return f(n.name.value)}return!1!==globalThis.__DEV__&&i.invariant.error(97),null},v=0,y=t.definitions.length-1;y>=0;--y)t.definitions[y].kind===o.b.OPERATION_DEFINITION&&++v;var m=(n=new Map,u=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&u.size&&u.forEach(function(n,r){r(e)&&(t=n)}),t}),g=function(e){return(0,l.E)(e)&&e.map(m).some(function(e){return e&&e.remove})},_=new Map,b=!1,E={enter:function(e){if(g(e.directives))return b=!0,null}},T=(0,a.YR)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=h(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(g(e.directives))return b=!0,null;var o=h(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){_.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===_.get(JSON.stringify(r))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(f(e.name.value).removed=!0,b=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return b=!0,null}}});if(!b)return t;var O=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){O(f(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},k=new Set;T.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?O(c(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){k.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==v||f(e.name.value).removed||k.add(e.name.value)}),k.forEach(function(e){O(f(e)).fragmentSpreads.forEach(function(e){k.add(e)})});var I={enter:function(e){var t;if(t=e.name.value,!k.has(t)||f(t).removed)return null}};return p((0,a.YR)(T,{FragmentSpread:I,FragmentDefinition:I,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(c(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var v=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}}),y={test:function(e){var t="connection"===e.name.value;return!t||e.arguments&&e.arguments.some(function(e){return"key"===e.name.value})||!1===globalThis.__DEV__||i.invariant.warn(98),t}};function m(e){return h([y],(0,s.sw)(e))}function g(e,t){var n=function(t){return e.some(function(e){return t.value&&t.value.kind===o.b.VARIABLE&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))})};return p((0,a.YR)(t,{OperationDefinition:{enter:function(t){return(0,r.__assign)((0,r.__assign)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter(function(t){return!e.some(function(e){return e.name===t.variable.name.value})}):[]})}},Field:{enter:function(t){if(e.some(function(e){return e.remove})){var r=0;if(t.arguments&&t.arguments.forEach(function(e){n(e)&&(r+=1)}),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}function _(e,t){function n(t){if(e.some(function(e){return e.name===t.name.value}))return null}return p((0,a.YR)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function b(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})}function E(e){return(0,s.sw)(e),h([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function T(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,r.__assign)((0,r.__assign)({},e),{directives:(0,r.__spreadArray)((0,r.__spreadArray)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}],!1)})}})}},45637(e,t,n){n.d(t,{E:()=>u});var r=n(85608),i=n(36054),o=n(87613),a=n(35892);function s(e){return e&&"function"==typeof e.then}var u=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,o.w)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,o.w)(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?s(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,o.w)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.c(t)]),s(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,r.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(i.c);(0,a.r)(u)},5762(e,t,n){n.d(t,{x:()=>i});var r=n(36054);function i(e,t,n){return new r.c(function(r){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}},87613(e,t,n){n.d(t,{w:()=>r});function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}},35892(e,t,n){n.d(t,{r:()=>o});var r=n(36054),i=n(51360);function o(e){function t(t){Object.defineProperty(e,t,{value:r.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},30234(e,t,n){n.d(t,{X:()=>r});function r(e){return e.catch(function(){}),e}},73972(e,t,n){n.d(t,{r:()=>r});var r="3.13.8"},31088(e,t,n){function r(){}n.d(t,{C:()=>i});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){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)}}},54019(e,t,n){function r(){}n.d(t,{l:()=>s});let i="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="u">typeof WeakMap?WeakMap:Map,a="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class s{constructor(e=1/0,t=r){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 n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,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:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;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))}}},55888(e,t,n){n.r(t),n.d(t,{default:()=>u,equal:()=>s});let{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,n){if(t===n)return!0;let a=r.call(t);if(a!==r.call(n))return!1;switch(a){case"[object Array]":if(t.length!==n.length)break;case"[object Object]":{if(p(t,n))return!0;let r=c(t),o=c(n),a=r.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(n,r[e]))return!1;for(let i=0;i<a;++i){let o=r[i];if(!e(t[o],n[o]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(p(t,n))return!0;let r=t.entries(),i="[object Map]"===a;for(;;){let t=r.next();if(t.done)break;let[o,a]=t.value;if(!n.has(o)||i&&!e(a,n.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let e=t.byteLength;if(e===n.byteLength)for(;e--&&t[e]===n[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var s,u;let e,r=o.call(t);if(r!==o.call(n))return!1;return s=r,u=f,!((e=s.length-u.length)>=0)||s.indexOf(u,e)!==e}}return!1}(e,t)}finally{a.clear()}}let u=s;function c(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}let f="{ [native code] }";function p(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},44592(e,t,n){n.r(t),n.d(t,{Trie:()=>s});let r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},48255(e,t,n){n.d(t,{Wk:()=>c,eO:()=>a,yJ:()=>u});var r=n(91070),i=n(73971),o=n(8238);class a extends Error{constructor(e,...t){var n,o,u;let c,{nodes:l,source:f,positions:p,path:d,originalError:h,extensions:v}=null==(c=t[0])||"kind"in c||"length"in c?{nodes:c,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:c;super(e),this.name="GraphQLError",this.path=null!=d?d:void 0,this.originalError=null!=h?h:void 0,this.nodes=s(Array.isArray(l)?l:l?[l]:void 0);let y=s(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=f?f:null==y||null==(o=y[0])?void 0:o.source,this.positions=null!=p?p:null==y?void 0:y.map(e=>e.start),this.locations=p&&f?p.map(e=>(0,i.g)(f,e)):null==y?void 0:y.map(e=>(0,i.g)(e.source,e.start));let m=(0,r.Z)(null==h?void 0:h.extensions)?null==h?void 0:h.extensions:void 0;this.extensions=null!=(u=null!=v?v:m)?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,a):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 t of this.nodes)t.loc&&(e+="\n\n"+(0,o.V)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+(0,o.C)(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 s(e){return void 0===e||0===e.length?void 0:e}function u(e){return e.toString()}function c(e){return e.toJSON()}},59841(e,t,n){n.d(t,{I:()=>i});var r=n(48255);function i(e,t,n){return new r.eO(`Syntax Error: ${n}`,{source:e,positions:[t]})}},93217(e,t,n){n.d(t,{U:()=>r});function r(e,t){if(!e)throw Error(t)}},35198(e,t,n){function r(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){let r;if(null===t)return"null";if(n.includes(t))return"[Circular]";let i=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,i)}else if(Array.isArray(t)){var o,a,s=t,u=i;if(0===s.length)return"[]";if(u.length>2)return"[Array]";let n=Math.min(10,s.length),r=s.length-n,c=[];for(let t=0;t<n;++t)c.push(e(s[t],u));return 1===r?c.push("... 1 more item"):r>1&&c.push(`... ${r} more items`),"["+c.join(", ")+"]"}return o=t,a=i,0===(r=Object.entries(o)).length?"{}":a.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}(o)+"]":"{ "+r.map(([t,n])=>t+": "+e(n,a)).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}n.d(t,{N:()=>r})},50792(e,t,n){n.d(t,{h:()=>i});var r=n(35198);let i=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=(0,r.N)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm.
2
+
3
+ Ensure that there is only one instance of "graphql" in the node_modules
4
+ directory. If different versions of "graphql" are the dependencies of other
5
+ relied on modules, use "resolutions" to ensure only one version is installed.
6
+
7
+ https://yarnpkg.com/en/docs/selective-version-resolutions
8
+
9
+ Duplicate "graphql" modules cannot be used at the same time since different
10
+ versions may have different capabilities and behavior. The data from one
11
+ version used in the function from another could produce confusing and
12
+ spurious results.`)}}return!1}},71306(e,t,n){n.d(t,{V:()=>r});function r(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}},91070(e,t,n){n.d(t,{Z:()=>r});function r(e){return"object"==typeof e&&null!==e}},59762(e,t,n){var r,i;n.d(t,{Ll:()=>c,aD:()=>s,aZ:()=>o,cE:()=>r,ou:()=>a});class o{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},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=r||(r={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},67714(e,t,n){n.d(t,{CS:()=>o,OC:()=>i,yo:()=>a});var r=n(25881);function i(e){var t,n;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!=(n=o)?n:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}function a(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.i0)(e.charCodeAt(0))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),p="",d=o&&(0,r.i0)(e.charCodeAt(0));return(f&&!d||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},25881(e,t,n){function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{i0:()=>r,un:()=>a,xr:()=>s,yp:()=>i})},42868(e,t,n){var r,i;n.d(t,{H:()=>r}),(i=r||(r={})).QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"},42455(e,t,n){var r,i;n.d(t,{b:()=>r}),(i=r||(r={})).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",i.TYPE_COORDINATE="TypeCoordinate",i.MEMBER_COORDINATE="MemberCoordinate",i.ARGUMENT_COORDINATE="ArgumentCoordinate",i.DIRECTIVE_COORDINATE="DirectiveCoordinate",i.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"},98472(e,t,n){n.d(t,{Ey:()=>v,JG:()=>u,MQ:()=>_,Z_:()=>c,qA:()=>h});var r=n(59841),i=n(59762),o=n(67714),a=n(25881),s=n(12039);class u{constructor(e){let t=new i.ou(s.Y.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.Y.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,i=n.length,u=t;for(;u<i;){let t=n.charCodeAt(u);switch(t){case 65279:case 9:case 32:case 44:++u;continue;case 10:++u,++e.line,e.lineStart=u;continue;case 13:10===n.charCodeAt(u+1)?u+=2:++u,++e.line,e.lineStart=u;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(l(e))++i;else if(f(n,i))i+=2;else break}return v(e,s.Y.COMMENT,t,i,n.slice(t+1,i))}(e,u);case 33:return v(e,s.Y.BANG,u,u+1);case 36:return v(e,s.Y.DOLLAR,u,u+1);case 38:return v(e,s.Y.AMP,u,u+1);case 40:return v(e,s.Y.PAREN_L,u,u+1);case 41:return v(e,s.Y.PAREN_R,u,u+1);case 46:if(46===n.charCodeAt(u+1)&&46===n.charCodeAt(u+2))return v(e,s.Y.SPREAD,u,u+3);break;case 58:return v(e,s.Y.COLON,u,u+1);case 61:return v(e,s.Y.EQUALS,u,u+1);case 64:return v(e,s.Y.AT,u,u+1);case 91:return v(e,s.Y.BRACKET_L,u,u+1);case 93:return v(e,s.Y.BRACKET_R,u,u+1);case 123:return v(e,s.Y.BRACE_L,u,u+1);case 124:return v(e,s.Y.PIPE,u,u+1);case 125:return v(e,s.Y.BRACE_R,u,u+1);case 34:if(34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2))return function(e,t){let n=e.source.body,i=n.length,a=e.lineStart,u=t+3,c=u,p="",d=[];for(;u<i;){let i=n.charCodeAt(u);if(34===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)){p+=n.slice(c,u),d.push(p);let r=v(e,s.Y.BLOCK_STRING,t,u+3,(0,o.OC)(d).join("\n"));return e.line+=d.length-1,e.lineStart=a,r}if(92===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)&&34===n.charCodeAt(u+3)){p+=n.slice(c,u),c=u+1,u+=4;continue}if(10===i||13===i){p+=n.slice(c,u),d.push(p),13===i&&10===n.charCodeAt(u+1)?u+=2:++u,p="",c=u,a=u;continue}if(l(i))++u;else if(f(n,u))u+=2;else throw(0,r.I)(e.source,u,`Invalid character within String: ${h(e,u)}.`)}throw(0,r.I)(e.source,u,"Unterminated string.")}(e,u);return function(e,t){let n=e.source.body,i=n.length,o=t+1,a=o,u="";for(;o<i;){let i=n.charCodeAt(o);if(34===i)return u+=n.slice(a,o),v(e,s.Y.STRING,t,o+1,u);if(92===i){u+=n.slice(a,o);let t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?function(e,t){let n=e.source.body,i=0,o=3;for(;o<12;){let e=n.charCodeAt(t+o++);if(125===e){if(o<5||!l(i))break;return{value:String.fromCodePoint(i),size:o}}if((i=i<<4|g(e))<0)break}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}(e,o):function(e,t){let n=e.source.body,i=m(n,t+2);if(l(i))return{value:String.fromCodePoint(i),size:6};if(p(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=m(n,t+8);if(d(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,o):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,r.I)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,o);u+=t.value,o+=t.size,a=o;continue}if(10===i||13===i)break;if(l(i))++o;else if(f(n,o))o+=2;else throw(0,r.I)(e.source,o,`Invalid character within String: ${h(e,o)}.`)}throw(0,r.I)(e.source,o,"Unterminated string.")}(e,u)}if((0,a.yp)(t)||45===t)return function(e,t,n){let i=e.source.body,o=t,u=n,c=!1;if(45===u&&(u=i.charCodeAt(++o)),48===u){if(u=i.charCodeAt(++o),(0,a.yp)(u))throw(0,r.I)(e.source,o,`Invalid number, unexpected digit after 0: ${h(e,o)}.`)}else o=y(e,o,u),u=i.charCodeAt(o);if(46===u&&(c=!0,u=i.charCodeAt(++o),o=y(e,o,u),u=i.charCodeAt(o)),(69===u||101===u)&&(c=!0,(43===(u=i.charCodeAt(++o))||45===u)&&(u=i.charCodeAt(++o)),o=y(e,o,u),u=i.charCodeAt(o)),46===u||(0,a.un)(u))throw(0,r.I)(e.source,o,`Invalid number, expected digit but got: ${h(e,o)}.`);return v(e,c?s.Y.FLOAT:s.Y.INT,t,o,i.slice(t,o))}(e,u,t);if((0,a.un)(t))return _(e,u);throw(0,r.I)(e.source,u,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":l(t)||f(n,u)?`Unexpected character: ${h(e,u)}.`:`Invalid character: ${h(e,u)}.`)}return v(e,s.Y.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.Y.COMMENT);return e}}function c(e){return e===s.Y.BANG||e===s.Y.DOLLAR||e===s.Y.AMP||e===s.Y.PAREN_L||e===s.Y.PAREN_R||e===s.Y.DOT||e===s.Y.SPREAD||e===s.Y.COLON||e===s.Y.EQUALS||e===s.Y.AT||e===s.Y.BRACKET_L||e===s.Y.BRACKET_R||e===s.Y.BRACE_L||e===s.Y.PIPE||e===s.Y.BRACE_R}function l(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function f(e,t){return p(e.charCodeAt(t))&&d(e.charCodeAt(t+1))}function p(e){return e>=55296&&e<=56319}function d(e){return e>=56320&&e<=57343}function h(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return s.Y.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function v(e,t,n,r,o){let a=e.line,s=1+n-e.lineStart;return new i.ou(t,n,r,a,s,o)}function y(e,t,n){if(!(0,a.yp)(n))throw(0,r.I)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);let i=e.source.body,o=t+1;for(;(0,a.yp)(i.charCodeAt(o));)++o;return o}function m(e,t){return g(e.charCodeAt(t))<<12|g(e.charCodeAt(t+1))<<8|g(e.charCodeAt(t+2))<<4|g(e.charCodeAt(t+3))}function g(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function _(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if((0,a.xr)(e))++i;else break}return v(e,s.Y.NAME,t,i,n.slice(t,i))}},73971(e,t,n){n.d(t,{g:()=>o});var r=n(71306);let i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;for(let a of e.body.matchAll(i)){if("number"==typeof a.index||(0,r.V)(!1),a.index>=t)break;n=a.index+a[0].length,o+=1}return{line:o,column:t+1-n}}},20186(e,t,n){n.d(t,{Ng:()=>y,qg:()=>p,u8:()=>h,$x:()=>d,Mb:()=>v});var r=n(59841),i=n(59762),o=n(42868),a=n(42455),s=n(98472),u=n(25881),c=n(12039);class l{line=1;lineStart=0;constructor(e){let t=new i.ou(c.Y.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t}get[Symbol.toStringTag](){return"SchemaCoordinateLexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==c.Y.EOF){let t=function(e,t){let n=e.source.body,i=n.length;if(t<i){let i=n.charCodeAt(t);switch(i){case 46:return(0,s.Ey)(e,c.Y.DOT,t,t+1);case 40:return(0,s.Ey)(e,c.Y.PAREN_L,t,t+1);case 41:return(0,s.Ey)(e,c.Y.PAREN_R,t,t+1);case 58:return(0,s.Ey)(e,c.Y.COLON,t,t+1);case 64:return(0,s.Ey)(e,c.Y.AT,t,t+1)}if((0,u.un)(i))return(0,s.MQ)(e,t);throw(0,r.I)(e.source,t,`Invalid character: ${(0,s.qA)(e,t)}.`)}return(0,s.Ey)(e,c.Y.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}return e}}var f=n(39537);function p(e,t){let n=new m(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function d(e,t){let n=new m(e,t);n.expectToken(c.Y.SOF);let r=n.parseValueLiteral(!1);return n.expectToken(c.Y.EOF),r}function h(e,t){let n=new m(e,t);n.expectToken(c.Y.SOF);let r=n.parseConstValueLiteral();return n.expectToken(c.Y.EOF),r}function v(e,t){let n=new m(e,t);n.expectToken(c.Y.SOF);let r=n.parseTypeReference();return n.expectToken(c.Y.EOF),r}function y(e){let t=new l((0,f._)(e)?e:new f.k(e)),n=new m(e,{lexer:t});n.expectToken(c.Y.SOF);let r=n.parseSchemaCoordinate();return n.expectToken(c.Y.EOF),r}class m{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=(0,f._)(e)?e:new f.k(e);this._lexer=new s.JG(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(c.Y.NAME);return this.node(e,{kind:a.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.b.DOCUMENT,definitions:this.many(c.Y.SOF,this.parseDefinition,c.Y.EOF)})}parseDefinition(){if(this.peek(c.Y.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===c.Y.BRACE_L)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===c.Y.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(c.Y.BRACE_L))return this.node(t,{kind:a.b.OPERATION_DEFINITION,operation:i.cE.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),r=this.parseOperationType();return this.peek(c.Y.NAME)&&(e=this.parseName()),this.node(t,{kind:a.b.OPERATION_DEFINITION,operation:r,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(c.Y.NAME);switch(e.value){case"query":return i.cE.QUERY;case"mutation":return i.cE.MUTATION;case"subscription":return i.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(c.Y.PAREN_L,this.parseVariableDefinition,c.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.b.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(c.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(c.Y.DOLLAR),this.node(e,{kind:a.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.b.SELECTION_SET,selections:this.many(c.Y.BRACE_L,this.parseSelection,c.Y.BRACE_R)})}parseSelection(){return this.peek(c.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(c.Y.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:a.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.Y.PAREN_L,t,c.Y.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(c.Y.COLON),this.node(t,{kind:a.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(c.Y.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(c.Y.NAME)?this.node(e,{kind:a.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:a.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:a.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case c.Y.BRACKET_L:return this.parseList(e);case c.Y.BRACE_L:return this.parseObject(e);case c.Y.INT:return this.advanceLexer(),this.node(t,{kind:a.b.INT,value:t.value});case c.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.b.FLOAT,value:t.value});case c.Y.STRING:case c.Y.BLOCK_STRING:return this.parseStringLiteral();case c.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.b.NULL});default:return this.node(t,{kind:a.b.ENUM,value:t.value})}case c.Y.DOLLAR:if(e){if(this.expectToken(c.Y.DOLLAR),this._lexer.token.kind===c.Y.NAME){let e=this._lexer.token.value;throw(0,r.I)(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:a.b.STRING,value:e.value,block:e.kind===c.Y.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:a.b.LIST,values:this.any(c.Y.BRACKET_L,t,c.Y.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:a.b.OBJECT,fields:this.any(c.Y.BRACE_L,t,c.Y.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(c.Y.COLON),this.node(t,{kind:a.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(c.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(c.Y.AT),this.node(t,{kind:a.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(c.Y.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(c.Y.BRACKET_R),e=this.node(t,{kind:a.b.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(c.Y.BANG)?this.node(t,{kind:a.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:a.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(c.Y.STRING)||this.peek(c.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(c.Y.BRACE_L,this.parseOperationTypeDefinition,c.Y.BRACE_R);return this.node(e,{kind:a.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.Y.COLON);let n=this.parseNamedType();return this.node(e,{kind:a.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:a.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(c.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseFieldDefinition,c.Y.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(c.Y.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:a.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(c.Y.PAREN_L,this.parseInputValueDef,c.Y.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(c.Y.COLON);let i=this.parseTypeReference();this.expectOptionalToken(c.Y.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:a.b.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:a.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(c.Y.EQUALS)?this.delimitedMany(c.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:a.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseEnumValueDefinition,c.Y.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:a.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.I)(this._lexer.source,this._lexer.token.start,`${g(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 n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:a.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseInputValueDef,c.Y.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===c.Y.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(),n=this.optionalMany(c.Y.BRACE_L,this.parseOperationTypeDefinition,c.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:a.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.Y.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:a.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(c.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.H,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,r=this.expectOptionalToken(c.Y.AT),i=this.parseName();return(!r&&this.expectOptionalToken(c.Y.DOT)&&(e=this.parseName()),(r||e)&&this.expectOptionalToken(c.Y.PAREN_L)&&(t=this.parseName(),this.expectToken(c.Y.COLON),this.expectToken(c.Y.PAREN_R)),r)?t?this.node(n,{kind:a.b.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:t}):this.node(n,{kind:a.b.DIRECTIVE_COORDINATE,name:i}):e?t?this.node(n,{kind:a.b.ARGUMENT_COORDINATE,name:i,fieldName:e,argumentName:t}):this.node(n,{kind:a.b.MEMBER_COORDINATE,name:i,memberName:e}):this.node(n,{kind:a.b.TYPE_COORDINATE,name:i})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.aZ(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(0,r.I)(this._lexer.source,t.start,`Expected ${_(e)}, found ${g(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===c.Y.NAME&&t.value===e)this.advanceLexer();else throw(0,r.I)(this._lexer.source,t.start,`Expected "${e}", found ${g(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===c.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,r.I)(this._lexer.source,t.start,`Unexpected ${g(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==c.Y.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,r.I)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function g(e){let t=e.value;return _(e.kind)+(null!=t?` "${t}"`:"")}function _(e){return(0,s.Z_)(e)?`"${e}"`:e}},3420(e,t,n){n.d(t,{MD:()=>i,TZ:()=>function e(t){return s(t)&&(t.kind===r.b.LIST?t.values.some(e):t.kind===r.b.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==r.b.VARIABLE)},VK:()=>a,_m:()=>o,a6:()=>l,aR:()=>s,dI:()=>u,fT:()=>f,gj:()=>d,i7:()=>p,xu:()=>c});var r=n(42455);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.b.OPERATION_DEFINITION||e.kind===r.b.FRAGMENT_DEFINITION}function a(e){return e.kind===r.b.FIELD||e.kind===r.b.FRAGMENT_SPREAD||e.kind===r.b.INLINE_FRAGMENT}function s(e){return e.kind===r.b.VARIABLE||e.kind===r.b.INT||e.kind===r.b.FLOAT||e.kind===r.b.STRING||e.kind===r.b.BOOLEAN||e.kind===r.b.NULL||e.kind===r.b.ENUM||e.kind===r.b.LIST||e.kind===r.b.OBJECT}function u(e){return e.kind===r.b.NAMED_TYPE||e.kind===r.b.LIST_TYPE||e.kind===r.b.NON_NULL_TYPE}function c(e){return e.kind===r.b.SCHEMA_DEFINITION||l(e)||e.kind===r.b.DIRECTIVE_DEFINITION}function l(e){return e.kind===r.b.SCALAR_TYPE_DEFINITION||e.kind===r.b.OBJECT_TYPE_DEFINITION||e.kind===r.b.INTERFACE_TYPE_DEFINITION||e.kind===r.b.UNION_TYPE_DEFINITION||e.kind===r.b.ENUM_TYPE_DEFINITION||e.kind===r.b.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.b.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.b.SCALAR_TYPE_EXTENSION||e.kind===r.b.OBJECT_TYPE_EXTENSION||e.kind===r.b.INTERFACE_TYPE_EXTENSION||e.kind===r.b.UNION_TYPE_EXTENSION||e.kind===r.b.ENUM_TYPE_EXTENSION||e.kind===r.b.INPUT_OBJECT_TYPE_EXTENSION}function d(e){return e.kind===r.b.TYPE_COORDINATE||e.kind===r.b.MEMBER_COORDINATE||e.kind===r.b.ARGUMENT_COORDINATE||e.kind===r.b.DIRECTIVE_COORDINATE||e.kind===r.b.DIRECTIVE_ARGUMENT_COORDINATE}},8238(e,t,n){n.d(t,{C:()=>o,V:()=>i});var r=n(73971);function i(e){return o(e.source,(0,r.g)(e.source,e.start))}function o(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,u=1===t.line?n:0,c=t.column+u,l=`${e.name}:${s}:${c}
13
+ `,f=r.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){let e=Math.floor(c/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return l+a([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(c%80)],["|",t[e+1]]])}return l+a([[`${s-1} |`,f[i-1]],[`${s} |`,p],["|","^".padStart(c)],[`${s+1} |`,f[i+1]]])}function a(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}},95818(e,t,n){n.d(t,{y:()=>u});var r=n(67714);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}let a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var s=n(90424);function u(e){return(0,s.YR)(e,c)}let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h(e.variableDefinitions)?p("(\n",l(e.variableDefinitions,"\n"),"\n)"):p("(",l(e.variableDefinitions,", "),")"),n=p("",e.description,"\n")+l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>p("",i,"\n")+e+": "+t+p(" = ",n)+p(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=p("",e,": ")+t,a=o+p("(",l(n,", "),")");return a.length>80&&(a=o+p("(\n",d(l(n,"\n")),"\n)")),l([a,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+p(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",p("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:o})=>p("",o,"\n")+`fragment ${e}${p("(",l(n,", "),")")} `+`on ${t} ${p("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.yo)(e):`"${e.replace(i,o)}"`},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+p("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>p("",e,"\n")+l(["schema",l(t," "),f(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+l(["type",t,p("implements ",l(n," & ")),l(r," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>p("",e,"\n")+t+(h(n)?p("(\n",d(l(n,"\n")),"\n)"):p("(",l(n,", "),")"))+": "+r+p(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>p("",e,"\n")+l([t+": "+n,p("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+l(["interface",t,p("implements ",l(n," & ")),l(r," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>p("",e,"\n")+l(["union",t,l(n," "),p("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>p("",e,"\n")+l(["enum",t,l(n," "),f(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>p("",e,"\n")+l(["input",t,l(n," "),f(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>p("",e,"\n")+"directive @"+t+(h(n)?p("(\n",d(l(n,"\n")),"\n)"):p("(",l(n,", "),")"))+(r?" 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:n,fields:r})=>l(["extend type",e,p("implements ",l(t," & ")),l(n," "),f(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,p("implements ",l(t," & ")),l(n," "),f(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),p("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),f(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),f(n)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>l([e,p(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>l([e,p(".",t),p("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>l(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>l(["@",e,p("(",t,":)")])}};function l(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function f(e){return p("{\n",d(l(e,"\n")),"\n}")}function p(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function d(e){return p(" ",e.replace(/\n/g,"\n "))}function h(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}},39537(e,t,n){n.d(t,{_:()=>s,k:()=>a});var r=n(93217),i=n(35198),o=n(50792);class a{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,r.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,o.h)(e,a)}},12039(e,t,n){var r,i;n.d(t,{Y:()=>r}),(i=r||(r={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.DOT=".",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"},90424(e,t,n){n.d(t,{UY:()=>f,XO:()=>l,YR:()=>u,oP:()=>c,sP:()=>s});var r=n(93217),i=n(35198),o=n(59762),a=n(42455);let s=Object.freeze({});function u(e,t,n=o.aD){let c,f,p,d=new Map;for(let e of Object.values(a.b))d.set(e,l(t,e));let h=Array.isArray(e),v=[e],y=-1,m=[],g=e,_=[],b=[];do{var E,T,O;let e,a=++y===v.length,u=a&&0!==m.length;if(a){if(f=0===b.length?void 0:_[_.length-1],g=p,p=b.pop(),u)if(h){g=g.slice();let e=0;for(let[t,n]of m){let r=t-e;null===n?(g.splice(r,1),e++):g[r]=n}}else for(let[e,t]of(g={...g},m))g[e]=t;y=c.index,v=c.keys,m=c.edits,h=c.inArray,c=c.prev}else if(p){if(null==(g=p[f=h?y:v[y]]))continue;_.push(f)}if(!Array.isArray(g)){(0,o.Ll)(g)||(0,r.U)(!1,`Invalid AST Node: ${(0,i.N)(g)}.`);let n=a?null==(E=d.get(g.kind))?void 0:E.leave:null==(T=d.get(g.kind))?void 0:T.enter;if((e=null==n?void 0:n.call(t,g,f,p,_,b))===s)break;if(!1===e){if(!a){_.pop();continue}}else if(void 0!==e&&(m.push([f,e]),!a))if((0,o.Ll)(e))g=e;else{_.pop();continue}}void 0===e&&u&&m.push([f,g]),a?_.pop():(c={inArray:h,index:y,keys:v,edits:m,prev:c},v=(h=Array.isArray(g))?g:null!=(O=n[g.kind])?O:[],y=-1,m=[],p&&b.push(p),p=g)}while(void 0!==c);return 0!==m.length?m[m.length-1][1]:e}function c(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(a.b)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=l(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;let u={enter(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let u=null==(i=o[a])?void 0:i.apply(e[a],n);if(!1===u)t[a]=r;else if(u===s)t[a]=s;else if(void 0!==u)return u}},leave(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null==(i=a[o])?void 0:i.apply(e[o],n);if(r===s)t[o]=s;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n}function l(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function f(e,t,n){let{enter:r,leave:i}=l(e,t);return n?i:r}},60837(e,t,n){let r;n.r(t),n.d(t,{dep:()=>P,asyncFromGen:()=>y,Slot:()=>p,wrap:()=>Y,nonReactive:()=>g,defaultMakeCacheKey:()=>V,bindContext:()=>d,setTimeout:()=>v,KeyTrie:()=>i.Trie,noContext:()=>h});var i=n(44592),o=n(31088);let a=null,s={},u=1;function c(e){try{return e()}catch(e){}}let l="@wry/context:Slot",f=c(()=>globalThis)||c(()=>global)||Object.create(null),p=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(r,n)}finally{a=o}}static bind(e){let t=a;return function(){let n=a;try{return a=t,e.apply(this,arguments)}finally{a=n}}}static noContext(e,t,n){if(!a)return e.apply(n,t);{let r=a;try{return a=null,e.apply(n,t)}finally{a=r}}}}),{bind:d,noContext:h}=p;function v(e,t){return setTimeout(d(e),t)}function y(e){return function(){let t=e.apply(this,arguments),n=d(t.next),r=d(t.throw);return new Promise((e,i)=>{function o(n,r){try{var o,u=n.call(t,r)}catch(e){return i(e)}let c=u.done?e:a;(o=u.value)&&"function"==typeof o.then?u.value.then(c,u.done?i:s):c(u.value)}let a=e=>o(n,e),s=e=>o(r,e);a()})}}let m=new p;function g(e){return m.withValue(void 0,e)}let{hasOwnProperty:_}=Object.prototype,b=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function E(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let T=[];function O(e,t){if(!e)throw Error(t||"assertion failure")}function k(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function I(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class N{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++N.count}peek(){if(1===this.value.length&&!x(this))return w(this),this.value[0]}recompute(e){var t,n,r;return O(!this.recomputing,"already recomputing"),w(this),x(this)?(t=this,n=e,F(t),m.withValue(t,S,[t,n]),function(e,t){if("function"==typeof e.subscribe)try{E(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,n)&&((r=t).dirty=!1,x(r)||function(e){A(e,C)}(r)),I(t.value)):I(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,A(e,D),E(this))}dispose(){this.setDirty(),F(this),A(this,(e,t)=>{e.setDirty(),j(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=T.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(b(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),T.push(this.deps),this.deps=null)}}function w(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),x(e)?D(t,e):C(t,e),t}function S(e,t){let n;e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!k(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function x(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}N.count=0;function A(e,t){let n=e.parents.size;if(n){let r=b(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function D(e,t){O(e.childValues.has(t)),O(x(t));let n=!x(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=T.pop()||new Set;e.dirtyChildren.add(t),n&&A(e,D)}function C(e,t){O(e.childValues.has(t)),O(!x(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):k(n,t.value)||e.setDirty(),R(e,t),x(e)||A(e,C)}function R(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(T.length<100&&T.push(n),e.dirtyChildren=null))}function F(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{j(e,n)}),e.forgetDeps(),O(null===e.dirtyChildren)}function j(e,t){t.parents.delete(e),e.childValues.delete(t),R(e,t)}let M={setDirty:!0,dispose:!0,forget:!0};function P(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=m.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(E(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&_.call(M,n)?n:"setDirty";b(r).forEach(e=>e[i]()),t.delete(e),E(r)}},r}function V(...e){return(r||(r=new i.Trie("function"==typeof WeakMap))).lookupArray(e)}let L=new Set;function Y(e,{max:t=65536,keyArgs:n,makeCacheKey:r=V,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new N(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),L.add(u),m.hasValue()||(L.forEach(e=>e.clean()),L.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function p(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(r.apply(null,arguments))},c.forgetKey=p,c.forget=function(){return p(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},19371(e,t,n){n.r(t),n.d(t,{InvariantError:()=>u,default:()=>h,invariant:()=>c,setVerbosity:()=>d});var r,i=n(85608),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,s(r,t.prototype),r}return(0,i.__extends)(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 p(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}function d(e){var t=l[f];return f=Math.max(0,l.indexOf(e)),t}(r=c||(c={})).debug=p("debug"),r.log=p("log"),r.warn=p("warn"),r.error=p("error");let h=c},85608(e,t,n){n.r(t),n.d(t,{__addDisposableResource:()=>j,__assign:()=>o,__asyncDelegator:()=>I,__asyncGenerator:()=>k,__asyncValues:()=>N,__await:()=>O,__awaiter:()=>h,__classPrivateFieldGet:()=>C,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>R,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>P,__esDecorate:()=>c,__exportStar:()=>m,__extends:()=>i,__generator:()=>v,__importDefault:()=>D,__importStar:()=>A,__makeTemplateObject:()=>w,__metadata:()=>d,__param:()=>u,__propKey:()=>f,__read:()=>_,__rest:()=>a,__rewriteRelativeImportExtension:()=>V,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>b,__spreadArray:()=>T,__spreadArrays:()=>E,__values:()=>g,default:()=>L});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),p=!1,d=n.length-1;d>=0;d--){var h={};for(var v in r)h[v]="access"===v?{}:r[v];for(var v in r.access)h.access[v]=r.access[v];h.addInitializer=function(e){if(p)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var y=(0,n[d])("accessor"===u?{get:f.get,set:f.set}:f[c],h);if("accessor"===u){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw TypeError("Object expected");(s=a(y.get))&&(f.get=s),(s=a(y.set))&&(f.set=s),(s=a(y.init))&&i.unshift(s)}else(s=a(y))&&("field"===u?i.unshift(s):f[c]=s)}l&&Object.defineProperty(l,r.name,f),p=!0}function l(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function v(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){var c=[s,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function m(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function E(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function T(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function O(e){return this instanceof O?(this.v=e,this):new O(e)}function k(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{var n;(n=i[e](t)).value instanceof O?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function I(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:O(e[r](t)),done:!1}:i?i(t):t}:i}}function N(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){var o,a,s;o=r,a=i,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},x=function(e){return(x=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=x(e),r=0;r<n.length;r++)"default"!==n[r]&&y(t,e,n[r]);return S(t,e),t}function D(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function R(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function j(e,t,n){if(null!=t){var r,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function P(e){function t(t){e.error=e.hasError?new M(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function V(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e}):e}let L={__extends:i,__assign:o,__rest:a,__decorate:s,__param:u,__esDecorate:c,__runInitializers:l,__propKey:f,__setFunctionName:p,__metadata:d,__awaiter:h,__generator:v,__createBinding:y,__exportStar:m,__values:g,__read:_,__spread:b,__spreadArrays:E,__spreadArray:T,__await:O,__asyncGenerator:k,__asyncDelegator:I,__asyncValues:N,__makeTemplateObject:w,__importStar:A,__importDefault:D,__classPrivateFieldGet:C,__classPrivateFieldSet:R,__classPrivateFieldIn:F,__addDisposableResource:j,__disposeResources:P,__rewriteRelativeImportExtension:V}},36054(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{c:()=>T});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function p(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:T}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=p(t,"unsubscribe");n&&n.call(t)}}catch(e){h(e)}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,n){e._state="running";var r=e._observer;try{var i=p(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(m(e),i)i.call(r,n);else throw n;break;case"complete":m(e),i&&i.call(r)}}catch(e){h(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function _(e,t,n){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:n});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],v(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(g(e,t[n].type,t[n].value),"closed"!==e._state);++n);}});return}g(e,t,n)}}var b=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new E(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){_(this._subscription,"next",e)},t.error=function(e){_(this._subscription,"error",e)},t.complete=function(){_(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new b(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e)return void r(TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=d(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=d(this);return new i(function(t){var r,o=0;return!function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=d(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=p(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof T&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=p(t,c)))return new n(function(e){v(function(){if(!e.closed){for(var n,o=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return r(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,void 0)}}(e))){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(n=o()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:l,hostReportError:h},configurable:!0})}};
package/lib/3690.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=3690;export const __rspack_esm_ids=[3690];export const __webpack_modules__={65650(e,t,l){e.exports=l(78942).Symbol},65111(e){e.exports=function(e,t){for(var l=-1,n=null==e?0:e.length,o=Array(n);++l<n;)o[l]=t(e[l],l,e);return o}},44187(e){e.exports=function(e,t,l,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(l=e[++o]);++o<i;)l=t(l,e[o],o,e);return l}},39546(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},87379(e,t,l){var n=l(65650),o=l(8870),i=l(29005),r=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?o(e):i(e)}},51035(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},52291(e,t,l){var n=l(65650),o=l(65111),i=l(53142),r=l(51187),u=1/0,f=n?n.prototype:void 0,a=f?f.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(r(t))return a?a.call(t):"";var l=t+"";return"0"==l&&1/t==-u?"-0":l}},93640(e,t,l){var n=l(44187),o=l(45881),i=l(39850),r=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(r,"")),e,"")}}},69968(e,t,l){e.exports=l(51035)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},74967(e){e.exports="object"==typeof global&&global&&global.Object===Object&&global},8870(e,t,l){var n=l(65650),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),l=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=r.call(e);return n&&(t?e[u]=l:delete e[u]),o}},15813(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},29005(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},78942(e,t,l){var n=l(74967),o="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||o||Function("return this")()},10482(e){var t="\\ud800-\\udfff",l="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="['’]",u="["+i+"]",f="["+n+"]",a="[^"+t+i+"\\d+"+l+n+o+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+o+"]",h="(?:"+f+"|"+a+")",p="(?:"+d+"|"+a+")",D="(?:"+r+"(?:d|ll|m|re|s|t|ve))?",g="(?:"+r+"(?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",x="(?:\\u200d(?:"+["[^"+t+"]",s,c].join("|")+")"+w+b+")*",B="(?:"+["["+l+"]",s,c].join("|")+")"+(w+b+x),U=RegExp([d+"?"+f+"+"+D+"(?="+[u,d,"$"].join("|")+")",p+"+"+g+"(?="+[u,d+h,"$"].join("|")+")",d+"?"+h+"+"+D,d+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",B].join("|"),"g");e.exports=function(e){return e.match(U)||[]}},45881(e,t,l){var n=l(69968),o=l(95243),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(r,"")}},53142(e){e.exports=Array.isArray},80547(e){e.exports=function(e){return null!=e&&"object"==typeof e}},51187(e,t,l){var n=l(87379),o=l(80547);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},10750(e,t,l){e.exports=l(93640)(function(e,t,l){return e+(l?"-":"")+t.toLowerCase()})},95243(e,t,l){var n=l(52291);e.exports=function(e){return null==e?"":n(e)}},39850(e,t,l){var n=l(39546),o=l(15813),i=l(95243),r=l(10482);e.exports=function(e,t,l){return(e=i(e),void 0===(t=l?void 0:t))?o(e)?r(e):n(e):e.match(t)||[]}},16699(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},62192(e,t,l){var n=l(16699);e.exports=function(e){var t={},l=!1;function o(t,o){return l=!0,{done:!1,value:new n(o=new Promise(function(l){l(e[t](o))}),1)}}return t["u">typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return l?(l=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(l)throw l=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return l?(l=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},32235(e,t,l){var n=l(16699);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},4275(e,t,l){var n=l(16699);function o(e){var t,l;function o(t,l){try{var r=e[t](l),u=r.value,f=u instanceof n;Promise.resolve(f?u.v:u).then(function(l){if(f){var n="return"===t?"return":"next";if(!u.k||l.done)return o(n,l);l=e[n](l).value}i(r.done?"return":"normal",l)},function(e){o("throw",e)})}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):l=null}this._invoke=function(e,n){return new Promise(function(i,r){var u={key:e,arg:n,resolve:i,reject:r,next:null};l?l=l.next=u:(t=l=u,o(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=function(e){return function(){return new o(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},48724(e,t,l){l.d(t,{Ay:()=>D});var n=l(51649),o=l(8498),i=l(29122);let r={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"█",squareDarkShade:"▓",squareMediumShade:"▒",squareLightShade:"░",squareTop:"▀",squareBottom:"▄",squareLeft:"▌",squareRight:"▐",squareCenter:"■",bullet:"●",dot:"․",ellipsis:"…",pointerSmall:"›",triangleUp:"▲",triangleUpSmall:"▴",triangleDown:"▼",triangleDownSmall:"▾",triangleLeftSmall:"◂",triangleRightSmall:"▸",home:"⌂",heart:"♥",musicNote:"♪",musicNoteBeamed:"♫",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",arrowLeftRight:"↔",arrowUpDown:"↕",almostEqual:"≈",notEqual:"≠",lessOrEqual:"≤",greaterOrEqual:"≥",identical:"≡",infinity:"∞",subscriptZero:"₀",subscriptOne:"₁",subscriptTwo:"₂",subscriptThree:"₃",subscriptFour:"₄",subscriptFive:"₅",subscriptSix:"₆",subscriptSeven:"₇",subscriptEight:"₈",subscriptNine:"₉",oneHalf:"\xbd",oneThird:"⅓",oneQuarter:"\xbc",oneFifth:"⅕",oneSixth:"⅙",oneEighth:"⅛",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"\xbe",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞",line:"─",lineBold:"━",lineDouble:"═",lineDashed0:"┄",lineDashed1:"┅",lineDashed2:"┈",lineDashed3:"┉",lineDashed4:"╌",lineDashed5:"╍",lineDashed6:"╴",lineDashed7:"╶",lineDashed8:"╸",lineDashed9:"╺",lineDashed10:"╼",lineDashed11:"╾",lineDashed12:"−",lineDashed13:"–",lineDashed14:"‐",lineDashed15:"⁃",lineVertical:"│",lineVerticalBold:"┃",lineVerticalDouble:"║",lineVerticalDashed0:"┆",lineVerticalDashed1:"┇",lineVerticalDashed2:"┊",lineVerticalDashed3:"┋",lineVerticalDashed4:"╎",lineVerticalDashed5:"╏",lineVerticalDashed6:"╵",lineVerticalDashed7:"╷",lineVerticalDashed8:"╹",lineVerticalDashed9:"╻",lineVerticalDashed10:"╽",lineVerticalDashed11:"╿",lineDownLeft:"┐",lineDownLeftArc:"╮",lineDownBoldLeftBold:"┓",lineDownBoldLeft:"┒",lineDownLeftBold:"┑",lineDownDoubleLeftDouble:"╗",lineDownDoubleLeft:"╖",lineDownLeftDouble:"╕",lineDownRight:"┌",lineDownRightArc:"╭",lineDownBoldRightBold:"┏",lineDownBoldRight:"┎",lineDownRightBold:"┍",lineDownDoubleRightDouble:"╔",lineDownDoubleRight:"╓",lineDownRightDouble:"╒",lineUpLeft:"┘",lineUpLeftArc:"╯",lineUpBoldLeftBold:"┛",lineUpBoldLeft:"┚",lineUpLeftBold:"┙",lineUpDoubleLeftDouble:"╝",lineUpDoubleLeft:"╜",lineUpLeftDouble:"╛",lineUpRight:"└",lineUpRightArc:"╰",lineUpBoldRightBold:"┗",lineUpBoldRight:"┖",lineUpRightBold:"┕",lineUpDoubleRightDouble:"╚",lineUpDoubleRight:"╙",lineUpRightDouble:"╘",lineUpDownLeft:"┤",lineUpBoldDownBoldLeftBold:"┫",lineUpBoldDownBoldLeft:"┨",lineUpDownLeftBold:"┥",lineUpBoldDownLeftBold:"┩",lineUpDownBoldLeftBold:"┪",lineUpDownBoldLeft:"┧",lineUpBoldDownLeft:"┦",lineUpDoubleDownDoubleLeftDouble:"╣",lineUpDoubleDownDoubleLeft:"╢",lineUpDownLeftDouble:"╡",lineUpDownRight:"├",lineUpBoldDownBoldRightBold:"┣",lineUpBoldDownBoldRight:"┠",lineUpDownRightBold:"┝",lineUpBoldDownRightBold:"┡",lineUpDownBoldRightBold:"┢",lineUpDownBoldRight:"┟",lineUpBoldDownRight:"┞",lineUpDoubleDownDoubleRightDouble:"╠",lineUpDoubleDownDoubleRight:"╟",lineUpDownRightDouble:"╞",lineDownLeftRight:"┬",lineDownBoldLeftBoldRightBold:"┳",lineDownLeftBoldRightBold:"┯",lineDownBoldLeftRight:"┰",lineDownBoldLeftBoldRight:"┱",lineDownBoldLeftRightBold:"┲",lineDownLeftRightBold:"┮",lineDownLeftBoldRight:"┭",lineDownDoubleLeftDoubleRightDouble:"╦",lineDownDoubleLeftRight:"╥",lineDownLeftDoubleRightDouble:"╤",lineUpLeftRight:"┴",lineUpBoldLeftBoldRightBold:"┻",lineUpLeftBoldRightBold:"┷",lineUpBoldLeftRight:"┸",lineUpBoldLeftBoldRight:"┹",lineUpBoldLeftRightBold:"┺",lineUpLeftRightBold:"┶",lineUpLeftBoldRight:"┵",lineUpDoubleLeftDoubleRightDouble:"╩",lineUpDoubleLeftRight:"╨",lineUpLeftDoubleRightDouble:"╧",lineUpDownLeftRight:"┼",lineUpBoldDownBoldLeftBoldRightBold:"╋",lineUpDownBoldLeftBoldRightBold:"╈",lineUpBoldDownLeftBoldRightBold:"╇",lineUpBoldDownBoldLeftRightBold:"╊",lineUpBoldDownBoldLeftBoldRight:"╉",lineUpBoldDownLeftRight:"╀",lineUpDownBoldLeftRight:"╁",lineUpDownLeftBoldRight:"┽",lineUpDownLeftRightBold:"┾",lineUpBoldDownBoldLeftRight:"╂",lineUpDownLeftBoldRightBold:"┿",lineUpBoldDownLeftBoldRight:"╃",lineUpBoldDownLeftRightBold:"╄",lineUpDownBoldLeftBoldRight:"╅",lineUpDownBoldLeftRightBold:"╆",lineUpDoubleDownDoubleLeftDoubleRightDouble:"╬",lineUpDoubleDownDoubleLeftRight:"╫",lineUpDownLeftDoubleRightDouble:"╪",lineCross:"╳",lineBackslash:"╲",lineSlash:"╱"},u={tick:"✔",info:"ℹ",warning:"⚠",cross:"✘",squareSmall:"◻",squareSmallFilled:"◼",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",pointer:"❯",triangleUpOutline:"△",triangleLeft:"◀",triangleRight:"▶",lozenge:"◆",lozengeOutline:"◇",hamburger:"☰",smiley:"㋡",mustache:"෴",star:"★",play:"▶",nodejs:"⬢",oneSeventh:"⅐",oneNinth:"⅑",oneTenth:"⅒"},f={...r,...u},a={...r,tick:"√",info:"i",warning:"‼",cross:"\xd7",squareSmall:"□",squareSmallFilled:"■",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(\xd7)",circlePipe:"(│)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xd7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xd7)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"∆",triangleLeft:"◄",triangleRight:"►",lozenge:"♦",lozengeOutline:"◊",hamburger:"≡",smiley:"☺",mustache:"┌─┐",star:"✶",play:"►",nodejs:"♦",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},s=(0,i.A)()?f:a;Object.entries(u);let c=function({isSelected:e=!1}){return n.default.createElement(o.Box,{marginRight:1},e?n.default.createElement(o.Text,{color:"blue"},s.pointer):n.default.createElement(o.Text,null," "))},d=function({isSelected:e=!1,label:t}){return n.createElement(o.Text,{color:e?"blue":void 0},t)};var h=l(57975);function p(e,t){if(!Array.isArray(e))throw TypeError(`Expected an array, got \`${typeof e}\`.`);if(!Number.isSafeInteger(t))throw TypeError(`The \`steps\` parameter must be an integer, got ${t}.`);let{length:l}=e;if(0===l)return[...e];let n=(t%l+l)%l;return 0===n?[...e]:[...e.slice(-n),...e.slice(0,-n)]}let D=function({items:e=[],isFocused:t=!0,initialIndex:l=0,indicatorComponent:i=c,itemComponent:r=d,limit:u,onSelect:f,onHighlight:a}){let s="number"==typeof u&&e.length>u,D=s?Math.min(u,e.length):e.length,g=D-1,[b,w]=(0,n.useState)(l>g?g-l:0),[x,B]=(0,n.useState)(l?l>g?g:l:0),U=(0,n.useRef)(e);(0,n.useEffect)(()=>{(0,h.isDeepStrictEqual)(U.current.map(e=>e.value),e.map(e=>e.value))||(w(0),B(0)),U.current=e},[e]),(0,o.useInput)((0,n.useCallback)((t,l)=>{if("k"===t||l.upArrow){let t=(s?D:e.length)-1,l=0===x,n=l?b+1:b,o=l?s?x:t:x-1;w(n),B(o);let i=s?p(e,n).slice(0,D):e;"function"==typeof a&&a(i[o])}if("j"===t||l.downArrow){let t=x===(s?D:e.length)-1,l=t?b-1:b,n=t?s?x:0:x+1;w(l),B(n);let o=s?p(e,l).slice(0,D):e;"function"==typeof a&&a(o[n])}if(/^[1-9]$/.test(t)){let l=Number.parseInt(t,10)-1,n=s?p(e,b).slice(0,D):e;if(l>=0&&l<n.length){let e=n[l];e&&f?.(e)}}if(l.return){let t=s?p(e,b).slice(0,D):e;"function"==typeof f&&f(t[x])}},[s,D,b,x,e,f,a]),{isActive:t});let R=s?p(e,b).slice(0,D):e;return n.default.createElement(o.Box,{flexDirection:"column"},R.map((e,t)=>{let l=t===x;return n.default.createElement(o.Box,{key:e.key??e.value},n.default.createElement(i,{isSelected:l}),n.default.createElement(r,{...e,isSelected:l}))}))}},47882(e,t,l){l.d(t,{A:()=>r});var n=l(51649),o=l(8498),i=l(47661);let r=function({type:e="dots"}){let[t,l]=(0,n.useState)(0),r=i[e];return(0,n.useEffect)(()=>{let e=setInterval(()=>{l(e=>e===r.frames.length-1?0:e+1)},r.interval);return()=>{clearInterval(e)}},[r]),n.default.createElement(o.Text,null,r.frames[t])}},29253(e,t,l){l.d(t,{A:()=>r});var n=l(51649),o=l(8498),i=l(73284);let r=function({value:e,placeholder:t="",focus:l=!0,mask:r,highlightPastedText:u=!1,showCursor:f=!0,onChange:a,onSubmit:s}){let[c,d]=(0,n.useState)({cursorOffset:(e||"").length,cursorWidth:0}),{cursorOffset:h,cursorWidth:p}=c;(0,n.useEffect)(()=>{d(t=>{if(!l||!f)return t;let n=e||"";return t.cursorOffset>n.length-1?{cursorOffset:n.length,cursorWidth:0}:t})},[e,l,f]);let D=u?p:0,g=r?r.repeat(e.length):e,b=g,w=t?i.default.grey(t):void 0;if(f&&l){w=t.length>0?i.default.inverse(t[0])+i.default.grey(t.slice(1)):i.default.inverse(" "),b=g.length>0?"":i.default.inverse(" ");let e=0;for(let t of g)b+=e>=h-D&&e<=h?i.default.inverse(t):t,e++;g.length>0&&h===g.length&&(b+=i.default.inverse(" "))}return(0,o.useInput)((t,l)=>{if(l.upArrow||l.downArrow||l.ctrl&&"c"===t||l.tab||l.shift&&l.tab)return;if(l.return){s&&s(e);return}let n=h,o=e,i=0;l.leftArrow?f&&n--:l.rightArrow?f&&n++:l.backspace||l.delete?h>0&&(o=e.slice(0,h-1)+e.slice(h,e.length),n--):(o=e.slice(0,h)+t+e.slice(h,e.length),n+=t.length,t.length>1&&(i=t.length)),h<0&&(n=0),h>e.length&&(n=e.length),d({cursorOffset:n,cursorWidth:i}),o!==e&&a(o)},{isActive:l}),n.default.createElement(o.Text,null,t?g.length>0?b:w:b)}}};