@rcsb/rcsb-saguaro-app 5.1.5 → 6.0.0-development.2

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 (843) hide show
  1. package/build/65a8ce52fc5427e8f94d.eot +0 -0
  2. package/build/9e2b21b135bc7d4c803f.svg +1660 -0
  3. package/build/app.js +2 -0
  4. package/build/config.js +6 -0
  5. package/build/constants.js +1 -0
  6. package/build/d12afc36557395143e4b.woff +0 -0
  7. package/build/db9ddb1898dbd76badca.ttf +0 -0
  8. package/build/df635aaf04cd75132f62.woff2 +0 -0
  9. package/build/plot.js +2 -0
  10. package/build/worker.js +2 -0
  11. package/lib/ExternalResources/NcbiData/NcbiGenomeSequenceData.d.ts +7 -0
  12. package/lib/ExternalResources/NcbiData/NcbiGenomeSequenceData.js +65 -0
  13. package/lib/ExternalResources/NcbiData/NcbiSummary.js +81 -0
  14. package/{build/dist → lib}/RcsbAnnotationConfig/AnnotationConfigInterface.d.ts +2 -1
  15. package/lib/RcsbAnnotationConfig/GroupAnnotationConfig.ac.json +98 -0
  16. package/lib/RcsbAnnotationConfig/RcsbAnnotationConfig.ac.json +670 -0
  17. package/{build/dist → lib}/RcsbAnnotationConfig/RcsbAnnotationConfig.d.ts +1 -1
  18. package/lib/RcsbAnnotationConfig/RcsbAnnotationConfig.js +183 -0
  19. package/lib/RcsbAnnotationConfig/RcsbAnnotationConstants.js +17 -0
  20. package/lib/RcsbAnnotationConfig/RcsbDistributionConfig.dc.json +59 -0
  21. package/lib/RcsbAnnotationConfig/RcsbDistributionConfig.js +31 -0
  22. package/lib/RcsbAnnotationConfig/RcsbResidueConfig.ac.json +685 -0
  23. package/lib/RcsbChartWeb/AbsractChartComponent.js +48 -0
  24. package/{build/dist → lib}/RcsbChartWeb/BarChartComponent.d.ts +1 -2
  25. package/lib/RcsbChartWeb/BarChartComponent.js +10 -0
  26. package/lib/RcsbChartWeb/HistogramChartComponent.js +10 -0
  27. package/lib/RcsbCollectTools/AlignmentCollector/AlignmentCollector.js +104 -0
  28. package/lib/RcsbCollectTools/AnnotationCollector/AnnotationCollector.js +83 -0
  29. package/lib/RcsbCollectTools/DataCollectors/AssemblyInterfacesCollector.js +31 -0
  30. package/lib/RcsbCollectTools/DataCollectors/EntryAssembliesCollector.js +92 -0
  31. package/lib/RcsbCollectTools/DataCollectors/GroupMemberCollector.js +21 -0
  32. package/lib/RcsbCollectTools/DataCollectors/GroupPropertyCollector.js +26 -0
  33. package/lib/RcsbCollectTools/DataCollectors/InterfaceInstanceCollector.js +41 -0
  34. package/lib/RcsbCollectTools/DataCollectors/MultipleEntityInstancesCollector.js +32 -0
  35. package/lib/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.js +28 -0
  36. package/lib/RcsbCollectTools/DataCollectors/MultipleInstanceSequencesCollector.js +22 -0
  37. package/lib/RcsbCollectTools/DataCollectors/MultiplePolymerEntityCollector.js +26 -0
  38. package/lib/RcsbCollectTools/DataCollectors/PolymerEntityChromosomeCollector.js +39 -0
  39. package/lib/RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector.js +67 -0
  40. package/{build/dist → lib}/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.d.ts +1 -1
  41. package/{build/dist → lib}/RcsbCollectTools/FeatureTools/FeatureTools.d.ts +3 -2
  42. package/lib/RcsbCollectTools/FeatureTools/FeatureTools.js +85 -0
  43. package/lib/RcsbExport/FeatureType.js +9 -0
  44. package/lib/RcsbExport/RcsbFvUI.js +12 -0
  45. package/lib/RcsbFvExamples/ChromosomeFv.js +4 -0
  46. package/lib/RcsbFvExamples/EntitySummaryFv.js +4 -0
  47. package/lib/RcsbFvExamples/ExternalDataProvider.js +951 -0
  48. package/lib/RcsbFvExamples/GroupHistogram.js +13 -0
  49. package/lib/RcsbFvExamples/InstanceFv.js +20 -0
  50. package/lib/RcsbFvExamples/InstanceSequenceFv.js +67 -0
  51. package/lib/RcsbFvExamples/ResidueDistribution.js +5 -0
  52. package/lib/RcsbFvExamples/SequenceIdentityGroupAlignmentFv.js +60 -0
  53. package/lib/RcsbFvExamples/SequenceIdentityGroupFv.js +41 -0
  54. package/lib/RcsbFvExamples/SingleEntitySummaryFv.js +2 -0
  55. package/lib/RcsbFvExamples/TestCollectors.js +112 -0
  56. package/lib/RcsbFvExamples/UniprotAlignmentFv.js +2 -0
  57. package/lib/RcsbFvExamples/UniprotEntityInstanceFv.d.ts +1 -0
  58. package/lib/RcsbFvExamples/UniprotEntityInstanceFv.js +42 -0
  59. package/lib/RcsbFvExamples/UniprotFv.d.ts +1 -0
  60. package/lib/RcsbFvExamples/UniprotFv.js +10 -0
  61. package/lib/RcsbFvExamples/UniprotGroupFv.d.ts +1 -0
  62. package/lib/RcsbFvExamples/UniprotGroupFv.js +70 -0
  63. package/lib/RcsbFvUI/AbstractMenuItemComponent.js +6 -0
  64. package/lib/RcsbFvUI/Components/FilterItemComponent.js +16 -0
  65. package/{build/dist → lib}/RcsbFvUI/Components/ItemComponent.d.ts +1 -1
  66. package/lib/RcsbFvUI/Components/ItemComponent.js +7 -0
  67. package/lib/RcsbFvUI/Components/PaginationItemComponent.js +81 -0
  68. package/lib/RcsbFvUI/GroupPfvUI.js +25 -0
  69. package/lib/RcsbFvUI/Helper/ActionMethods.js +29 -0
  70. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvAssemblyBuilder.js +40 -0
  71. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvChromosomeBuilder.js +93 -0
  72. package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.d.ts +2 -1
  73. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.js +48 -0
  74. package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.d.ts +1 -1
  75. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.js +91 -0
  76. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvDataProviderBuilder.js +27 -0
  77. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvEntityBuilder.js +88 -0
  78. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.js +84 -0
  79. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupBuilder.js +53 -0
  80. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.js +110 -0
  81. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvPairwiseAligmentBuilder.js +28 -0
  82. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.js +42 -0
  83. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.js +159 -0
  84. package/lib/RcsbFvWeb/RcsbFvBuilder.js +78 -0
  85. package/lib/RcsbFvWeb/RcsbFvComponents/ComponentsManager.js +63 -0
  86. package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.d.ts +1 -1
  87. package/lib/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.js +8 -0
  88. package/lib/RcsbFvWeb/RcsbFvComponents/MountableComponent.js +14 -0
  89. package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/RcsbTabs.d.ts +1 -1
  90. package/lib/RcsbFvWeb/RcsbFvComponents/RcsbTabs.js +20 -0
  91. package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/SelectButton.d.ts +1 -1
  92. package/lib/RcsbFvWeb/RcsbFvComponents/SelectButton.js +116 -0
  93. package/lib/RcsbFvWeb/RcsbFvComponents/SelectButtonManager.js +54 -0
  94. package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/SelectButtonTitle.d.ts +1 -1
  95. package/lib/RcsbFvWeb/RcsbFvComponents/SelectButtonTitle.js +7 -0
  96. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.d.ts +1 -1
  97. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.js +23 -0
  98. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.d.ts +2 -2
  99. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.js +19 -0
  100. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.d.ts +1 -1
  101. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.js +1 -0
  102. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.js +98 -0
  103. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.d.ts +1 -1
  104. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.js +241 -0
  105. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/BlockManagerInterface.js +1 -0
  106. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface.d.ts +3 -2
  107. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface.js +1 -0
  108. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/RcsbFvTrackDataAnnotationInterface.d.ts +35 -0
  109. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/RcsbFvTrackDataAnnotationInterface.js +1 -0
  110. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory.d.ts +2 -1
  111. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory.js +128 -0
  112. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AnnotationsTrackFactory.d.ts +1 -1
  113. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AnnotationsTrackFactory.js +145 -0
  114. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/Helper/TrackUtils.js +36 -0
  115. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/MsaAlignmentTrackFactory.d.ts +1 -1
  116. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/MsaAlignmentTrackFactory.js +24 -0
  117. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.d.ts +4 -2
  118. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.js +128 -0
  119. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainObservedAlignmentTrackFactory.d.ts +1 -1
  120. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainObservedAlignmentTrackFactory.js +110 -0
  121. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PositionalScoreAlignmentTrackFactory.d.ts +2 -1
  122. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PositionalScoreAlignmentTrackFactory.js +114 -0
  123. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.d.ts +4 -2
  124. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.js +76 -0
  125. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.d.ts +1 -1
  126. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.js +1 -0
  127. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.d.ts +1 -1
  128. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.js +34 -0
  129. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.d.ts +1 -1
  130. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.js +34 -0
  131. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ExperimentalAlignmentTrackTitleFactory.d.ts +1 -1
  132. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ExperimentalAlignmentTrackTitleFactory.js +77 -0
  133. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/InstanceSequenceTrackTitleFactory.d.ts +1 -1
  134. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/InstanceSequenceTrackTitleFactory.js +22 -0
  135. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ModelAlignmentTrackTitleFactory.d.ts +1 -1
  136. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ModelAlignmentTrackTitleFactory.js +27 -0
  137. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.d.ts +1 -1
  138. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.js +67 -0
  139. package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryInterface.d.ts +1 -1
  140. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryInterface.js +1 -0
  141. package/{build/dist → lib}/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.d.ts +1 -1
  142. package/lib/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.js +109 -0
  143. package/lib/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.js +131 -0
  144. package/lib/RcsbFvWeb/RcsbFvGroup/RcsbFvGroupTabsBuilder.js +12 -0
  145. package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +2 -1
  146. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.js +143 -0
  147. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.js +738 -0
  148. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.js +25 -0
  149. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.js +56 -0
  150. package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.d.ts +1 -1
  151. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.js +101 -0
  152. package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.d.ts +1 -1
  153. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.js +52 -0
  154. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.js +52 -0
  155. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.js +123 -0
  156. package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.d.ts +2 -1
  157. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.js +1 -0
  158. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.js +21 -0
  159. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.js +50 -0
  160. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.js +69 -0
  161. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.js +71 -0
  162. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.js +63 -0
  163. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.js +63 -0
  164. package/lib/RcsbFvWeb/RcsbFvTooltip/RcsbFvTooltip.d.ts +8 -0
  165. package/lib/RcsbFvWeb/RcsbFvTooltip/RcsbFvTooltip.js +82 -0
  166. package/lib/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorQueue.js +67 -0
  167. package/lib/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorWorker.worker.d.ts +1 -0
  168. package/lib/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorWorker.worker.js +10 -0
  169. package/lib/RcsbGraphQL/RcsbClient.js +83 -0
  170. package/lib/RcsbGraphQL/RcsbCoreQueryInterface.js +1 -0
  171. package/lib/RcsbGraphQL/RcsbQueryAlignment.js +43 -0
  172. package/lib/RcsbGraphQL/RcsbQueryAnnotations.js +43 -0
  173. package/lib/RcsbGraphQL/RcsbQueryAssemblyInterfaces.js +19 -0
  174. package/lib/RcsbGraphQL/RcsbQueryEntryInstances.js +21 -0
  175. package/lib/RcsbGraphQL/RcsbQueryGroup.js +21 -0
  176. package/lib/RcsbGraphQL/RcsbQueryInterfaceInstances.js +19 -0
  177. package/lib/RcsbGraphQL/RcsbQueryMultipleEntityInstances.js +21 -0
  178. package/lib/RcsbGraphQL/RcsbQueryMultipleEntriesProperties.js +21 -0
  179. package/lib/RcsbGraphQL/RcsbQueryMultipleInstanceSequences.js +21 -0
  180. package/lib/RcsbGroupWeb/RcsbGroupBuilder.js +28 -0
  181. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartAdditionalProperties.js +1 -0
  182. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartEvents.js +115 -0
  183. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartLayout.d.ts +1 -1
  184. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartLayout.js +34 -0
  185. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.js +91 -0
  186. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.d.ts +1 -1
  187. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.js +49 -0
  188. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.d.ts +1 -1
  189. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.js +36 -0
  190. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.d.ts +2 -2
  191. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.js +76 -0
  192. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.js +41 -0
  193. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.d.ts +1 -1
  194. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.js +19 -0
  195. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.d.ts +2 -2
  196. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.js +60 -0
  197. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.d.ts +1 -1
  198. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.js +98 -0
  199. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.d.ts +1 -1
  200. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.js +92 -0
  201. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.js +86 -0
  202. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.js +91 -0
  203. package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.d.ts +1 -1
  204. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.js +32 -0
  205. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/DistributionChartFactoryImpl/DistributionChartFactory.js +34 -0
  206. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/MultipleTrackDistributionFactory.js +32 -0
  207. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/NumericalTrackDistributionFactory.js +37 -0
  208. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/TrackDistributionFactory.js +21 -0
  209. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryInterface.js +1 -0
  210. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/TrackBlockFactoryImpl/TrackBlockFactory.js +19 -0
  211. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/Helper.js +22 -0
  212. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.js +87 -0
  213. package/lib/RcsbQueries/Borrego/.graphqlconfig +15 -0
  214. package/lib/RcsbQueries/Borrego/QueryAlignments.graphql +29 -0
  215. package/lib/RcsbQueries/Borrego/QueryAnnotations.graphql +40 -0
  216. package/lib/RcsbQueries/Borrego/QueryGroupAlignments.graphql +43 -0
  217. package/lib/RcsbQueries/Borrego/QueryGroupAlignmentsNoLogo.graphql +39 -0
  218. package/lib/RcsbQueries/Borrego/QueryGroupAnnotations.graphql +31 -0
  219. package/lib/RcsbQueries/Borrego/schema.graphql +412 -0
  220. package/lib/RcsbQueries/QueryCheck.d.ts +1 -0
  221. package/lib/RcsbQueries/QueryCheck.js +17 -0
  222. package/lib/RcsbQueries/Yosemite/.graphqlconfig +15 -0
  223. package/lib/RcsbQueries/Yosemite/QueryAssemblyInterfaces.graphql +10 -0
  224. package/lib/RcsbQueries/Yosemite/QueryEntryInstances.graphql +51 -0
  225. package/lib/RcsbQueries/Yosemite/QueryGroup.graphql +15 -0
  226. package/lib/RcsbQueries/Yosemite/QueryInterfaceInstances.graphql +18 -0
  227. package/lib/RcsbQueries/Yosemite/QueryMultipleEntityInstances.graphql +39 -0
  228. package/lib/RcsbQueries/Yosemite/QueryMultipleEntriesProperties.graphql +30 -0
  229. package/lib/RcsbQueries/Yosemite/QueryMultipleInstanceSequences.graphql +11 -0
  230. package/lib/RcsbQueries/Yosemite/schema.graphql +14224 -0
  231. package/lib/RcsbRequest/RcsbRequestClient.js +7 -0
  232. package/lib/RcsbRequest/RcsbRequestContextManager.js +153 -0
  233. package/lib/RcsbRequest/RcsbRequestTools.js +36 -0
  234. package/lib/RcsbSeacrh/FacetStore/DepositionGroupFacetStore.js +57 -0
  235. package/lib/RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore.js +34 -0
  236. package/lib/RcsbSeacrh/FacetStore/FacetMemberInterface.js +1 -0
  237. package/lib/RcsbSeacrh/FacetStore/FacetStoreInterface.js +1 -0
  238. package/lib/RcsbSeacrh/FacetStore/SequenceGroupFacetStore.js +57 -0
  239. package/lib/RcsbSeacrh/FacetStore/SingleFacets.js +560 -0
  240. package/lib/RcsbSeacrh/FacetStore/UniprotGroupFacetStore.js +57 -0
  241. package/lib/RcsbSeacrh/FacetTools.js +104 -0
  242. package/lib/RcsbSeacrh/SearchQueryTools.js +114 -0
  243. package/lib/RcsbSeacrh/SearchRequestProperty.js +70 -0
  244. package/lib/RcsbServerConfig/ServerConfig.js +2 -0
  245. package/lib/RcsbServerConfig/codegen.borrego.json +4 -0
  246. package/lib/RcsbServerConfig/codegen.yosemite.json +4 -0
  247. package/lib/RcsbServerConfig/web.resources.json +43 -0
  248. package/lib/RcsbUtils/Groups/GroupGapLessTransformer.js +76 -0
  249. package/lib/RcsbUtils/Groups/GroupPropertiesProvider.js +27 -0
  250. package/lib/RcsbUtils/Groups/GroupProvenanceToAggregationType.js +7 -0
  251. package/lib/RcsbUtils/Helpers/Assertions.js +26 -0
  252. package/lib/RcsbUtils/Helpers/DataContainer.js +12 -0
  253. package/lib/RcsbUtils/Helpers/ObservableHelper.js +12 -0
  254. package/lib/RcsbUtils/Helpers/Operator.js +15 -0
  255. package/lib/RcsbUtils/Helpers/SingletonMap.js +11 -0
  256. package/lib/RcsbUtils/Helpers/UrlTools.js +31 -0
  257. package/lib/RcsbUtils/PairwiseAlignmentTools/AlignmentReference.js +165 -0
  258. package/{build/dist → lib}/RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder.d.ts +1 -1
  259. package/lib/RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder.js +291 -0
  260. package/lib/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.js +99 -0
  261. package/lib/RcsbUtils/TrackGenerators/BurialFraction.js +62 -0
  262. package/lib/RcsbUtils/TrackGenerators/BuriedResidues.js +47 -0
  263. package/lib/RcsbUtils/TrackGenerators/GroupExternalTrackBuilder.js +96 -0
  264. package/lib/RcsbUtils/TrackGenerators/Logo.js +45 -0
  265. package/lib/RcsbUtils/Translators/AssemblyInterfacesTranslate.js +15 -0
  266. package/lib/RcsbUtils/Translators/EntryAssemblyTranslate.js +8 -0
  267. package/lib/RcsbUtils/Translators/InterfaceInstanceTranslate.js +20 -0
  268. package/lib/RcsbUtils/Translators/MultipleEntityInstanceTranslate.js +33 -0
  269. package/lib/RcsbUtils/Translators/PolymerEntityChromosomeTranslate.js +8 -0
  270. package/{build/dist → lib}/RcsbUtils/Translators/PolymerEntityInstanceTranslate.d.ts +1 -1
  271. package/lib/RcsbUtils/Translators/PolymerEntityInstanceTranslate.js +92 -0
  272. package/lib/app.js +11 -0
  273. package/lib/commonjs/ExternalResources/NcbiData/NcbiGenomeSequenceData.d.ts +7 -0
  274. package/lib/commonjs/ExternalResources/NcbiData/NcbiGenomeSequenceData.js +70 -0
  275. package/lib/commonjs/ExternalResources/NcbiData/NcbiSummary.d.ts +24 -0
  276. package/lib/commonjs/ExternalResources/NcbiData/NcbiSummary.js +86 -0
  277. package/lib/commonjs/RcsbAnnotationConfig/AnnotationConfigInterface.d.ts +66 -0
  278. package/lib/commonjs/RcsbAnnotationConfig/AnnotationConfigInterface.js +2 -0
  279. package/lib/commonjs/RcsbAnnotationConfig/GroupAnnotationConfig.ac.json +98 -0
  280. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConfig.ac.json +670 -0
  281. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConfig.d.ts +31 -0
  282. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConfig.js +187 -0
  283. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConstants.d.ts +15 -0
  284. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConstants.js +21 -0
  285. package/lib/commonjs/RcsbAnnotationConfig/RcsbDistributionConfig.d.ts +12 -0
  286. package/lib/commonjs/RcsbAnnotationConfig/RcsbDistributionConfig.dc.json +59 -0
  287. package/lib/commonjs/RcsbAnnotationConfig/RcsbDistributionConfig.js +36 -0
  288. package/lib/commonjs/RcsbAnnotationConfig/RcsbResidueConfig.ac.json +685 -0
  289. package/lib/commonjs/RcsbChartWeb/AbsractChartComponent.d.ts +21 -0
  290. package/lib/commonjs/RcsbChartWeb/AbsractChartComponent.js +53 -0
  291. package/lib/commonjs/RcsbChartWeb/BarChartComponent.d.ts +4 -0
  292. package/lib/commonjs/RcsbChartWeb/BarChartComponent.js +14 -0
  293. package/lib/commonjs/RcsbChartWeb/HistogramChartComponent.d.ts +5 -0
  294. package/lib/commonjs/RcsbChartWeb/HistogramChartComponent.js +14 -0
  295. package/lib/commonjs/RcsbCollectTools/AlignmentCollector/AlignmentCollector.d.ts +17 -0
  296. package/lib/commonjs/RcsbCollectTools/AlignmentCollector/AlignmentCollector.js +108 -0
  297. package/lib/commonjs/RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface.d.ts +29 -0
  298. package/lib/commonjs/RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface.js +2 -0
  299. package/lib/commonjs/RcsbCollectTools/AnnotationCollector/AnnotationCollector.d.ts +16 -0
  300. package/lib/commonjs/RcsbCollectTools/AnnotationCollector/AnnotationCollector.js +87 -0
  301. package/lib/commonjs/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.d.ts +37 -0
  302. package/lib/commonjs/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.js +2 -0
  303. package/lib/commonjs/RcsbCollectTools/DataCollectors/AssemblyInterfacesCollector.d.ts +9 -0
  304. package/lib/commonjs/RcsbCollectTools/DataCollectors/AssemblyInterfacesCollector.js +35 -0
  305. package/lib/commonjs/RcsbCollectTools/DataCollectors/DataCollectorInterface.d.ts +7 -0
  306. package/lib/commonjs/RcsbCollectTools/DataCollectors/DataCollectorInterface.js +2 -0
  307. package/lib/commonjs/RcsbCollectTools/DataCollectors/EntryAssembliesCollector.d.ts +10 -0
  308. package/lib/commonjs/RcsbCollectTools/DataCollectors/EntryAssembliesCollector.js +96 -0
  309. package/lib/commonjs/RcsbCollectTools/DataCollectors/GroupMemberCollector.d.ts +6 -0
  310. package/lib/commonjs/RcsbCollectTools/DataCollectors/GroupMemberCollector.js +25 -0
  311. package/lib/commonjs/RcsbCollectTools/DataCollectors/GroupPropertyCollector.d.ts +10 -0
  312. package/lib/commonjs/RcsbCollectTools/DataCollectors/GroupPropertyCollector.js +30 -0
  313. package/lib/commonjs/RcsbCollectTools/DataCollectors/InterfaceInstanceCollector.d.ts +12 -0
  314. package/lib/commonjs/RcsbCollectTools/DataCollectors/InterfaceInstanceCollector.js +45 -0
  315. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleEntityInstancesCollector.d.ts +8 -0
  316. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleEntityInstancesCollector.js +36 -0
  317. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.d.ts +19 -0
  318. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.js +32 -0
  319. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleInstanceSequencesCollector.d.ts +11 -0
  320. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultipleInstanceSequencesCollector.js +26 -0
  321. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultiplePolymerEntityCollector.d.ts +12 -0
  322. package/lib/commonjs/RcsbCollectTools/DataCollectors/MultiplePolymerEntityCollector.js +30 -0
  323. package/lib/commonjs/RcsbCollectTools/DataCollectors/PolymerEntityChromosomeCollector.d.ts +5 -0
  324. package/lib/commonjs/RcsbCollectTools/DataCollectors/PolymerEntityChromosomeCollector.js +43 -0
  325. package/lib/commonjs/RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector.d.ts +24 -0
  326. package/lib/commonjs/RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector.js +71 -0
  327. package/lib/commonjs/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.d.ts +23 -0
  328. package/lib/commonjs/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.js +2 -0
  329. package/lib/commonjs/RcsbCollectTools/FeatureTools/FeatureTools.d.ts +9 -0
  330. package/lib/commonjs/RcsbCollectTools/FeatureTools/FeatureTools.js +89 -0
  331. package/lib/commonjs/RcsbExport/FeatureType.d.ts +10 -0
  332. package/lib/commonjs/RcsbExport/FeatureType.js +12 -0
  333. package/lib/commonjs/RcsbExport/RcsbFvUI.d.ts +7 -0
  334. package/lib/commonjs/RcsbExport/RcsbFvUI.js +16 -0
  335. package/lib/commonjs/RcsbFvExamples/ChromosomeFv.d.ts +1 -0
  336. package/lib/commonjs/RcsbFvExamples/ChromosomeFv.js +6 -0
  337. package/lib/commonjs/RcsbFvExamples/EntitySummaryFv.d.ts +1 -0
  338. package/lib/commonjs/RcsbFvExamples/EntitySummaryFv.js +6 -0
  339. package/lib/commonjs/RcsbFvExamples/ExternalDataProvider.d.ts +1 -0
  340. package/lib/commonjs/RcsbFvExamples/ExternalDataProvider.js +953 -0
  341. package/lib/commonjs/RcsbFvExamples/GroupHistogram.d.ts +1 -0
  342. package/lib/commonjs/RcsbFvExamples/GroupHistogram.js +15 -0
  343. package/lib/commonjs/RcsbFvExamples/InstanceFv.d.ts +1 -0
  344. package/lib/commonjs/RcsbFvExamples/InstanceFv.js +22 -0
  345. package/lib/commonjs/RcsbFvExamples/InstanceSequenceFv.d.ts +1 -0
  346. package/lib/commonjs/RcsbFvExamples/InstanceSequenceFv.js +69 -0
  347. package/lib/commonjs/RcsbFvExamples/ResidueDistribution.d.ts +1 -0
  348. package/lib/commonjs/RcsbFvExamples/ResidueDistribution.js +7 -0
  349. package/lib/commonjs/RcsbFvExamples/SequenceIdentityGroupAlignmentFv.d.ts +1 -0
  350. package/lib/commonjs/RcsbFvExamples/SequenceIdentityGroupAlignmentFv.js +63 -0
  351. package/lib/commonjs/RcsbFvExamples/SequenceIdentityGroupFv.d.ts +1 -0
  352. package/lib/commonjs/RcsbFvExamples/SequenceIdentityGroupFv.js +43 -0
  353. package/lib/commonjs/RcsbFvExamples/SingleEntitySummaryFv.d.ts +1 -0
  354. package/lib/commonjs/RcsbFvExamples/SingleEntitySummaryFv.js +4 -0
  355. package/lib/commonjs/RcsbFvExamples/TestCollectors.d.ts +1 -0
  356. package/lib/commonjs/RcsbFvExamples/TestCollectors.js +114 -0
  357. package/lib/commonjs/RcsbFvExamples/UniprotAlignmentFv.d.ts +1 -0
  358. package/lib/commonjs/RcsbFvExamples/UniprotAlignmentFv.js +4 -0
  359. package/lib/commonjs/RcsbFvExamples/UniprotEntityInstanceFv.d.ts +1 -0
  360. package/lib/commonjs/RcsbFvExamples/UniprotEntityInstanceFv.js +44 -0
  361. package/lib/commonjs/RcsbFvExamples/UniprotFv.d.ts +1 -0
  362. package/lib/commonjs/RcsbFvExamples/UniprotFv.js +12 -0
  363. package/lib/commonjs/RcsbFvExamples/UniprotGroupFv.d.ts +1 -0
  364. package/lib/commonjs/RcsbFvExamples/UniprotGroupFv.js +72 -0
  365. package/lib/commonjs/RcsbFvUI/AbstractMenuItemComponent.d.ts +11 -0
  366. package/lib/commonjs/RcsbFvUI/AbstractMenuItemComponent.js +11 -0
  367. package/lib/commonjs/RcsbFvUI/Components/FilterItemComponent.d.ts +17 -0
  368. package/lib/commonjs/RcsbFvUI/Components/FilterItemComponent.js +20 -0
  369. package/lib/commonjs/RcsbFvUI/Components/ItemComponent.d.ts +4 -0
  370. package/lib/commonjs/RcsbFvUI/Components/ItemComponent.js +12 -0
  371. package/lib/commonjs/RcsbFvUI/Components/PaginationItemComponent.d.ts +23 -0
  372. package/lib/commonjs/RcsbFvUI/Components/PaginationItemComponent.js +85 -0
  373. package/lib/commonjs/RcsbFvUI/GroupPfvUI.d.ts +10 -0
  374. package/lib/commonjs/RcsbFvUI/GroupPfvUI.js +30 -0
  375. package/lib/commonjs/RcsbFvUI/Helper/ActionMethods.d.ts +11 -0
  376. package/lib/commonjs/RcsbFvUI/Helper/ActionMethods.js +32 -0
  377. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvAssemblyBuilder.d.ts +5 -0
  378. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvAssemblyBuilder.js +44 -0
  379. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvChromosomeBuilder.d.ts +7 -0
  380. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvChromosomeBuilder.js +97 -0
  381. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.d.ts +14 -0
  382. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.js +51 -0
  383. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.d.ts +35 -0
  384. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.js +95 -0
  385. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvDataProviderBuilder.d.ts +4 -0
  386. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvDataProviderBuilder.js +31 -0
  387. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvEntityBuilder.d.ts +7 -0
  388. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvEntityBuilder.js +92 -0
  389. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.d.ts +8 -0
  390. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.js +88 -0
  391. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupBuilder.d.ts +6 -0
  392. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupBuilder.js +57 -0
  393. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +25 -0
  394. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.js +114 -0
  395. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvPairwiseAligmentBuilder.d.ts +5 -0
  396. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvPairwiseAligmentBuilder.js +32 -0
  397. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.d.ts +12 -0
  398. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.js +46 -0
  399. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.d.ts +17 -0
  400. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.js +163 -0
  401. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder.d.ts +30 -0
  402. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder.js +103 -0
  403. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/ComponentsManager.d.ts +23 -0
  404. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/ComponentsManager.js +67 -0
  405. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.d.ts +4 -0
  406. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.js +13 -0
  407. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/MountableComponent.d.ts +8 -0
  408. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/MountableComponent.js +18 -0
  409. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/RcsbTabs.d.ts +19 -0
  410. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/RcsbTabs.js +25 -0
  411. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButton.d.ts +54 -0
  412. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButton.js +121 -0
  413. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButtonManager.d.ts +17 -0
  414. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButtonManager.js +58 -0
  415. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButtonTitle.d.ts +6 -0
  416. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/SelectButtonTitle.js +12 -0
  417. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.d.ts +11 -0
  418. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.js +27 -0
  419. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.d.ts +15 -0
  420. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.js +23 -0
  421. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.d.ts +7 -0
  422. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.js +2 -0
  423. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.d.ts +21 -0
  424. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.js +102 -0
  425. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.d.ts +11 -0
  426. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.js +245 -0
  427. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/BlockManagerInterface.d.ts +5 -0
  428. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/BlockManagerInterface.js +2 -0
  429. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface.d.ts +28 -0
  430. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface.js +2 -0
  431. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/RcsbFvTrackDataAnnotationInterface.d.ts +35 -0
  432. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/RcsbFvTrackDataAnnotationInterface.js +2 -0
  433. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory.d.ts +19 -0
  434. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory.js +132 -0
  435. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AnnotationsTrackFactory.d.ts +9 -0
  436. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AnnotationsTrackFactory.js +149 -0
  437. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/Helper/TrackUtils.d.ts +9 -0
  438. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/Helper/TrackUtils.js +39 -0
  439. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/MsaAlignmentTrackFactory.d.ts +12 -0
  440. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/MsaAlignmentTrackFactory.js +28 -0
  441. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.d.ts +23 -0
  442. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.js +132 -0
  443. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainObservedAlignmentTrackFactory.d.ts +17 -0
  444. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainObservedAlignmentTrackFactory.js +114 -0
  445. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PositionalScoreAlignmentTrackFactory.d.ts +17 -0
  446. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PositionalScoreAlignmentTrackFactory.js +118 -0
  447. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.d.ts +21 -0
  448. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.js +80 -0
  449. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.d.ts +4 -0
  450. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.js +2 -0
  451. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.d.ts +13 -0
  452. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.js +38 -0
  453. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.d.ts +8 -0
  454. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.js +38 -0
  455. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ExperimentalAlignmentTrackTitleFactory.d.ts +13 -0
  456. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ExperimentalAlignmentTrackTitleFactory.js +81 -0
  457. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/InstanceSequenceTrackTitleFactory.d.ts +11 -0
  458. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/InstanceSequenceTrackTitleFactory.js +26 -0
  459. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ModelAlignmentTrackTitleFactory.d.ts +12 -0
  460. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ModelAlignmentTrackTitleFactory.js +31 -0
  461. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.d.ts +12 -0
  462. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.js +71 -0
  463. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryInterface.d.ts +6 -0
  464. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryInterface.js +2 -0
  465. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.d.ts +28 -0
  466. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.js +113 -0
  467. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.d.ts +10 -0
  468. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.js +135 -0
  469. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/RcsbFvGroupTabsBuilder.d.ts +6 -0
  470. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/RcsbFvGroupTabsBuilder.js +16 -0
  471. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +47 -0
  472. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.js +147 -0
  473. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.d.ts +49 -0
  474. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.js +742 -0
  475. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.d.ts +5 -0
  476. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.js +29 -0
  477. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.d.ts +6 -0
  478. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.js +60 -0
  479. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.d.ts +7 -0
  480. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.js +105 -0
  481. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.d.ts +7 -0
  482. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.js +56 -0
  483. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.d.ts +5 -0
  484. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.js +56 -0
  485. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.d.ts +12 -0
  486. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.js +129 -0
  487. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.d.ts +95 -0
  488. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.js +2 -0
  489. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.d.ts +5 -0
  490. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.js +25 -0
  491. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.d.ts +5 -0
  492. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.js +54 -0
  493. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.d.ts +5 -0
  494. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.js +73 -0
  495. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.d.ts +5 -0
  496. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.js +75 -0
  497. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.d.ts +6 -0
  498. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.js +67 -0
  499. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.d.ts +5 -0
  500. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.js +67 -0
  501. package/lib/commonjs/RcsbFvWeb/RcsbFvTooltip/RcsbFvTooltip.d.ts +8 -0
  502. package/lib/commonjs/RcsbFvWeb/RcsbFvTooltip/RcsbFvTooltip.js +86 -0
  503. package/lib/commonjs/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorQueue.d.ts +12 -0
  504. package/lib/commonjs/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorQueue.js +71 -0
  505. package/lib/commonjs/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorWorker.worker.d.ts +1 -0
  506. package/lib/commonjs/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorWorker.worker.js +12 -0
  507. package/lib/commonjs/RcsbGraphQL/RcsbClient.d.ts +35 -0
  508. package/lib/commonjs/RcsbGraphQL/RcsbClient.js +86 -0
  509. package/lib/commonjs/RcsbGraphQL/RcsbCoreQueryInterface.d.ts +5 -0
  510. package/lib/commonjs/RcsbGraphQL/RcsbCoreQueryInterface.js +2 -0
  511. package/lib/commonjs/RcsbGraphQL/RcsbQueryAlignment.d.ts +20 -0
  512. package/lib/commonjs/RcsbGraphQL/RcsbQueryAlignment.js +48 -0
  513. package/lib/commonjs/RcsbGraphQL/RcsbQueryAnnotations.d.ts +13 -0
  514. package/lib/commonjs/RcsbGraphQL/RcsbQueryAnnotations.js +48 -0
  515. package/lib/commonjs/RcsbGraphQL/RcsbQueryAssemblyInterfaces.d.ts +8 -0
  516. package/lib/commonjs/RcsbGraphQL/RcsbQueryAssemblyInterfaces.js +23 -0
  517. package/lib/commonjs/RcsbGraphQL/RcsbQueryEntryInstances.d.ts +8 -0
  518. package/lib/commonjs/RcsbGraphQL/RcsbQueryEntryInstances.js +25 -0
  519. package/lib/commonjs/RcsbGraphQL/RcsbQueryGroup.d.ts +8 -0
  520. package/lib/commonjs/RcsbGraphQL/RcsbQueryGroup.js +25 -0
  521. package/lib/commonjs/RcsbGraphQL/RcsbQueryInterfaceInstances.d.ts +8 -0
  522. package/lib/commonjs/RcsbGraphQL/RcsbQueryInterfaceInstances.js +23 -0
  523. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleEntityInstances.d.ts +8 -0
  524. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleEntityInstances.js +25 -0
  525. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleEntriesProperties.d.ts +8 -0
  526. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleEntriesProperties.js +25 -0
  527. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleInstanceSequences.d.ts +8 -0
  528. package/lib/commonjs/RcsbGraphQL/RcsbQueryMultipleInstanceSequences.js +25 -0
  529. package/lib/commonjs/RcsbGroupWeb/RcsbGroupBuilder.d.ts +17 -0
  530. package/lib/commonjs/RcsbGroupWeb/RcsbGroupBuilder.js +36 -0
  531. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartAdditionalProperties.d.ts +10 -0
  532. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartAdditionalProperties.js +2 -0
  533. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartEvents.d.ts +6 -0
  534. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartEvents.js +118 -0
  535. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartLayout.d.ts +11 -0
  536. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartLayout.js +39 -0
  537. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.d.ts +7 -0
  538. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.js +94 -0
  539. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.d.ts +22 -0
  540. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.js +53 -0
  541. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.d.ts +19 -0
  542. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.js +40 -0
  543. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.d.ts +30 -0
  544. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.js +80 -0
  545. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.d.ts +15 -0
  546. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.js +45 -0
  547. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.d.ts +16 -0
  548. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.js +25 -0
  549. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.d.ts +26 -0
  550. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.js +65 -0
  551. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.d.ts +24 -0
  552. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.js +102 -0
  553. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.d.ts +31 -0
  554. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.js +97 -0
  555. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.d.ts +7 -0
  556. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.js +90 -0
  557. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.d.ts +38 -0
  558. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.js +95 -0
  559. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.d.ts +17 -0
  560. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.js +36 -0
  561. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/DistributionChartFactoryImpl/DistributionChartFactory.d.ts +8 -0
  562. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/DistributionChartFactoryImpl/DistributionChartFactory.js +38 -0
  563. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/MultipleTrackDistributionFactory.d.ts +8 -0
  564. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/MultipleTrackDistributionFactory.js +36 -0
  565. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/NumericalTrackDistributionFactory.d.ts +8 -0
  566. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/NumericalTrackDistributionFactory.js +41 -0
  567. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/TrackDistributionFactory.d.ts +10 -0
  568. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/TrackDistributionFactory.js +25 -0
  569. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryInterface.d.ts +24 -0
  570. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryInterface.js +2 -0
  571. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/TrackBlockFactoryImpl/TrackBlockFactory.d.ts +14 -0
  572. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/TrackBlockFactoryImpl/TrackBlockFactory.js +23 -0
  573. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/Helper.d.ts +4 -0
  574. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/Helper.js +25 -0
  575. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.d.ts +8 -0
  576. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.js +90 -0
  577. package/lib/commonjs/RcsbQueries/Borrego/.graphqlconfig +15 -0
  578. package/lib/commonjs/RcsbQueries/Borrego/QueryAlignments.graphql +29 -0
  579. package/lib/commonjs/RcsbQueries/Borrego/QueryAnnotations.graphql +40 -0
  580. package/lib/commonjs/RcsbQueries/Borrego/QueryGroupAlignments.graphql +43 -0
  581. package/lib/commonjs/RcsbQueries/Borrego/QueryGroupAlignmentsNoLogo.graphql +39 -0
  582. package/lib/commonjs/RcsbQueries/Borrego/QueryGroupAnnotations.graphql +31 -0
  583. package/lib/commonjs/RcsbQueries/Borrego/schema.graphql +412 -0
  584. package/lib/commonjs/RcsbQueries/QueryCheck.d.ts +1 -0
  585. package/lib/commonjs/RcsbQueries/QueryCheck.js +20 -0
  586. package/lib/commonjs/RcsbQueries/Yosemite/.graphqlconfig +15 -0
  587. package/lib/commonjs/RcsbQueries/Yosemite/QueryAssemblyInterfaces.graphql +10 -0
  588. package/lib/commonjs/RcsbQueries/Yosemite/QueryEntryInstances.graphql +51 -0
  589. package/lib/commonjs/RcsbQueries/Yosemite/QueryGroup.graphql +15 -0
  590. package/lib/commonjs/RcsbQueries/Yosemite/QueryInterfaceInstances.graphql +18 -0
  591. package/lib/commonjs/RcsbQueries/Yosemite/QueryMultipleEntityInstances.graphql +39 -0
  592. package/lib/commonjs/RcsbQueries/Yosemite/QueryMultipleEntriesProperties.graphql +30 -0
  593. package/lib/commonjs/RcsbQueries/Yosemite/QueryMultipleInstanceSequences.graphql +11 -0
  594. package/lib/commonjs/RcsbQueries/Yosemite/schema.graphql +14224 -0
  595. package/lib/commonjs/RcsbRequest/RcsbRequestClient.d.ts +7 -0
  596. package/lib/commonjs/RcsbRequest/RcsbRequestClient.js +10 -0
  597. package/lib/commonjs/RcsbRequest/RcsbRequestContextManager.d.ts +62 -0
  598. package/lib/commonjs/RcsbRequest/RcsbRequestContextManager.js +156 -0
  599. package/lib/commonjs/RcsbRequest/RcsbRequestTools.d.ts +5 -0
  600. package/lib/commonjs/RcsbRequest/RcsbRequestTools.js +39 -0
  601. package/lib/commonjs/RcsbSeacrh/FacetStore/DepositionGroupFacetStore.d.ts +15 -0
  602. package/lib/commonjs/RcsbSeacrh/FacetStore/DepositionGroupFacetStore.js +60 -0
  603. package/lib/commonjs/RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore.d.ts +15 -0
  604. package/lib/commonjs/RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore.js +37 -0
  605. package/lib/commonjs/RcsbSeacrh/FacetStore/FacetMemberInterface.d.ts +16 -0
  606. package/lib/commonjs/RcsbSeacrh/FacetStore/FacetMemberInterface.js +2 -0
  607. package/lib/commonjs/RcsbSeacrh/FacetStore/FacetStoreInterface.d.ts +8 -0
  608. package/lib/commonjs/RcsbSeacrh/FacetStore/FacetStoreInterface.js +2 -0
  609. package/lib/commonjs/RcsbSeacrh/FacetStore/SequenceGroupFacetStore.d.ts +15 -0
  610. package/lib/commonjs/RcsbSeacrh/FacetStore/SequenceGroupFacetStore.js +60 -0
  611. package/lib/commonjs/RcsbSeacrh/FacetStore/SingleFacets.d.ts +39 -0
  612. package/lib/commonjs/RcsbSeacrh/FacetStore/SingleFacets.js +563 -0
  613. package/lib/commonjs/RcsbSeacrh/FacetStore/UniprotGroupFacetStore.d.ts +15 -0
  614. package/lib/commonjs/RcsbSeacrh/FacetStore/UniprotGroupFacetStore.js +60 -0
  615. package/lib/commonjs/RcsbSeacrh/FacetTools.d.ts +62 -0
  616. package/lib/commonjs/RcsbSeacrh/FacetTools.js +108 -0
  617. package/lib/commonjs/RcsbSeacrh/SearchQueryTools.d.ts +17 -0
  618. package/lib/commonjs/RcsbSeacrh/SearchQueryTools.js +117 -0
  619. package/lib/commonjs/RcsbSeacrh/SearchRequestProperty.d.ts +17 -0
  620. package/lib/commonjs/RcsbSeacrh/SearchRequestProperty.js +73 -0
  621. package/lib/commonjs/RcsbServerConfig/ServerConfig.d.ts +1 -0
  622. package/lib/commonjs/RcsbServerConfig/ServerConfig.js +6 -0
  623. package/lib/commonjs/RcsbServerConfig/codegen.borrego.json +4 -0
  624. package/lib/commonjs/RcsbServerConfig/codegen.yosemite.json +4 -0
  625. package/lib/commonjs/RcsbServerConfig/web.resources.json +43 -0
  626. package/lib/commonjs/RcsbUtils/Groups/GroupGapLessTransformer.d.ts +8 -0
  627. package/lib/commonjs/RcsbUtils/Groups/GroupGapLessTransformer.js +80 -0
  628. package/lib/commonjs/RcsbUtils/Groups/GroupPropertiesProvider.d.ts +16 -0
  629. package/lib/commonjs/RcsbUtils/Groups/GroupPropertiesProvider.js +31 -0
  630. package/lib/commonjs/RcsbUtils/Groups/GroupProvenanceToAggregationType.d.ts +6 -0
  631. package/lib/commonjs/RcsbUtils/Groups/GroupProvenanceToAggregationType.js +10 -0
  632. package/lib/commonjs/RcsbUtils/Helpers/Assertions.d.ts +5 -0
  633. package/lib/commonjs/RcsbUtils/Helpers/Assertions.js +29 -0
  634. package/lib/commonjs/RcsbUtils/Helpers/DataContainer.d.ts +9 -0
  635. package/lib/commonjs/RcsbUtils/Helpers/DataContainer.js +16 -0
  636. package/lib/commonjs/RcsbUtils/Helpers/ObservableHelper.d.ts +4 -0
  637. package/lib/commonjs/RcsbUtils/Helpers/ObservableHelper.js +16 -0
  638. package/lib/commonjs/RcsbUtils/Helpers/Operator.d.ts +5 -0
  639. package/lib/commonjs/RcsbUtils/Helpers/Operator.js +19 -0
  640. package/lib/commonjs/RcsbUtils/Helpers/SingletonMap.d.ts +4 -0
  641. package/lib/commonjs/RcsbUtils/Helpers/SingletonMap.js +15 -0
  642. package/lib/commonjs/RcsbUtils/Helpers/UrlTools.d.ts +11 -0
  643. package/lib/commonjs/RcsbUtils/Helpers/UrlTools.js +34 -0
  644. package/lib/commonjs/RcsbUtils/PairwiseAlignmentTools/AlignmentReference.d.ts +17 -0
  645. package/lib/commonjs/RcsbUtils/PairwiseAlignmentTools/AlignmentReference.js +169 -0
  646. package/lib/commonjs/RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder.d.ts +37 -0
  647. package/lib/commonjs/RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder.js +295 -0
  648. package/lib/commonjs/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.d.ts +2 -0
  649. package/lib/commonjs/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.js +103 -0
  650. package/lib/commonjs/RcsbUtils/TrackGenerators/BurialFraction.d.ts +3 -0
  651. package/lib/commonjs/RcsbUtils/TrackGenerators/BurialFraction.js +67 -0
  652. package/lib/commonjs/RcsbUtils/TrackGenerators/BuriedResidues.d.ts +3 -0
  653. package/lib/commonjs/RcsbUtils/TrackGenerators/BuriedResidues.js +52 -0
  654. package/lib/commonjs/RcsbUtils/TrackGenerators/GroupExternalTrackBuilder.d.ts +2 -0
  655. package/lib/commonjs/RcsbUtils/TrackGenerators/GroupExternalTrackBuilder.js +100 -0
  656. package/lib/commonjs/RcsbUtils/TrackGenerators/Logo.d.ts +16 -0
  657. package/lib/commonjs/RcsbUtils/TrackGenerators/Logo.js +49 -0
  658. package/lib/commonjs/RcsbUtils/Translators/AssemblyInterfacesTranslate.d.ts +8 -0
  659. package/lib/commonjs/RcsbUtils/Translators/AssemblyInterfacesTranslate.js +19 -0
  660. package/lib/commonjs/RcsbUtils/Translators/EntryAssemblyTranslate.d.ts +6 -0
  661. package/lib/commonjs/RcsbUtils/Translators/EntryAssemblyTranslate.js +12 -0
  662. package/lib/commonjs/RcsbUtils/Translators/InterfaceInstanceTranslate.d.ts +10 -0
  663. package/lib/commonjs/RcsbUtils/Translators/InterfaceInstanceTranslate.js +24 -0
  664. package/lib/commonjs/RcsbUtils/Translators/MultipleEntityInstanceTranslate.d.ts +10 -0
  665. package/lib/commonjs/RcsbUtils/Translators/MultipleEntityInstanceTranslate.js +37 -0
  666. package/lib/commonjs/RcsbUtils/Translators/PolymerEntityChromosomeTranslate.d.ts +5 -0
  667. package/lib/commonjs/RcsbUtils/Translators/PolymerEntityChromosomeTranslate.js +12 -0
  668. package/lib/commonjs/RcsbUtils/Translators/PolymerEntityInstanceTranslate.d.ts +29 -0
  669. package/lib/commonjs/RcsbUtils/Translators/PolymerEntityInstanceTranslate.js +96 -0
  670. package/lib/commonjs/app.d.ts +11 -0
  671. package/lib/commonjs/app.js +46 -0
  672. package/lib/commonjs/constants.js +5 -0
  673. package/lib/commonjs/plot.js +10 -0
  674. package/lib/commonjs/scss/bootstrap-fv-display.module.scss +40 -0
  675. package/lib/commonjs/scss/bootstrap-fv.scss +42 -0
  676. package/lib/commonjs/scss/bootstrap-group-display.module.scss +19 -0
  677. package/lib/commonjs/scss/bootstrap-mixin.module.scss +119 -0
  678. package/lib/commonjs/scss/load-spinner.scss +45 -0
  679. package/lib/constants.d.ts +1 -0
  680. package/lib/constants.js +1 -0
  681. package/lib/plot.d.ts +1 -0
  682. package/lib/plot.js +1 -0
  683. package/lib/scss/bootstrap-fv-display.module.scss +40 -0
  684. package/lib/scss/bootstrap-fv.scss +42 -0
  685. package/lib/scss/bootstrap-group-display.module.scss +19 -0
  686. package/lib/scss/bootstrap-mixin.module.scss +119 -0
  687. package/lib/scss/load-spinner.scss +45 -0
  688. package/package.json +40 -35
  689. package/build/dist/1e59d2330b4c6deb84b3.ttf +0 -0
  690. package/build/dist/20fd1704ea223900efa9.woff2 +0 -0
  691. package/build/dist/8b43027f47b20503057d.eot +0 -0
  692. package/build/dist/ExternalResources/NcbiData/NcbiGenomeSequenceData.d.ts +0 -6
  693. package/build/dist/app.js +0 -2
  694. package/build/dist/c1e38fd9e0e74ba58f7a.svg +0 -2671
  695. package/build/dist/config.js +0 -28
  696. package/build/dist/constants.js +0 -1
  697. package/build/dist/f691f37e57f04c152e23.woff +0 -0
  698. package/build/dist/plot.js +0 -2
  699. package/build/dist/worker.js +0 -2
  700. /package/build/{dist/4753c5ba57962b4d7bf8.woff → 4753c5ba57962b4d7bf8.woff} +0 -0
  701. /package/build/{dist/6d63d0501e5ed7b79dab.woff2 → 6d63d0501e5ed7b79dab.woff2} +0 -0
  702. /package/build/{dist/app.js.LICENSE.txt → app.js.LICENSE.txt} +0 -0
  703. /package/build/{dist/plot.js.LICENSE.txt → plot.js.LICENSE.txt} +0 -0
  704. /package/build/{dist/worker.js.LICENSE.txt → worker.js.LICENSE.txt} +0 -0
  705. /package/{build/dist → lib}/ExternalResources/NcbiData/NcbiSummary.d.ts +0 -0
  706. /package/{build/dist/RcsbFvExamples/ChromosomeFv.d.ts → lib/RcsbAnnotationConfig/AnnotationConfigInterface.js} +0 -0
  707. /package/{build/dist → lib}/RcsbAnnotationConfig/RcsbAnnotationConstants.d.ts +0 -0
  708. /package/{build/dist → lib}/RcsbAnnotationConfig/RcsbDistributionConfig.d.ts +0 -0
  709. /package/{build/dist → lib}/RcsbChartWeb/AbsractChartComponent.d.ts +0 -0
  710. /package/{build/dist → lib}/RcsbChartWeb/HistogramChartComponent.d.ts +0 -0
  711. /package/{build/dist → lib}/RcsbCollectTools/AlignmentCollector/AlignmentCollector.d.ts +0 -0
  712. /package/{build/dist → lib}/RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface.d.ts +0 -0
  713. /package/{build/dist/RcsbFvExamples/EntitySummaryFv.d.ts → lib/RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface.js} +0 -0
  714. /package/{build/dist → lib}/RcsbCollectTools/AnnotationCollector/AnnotationCollector.d.ts +0 -0
  715. /package/{build/dist → lib}/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.d.ts +0 -0
  716. /package/{build/dist/RcsbFvExamples/ExternalDataProvider.d.ts → lib/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.js} +0 -0
  717. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/AssemblyInterfacesCollector.d.ts +0 -0
  718. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/DataCollectorInterface.d.ts +0 -0
  719. /package/{build/dist/RcsbFvExamples/GroupHistogram.d.ts → lib/RcsbCollectTools/DataCollectors/DataCollectorInterface.js} +0 -0
  720. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/EntryAssembliesCollector.d.ts +0 -0
  721. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/GroupMemberCollector.d.ts +0 -0
  722. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/GroupPropertyCollector.d.ts +0 -0
  723. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/InterfaceInstanceCollector.d.ts +0 -0
  724. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/MultipleEntityInstancesCollector.d.ts +0 -0
  725. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.d.ts +0 -0
  726. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/MultipleInstanceSequencesCollector.d.ts +0 -0
  727. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/MultiplePolymerEntityCollector.d.ts +0 -0
  728. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/PolymerEntityChromosomeCollector.d.ts +0 -0
  729. /package/{build/dist → lib}/RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector.d.ts +0 -0
  730. /package/{build/dist/RcsbFvExamples/InstanceFv.d.ts → lib/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.js} +0 -0
  731. /package/{build/dist → lib}/RcsbExport/FeatureType.d.ts +0 -0
  732. /package/{build/dist → lib}/RcsbExport/RcsbFvUI.d.ts +0 -0
  733. /package/{build/dist/RcsbFvExamples/InstanceSequenceFv.d.ts → lib/RcsbFvExamples/ChromosomeFv.d.ts} +0 -0
  734. /package/{build/dist/RcsbFvExamples/ResidueDistribution.d.ts → lib/RcsbFvExamples/EntitySummaryFv.d.ts} +0 -0
  735. /package/{build/dist/RcsbFvExamples/SequenceIdentityGroupAlignmentFv.d.ts → lib/RcsbFvExamples/ExternalDataProvider.d.ts} +0 -0
  736. /package/{build/dist/RcsbFvExamples/SequenceIdentityGroupFv.d.ts → lib/RcsbFvExamples/GroupHistogram.d.ts} +0 -0
  737. /package/{build/dist/RcsbFvExamples/SingleEntitySummaryFv.d.ts → lib/RcsbFvExamples/InstanceFv.d.ts} +0 -0
  738. /package/{build/dist/RcsbFvExamples/TestCollectors.d.ts → lib/RcsbFvExamples/InstanceSequenceFv.d.ts} +0 -0
  739. /package/{build/dist/RcsbFvExamples/UniprotAlignmentFv.d.ts → lib/RcsbFvExamples/ResidueDistribution.d.ts} +0 -0
  740. /package/{build/dist/RcsbFvExamples/UniprotEntityInstanceFv.d.ts → lib/RcsbFvExamples/SequenceIdentityGroupAlignmentFv.d.ts} +0 -0
  741. /package/{build/dist/RcsbFvExamples/UniprotFv.d.ts → lib/RcsbFvExamples/SequenceIdentityGroupFv.d.ts} +0 -0
  742. /package/{build/dist/RcsbFvExamples/UniprotGroupFv.d.ts → lib/RcsbFvExamples/SingleEntitySummaryFv.d.ts} +0 -0
  743. /package/{build/dist/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorWorker.worker.d.ts → lib/RcsbFvExamples/TestCollectors.d.ts} +0 -0
  744. /package/{build/dist/RcsbGraphQL/Queries/QueryCheck.d.ts → lib/RcsbFvExamples/UniprotAlignmentFv.d.ts} +0 -0
  745. /package/{build/dist → lib}/RcsbFvUI/AbstractMenuItemComponent.d.ts +0 -0
  746. /package/{build/dist → lib}/RcsbFvUI/Components/FilterItemComponent.d.ts +0 -0
  747. /package/{build/dist → lib}/RcsbFvUI/Components/PaginationItemComponent.d.ts +0 -0
  748. /package/{build/dist → lib}/RcsbFvUI/GroupPfvUI.d.ts +0 -0
  749. /package/{build/dist → lib}/RcsbFvUI/Helper/ActionMethods.d.ts +0 -0
  750. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvAssemblyBuilder.d.ts +0 -0
  751. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvChromosomeBuilder.d.ts +0 -0
  752. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvDataProviderBuilder.d.ts +0 -0
  753. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvEntityBuilder.d.ts +0 -0
  754. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.d.ts +0 -0
  755. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupBuilder.d.ts +0 -0
  756. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +0 -0
  757. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvPairwiseAligmentBuilder.d.ts +0 -0
  758. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.d.ts +0 -0
  759. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.d.ts +0 -0
  760. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvBuilder.d.ts +0 -0
  761. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/ComponentsManager.d.ts +0 -0
  762. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/MountableComponent.d.ts +0 -0
  763. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvComponents/SelectButtonManager.d.ts +0 -0
  764. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.d.ts +0 -0
  765. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/BlockManagerInterface.d.ts +0 -0
  766. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/Helper/TrackUtils.d.ts +0 -0
  767. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.d.ts +0 -0
  768. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvGroup/RcsbFvGroupTabsBuilder.d.ts +0 -0
  769. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.d.ts +0 -0
  770. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.d.ts +0 -0
  771. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.d.ts +0 -0
  772. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.d.ts +0 -0
  773. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.d.ts +0 -0
  774. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.d.ts +0 -0
  775. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.d.ts +0 -0
  776. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.d.ts +0 -0
  777. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.d.ts +0 -0
  778. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.d.ts +0 -0
  779. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.d.ts +0 -0
  780. /package/{build/dist → lib}/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorQueue.d.ts +0 -0
  781. /package/{build/dist → lib}/RcsbGraphQL/RcsbClient.d.ts +0 -0
  782. /package/{build/dist → lib}/RcsbGraphQL/RcsbCoreQueryInterface.d.ts +0 -0
  783. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryAlignment.d.ts +0 -0
  784. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryAnnotations.d.ts +0 -0
  785. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryAssemblyInterfaces.d.ts +0 -0
  786. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryEntryInstances.d.ts +0 -0
  787. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryGroup.d.ts +0 -0
  788. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryInterfaceInstances.d.ts +0 -0
  789. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryMultipleEntityInstances.d.ts +0 -0
  790. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryMultipleEntriesProperties.d.ts +0 -0
  791. /package/{build/dist → lib}/RcsbGraphQL/RcsbQueryMultipleInstanceSequences.d.ts +0 -0
  792. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupBuilder.d.ts +0 -0
  793. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartAdditionalProperties.d.ts +0 -0
  794. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartEvents.d.ts +0 -0
  795. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.d.ts +0 -0
  796. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.d.ts +0 -0
  797. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.d.ts +0 -0
  798. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.d.ts +0 -0
  799. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/DistributionChartFactoryImpl/DistributionChartFactory.d.ts +0 -0
  800. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/MultipleTrackDistributionFactory.d.ts +0 -0
  801. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/NumericalTrackDistributionFactory.d.ts +0 -0
  802. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/TrackDistributionFactory.d.ts +0 -0
  803. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryInterface.d.ts +0 -0
  804. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/TrackBlockFactoryImpl/TrackBlockFactory.d.ts +0 -0
  805. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/Helper.d.ts +0 -0
  806. /package/{build/dist → lib}/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.d.ts +0 -0
  807. /package/{build/dist → lib}/RcsbRequest/RcsbRequestClient.d.ts +0 -0
  808. /package/{build/dist → lib}/RcsbRequest/RcsbRequestContextManager.d.ts +0 -0
  809. /package/{build/dist → lib}/RcsbRequest/RcsbRequestTools.d.ts +0 -0
  810. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/DepositionGroupFacetStore.d.ts +0 -0
  811. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore.d.ts +0 -0
  812. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/FacetMemberInterface.d.ts +0 -0
  813. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/FacetStoreInterface.d.ts +0 -0
  814. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/SequenceGroupFacetStore.d.ts +0 -0
  815. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/SingleFacets.d.ts +0 -0
  816. /package/{build/dist → lib}/RcsbSeacrh/FacetStore/UniprotGroupFacetStore.d.ts +0 -0
  817. /package/{build/dist → lib}/RcsbSeacrh/FacetTools.d.ts +0 -0
  818. /package/{build/dist → lib}/RcsbSeacrh/SearchQueryTools.d.ts +0 -0
  819. /package/{build/dist → lib}/RcsbSeacrh/SearchRequestProperty.d.ts +0 -0
  820. /package/{build/dist → lib}/RcsbServerConfig/ServerConfig.d.ts +0 -0
  821. /package/{build/dist → lib}/RcsbUtils/Groups/GroupGapLessTransformer.d.ts +0 -0
  822. /package/{build/dist → lib}/RcsbUtils/Groups/GroupPropertiesProvider.d.ts +0 -0
  823. /package/{build/dist → lib}/RcsbUtils/Groups/GroupProvenanceToAggregationType.d.ts +0 -0
  824. /package/{build/dist → lib}/RcsbUtils/Helpers/Assertions.d.ts +0 -0
  825. /package/{build/dist → lib}/RcsbUtils/Helpers/DataContainer.d.ts +0 -0
  826. /package/{build/dist → lib}/RcsbUtils/Helpers/ObservableHelper.d.ts +0 -0
  827. /package/{build/dist → lib}/RcsbUtils/Helpers/Operator.d.ts +0 -0
  828. /package/{build/dist → lib}/RcsbUtils/Helpers/SingletonMap.d.ts +0 -0
  829. /package/{build/dist → lib}/RcsbUtils/Helpers/UrlTools.d.ts +0 -0
  830. /package/{build/dist → lib}/RcsbUtils/PairwiseAlignmentTools/AlignmentReference.d.ts +0 -0
  831. /package/{build/dist → lib}/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.d.ts +0 -0
  832. /package/{build/dist → lib}/RcsbUtils/TrackGenerators/BurialFraction.d.ts +0 -0
  833. /package/{build/dist → lib}/RcsbUtils/TrackGenerators/BuriedResidues.d.ts +0 -0
  834. /package/{build/dist → lib}/RcsbUtils/TrackGenerators/GroupExternalTrackBuilder.d.ts +0 -0
  835. /package/{build/dist → lib}/RcsbUtils/TrackGenerators/Logo.d.ts +0 -0
  836. /package/{build/dist → lib}/RcsbUtils/Translators/AssemblyInterfacesTranslate.d.ts +0 -0
  837. /package/{build/dist → lib}/RcsbUtils/Translators/EntryAssemblyTranslate.d.ts +0 -0
  838. /package/{build/dist → lib}/RcsbUtils/Translators/InterfaceInstanceTranslate.d.ts +0 -0
  839. /package/{build/dist → lib}/RcsbUtils/Translators/MultipleEntityInstanceTranslate.d.ts +0 -0
  840. /package/{build/dist → lib}/RcsbUtils/Translators/PolymerEntityChromosomeTranslate.d.ts +0 -0
  841. /package/{build/dist → lib}/app.d.ts +0 -0
  842. /package/{build/dist → lib/commonjs}/constants.d.ts +0 -0
  843. /package/{build/dist → lib/commonjs}/plot.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see worker.js.LICENSE.txt */
2
+ (()=>{var e={9535:function(e,t,n){"use strict";var r=this&&this.__createBinding||(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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__awaiter||function(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,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLRequest=void 0;const s=n(7825),u=o(n(3036)),c=o(n(6518)),l=n(6761);t.GraphQLRequest=class{constructor(e,t){switch(e){case"data-api":this.client=new s.GraphQLClient(c.schema,t);break;case"1d-coordinates":this.client=new s.GraphQLClient(u.schema,t);break;default:this.client=new s.GraphQLClient(e,t)}}request(e,t,n){return a(this,void 0,void 0,(function*(){const r=l.LocalStorageTools.getItem({query:t,requestConfig:e});if(r)return r;try{const r=yield this.client.request(t,e,n);return l.LocalStorageTools.setItem({query:t,requestConfig:e},r),r}catch(e){throw console.error(e),e}}))}}},6761:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageTools=void 0;const i=n(705),o=n(4037);class a{static getItem(e){if(!a.storage)return null;const t=a.collect(e);return t?Date.now()-t.timestamp>a.EXPIRATION_TIME?null:t.data:null}static setItem(e,t){if(a.storage)try{a.store(e,t)}catch(n){console.warn("Local storage failed: Cleaning and trying again.");try{a.storage.clear(),a.store(e,t)}catch(e){console.error("Local storage second failed: No more attempts.")}}}static store(e,t){var n;const r=a.objToKey(e),i=(0,o.compress)(JSON.stringify({data:t,timestamp:Date.now()}),{inputEncoding:"String",outputEncoding:"StorageBinaryString"});null===(n=a.storage)||void 0===n||n.setItem(r,i)}static collect(e){var t;const n=a.objToKey(e),r=null===(t=a.storage)||void 0===t?void 0:t.getItem(n);return r?JSON.parse((0,o.decompress)(r,{inputEncoding:"StorageBinaryString",outputEncoding:"String"})):null}static objToKey(e){if(!e)throw new Error("Object is undefined");return(0,i.sha1)(e)}}t.LocalStorageTools=a,a.storage=null!==(r=globalThis.localStorage)&&void 0!==r?r:null,a.EXPIRATION_TIME=36e5},6991:function(e,t,n){"use strict";var r=this&&this.__createBinding||(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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__awaiter||function(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,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SearchRequest=void 0;const u=s(n(3300)),c=o(n(4423)),l=n(6761);t.SearchRequest=class{constructor(e,t,n){var r,i;if(this.uri=null!=e?e:c.uri,this.requestConfig=null!=n?n:{},this.fetch="function"==typeof t?t:null!==(i=null===(r=globalThis.window)||void 0===r?void 0:r.fetch)&&void 0!==i?i:u.default,!this.fetch)throw"ERROR: fetch function was not provided"}request(e,t={}){var n,r;return a(this,void 0,void 0,(function*(){const i=l.LocalStorageTools.getItem(e);if(i)return i;const o=yield(null!==(r=null===(n=globalThis.window)||void 0===n?void 0:n.fetch)&&void 0!==r?r:this.fetch)(this.uri,Object.assign(Object.assign({},this.requestConfig),{method:"POST",body:JSON.stringify(e),headers:Object.assign(Object.assign(Object.assign({},this.requestConfig.headers),t),{"Content-Type":"application/json"})}));try{const t=yield o.json();return l.LocalStorageTools.setItem(e,t),t}catch(e){return console.error(e),console.error(o),null}}))}}},8599:e=>{"use strict";const{AbortController:t,AbortSignal:n}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=n,e.exports.default=t},4751:(e,t,n)=>{"use strict";function r(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,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}Object.create,Object.create;class i{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({queryId:e.queryId,reference:e.reference,sources:e.sources,filters:e.filters,range:e.range},"query QueryAnnotations($queryId: String!, $reference: SequenceReference, $sources:[Source], $range:[Int], $filters: [FilterInput]){\n annotations(\n queryId:$queryId\n reference:$reference\n sources:$sources\n range:$range\n filters:$filters\n ){\n source\n target_id\n target_identifiers{\n target_id\n entry_id\n assembly_id\n entity_id\n asym_id\n interface_id\n interface_partner_index\n }\n features {\n type\n provenance_source\n description\n feature_id\n name\n value\n feature_positions {\n beg_seq_id\n end_seq_id\n beg_ori_id\n end_ori_id\n range_id\n open_begin\n open_end\n value\n values\n }\n }\n }\n}")).annotations}catch(e){throw console.error(e),e}}))}}class o{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request(e,"query QueryGroupAnnotations($group: GroupReference!, $groupId: String!, $sources:[Source], $filters: [FilterInput], $histogram:Boolean){\n group_annotations(\n group:$group\n groupId:$groupId\n sources:$sources\n filters:$filters\n histogram:$histogram\n ){\n source\n target_id\n features {\n type\n provenance_source\n description\n feature_id\n name\n value\n feature_positions {\n beg_seq_id\n end_seq_id\n beg_ori_id\n end_ori_id\n range_id\n open_begin\n open_end\n value\n values\n }\n }\n }\n}")).group_annotations}catch(e){throw console.error(e),e}}))}}class a{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({queryId:e.queryId,from:e.from,to:e.to,range:e.range},"query QueryAlignment($queryId: String!, $from: SequenceReference, $to:SequenceReference, $range:[Int]){\n alignment(\n queryId:$queryId\n from:$from\n to:$to\n range:$range\n ){\n query_sequence\n target_alignment {\n target_id\n orientation\n target_sequence\n coverage {\n query_coverage\n query_length\n target_coverage\n target_length\n }\n aligned_regions {\n query_begin\n query_end\n target_begin\n target_end\n exon_shift\n }\n }\n\n }\n}")).alignment}catch(e){throw console.error(e),e}}))}}class s{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({group:e.group,groupId:e.groupId,filter:e.filter,first:e.page.first,after:e.page.after},e.excludeLogo?"query QueryGroupAlignmentNoLogo($group: GroupReference!, $groupId: String!, $filter: [String], $first: Int!, $after: String){\n group_alignment(\n group: $group\n groupId: $groupId\n filter: $filter\n ){\n alignment_length\n query_sequence\n target_alignment_subset(first: $first, after: $after) {\n pageInfo{\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n edges{\n node{\n target_id\n orientation\n target_sequence\n coverage {\n query_coverage\n query_length\n target_coverage\n target_length\n }\n aligned_regions {\n query_begin\n query_end\n target_begin\n target_end\n exon_shift\n }\n }\n cursor\n }\n }\n }\n}":"query QueryGroupAlignment($group: GroupReference!, $groupId: String!, $filter: [String], $first: Int!, $after: String){\n group_alignment(\n group: $group\n groupId: $groupId\n filter: $filter\n ){\n alignment_length\n alignment_logo{\n symbol\n value\n }\n query_sequence\n target_alignment_subset(first: $first, after: $after) {\n pageInfo{\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n edges{\n node{\n target_id\n orientation\n target_sequence\n coverage {\n query_coverage\n query_length\n target_coverage\n target_length\n }\n aligned_regions {\n query_begin\n query_end\n target_begin\n target_end\n exon_shift\n }\n }\n cursor\n }\n }\n }\n}")).group_alignment}catch(e){throw console.error(e),e}}))}}class u{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({entry_id:e.entry_id},"query QueryEntryInstance($entry_id: String!){\n entry(\n entry_id:$entry_id\n ){\n polymer_entities {\n polymer_entity_instances{\n rcsb_id\n polymer_entity{\n rcsb_polymer_entity{\n pdbx_description\n rcsb_polymer_name_combined{\n names\n }\n formula_weight\n }\n entity_poly{\n rcsb_entity_polymer_type\n rcsb_sample_sequence_length\n }\n rcsb_entity_source_organism {\n ncbi_scientific_name\n }\n entry {\n rcsb_entry_info{\n experimental_method\n resolution_combined\n molecular_weight\n structure_determination_methodology\n }\n }\n }\n rcsb_polymer_entity_instance_container_identifiers{\n asym_id\n auth_asym_id\n entry_id\n entity_id\n auth_to_entity_poly_seq_mapping\n }\n }\n }\n assemblies {\n rcsb_assembly_container_identifiers {\n assembly_id\n }\n pdbx_struct_assembly_gen{\n asym_id_list\n }\n\n }\n }\n}")).entry}catch(e){throw console.error(e),e}}))}}class c{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({entity_ids:e.entity_ids},"query QueryMultipleEntityInstances($entity_ids: [String!]!){\n polymer_entities(\n entity_ids:$entity_ids\n ){\n polymer_entity_instances{\n rcsb_id\n polymer_entity{\n rcsb_polymer_entity{\n pdbx_description\n rcsb_polymer_name_combined{\n names\n }\n formula_weight\n }\n entity_poly{\n rcsb_entity_polymer_type\n rcsb_sample_sequence_length\n }\n rcsb_entity_source_organism {\n ncbi_scientific_name\n }\n entry {\n rcsb_entry_info{\n experimental_method\n resolution_combined\n structure_determination_methodology\n }\n }\n }\n rcsb_polymer_entity_instance_container_identifiers{\n asym_id\n auth_asym_id\n entry_id\n entity_id\n auth_to_entity_poly_seq_mapping\n }\n }\n }\n}")).polymer_entities}catch(e){throw console.error(e),e}}))}}class l{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({group_id:e.group_id},"query QueryGroup($group_id: String!){\n polymer_entity_group(\n group_id:$group_id\n ){\n rcsb_id\n rcsb_group_info{\n group_name\n group_description\n group_members_granularity\n }\n rcsb_group_container_identifiers{\n group_member_ids\n }\n }\n}")).group}catch(e){throw console.error(e),e}}))}}class f{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({entry_ids:e.entry_ids},"query multiple_entries_properties($entry_ids: [String!]!){\n entries(entry_ids:$entry_ids){\n rcsb_id\n polymer_entities {\n rcsb_id\n rcsb_entity_source_organism {\n ncbi_scientific_name\n }\n rcsb_polymer_entity_container_identifiers {\n entity_id\n rcsb_id\n }\n polymer_entity_instances {\n rcsb_polymer_entity_instance_container_identifiers {\n asym_id\n }\n rcsb_id\n }\n }\n rcsb_entry_info{\n experimental_method\n resolution_combined\n molecular_weight\n structure_determination_methodology\n }\n struct {\n title\n }\n }\n}")).entries}catch(e){throw console.error(e),e}}))}}class d{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request(e,"query QueryInterfaceInstance($interface_ids: [String!]!){\n interfaces(\n interface_ids:$interface_ids\n ){\n rcsb_interface_container_identifiers{\n rcsb_id\n interface_id\n assembly_id\n entry_id\n }\n rcsb_interface_partner{\n interface_partner_identifier{\n asym_id\n }\n }\n rcsb_interface_operator\n }\n}")).interfaces}catch(e){throw console.error(e),e}}))}}class p{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request(e,"query QueryAssemblyInterfaces($assembly_ids: [String!]!){\n assemblies(\n assembly_ids: $assembly_ids\n ){\n rcsb_id\n interfaces{\n rcsb_id\n }\n }\n}\n")).assemblies}catch(e){throw console.error(e),e}}))}}var h=n(9535),y=n(6991);const g={borrego:new h.GraphQLRequest("1d-coordinates"),yosemite:new h.GraphQLRequest("data-api"),arches:new y.SearchRequest};class v{constructor(e){this.getClient=e}request(e){return r(this,void 0,void 0,(function*(){try{return(yield this.getClient().request({instance_ids:e.instance_ids},"\nquery multiple_instance_sequences($instance_ids: [String!]!){\n polymer_entity_instances(instance_ids:$instance_ids){\n rcsb_id\n polymer_entity{\n entity_poly{\n pdbx_seq_one_letter_code_can\n }\n }\n }\n}")).polymer_entity_instances}catch(e){throw console.error(e),new Error(e)}}))}}const m=new class{constructor(e){this.rcsbQueryAnnotations=new i(e.borrego),this.rcsbQueryGroupAnnotations=new o(e.borrego),this.rcsbQueryAlignment=new a(e.borrego),this.rcsbQueryGroupAlignment=new s(e.borrego),this.rcsbQueryEntityInstances=new u(e.yosemite),this.rcsbQueryMutipleEntityInstances=new c(e.yosemite),this.rcsbQueryEntryProperties=new f(e.yosemite),this.rcsbQueryInterfaceInstances=new d(e.yosemite),this.rcsbQueryAssemblyInterfaces=new p(e.yosemite),this.rcsbQueryGroup=new l(e.yosemite),this.rcsbQueryMultipleInstanceSequences=new v(e.yosemite)}requestRcsbPdbAnnotations(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryAnnotations.request(e)}))}requestRcsbPdbGroupAnnotations(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryGroupAnnotations.request(e)}))}requestAlignment(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryAlignment.request(e)}))}requestGroupAlignment(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryGroupAlignment.request(e)}))}requestEntityInstances(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryEntityInstances.request(e)}))}requestMultipleEntityInstances(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryMutipleEntityInstances.request(e)}))}requestGroupInfo(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryGroup.request(e)}))}requestMultipleEntriesProperties(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryEntryProperties.request(e)}))}requestInterfaceInstances(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryInterfaceInstances.request(e)}))}requestAssemblyInterfaces(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryAssemblyInterfaces.request(e)}))}requestMultipleInstanceSequences(e){return r(this,void 0,void 0,(function*(){return yield this.rcsbQueryMultipleInstanceSequences.request(e)}))}}({borrego:()=>g.borrego,yosemite:()=>g.yosemite});self.onmessage=function(e){const t=e.data;m.requestAlignment(t).then((e=>{postMessage(e)}))}},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(u(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8764:(e,t,n)=>{"use strict";const r=n(9742),i=n(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|y(e,t);let r=s(n);const i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||K(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return l(e),s(e<0?0:0|h(e))}function d(e){const t=e.length<0?0:0|h(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function y(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return r?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),K(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function E(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(K(r))return a;e[n+a]=r}return a}function w(e,t,n,r){return J(Y(t,e.length-n),e,n,r)}function _(e,t,n,r){return J(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function T(e,t,n,r){return J(Q(t),e,n,r)}function I(e,t,n,r){return J(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function N(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=A));return n}(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(H(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=y,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?N(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n);for(let e=0;e<s;++e)if(c[e]!==l[e]){o=c[e],a=l[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const A=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function D(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=z[e[r]];return i}function x(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function k(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function C(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function B(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function j(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,o){return t=+t,n>>>=0,o||j(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return t=+t,n>>>=0,o||j(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=X((function(e){G(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=X((function(e){G(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=X((function(e){G(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=X((function(e){G(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=X((function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=X((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=X((function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=X((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const U={};function M(e,t,n){U[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new U.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){G(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||$(t,e.length-(n+1))}(r,i,o)}function G(e,t){if("number"!=typeof e)throw new U.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,n){if(Math.floor(e)!==e)throw G(e,n),new U.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}M("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),M("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),M("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=V(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function Y(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Q(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function K(e){return e!=e}const z=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function X(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},4098:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=c(e),t=l(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[c(e)]},d.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},d.prototype.set=function(e,t){this.map[c(e)]=l(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,i=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),m.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function E(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];w.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(e,n){return new Promise((function(r,o){var a=new b(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new w(i,n))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}T.polyfill=!0,e.fetch||(e.fetch=T,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=T,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},7187:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}y(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&y(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,c=l,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function y(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var c=u.length,l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},645:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*y}},4037:(e,t,n)=>{var r,i;e=n.nmd(e),function(t){t.runningInNodeJS=function(){return"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node},t.runningInMainNodeJSModule=function(){return t.runningInNodeJS()&&n.c[n.s]===e},t.commonJSAvailable=function(){return"object"==typeof e.exports},t.runningInWebWorker=function(){return"undefined"==typeof window&&"object"==typeof self&&"function"==typeof self.addEventListener&&"function"==typeof self.close},t.runningInNodeChildProcess=function(){return t.runningInNodeJS()&&"function"==typeof process.send},t.runningInNullOrigin=function(){return"object"==typeof window&&"object"==typeof window.location&&"object"==typeof document&&"http:"!==document.location.protocol&&"https:"!==document.location.protocol},t.webWorkersAvailable=function(){return!("function"!=typeof Worker||t.runningInNullOrigin()||t.runningInNodeJS()||navigator&&navigator.userAgent&&navigator.userAgent.indexOf("Android 4.3")>=0)},t.log=function(e,t){void 0===t&&(t=!1),"object"==typeof console&&(console.log(e),t&&"object"==typeof document&&(document.body.innerHTML+=e+"<br/>"))},t.createErrorMessage=function(e,n){if(void 0===n&&(n="Unhandled exception"),null==e)return n;if(n+=": ","object"==typeof e.content){if(t.runningInNodeJS())return n+e.content.stack;var r=JSON.stringify(e.content);return"{}"!==r?n+r:n+e.content}return"string"==typeof e.content?n+e.content:n+e},t.printExceptionAndStackTraceToConsole=function(e,n){void 0===n&&(n="Unhandled exception"),t.log(t.createErrorMessage(e,n))},t.getGlobalObject=function(){return"object"==typeof n.g?n.g:"object"==typeof window?window:"object"==typeof self?self:{}},t.toString=Object.prototype.toString,t.commonJSAvailable()&&(e.exports=t)}(i||(i={})),function(e){if("function"==typeof Uint8Array&&0!==new Uint8Array(1).subarray(1).byteLength){var t=function(e,t){var n=function(e,t,n){return e<t?t:e>n?n:e};e|=0,t|=0,arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=n(e,0,this.length);var r=(t=n(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},n=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"],r=void 0;if("object"==typeof window?r=window:"object"==typeof self&&(r=self),void 0!==r)for(var i=0;i<n.length;i++)r[n[i]]&&(r[n[i]].prototype.subarray=t)}}(r||(r={})),function(e){var t=function(){function t(){}return t.compressAsync=function(t,n,r){var i=new e.Timer,o=new e.Compressor;if(!r)throw new TypeError("compressAsync: No callback argument given");if("string"==typeof t)t=e.encodeUTF8(t);else if(null==t||!(t instanceof Uint8Array))return void r(void 0,new TypeError("compressAsync: Invalid input argument, only 'string' and 'Uint8Array' are supported"));var a=e.ArrayTools.splitByteArray(t,n.blockSize),s=[],u=function(t){if(t<a.length){var c=void 0;try{c=o.compressBlock(a[t])}catch(e){return void r(void 0,e)}s.push(c),i.getElapsedTime()<=20?u(t+1):(e.enqueueImmediate((function(){return u(t+1)})),i.restart())}else{var l=e.ArrayTools.concatUint8Arrays(s);e.enqueueImmediate((function(){var t;try{t=e.CompressionCommon.encodeCompressedBytes(l,n.outputEncoding)}catch(e){return void r(void 0,e)}e.enqueueImmediate((function(){return r(t)}))}))}};e.enqueueImmediate((function(){return u(0)}))},t.createCompressionStream=function(){var t=new e.Compressor,r=new(n(4432).Transform)({decodeStrings:!0,highWaterMark:65536});return r._transform=function(n,i,o){var a;try{a=e.BufferTools.uint8ArrayToBuffer(t.compressBlock(e.BufferTools.bufferToUint8Array(n)))}catch(e){return void r.emit("error",e)}r.push(a),o()},r},t}();e.AsyncCompressor=t}(i||(i={})),function(e){var t=function(){function t(){}return t.decompressAsync=function(t,n,r){if(!r)throw new TypeError("decompressAsync: No callback argument given");var i=new e.Timer;try{t=e.CompressionCommon.decodeCompressedBytes(t,n.inputEncoding)}catch(e){return void r(void 0,e)}var o=new e.Decompressor,a=e.ArrayTools.splitByteArray(t,n.blockSize),s=[],u=function(t){if(t<a.length){var c=void 0;try{c=o.decompressBlock(a[t])}catch(e){return void r(void 0,e)}s.push(c),i.getElapsedTime()<=20?u(t+1):(e.enqueueImmediate((function(){return u(t+1)})),i.restart())}else{var l=e.ArrayTools.concatUint8Arrays(s);e.enqueueImmediate((function(){var t;try{t=e.CompressionCommon.encodeDecompressedBytes(l,n.outputEncoding)}catch(e){return void r(void 0,e)}e.enqueueImmediate((function(){return r(t)}))}))}};e.enqueueImmediate((function(){return u(0)}))},t.createDecompressionStream=function(){var t=new e.Decompressor,r=new(n(4432).Transform)({decodeStrings:!0,highWaterMark:65536});return r._transform=function(n,i,o){var a;try{a=e.BufferTools.uint8ArrayToBuffer(t.decompressBlock(e.BufferTools.bufferToUint8Array(n)))}catch(e){return void r.emit("error",e)}r.push(a),o()},r},t}();e.AsyncDecompressor=t}(i||(i={})),function(e){var t;!function(t){t.compressAsync=function(e,n,r){if("ByteArray"!=n.inputEncoding||e instanceof Uint8Array){var i={token:Math.random().toString(),type:"compress",data:e,inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding},o=function(e){var n=e.data;n&&n.token==i.token&&(t.globalWorker.removeEventListener("message",o),"error"==n.type?r(void 0,new Error(n.error)):r(n.data))};t.globalWorker.addEventListener("message",o),t.globalWorker.postMessage(i,[])}else r(void 0,new TypeError("compressAsync: input is not a Uint8Array"))},t.decompressAsync=function(e,n,r){var i={token:Math.random().toString(),type:"decompress",data:e,inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding},o=function(e){var n=e.data;n&&n.token==i.token&&(t.globalWorker.removeEventListener("message",o),"error"==n.type?r(void 0,new Error(n.error)):r(n.data))};t.globalWorker.addEventListener("message",o),t.globalWorker.postMessage(i,[])},t.installWebWorkerIfNeeded=function(){"object"==typeof self&&void 0===self.document&&null!=self.addEventListener&&(self.addEventListener("message",(function(t){var n=t.data;if("compress"==n.type){var r=void 0;try{r=e.compress(n.data,{outputEncoding:n.outputEncoding})}catch(t){return void self.postMessage({token:n.token,type:"error",error:e.createErrorMessage(t)},[])}(i={token:n.token,type:"compressionResult",data:r,encoding:n.outputEncoding}).data instanceof Uint8Array&&-1===navigator.appVersion.indexOf("MSIE 10")?self.postMessage(i,[i.data.buffer]):self.postMessage(i,[])}else if("decompress"==n.type){var i,o=void 0;try{o=e.decompress(n.data,{inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding})}catch(t){return void self.postMessage({token:n.token,type:"error",error:e.createErrorMessage(t)},[])}(i={token:n.token,type:"decompressionResult",data:o,encoding:n.outputEncoding}).data instanceof Uint8Array&&-1===navigator.appVersion.indexOf("MSIE 10")?self.postMessage(i,[i.data.buffer]):self.postMessage(i,[])}})),self.addEventListener("error",(function(t){e.log(e.createErrorMessage(t.error,"Unexpected LZUTF8 WebWorker exception"))})))},t.createGlobalWorkerIfNeeded=function(){if(t.globalWorker)return!0;if(!e.webWorkersAvailable())return!1;if(!t.scriptURI&&"object"==typeof document){var n=document.getElementById("lzutf8");null!=n&&(t.scriptURI=n.getAttribute("src")||void 0)}return!!t.scriptURI&&(t.globalWorker=new Worker(t.scriptURI),!0)},t.terminate=function(){t.globalWorker&&(t.globalWorker.terminate(),t.globalWorker=void 0)}}(t=e.WebWorker||(e.WebWorker={})),t.installWebWorkerIfNeeded()}(i||(i={})),function(e){var t=function(){function e(e,t,n){this.container=e,this.startPosition=t,this.length=n}return e.prototype.get=function(e){return this.container[this.startPosition+e]},e.prototype.getInReversedOrder=function(e){return this.container[this.startPosition+this.length-1-e]},e.prototype.set=function(e,t){this.container[this.startPosition+e]=t},e}();e.ArraySegment=t}(i||(i={})),function(e){var t;(t=e.ArrayTools||(e.ArrayTools={})).copyElements=function(e,t,n,r,i){for(;i--;)n[r++]=e[t++]},t.zeroElements=function(e,t,n){for(;n--;)e[t++]=0},t.countNonzeroValuesInArray=function(e){for(var t=0,n=0;n<e.length;n++)e[n]&&t++;return t},t.truncateStartingElements=function(e,t){if(e.length<=t)throw new RangeError("truncateStartingElements: Requested length should be smaller than array length");for(var n=e.length-t,r=0;r<t;r++)e[r]=e[n+r];e.length=t},t.doubleByteArrayCapacity=function(e){var t=new Uint8Array(2*e.length);return t.set(e),t},t.concatUint8Arrays=function(e){for(var t=0,n=0,r=e;n<r.length;n++)t+=(u=r[n]).length;for(var i=new Uint8Array(t),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i},t.splitByteArray=function(e,t){for(var n=[],r=0;r<e.length;){var i=Math.min(t,e.length-r);n.push(e.subarray(r,r+i)),r+=i}return n}}(i||(i={})),function(e){var t;(t=e.BufferTools||(e.BufferTools={})).convertToUint8ArrayIfNeeded=function(e){return"function"==typeof Buffer&&Buffer.isBuffer(e)?t.bufferToUint8Array(e):e},t.uint8ArrayToBuffer=function(e){if(Buffer.prototype instanceof Uint8Array){var t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);return Object.setPrototypeOf(t,Buffer.prototype),t}for(var n=e.length,r=new Buffer(n),i=0;i<n;i++)r[i]=e[i];return r},t.bufferToUint8Array=function(e){if(Buffer.prototype instanceof Uint8Array)return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e[r];return n}}(i||(i={})),function(e){var t;(t=e.CompressionCommon||(e.CompressionCommon={})).getCroppedBuffer=function(e,t,n,r){void 0===r&&(r=0);var i=new Uint8Array(n+r);return i.set(e.subarray(t,t+n)),i},t.getCroppedAndAppendedByteArray=function(t,n,r,i){return e.ArrayTools.concatUint8Arrays([t.subarray(n,n+r),i])},t.detectCompressionSourceEncoding=function(e){if(null==e)throw new TypeError("detectCompressionSourceEncoding: input is null or undefined");if("string"==typeof e)return"String";if(e instanceof Uint8Array||"function"==typeof Buffer&&Buffer.isBuffer(e))return"ByteArray";throw new TypeError("detectCompressionSourceEncoding: input must be of type 'string', 'Uint8Array' or 'Buffer'")},t.encodeCompressedBytes=function(t,n){switch(n){case"ByteArray":return t;case"Buffer":return e.BufferTools.uint8ArrayToBuffer(t);case"Base64":return e.encodeBase64(t);case"BinaryString":return e.encodeBinaryString(t);case"StorageBinaryString":return e.encodeStorageBinaryString(t);default:throw new TypeError("encodeCompressedBytes: invalid output encoding requested")}},t.decodeCompressedBytes=function(t,n){if(null==n)throw new TypeError("decodeCompressedData: Input is null or undefined");switch(n){case"ByteArray":case"Buffer":var r=e.BufferTools.convertToUint8ArrayIfNeeded(t);if(!(r instanceof Uint8Array))throw new TypeError("decodeCompressedData: 'ByteArray' or 'Buffer' input type was specified but input is not a Uint8Array or Buffer");return r;case"Base64":if("string"!=typeof t)throw new TypeError("decodeCompressedData: 'Base64' input type was specified but input is not a string");return e.decodeBase64(t);case"BinaryString":if("string"!=typeof t)throw new TypeError("decodeCompressedData: 'BinaryString' input type was specified but input is not a string");return e.decodeBinaryString(t);case"StorageBinaryString":if("string"!=typeof t)throw new TypeError("decodeCompressedData: 'StorageBinaryString' input type was specified but input is not a string");return e.decodeStorageBinaryString(t);default:throw new TypeError("decodeCompressedData: invalid input encoding requested: '".concat(n,"'"))}},t.encodeDecompressedBytes=function(t,n){switch(n){case"String":return e.decodeUTF8(t);case"ByteArray":return t;case"Buffer":if("function"!=typeof Buffer)throw new TypeError("encodeDecompressedBytes: a 'Buffer' type was specified but is not supported at the current envirnment");return e.BufferTools.uint8ArrayToBuffer(t);default:throw new TypeError("encodeDecompressedBytes: invalid output encoding requested")}}}(i||(i={})),function(e){var t;!function(t){var n,r=[];t.enqueueImmediate=function(e){r.push(e),1===r.length&&n()},t.initializeScheduler=function(){var t=function(){for(var t=0,n=r;t<n.length;t++){var i=n[t];try{i.call(void 0)}catch(t){e.printExceptionAndStackTraceToConsole(t,"enqueueImmediate exception")}}r.length=0};if(e.runningInNodeJS())n=function(){return setImmediate((function(){return t()}))};else if("object"==typeof window&&"function"==typeof window.addEventListener&&"function"==typeof window.postMessage){var i,o="enqueueImmediate-"+Math.random().toString();window.addEventListener("message",(function(e){e.data===o&&t()})),i=e.runningInNullOrigin()?"*":window.location.href,n=function(){return window.postMessage(o,i)}}else if("function"==typeof MessageChannel&&"function"==typeof MessagePort){var a=new MessageChannel;a.port1.onmessage=function(){return t()},n=function(){return a.port2.postMessage(0)}}else n=function(){return setTimeout((function(){return t()}),0)}},t.initializeScheduler()}(t=e.EventLoop||(e.EventLoop={})),e.enqueueImmediate=function(e){return t.enqueueImmediate(e)}}(i||(i={})),function(e){var t;(t=e.ObjectTools||(e.ObjectTools={})).override=function(e,n){return t.extend(e,n)},t.extend=function(e,t){if(null==e)throw new TypeError("obj is null or undefined");if("object"!=typeof e)throw new TypeError("obj is not an object");if(null==t&&(t={}),"object"!=typeof t)throw new TypeError("newProperties is not an object");if(null!=t)for(var n in t)e[n]=t[n];return e}}(i||(i={})),function(e){e.getRandomIntegerInRange=function(e,t){return e+Math.floor(Math.random()*(t-e))},e.getRandomUTF16StringOfLength=function(t){for(var n="",r=0;r<t;r++){var i=void 0;do{i=e.getRandomIntegerInRange(0,1114112)}while(i>=55296&&i<=57343);n+=e.Encoding.CodePoint.decodeToString(i)}return n}}(i||(i={})),function(e){var t=function(){function e(e){void 0===e&&(e=1024),this.outputBufferCapacity=e,this.outputPosition=0,this.outputString="",this.outputBuffer=new Uint16Array(this.outputBufferCapacity)}return e.prototype.appendCharCode=function(e){this.outputBuffer[this.outputPosition++]=e,this.outputPosition===this.outputBufferCapacity&&this.flushBufferToOutputString()},e.prototype.appendCharCodes=function(e){for(var t=0,n=e.length;t<n;t++)this.appendCharCode(e[t])},e.prototype.appendString=function(e){for(var t=0,n=e.length;t<n;t++)this.appendCharCode(e.charCodeAt(t))},e.prototype.appendCodePoint=function(e){if(e<=65535)this.appendCharCode(e);else{if(!(e<=1114111))throw new Error("appendCodePoint: A code point of ".concat(e," cannot be encoded in UTF-16"));this.appendCharCode(55296+(e-65536>>>10)),this.appendCharCode(56320+(e-65536&1023))}},e.prototype.getOutputString=function(){return this.flushBufferToOutputString(),this.outputString},e.prototype.flushBufferToOutputString=function(){this.outputPosition===this.outputBufferCapacity?this.outputString+=String.fromCharCode.apply(null,this.outputBuffer):this.outputString+=String.fromCharCode.apply(null,this.outputBuffer.subarray(0,this.outputPosition)),this.outputPosition=0},e}();e.StringBuilder=t}(i||(i={})),function(e){var t=function(){function t(){this.restart()}return t.prototype.restart=function(){this.startTime=t.getTimestamp()},t.prototype.getElapsedTime=function(){return t.getTimestamp()-this.startTime},t.prototype.getElapsedTimeAndRestart=function(){var e=this.getElapsedTime();return this.restart(),e},t.prototype.logAndRestart=function(t,n){void 0===n&&(n=!0);var r=this.getElapsedTime(),i="".concat(t,": ").concat(r.toFixed(3),"ms");return e.log(i,n),this.restart(),r},t.getTimestamp=function(){return this.timestampFunc||this.createGlobalTimestampFunction(),this.timestampFunc()},t.getMicrosecondTimestamp=function(){return Math.floor(1e3*t.getTimestamp())},t.createGlobalTimestampFunction=function(){if("object"==typeof process&&"function"==typeof process.hrtime){var e=0;this.timestampFunc=function(){var t=process.hrtime(),n=1e3*t[0]+t[1]/1e6;return e+n},e=Date.now()-this.timestampFunc()}else if("object"==typeof chrome&&chrome.Interval){var t=Date.now(),n=new chrome.Interval;n.start(),this.timestampFunc=function(){return t+n.microseconds()/1e3}}else if("object"==typeof performance&&performance.now){var r=Date.now()-performance.now();this.timestampFunc=function(){return r+performance.now()}}else Date.now?this.timestampFunc=function(){return Date.now()}:this.timestampFunc=function(){return(new Date).getTime()}},t}();e.Timer=t}(i||(i={})),function(e){var t=function(){function t(t){void 0===t&&(t=!0),this.MinimumSequenceLength=4,this.MaximumSequenceLength=31,this.MaximumMatchDistance=32767,this.PrefixHashTableSize=65537,this.inputBufferStreamOffset=1,t&&"function"==typeof Uint32Array?this.prefixHashTable=new e.CompressorCustomHashTable(this.PrefixHashTableSize):this.prefixHashTable=new e.CompressorSimpleHashTable(this.PrefixHashTableSize)}return t.prototype.compressBlock=function(t){if(null==t)throw new TypeError("compressBlock: undefined or null input received");return"string"==typeof t&&(t=e.encodeUTF8(t)),t=e.BufferTools.convertToUint8ArrayIfNeeded(t),this.compressUtf8Block(t)},t.prototype.compressUtf8Block=function(e){if(!e||0==e.length)return new Uint8Array(0);var t=this.cropAndAddNewBytesToInputBuffer(e),n=this.inputBuffer,r=this.inputBuffer.length;this.outputBuffer=new Uint8Array(e.length),this.outputBufferPosition=0;for(var i=0,o=t;o<r;o++){var a=n[o],s=o<i;if(o>r-this.MinimumSequenceLength)s||this.outputRawByte(a);else{var u=this.getBucketIndexForPrefix(o);if(!s){var c=this.findLongestMatch(o,u);null!=c&&(this.outputPointerBytes(c.length,c.distance),i=o+c.length,s=!0)}s||this.outputRawByte(a);var l=this.inputBufferStreamOffset+o;this.prefixHashTable.addValueToBucket(u,l)}}return this.outputBuffer.subarray(0,this.outputBufferPosition)},t.prototype.findLongestMatch=function(e,t){var n=this.prefixHashTable.getArraySegmentForBucketIndex(t,this.reusableArraySegmentObject);if(null==n)return null;for(var r,i=this.inputBuffer,o=0,a=0;a<n.length;a++){var s,u=n.getInReversedOrder(a)-this.inputBufferStreamOffset,c=e-u;if(s=void 0===r?this.MinimumSequenceLength-1:r<128&&c>=128?o+(o>>>1):o,c>this.MaximumMatchDistance||s>=this.MaximumSequenceLength||e+s>=i.length)break;if(i[u+s]===i[e+s])for(var l=0;;l++){if(e+l===i.length||i[u+l]!==i[e+l]){l>s&&(r=c,o=l);break}if(l===this.MaximumSequenceLength)return{distance:c,length:this.MaximumSequenceLength}}}return void 0!==r?{distance:r,length:o}:null},t.prototype.getBucketIndexForPrefix=function(e){return(7880599*this.inputBuffer[e]+39601*this.inputBuffer[e+1]+199*this.inputBuffer[e+2]+this.inputBuffer[e+3])%this.PrefixHashTableSize},t.prototype.outputPointerBytes=function(e,t){t<128?(this.outputRawByte(192|e),this.outputRawByte(t)):(this.outputRawByte(224|e),this.outputRawByte(t>>>8),this.outputRawByte(255&t))},t.prototype.outputRawByte=function(e){this.outputBuffer[this.outputBufferPosition++]=e},t.prototype.cropAndAddNewBytesToInputBuffer=function(t){if(void 0===this.inputBuffer)return this.inputBuffer=t,0;var n=Math.min(this.inputBuffer.length,this.MaximumMatchDistance),r=this.inputBuffer.length-n;return this.inputBuffer=e.CompressionCommon.getCroppedAndAppendedByteArray(this.inputBuffer,r,n,t),this.inputBufferStreamOffset+=r,n},t}();e.Compressor=t}(i||(i={})),function(e){var t=function(){function t(e){this.minimumBucketCapacity=4,this.maximumBucketCapacity=64,this.bucketLocators=new Uint32Array(2*e),this.storage=new Uint32Array(2*e),this.storageIndex=1}return t.prototype.addValueToBucket=function(t,n){t<<=1,this.storageIndex>=this.storage.length>>>1&&this.compact();var r,i=this.bucketLocators[t];if(0===i)i=this.storageIndex,r=1,this.storage[this.storageIndex]=n,this.storageIndex+=this.minimumBucketCapacity;else{(r=this.bucketLocators[t+1])===this.maximumBucketCapacity-1&&(r=this.truncateBucketToNewerElements(i,r,this.maximumBucketCapacity/2));var o=i+r;0===this.storage[o]?(this.storage[o]=n,o===this.storageIndex&&(this.storageIndex+=r)):(e.ArrayTools.copyElements(this.storage,i,this.storage,this.storageIndex,r),i=this.storageIndex,this.storageIndex+=r,this.storage[this.storageIndex++]=n,this.storageIndex+=r),r++}this.bucketLocators[t]=i,this.bucketLocators[t+1]=r},t.prototype.truncateBucketToNewerElements=function(t,n,r){var i=t+n-r;return e.ArrayTools.copyElements(this.storage,i,this.storage,t,r),e.ArrayTools.zeroElements(this.storage,t+r,n-r),r},t.prototype.compact=function(){var t=this.bucketLocators,n=this.storage;this.bucketLocators=new Uint32Array(this.bucketLocators.length),this.storageIndex=1;for(var r=0;r<t.length;r+=2){var i=t[r+1];0!==i&&(this.bucketLocators[r]=this.storageIndex,this.bucketLocators[r+1]=i,this.storageIndex+=Math.max(Math.min(2*i,this.maximumBucketCapacity),this.minimumBucketCapacity))}for(this.storage=new Uint32Array(8*this.storageIndex),r=0;r<t.length;r+=2){var o=t[r];if(0!==o){var a=this.bucketLocators[r],s=this.bucketLocators[r+1];e.ArrayTools.copyElements(n,o,this.storage,a,s)}}},t.prototype.getArraySegmentForBucketIndex=function(t,n){t<<=1;var r=this.bucketLocators[t];return 0===r?null:(void 0===n&&(n=new e.ArraySegment(this.storage,r,this.bucketLocators[t+1])),n)},t.prototype.getUsedBucketCount=function(){return Math.floor(e.ArrayTools.countNonzeroValuesInArray(this.bucketLocators)/2)},t.prototype.getTotalElementCount=function(){for(var e=0,t=0;t<this.bucketLocators.length;t+=2)e+=this.bucketLocators[t+1];return e},t}();e.CompressorCustomHashTable=t}(i||(i={})),function(e){var t=function(){function t(e){this.maximumBucketCapacity=64,this.buckets=new Array(e)}return t.prototype.addValueToBucket=function(t,n){var r=this.buckets[t];void 0===r?this.buckets[t]=[n]:(r.length===this.maximumBucketCapacity-1&&e.ArrayTools.truncateStartingElements(r,this.maximumBucketCapacity/2),r.push(n))},t.prototype.getArraySegmentForBucketIndex=function(t,n){var r=this.buckets[t];return void 0===r?null:(void 0===n&&(n=new e.ArraySegment(r,0,r.length)),n)},t.prototype.getUsedBucketCount=function(){return e.ArrayTools.countNonzeroValuesInArray(this.buckets)},t.prototype.getTotalElementCount=function(){for(var e=0,t=0;t<this.buckets.length;t++)void 0!==this.buckets[t]&&(e+=this.buckets[t].length);return e},t}();e.CompressorSimpleHashTable=t}(i||(i={})),function(e){var t=function(){function t(){this.MaximumMatchDistance=32767,this.outputPosition=0}return t.prototype.decompressBlockToString=function(t){return t=e.BufferTools.convertToUint8ArrayIfNeeded(t),e.decodeUTF8(this.decompressBlock(t))},t.prototype.decompressBlock=function(t){this.inputBufferRemainder&&(t=e.ArrayTools.concatUint8Arrays([this.inputBufferRemainder,t]),this.inputBufferRemainder=void 0);for(var n=this.cropOutputBufferToWindowAndInitialize(Math.max(4*t.length,1024)),r=0,i=t.length;r<i;r++){var o=t[r];if(o>>>6==3){var a=o>>>5;if(r==i-1||r==i-2&&7==a){this.inputBufferRemainder=t.subarray(r);break}if(t[r+1]>>>7==1)this.outputByte(o);else{var s=31&o,u=void 0;6==a?(u=t[r+1],r+=1):(u=t[r+1]<<8|t[r+2],r+=2);for(var c=this.outputPosition-u,l=0;l<s;l++)this.outputByte(this.outputBuffer[c+l])}}else this.outputByte(o)}return this.rollBackIfOutputBufferEndsWithATruncatedMultibyteSequence(),e.CompressionCommon.getCroppedBuffer(this.outputBuffer,n,this.outputPosition-n)},t.prototype.outputByte=function(t){this.outputPosition===this.outputBuffer.length&&(this.outputBuffer=e.ArrayTools.doubleByteArrayCapacity(this.outputBuffer)),this.outputBuffer[this.outputPosition++]=t},t.prototype.cropOutputBufferToWindowAndInitialize=function(t){if(!this.outputBuffer)return this.outputBuffer=new Uint8Array(t),0;var n=Math.min(this.outputPosition,this.MaximumMatchDistance);if(this.outputBuffer=e.CompressionCommon.getCroppedBuffer(this.outputBuffer,this.outputPosition-n,n,t),this.outputPosition=n,this.outputBufferRemainder){for(var r=0;r<this.outputBufferRemainder.length;r++)this.outputByte(this.outputBufferRemainder[r]);this.outputBufferRemainder=void 0}return n},t.prototype.rollBackIfOutputBufferEndsWithATruncatedMultibyteSequence=function(){for(var e=1;e<=4&&this.outputPosition-e>=0;e++){var t=this.outputBuffer[this.outputPosition-e];if(e<4&&t>>>3==30||e<3&&t>>>4==14||e<2&&t>>>5==6)return this.outputBufferRemainder=this.outputBuffer.subarray(this.outputPosition-e,this.outputPosition),void(this.outputPosition-=e)}},t}();e.Decompressor=t}(i||(i={})),function(e){var t,n,r,i;t=e.Encoding||(e.Encoding={}),n=t.Base64||(t.Base64={}),r=new Uint8Array([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47]),i=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,255,255,255,255]),n.encode=function(t){return t&&0!=t.length?e.runningInNodeJS()?e.BufferTools.uint8ArrayToBuffer(t).toString("base64"):n.encodeWithJS(t):""},n.decode=function(t){return t?e.runningInNodeJS()?e.BufferTools.bufferToUint8Array(Buffer.from(t,"base64")):n.decodeWithJS(t):new Uint8Array(0)},n.encodeWithJS=function(t,n){if(void 0===n&&(n=!0),!t||0==t.length)return"";for(var i,o=r,a=new e.StringBuilder,s=0,u=t.length;s<u;s+=3)s<=u-3?(i=t[s]<<16|t[s+1]<<8|t[s+2],a.appendCharCode(o[i>>>18&63]),a.appendCharCode(o[i>>>12&63]),a.appendCharCode(o[i>>>6&63]),a.appendCharCode(o[63&i]),i=0):s===u-2?(i=t[s]<<16|t[s+1]<<8,a.appendCharCode(o[i>>>18&63]),a.appendCharCode(o[i>>>12&63]),a.appendCharCode(o[i>>>6&63]),n&&a.appendCharCode(61)):s===u-1&&(i=t[s]<<16,a.appendCharCode(o[i>>>18&63]),a.appendCharCode(o[i>>>12&63]),n&&(a.appendCharCode(61),a.appendCharCode(61)));return a.getOutputString()},n.decodeWithJS=function(e,t){if(!e||0==e.length)return new Uint8Array(0);var n=e.length%4;if(1===n)throw new Error("Invalid Base64 string: length % 4 == 1");2===n?e+="==":3===n&&(e+="="),t||(t=new Uint8Array(e.length));for(var r=0,o=e.length,a=0;a<o;a+=4){var s=i[e.charCodeAt(a)]<<18|i[e.charCodeAt(a+1)]<<12|i[e.charCodeAt(a+2)]<<6|i[e.charCodeAt(a+3)];t[r++]=s>>>16&255,t[r++]=s>>>8&255,t[r++]=255&s}return 61==e.charCodeAt(o-1)&&r--,61==e.charCodeAt(o-2)&&r--,t.subarray(0,r)}}(i||(i={})),function(e){var t,n;t=e.Encoding||(e.Encoding={}),(n=t.BinaryString||(t.BinaryString={})).encode=function(t){if(null==t)throw new TypeError("BinaryString.encode: undefined or null input received");if(0===t.length)return"";for(var n=t.length,r=new e.StringBuilder,i=0,o=1,a=0;a<n;a+=2){var s;s=a==n-1?t[a]<<8:t[a]<<8|t[a+1],r.appendCharCode(i<<16-o|s>>>o),i=s&(1<<o)-1,15===o?(r.appendCharCode(i),i=0,o=1):o+=1,a>=n-2&&r.appendCharCode(i<<16-o)}return r.appendCharCode(32768|n%2),r.getOutputString()},n.decode=function(e){if("string"!=typeof e)throw new TypeError("BinaryString.decode: invalid input type");if(""==e)return new Uint8Array(0);for(var t=new Uint8Array(3*e.length),n=0,r=function(e){t[n++]=e>>>8,t[n++]=255&e},i=0,o=0,a=0;a<e.length;a++){var s=e.charCodeAt(a);s>=32768?(32769==s&&n--,o=0):(0==o?i=s:(r(i<<o|s>>>15-o),i=s&(1<<15-o)-1),15==o?o=0:o+=1)}return t.subarray(0,n)}}(i||(i={})),function(e){var t,n;t=e.Encoding||(e.Encoding={}),(n=t.CodePoint||(t.CodePoint={})).encodeFromString=function(e,t){var n=e.charCodeAt(t);if(n<55296||n>56319)return n;var r=e.charCodeAt(t+1);if(r>=56320&&r<=57343)return r-56320+(n-55296<<10)+65536;throw new Error("getUnicodeCodePoint: Received a lead surrogate character, char code ".concat(n,", followed by ").concat(r,", which is not a trailing surrogate character code."))},n.decodeToString=function(e){if(e<=65535)return String.fromCharCode(e);if(e<=1114111)return String.fromCharCode(55296+(e-65536>>>10),56320+(e-65536&1023));throw new Error("getStringFromUnicodeCodePoint: A code point of ".concat(e," cannot be encoded in UTF-16"))}}(i||(i={})),function(e){var t,n,r;t=e.Encoding||(e.Encoding={}),n=t.DecimalString||(t.DecimalString={}),r=["000","001","002","003","004","005","006","007","008","009","010","011","012","013","014","015","016","017","018","019","020","021","022","023","024","025","026","027","028","029","030","031","032","033","034","035","036","037","038","039","040","041","042","043","044","045","046","047","048","049","050","051","052","053","054","055","056","057","058","059","060","061","062","063","064","065","066","067","068","069","070","071","072","073","074","075","076","077","078","079","080","081","082","083","084","085","086","087","088","089","090","091","092","093","094","095","096","097","098","099","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","188","189","190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205","206","207","208","209","210","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230","231","232","233","234","235","236","237","238","239","240","241","242","243","244","245","246","247","248","249","250","251","252","253","254","255"],n.encode=function(e){for(var t=[],n=0;n<e.length;n++)t.push(r[e[n]]);return t.join(" ")}}(i||(i={})),function(e){var t,n;t=e.Encoding||(e.Encoding={}),(n=t.StorageBinaryString||(t.StorageBinaryString={})).encode=function(e){return t.BinaryString.encode(e).replace(/\0/g,"耂")},n.decode=function(e){return t.BinaryString.decode(e.replace(/\u8002/g,"\0"))}}(i||(i={})),function(e){var t,n,r,i;t=e.Encoding||(e.Encoding={}),(n=t.UTF8||(t.UTF8={})).encode=function(t){return t&&0!=t.length?e.runningInNodeJS()?e.BufferTools.bufferToUint8Array(Buffer.from(t,"utf8")):n.createNativeTextEncoderAndDecoderIfAvailable()?r.encode(t):n.encodeWithJS(t):new Uint8Array(0)},n.decode=function(t){return t&&0!=t.length?e.runningInNodeJS()?e.BufferTools.uint8ArrayToBuffer(t).toString("utf8"):n.createNativeTextEncoderAndDecoderIfAvailable()?i.decode(t):n.decodeWithJS(t):""},n.encodeWithJS=function(e,n){if(!e||0==e.length)return new Uint8Array(0);n||(n=new Uint8Array(4*e.length));for(var r=0,i=0;i<e.length;i++){var o=t.CodePoint.encodeFromString(e,i);if(o<=127)n[r++]=o;else if(o<=2047)n[r++]=192|o>>>6,n[r++]=128|63&o;else if(o<=65535)n[r++]=224|o>>>12,n[r++]=128|o>>>6&63,n[r++]=128|63&o;else{if(!(o<=1114111))throw new Error("Invalid UTF-16 string: Encountered a character unsupported by UTF-8/16 (RFC 3629)");n[r++]=240|o>>>18,n[r++]=128|o>>>12&63,n[r++]=128|o>>>6&63,n[r++]=128|63&o,i++}}return n.subarray(0,r)},n.decodeWithJS=function(t,n,r){if(void 0===n&&(n=0),!t||0==t.length)return"";void 0===r&&(r=t.length);for(var i,o,a=new e.StringBuilder,s=n,u=r;s<u;){if((o=t[s])>>>7==0)i=o,s+=1;else if(o>>>5==6){if(s+1>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(31&o)<<6|63&t[s+1],s+=2}else if(o>>>4==14){if(s+2>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(15&o)<<12|(63&t[s+1])<<6|63&t[s+2],s+=3}else{if(o>>>3!=30)throw new Error("Invalid UTF-8 stream: An invalid lead byte value encountered at position "+s);if(s+3>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(7&o)<<18|(63&t[s+1])<<12|(63&t[s+2])<<6|63&t[s+3],s+=4}a.appendCodePoint(i)}return a.getOutputString()},n.createNativeTextEncoderAndDecoderIfAvailable=function(){return!!r||"function"==typeof TextEncoder&&(r=new TextEncoder("utf-8"),i=new TextDecoder("utf-8"),!0)}}(i||(i={})),function(e){e.compress=function(t,n){if(void 0===n&&(n={}),null==t)throw new TypeError("compress: undefined or null input received");var r=e.CompressionCommon.detectCompressionSourceEncoding(t);n=e.ObjectTools.override({inputEncoding:r,outputEncoding:"ByteArray"},n);var i=(new e.Compressor).compressBlock(t);return e.CompressionCommon.encodeCompressedBytes(i,n.outputEncoding)},e.decompress=function(t,n){if(void 0===n&&(n={}),null==t)throw new TypeError("decompress: undefined or null input received");n=e.ObjectTools.override({inputEncoding:"ByteArray",outputEncoding:"String"},n);var r=e.CompressionCommon.decodeCompressedBytes(t,n.inputEncoding),i=(new e.Decompressor).decompressBlock(r);return e.CompressionCommon.encodeDecompressedBytes(i,n.outputEncoding)},e.compressAsync=function(t,n,r){var i;null==r&&(r=function(){});try{i=e.CompressionCommon.detectCompressionSourceEncoding(t)}catch(e){return void r(void 0,e)}n=e.ObjectTools.override({inputEncoding:i,outputEncoding:"ByteArray",useWebWorker:!0,blockSize:65536},n),e.enqueueImmediate((function(){n.useWebWorker&&e.WebWorker.createGlobalWorkerIfNeeded()?e.WebWorker.compressAsync(t,n,r):e.AsyncCompressor.compressAsync(t,n,r)}))},e.decompressAsync=function(t,n,r){if(null==r&&(r=function(){}),null!=t){n=e.ObjectTools.override({inputEncoding:"ByteArray",outputEncoding:"String",useWebWorker:!0,blockSize:65536},n);var i=e.BufferTools.convertToUint8ArrayIfNeeded(t);e.EventLoop.enqueueImmediate((function(){n.useWebWorker&&e.WebWorker.createGlobalWorkerIfNeeded()?e.WebWorker.decompressAsync(i,n,r):e.AsyncDecompressor.decompressAsync(t,n,r)}))}else r(void 0,new TypeError("decompressAsync: undefined or null input received"))},e.createCompressionStream=function(){return e.AsyncCompressor.createCompressionStream()},e.createDecompressionStream=function(){return e.AsyncDecompressor.createDecompressionStream()},e.encodeUTF8=function(t){return e.Encoding.UTF8.encode(t)},e.decodeUTF8=function(t){return e.Encoding.UTF8.decode(t)},e.encodeBase64=function(t){return e.Encoding.Base64.encode(t)},e.decodeBase64=function(t){return e.Encoding.Base64.decode(t)},e.encodeBinaryString=function(t){return e.Encoding.BinaryString.encode(t)},e.decodeBinaryString=function(t){return e.Encoding.BinaryString.decode(t)},e.encodeStorageBinaryString=function(t){return e.Encoding.StorageBinaryString.encode(t)},e.decodeStorageBinaryString=function(t){return e.Encoding.StorageBinaryString.decode(t)}}(i||(i={}))},4072:(e,t,n)=>{"use strict";const{AbortError:r,codes:i}=n(3573),{isNodeStream:o,isWebStream:a,kControllerErrorFunction:s}=n(1222),u=n(439),{ERR_INVALID_ARG_TYPE:c}=i;e.exports.addAbortSignal=function(t,n){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c("signal","AbortSignal",e)})(t),!o(n)&&!a(n))throw new c("stream",["ReadableStream","WritableStream","Stream"],n);return e.exports.addAbortSignalNoValidate(t,n)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const n=o(t)?()=>{t.destroy(new r(void 0,{cause:e.reason}))}:()=>{t[s](new r(void 0,{cause:e.reason}))};return e.aborted?n():(e.addEventListener("abort",n),u(t,(()=>e.removeEventListener("abort",n)))),t}},6173:(e,t,n)=>{"use strict";const{StringPrototypeSlice:r,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=n(5329),{Buffer:s}=n(8764),{inspect:u}=n(2344);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,n=""+t.data;for(;null!==(t=t.next);)n+=e+t.data;return n}concat(e){if(0===this.length)return s.alloc(0);const t=s.allocUnsafe(e>>>0);let n=this.head,r=0;for(;n;)o(t,n.data,r),r+=n.data.length,n=n.next;return t}consume(e,t){const n=this.head.data;if(e<n.length){const t=n.slice(0,e);return this.head.data=n.slice(e),t}return e===n.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",n=this.head,i=0;do{const o=n.data;if(!(e>o.length)){e===o.length?(t+=o,++i,n.next?this.head=n.next:this.head=this.tail=null):(t+=r(o,0,e),this.head=n,n.data=r(o,e));break}t+=o,e-=o.length,++i}while(null!==(n=n.next));return this.length-=i,t}_getBuffer(e){const t=s.allocUnsafe(e),n=e;let r=this.head,i=0;do{const s=r.data;if(!(e>s.length)){e===s.length?(o(t,s,n-e),++i,r.next?this.head=r.next:this.head=this.tail=null):(o(t,new a(s.buffer,s.byteOffset,e),n-e),this.head=r,r.data=s.slice(e));break}o(t,s,n-e),e-=s.length,++i}while(null!==(r=r.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}},3067:(e,t,n)=>{"use strict";const{pipeline:r}=n(5324),i=n(993),{destroyer:o}=n(7587),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:c,isTransformStream:l,isWritableStream:f,isReadableStream:d}=n(1222),{AbortError:p,codes:{ERR_INVALID_ARG_VALUE:h,ERR_MISSING_ARGS:y}}=n(3573),g=n(439);e.exports=function(...e){if(0===e.length)throw new y("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let n=0;n<e.length;++n)if(a(e[n])||c(e[n])){if(n<e.length-1&&!(s(e[n])||d(e[n])||l(e[n])))throw new h(`streams[${n}]`,t[n],"must be readable");if(n>0&&!(u(e[n])||f(e[n])||l(e[n])))throw new h(`streams[${n}]`,t[n],"must be writable")}let n,v,m,b,E;const w=e[0],_=r(e,(function(e){const t=b;b=null,t?t(e):e?E.destroy(e):I||T||E.destroy()})),T=!!(u(w)||f(w)||l(w)),I=!!(s(_)||d(_)||l(_));if(E=new i({writableObjectMode:!(null==w||!w.writableObjectMode),readableObjectMode:!(null==_||!_.writableObjectMode),writable:T,readable:I}),T){if(a(w))E._write=function(e,t,r){w.write(e,t)?r():n=r},E._final=function(e){w.end(),v=e},w.on("drain",(function(){if(n){const e=n;n=null,e()}}));else if(c(w)){const e=(l(w)?w.writable:w).getWriter();E._write=async function(t,n,r){try{await e.ready,e.write(t).catch((()=>{})),r()}catch(e){r(e)}},E._final=async function(t){try{await e.ready,e.close().catch((()=>{})),v=t}catch(e){t(e)}}}const e=l(_)?_.readable:_;g(e,(()=>{if(v){const e=v;v=null,e()}}))}if(I)if(a(_))_.on("readable",(function(){if(m){const e=m;m=null,e()}})),_.on("end",(function(){E.push(null)})),E._read=function(){for(;;){const e=_.read();if(null===e)return void(m=E._read);if(!E.push(e))return}};else if(c(_)){const e=(l(_)?_.readable:_).getReader();E._read=async function(){for(;;)try{const{value:t,done:n}=await e.read();if(!E.push(t))return;if(n)return void E.push(null)}catch{return}}}return E._destroy=function(e,t){e||null===b||(e=new p),m=null,n=null,v=null,null===b?t(e):(b=t,a(_)&&o(_,e))},E}},7587:(e,t,n)=>{"use strict";const r=n(4155),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=n(3573),{Symbol:s}=n(5329),{kDestroyed:u,isDestroyed:c,isFinished:l,isServerRequest:f}=n(1222),d=s("kDestroy"),p=s("kConstruct");function h(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function y(e,t,n){let i=!1;function o(t){if(i)return;i=!0;const o=e._readableState,a=e._writableState;h(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof n&&n(t),t?r.nextTick(g,e,t):r.nextTick(v,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function g(e,t){m(e,t),v(e)}function v(e){const t=e._readableState,n=e._writableState;n&&(n.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=n&&n.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function m(e,t){const n=e._readableState,r=e._writableState;null!=r&&r.errorEmitted||null!=n&&n.errorEmitted||(r&&(r.errorEmitted=!0),n&&(n.errorEmitted=!0),e.emit("error",t))}function b(e,t,n){const i=e._readableState,o=e._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),n?r.nextTick(m,e,t):m(e,t))}function E(e){let t=!1;function n(n){if(t)return void b(e,null!=n?n:new o);t=!0;const i=e._readableState,a=e._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?e.emit(d,n):n?b(e,n,!0):r.nextTick(w,e)}try{e._construct((e=>{r.nextTick(n,e)}))}catch(e){r.nextTick(n,e)}}function w(e){e.emit(p)}function _(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function T(e){e.emit("close")}function I(e,t){e.emit("error",t),r.nextTick(T,e)}e.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const n=e._readableState,i=e._writableState;n&&(n.constructed=!1),i&&(i.constructed=!1),e.once(p,t),e.listenerCount(p)>1||r.nextTick(E,e)},destroyer:function(e,t){e&&!c(e)&&(t||l(e)||(t=new a),f(e)?(e.socket=null,e.destroy(t)):_(e)?e.abort():_(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?r.nextTick(I,e,t):r.nextTick(T,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const n=this._readableState,r=this._writableState,o=r||n;return null!=r&&r.destroyed||null!=n&&n.destroyed?("function"==typeof t&&t(),this):(h(e,r,n),r&&(r.destroyed=!0),n&&(n.destroyed=!0),o.constructed?y(this,e,t):this.once(d,(function(n){y(this,i(n,e),t)})),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:b}},993:(e,t,n)=>{"use strict";const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=n(5329);e.exports=c;const s=n(648),u=n(7810);a(c.prototype,s.prototype),a(c,s);{const e=o(u.prototype);for(let t=0;t<e.length;t++){const n=e[t];c.prototype[n]||(c.prototype[n]=u.prototype[n])}}function c(e){if(!(this instanceof c))return new c(e);s.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let l,f;function d(){return void 0===l&&(l={}),l}r(c.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),c.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},c.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},c.from=function(e){return f||(f=n(1752)),f(e,"body")}},1752:(e,t,n)=>{const r=n(4155),i=n(8764),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:c,isWritableNodeStream:l,isDuplexNodeStream:f}=n(1222),d=n(439),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:y}}=n(3573),{destroyer:g}=n(7587),v=n(993),m=n(648),{createDeferredPromise:b}=n(2344),E=n(4795),w=globalThis.Blob||i.Blob,_=void 0!==w?function(e){return e instanceof w}:function(e){return!1},T=globalThis.AbortController||n(8599).AbortController,{FunctionPrototypeCall:I}=n(5329);class S extends v{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function N(e){const t=e.readable&&"function"!=typeof e.readable.read?m.wrap(e.readable):e.readable,n=e.writable;let r,i,s,u,c,l=!!o(t),f=!!a(n);function h(e){const t=u;u=null,t?t(e):e&&c.destroy(e)}return c=new S({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==n||!n.writableObjectMode),readable:l,writable:f}),f&&(d(n,(e=>{f=!1,e&&g(t,e),h(e)})),c._write=function(e,t,i){n.write(e,t)?i():r=i},c._final=function(e){n.end(),i=e},n.on("drain",(function(){if(r){const e=r;r=null,e()}})),n.on("finish",(function(){if(i){const e=i;i=null,e()}}))),l&&(d(t,(e=>{l=!1,e&&g(t,e),h(e)})),t.on("readable",(function(){if(s){const e=s;s=null,e()}})),t.on("end",(function(){c.push(null)})),c._read=function(){for(;;){const e=t.read();if(null===e)return void(s=c._read);if(!c.push(e))return}}),c._destroy=function(e,o){e||null===u||(e=new p),s=null,r=null,i=null,null===u?o(e):(u=o,g(n,e),g(t,e))},c}e.exports=function e(t,n){if(f(t))return t;if(c(t))return N({readable:t});if(l(t))return N({writable:t});if(u(t))return N({writable:!1,readable:!1});if("function"==typeof t){const{value:e,write:i,final:o,destroy:a}=function(e){let{promise:t,resolve:n}=b();const i=new T,o=i.signal;return{value:e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:a,cb:s}=await e;if(r.nextTick(s),a)return;if(o.aborted)throw new p(void 0,{cause:o.reason});({promise:t,resolve:n}=b()),yield i}}(),{signal:o}),write(e,t,r){const i=n;n=null,i({chunk:e,done:!1,cb:r})},final(e){const t=n;n=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(s(e))return E(S,e,{objectMode:!0,write:i,final:o,destroy:a});const u=null==e?void 0:e.then;if("function"==typeof u){let t;const n=I(u,e,(e=>{if(null!=e)throw new y("nully","body",e)}),(e=>{g(t,e)}));return t=new S({objectMode:!0,readable:!1,write:i,final(e){o((async()=>{try{await n,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}}))},destroy:a})}throw new y("Iterable, AsyncIterable or AsyncFunction",n,e)}if(_(t))return e(t.arrayBuffer());if(s(t))return E(S,t,{objectMode:!0,writable:!1});if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable))return N({readable:null!=t&&t.readable?c(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?l(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0});const i=null==t?void 0:t.then;if("function"==typeof i){let e;return I(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{g(e,t)})),e=new S({objectMode:!0,writable:!1,read(){}})}throw new h(n,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},439:(e,t,n)=>{const r=n(4155),{AbortError:i,codes:o}=n(3573),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:c}=n(2344),{validateAbortSignal:l,validateFunction:f,validateObject:d,validateBoolean:p}=n(5932),{Promise:h,PromisePrototypeThen:y}=n(5329),{isClosed:g,isReadable:v,isReadableNodeStream:m,isReadableStream:b,isReadableFinished:E,isReadableErrored:w,isWritable:_,isWritableNodeStream:T,isWritableStream:I,isWritableFinished:S,isWritableErrored:N,isNodeStream:A,willEmitClose:O,kIsClosedPromise:R}=n(1222),D=()=>{};function x(e,t,n){var o,p;if(2===arguments.length?(n=t,t=u):null==t?t=u:d(t,"options"),f(n,"callback"),l(t.signal,"options.signal"),n=c(n),b(e)||I(e))return function(e,t,n){let o=!1,a=D;if(t.signal)if(a=()=>{o=!0,n.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)r.nextTick(a);else{const r=n;n=c(((...n)=>{t.signal.removeEventListener("abort",a),r.apply(e,n)})),t.signal.addEventListener("abort",a)}const s=(...t)=>{o||r.nextTick((()=>n.apply(e,t)))};return y(e[R].promise,s,s),D}(e,t,n);if(!A(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);const h=null!==(o=t.readable)&&void 0!==o?o:m(e),x=null!==(p=t.writable)&&void 0!==p?p:T(e),k=e._writableState,L=e._readableState,C=()=>{e.writable||P()};let B=O(e)&&m(e)===h&&T(e)===x,j=S(e,!1);const P=()=>{j=!0,e.destroyed&&(B=!1),(!B||e.readable&&!h)&&(h&&!F||n.call(e))};let F=E(e,!1);const U=()=>{F=!0,e.destroyed&&(B=!1),(!B||e.writable&&!x)&&(x&&!j||n.call(e))},M=t=>{n.call(e,t)};let V=g(e);const q=()=>{V=!0;const t=N(e)||w(e);return t&&"boolean"!=typeof t?n.call(e,t):h&&!F&&m(e,!0)&&!E(e,!1)?n.call(e,new s):!x||j||S(e,!1)?void n.call(e):n.call(e,new s)},G=()=>{V=!0;const t=N(e)||w(e);if(t&&"boolean"!=typeof t)return n.call(e,t);n.call(e)},$=()=>{e.req.on("finish",P)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?x&&!k&&(e.on("end",C),e.on("close",C)):(e.on("complete",P),B||e.on("abort",q),e.req?$():e.on("request",$)),B||"boolean"!=typeof e.aborted||e.on("aborted",q),e.on("end",U),e.on("finish",P),!1!==t.error&&e.on("error",M),e.on("close",q),V?r.nextTick(q):null!=k&&k.errorEmitted||null!=L&&L.errorEmitted?B||r.nextTick(G):(h||B&&!v(e)||!j&&!1!==_(e))&&(x||B&&!_(e)||!F&&!1!==v(e))?L&&e.req&&e.aborted&&r.nextTick(G):r.nextTick(G);const W=()=>{n=D,e.removeListener("aborted",q),e.removeListener("complete",P),e.removeListener("abort",q),e.removeListener("request",$),e.req&&e.req.removeListener("finish",P),e.removeListener("end",C),e.removeListener("close",C),e.removeListener("finish",P),e.removeListener("end",U),e.removeListener("error",M),e.removeListener("close",q)};if(t.signal&&!V){const o=()=>{const r=n;W(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)r.nextTick(o);else{const r=n;n=c(((...n)=>{t.signal.removeEventListener("abort",o),r.apply(e,n)})),t.signal.addEventListener("abort",o)}}return W}e.exports=x,e.exports.finished=function(e,t){var n;let r=!1;return null===t&&(t=u),null!==(n=t)&&void 0!==n&&n.cleanup&&(p(t.cleanup,"cleanup"),r=t.cleanup),new h(((n,i)=>{const o=x(e,t,(e=>{r&&o(),e?i(e):n()}))}))}},4795:(e,t,n)=>{"use strict";const r=n(4155),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=n(5329),{Buffer:s}=n(8764),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:c}=n(3573).codes;e.exports=function(e,t,n){let l,f;if("string"==typeof t||t instanceof s)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});if(t&&t[o])f=!0,l=t[o]();else{if(!t||!t[a])throw new u("iterable",["Iterable"],t);f=!1,l=t[a]()}const d=new e({objectMode:!0,highWaterMark:1,...n});let p=!1;return d._read=function(){p||(p=!0,async function(){for(;;){try{const{value:e,done:t}=f?await l.next():l.next();if(t)d.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw p=!1,new c;if(d.push(t))continue;p=!1}}catch(e){d.destroy(e)}break}}())},d._destroy=function(e,t){i(async function(e){const t=null!=e,n="function"==typeof l.throw;if(t&&n){const{value:t,done:n}=await l.throw(e);if(await t,n)return}if("function"==typeof l.return){const{value:e}=await l.return();await e}}(e),(()=>r.nextTick(t,e)),(n=>r.nextTick(t,n||e)))},d}},1906:(e,t,n)=>{"use strict";const{ArrayIsArray:r,ObjectSetPrototypeOf:i}=n(5329),{EventEmitter:o}=n(7187);function a(e){o.call(this,e)}function s(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(e,t){const n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",u),n.on("close",c));let a=!1;function u(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){f(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function f(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",u),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",f),n.removeListener("close",f),e.removeListener("close",f)}return s(n,"error",l),s(e,"error",l),n.on("end",f),n.on("close",f),e.on("close",f),e.emit("pipe",n),e},e.exports={Stream:a,prependListener:s}},7434:(e,t,n)=>{"use strict";const r=globalThis.AbortController||n(8599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=n(3573),{validateAbortSignal:c,validateInteger:l,validateObject:f}=n(5932),d=n(5329).Symbol("kWeak"),{finished:p}=n(439),h=n(3067),{addAbortSignalNoValidate:y}=n(4072),{isWritable:g,isNodeStream:v}=n(1222),{ArrayPrototypePush:m,MathFloor:b,Number:E,NumberIsNaN:w,Promise:_,PromiseReject:T,PromisePrototypeThen:I,Symbol:S}=n(5329),N=S("kEmpty"),A=S("kEof");function O(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&c(t.signal,"options.signal");let n=1;return null!=(null==t?void 0:t.concurrency)&&(n=b(t.concurrency)),l(n,"concurrency",1),async function*(){var i,o;const a=new r,s=this,c=[],l=a.signal,f={signal:l},d=()=>a.abort();let p,h;null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted&&d(),null==t||null===(o=t.signal)||void 0===o||o.addEventListener("abort",d);let y=!1;function g(){y=!0}!async function(){try{for await(let t of s){var r;if(y)return;if(l.aborted)throw new u;try{t=e(t,f)}catch(e){t=T(e)}t!==N&&("function"==typeof(null===(r=t)||void 0===r?void 0:r.catch)&&t.catch(g),c.push(t),p&&(p(),p=null),!y&&c.length&&c.length>=n&&await new _((e=>{h=e})))}c.push(A)}catch(e){const t=T(e);I(t,void 0,g),c.push(t)}finally{var i;y=!0,p&&(p(),p=null),null==t||null===(i=t.signal)||void 0===i||i.removeEventListener("abort",d)}}();try{for(;;){for(;c.length>0;){const e=await c[0];if(e===A)return;if(l.aborted)throw new u;e!==N&&(yield e),c.shift(),h&&(h(),h=null)}await new _((e=>{p=e}))}}finally{a.abort(),y=!0,h&&(h(),h=null)}}.call(this)}async function R(e,t=void 0){for await(const n of D.call(this,e,t))return!0;return!1}function D(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return O.call(this,(async function(t,n){return await e(t,n)?t:N}),t)}class x extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function k(e){if(e=E(e),w(e))return 0;if(e<0)throw new s("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:function(e=void 0){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&c(e.signal,"options.signal"),async function*(){let t=0;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u({cause:e.signal.reason});yield[t++,r]}}.call(this)},drop:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&c(t.signal,"options.signal"),e=k(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;e--<=0&&(yield n)}}.call(this)},filter:D,flatMap:function(e,t){const n=O.call(this,e,t);return async function*(){for await(const e of n)yield*e}.call(this)},map:O,take:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&c(t.signal,"options.signal"),e=k(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;if(!(e-- >0))return;yield n}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&c(t.signal,"options.signal"),v(e)&&!g(e))throw new i("stream",e,"must be writable");const n=h(this,e);return null!=t&&t.signal&&y(t.signal,n),n}},e.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await R.call(this,(async(...t)=>!await e(...t)),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const n of O.call(this,(async function(t,n){return await e(t,n),N}),t));},reduce:async function(e,t,n){var i;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=n&&f(n,"options"),null!=(null==n?void 0:n.signal)&&c(n.signal,"options.signal");let a=arguments.length>1;if(null!=n&&null!==(i=n.signal)&&void 0!==i&&i.aborted){const e=new u(void 0,{cause:n.signal.reason});throw this.once("error",(()=>{})),await p(this.destroy(e)),e}const s=new r,l=s.signal;if(null!=n&&n.signal){const e={once:!0,[d]:this};n.signal.addEventListener("abort",(()=>s.abort()),e)}let h=!1;try{for await(const r of this){var y;if(h=!0,null!=n&&null!==(y=n.signal)&&void 0!==y&&y.aborted)throw new u;a?t=await e(t,r,{signal:l}):(t=r,a=!0)}if(!h&&!a)throw new x}finally{s.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&c(e.signal,"options.signal");const t=[];for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u(void 0,{cause:e.signal.reason});m(t,r)}return t},some:R,find:async function(e,t){for await(const n of D.call(this,e,t))return n}}},5718:(e,t,n)=>{"use strict";const{ObjectSetPrototypeOf:r}=n(5329);e.exports=o;const i=n(2431);function o(e){if(!(this instanceof o))return new o(e);i.call(this,e)}r(o.prototype,i.prototype),r(o,i),o.prototype._transform=function(e,t,n){n(null,e)}},5324:(e,t,n)=>{const r=n(4155),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a}=n(5329),s=n(439),{once:u}=n(2344),c=n(7587),l=n(993),{aggregateTwoErrors:f,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:v}=n(3573),{validateFunction:m,validateAbortSignal:b}=n(5932),{isIterable:E,isReadable:w,isReadableNodeStream:_,isNodeStream:T,isTransformStream:I,isWebStream:S,isReadableStream:N,isReadableEnded:A}=n(1222),O=globalThis.AbortController||n(8599).AbortController;let R,D;function x(e,t,n){let r=!1;return e.on("close",(()=>{r=!0})),{destroy:t=>{r||(r=!0,c.destroyer(e,t||new y("pipe")))},cleanup:s(e,{readable:t,writable:n},(e=>{r=!e}))}}function k(e){if(E(e))return e;if(_(e))return async function*(e){D||(D=n(648)),yield*D.prototype[a].call(e)}(e);throw new d("val",["Readable","Iterable","AsyncIterable"],e)}async function L(e,t,n,{end:r}){let i,a=null;const u=e=>{if(e&&(i=e),a){const e=a;a=null,e()}},c=()=>new o(((e,t)=>{i?t(i):a=()=>{i?t(i):e()}}));t.on("drain",u);const l=s(t,{readable:!1},u);try{t.writableNeedDrain&&await c();for await(const n of e)t.write(n)||await c();r&&t.end(),await c(),n()}catch(e){n(i!==e?f(i,e):e)}finally{l(),t.off("drain",u)}}async function C(e,t,n,{end:r}){I(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,r&&await i.close(),n()}catch(e){try{await i.abort(e),n(e)}catch(e){n(e)}}}function B(e,t,o){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new h("streams");const a=new O,s=a.signal,u=null==o?void 0:o.signal,c=[];function f(){P(new v)}let y,g;b(u,"options.signal"),null==u||u.addEventListener("abort",f);const m=[];let A,D=0;function B(e){P(e,0==--D)}function P(e,n){if(!e||y&&"ERR_STREAM_PREMATURE_CLOSE"!==y.code||(y=e),y||n){for(;m.length;)m.shift()(y);null==u||u.removeEventListener("abort",f),a.abort(),n&&(y||c.forEach((e=>e())),r.nextTick(t,y,g))}}for(let V=0;V<e.length;V++){const q=e[V],G=V<e.length-1,$=V>0,W=G||!1!==(null==o?void 0:o.end),Y=V===e.length-1;if(T(q)){if(W){const{destroy:Q,cleanup:J}=x(q,G,$);m.push(Q),w(q)&&Y&&c.push(J)}function F(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&B(e)}q.on("error",F),w(q)&&Y&&c.push((()=>{q.removeListener("error",F)}))}if(0===V)if("function"==typeof q){if(A=q({signal:s}),!E(A))throw new p("Iterable, AsyncIterable or Stream","source",A)}else A=E(q)||_(q)||I(q)?q:l.from(q);else if("function"==typeof q){var U;if(A=I(A)?k(null===(U=A)||void 0===U?void 0:U.readable):k(A),A=q(A,{signal:s}),G){if(!E(A,!0))throw new p("AsyncIterable",`transform[${V-1}]`,A)}else{var M;R||(R=n(5718));const H=new R({objectMode:!0}),K=null===(M=A)||void 0===M?void 0:M.then;if("function"==typeof K)D++,K.call(A,(e=>{g=e,null!=e&&H.write(e),W&&H.end(),r.nextTick(B)}),(e=>{H.destroy(e),r.nextTick(B,e)}));else if(E(A,!0))D++,L(A,H,B,{end:W});else{if(!N(A)&&!I(A))throw new p("AsyncIterable or Promise","destination",A);{const Z=A.readable||A;D++,L(Z,H,B,{end:W})}}A=H;const{destroy:z,cleanup:X}=x(A,!1,!0);m.push(z),Y&&c.push(X)}}else if(T(q)){if(_(A)){D+=2;const ee=j(A,q,B,{end:W});w(q)&&Y&&c.push(ee)}else if(I(A)||N(A)){const te=A.readable||A;D++,L(te,q,B,{end:W})}else{if(!E(A))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],A);D++,L(A,q,B,{end:W})}A=q}else if(S(q)){if(_(A))D++,C(k(A),q,B,{end:W});else if(N(A)||E(A))D++,C(A,q,B,{end:W});else{if(!I(A))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],A);D++,C(A.readable,q,B,{end:W})}A=q}else A=l.from(q)}return(null!=s&&s.aborted||null!=u&&u.aborted)&&r.nextTick(f),A}function j(e,t,n,{end:i}){let o=!1;if(t.on("close",(()=>{o||n(new g)})),e.pipe(t,{end:!1}),i){function a(){o=!0,t.end()}A(e)?r.nextTick(a):e.once("end",a)}else n();return s(e,{readable:!0,writable:!1},(t=>{const r=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&r&&r.ended&&!r.errored&&!r.errorEmitted?e.once("end",n).once("error",n):n(t)})),s(t,{readable:!1,writable:!0},n)}e.exports={pipelineImpl:B,pipeline:function(...e){return B(e,u(function(e){return m(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},648:(e,t,n)=>{const r=n(4155),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:s,ObjectDefineProperties:u,ObjectKeys:c,ObjectSetPrototypeOf:l,Promise:f,SafeSet:d,SymbolAsyncIterator:p,Symbol:h}=n(5329);e.exports=U,U.ReadableState=F;const{EventEmitter:y}=n(7187),{Stream:g,prependListener:v}=n(1906),{Buffer:m}=n(8764),{addAbortSignal:b}=n(4072),E=n(439);let w=n(2344).debuglog("stream",(e=>{w=e}));const _=n(6173),T=n(7587),{getHighWaterMark:I,getDefaultHighWaterMark:S}=n(3177),{aggregateTwoErrors:N,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:O,ERR_OUT_OF_RANGE:R,ERR_STREAM_PUSH_AFTER_EOF:D,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:x}}=n(3573),{validateObject:k}=n(5932),L=h("kPaused"),{StringDecoder:C}=n(2553),B=n(4795);l(U.prototype,g.prototype),l(U,g);const j=()=>{},{errorOrDestroy:P}=T;function F(e,t,r){"boolean"!=typeof r&&(r=t instanceof n(993)),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?I(this,e,"readableHighWaterMark",r):S(!1),this.buffer=new _,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[L]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new C(e.encoding),this.encoding=e.encoding)}function U(e){if(!(this instanceof U))return new U(e);const t=this instanceof n(993);this._readableState=new F(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&b(e.signal,this)),g.call(this,e),T.construct(this,(()=>{this._readableState.needReadable&&W(this,this._readableState)}))}function M(e,t,n,r){w("readableAddChunk",t);const i=e._readableState;let o;if(i.objectMode||("string"==typeof t?(n=n||i.defaultEncoding,i.encoding!==n&&(r&&i.encoding?t=m.from(t,n).toString(i.encoding):(t=m.from(t,n),n=""))):t instanceof m?n="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),n=""):null!=t&&(o=new A("chunk",["string","Buffer","Uint8Array"],t))),o)P(e,o);else if(null===t)i.reading=!1,function(e,t){if(w("onEofChunk"),!t.ended){if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?G(e):(t.needReadable=!1,t.emittedReadable=!0,$(e))}}(e,i);else if(i.objectMode||t&&t.length>0)if(r)if(i.endEmitted)P(e,new x);else{if(i.destroyed||i.errored)return!1;V(e,i,t,!0)}else if(i.ended)P(e,new D);else{if(i.destroyed||i.errored)return!1;i.reading=!1,i.decoder&&!n?(t=i.decoder.write(t),i.objectMode||0!==t.length?V(e,i,t,!1):W(e,i)):V(e,i,t,!1)}else r||(i.reading=!1,W(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function V(e,t,n,r){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&G(e)),W(e,t)}function q(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function G(e){const t=e._readableState;w("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick($,e))}function $(e){const t=e._readableState;w("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,K(e)}function W(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,r.nextTick(Y,e,t))}function Y(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const n=t.length;if(w("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function Q(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[L]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function J(e){w("readable nexttick read 0"),e.read(0)}function H(e,t){w("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),K(e),t.flowing&&!t.reading&&e.read(0)}function K(e){const t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function z(e,t){"function"!=typeof e.read&&(e=U.wrap(e,{objectMode:!0}));const n=async function*(e,t){let n,r=j;function i(t){this===e?(r(),r=j):r=t}e.on("readable",i);const o=E(e,{writable:!1},(e=>{n=e?N(n,e):null,r(),r=j}));try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(n)throw n;if(null===n)return;await new f(i)}}}catch(e){throw n=N(n,e),n}finally{!n&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==n&&!e._readableState.autoDestroy?(e.off("readable",i),o()):T.destroyer(e,null)}}(e,t);return n.stream=e,n}function X(e,t){if(0===t.length)return null;let n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function Z(e){const t=e._readableState;w("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(ee,t,e))}function ee(e,t){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)r.nextTick(te,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ne;function re(){return void 0===ne&&(ne={}),ne}U.prototype.destroy=T.destroy,U.prototype._undestroy=T.undestroy,U.prototype._destroy=function(e,t){t(e)},U.prototype[y.captureRejectionSymbol]=function(e){this.destroy(e)},U.prototype.push=function(e,t){return M(this,e,t,!1)},U.prototype.unshift=function(e,t){return M(this,e,t,!0)},U.prototype.isPaused=function(){const e=this._readableState;return!0===e[L]||!1===e.flowing},U.prototype.setEncoding=function(e){const t=new C(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const n=this._readableState.buffer;let r="";for(const e of n)r+=t.write(e);return n.clear(),""!==r&&n.push(r),this._readableState.length=r.length,this},U.prototype.read=function(e){w("read",e),void 0===e?e=NaN:o(e)||(e=s(e,10));const t=this._readableState,n=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new R("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Z(this):G(this),null;if(0===(e=q(e,t))&&t.ended)return 0===t.length&&Z(this),null;let r,i=t.needReadable;if(w("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,w("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,w("reading, ended or constructing",i);else if(i){w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0);try{this._read(t.highWaterMark)}catch(e){P(this,e)}t.sync=!1,t.reading||(e=q(n,t))}return r=e>0?X(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Z(this)),null===r||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",r)),r},U.prototype._read=function(e){throw new O("_read()")},U.prototype.pipe=function(e,t){const n=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),w("pipe count=%d opts=%j",i.pipes.length,t);const o=t&&!1===t.end||e===r.stdout||e===r.stderr?y:a;function a(){w("onend"),e.end()}let s;i.endEmitted?r.nextTick(o):n.once("end",o),e.on("unpipe",(function t(r,o){w("onunpipe"),r===n&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,w("cleanup"),e.removeListener("close",p),e.removeListener("finish",h),s&&e.removeListener("drain",s),e.removeListener("error",f),e.removeListener("unpipe",t),n.removeListener("end",a),n.removeListener("end",y),n.removeListener("data",l),u=!0,s&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&s())}));let u=!1;function c(){u||(1===i.pipes.length&&i.pipes[0]===e?(w("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(w("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),n.pause()),s||(s=function(e,t){return function(){const n=e._readableState;n.awaitDrainWriters===t?(w("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(w("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(t)),n.awaitDrainWriters&&0!==n.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(n,e),e.on("drain",s))}function l(t){w("ondata");const n=e.write(t);w("dest.write",n),!1===n&&c()}function f(t){if(w("onerror",t),y(),e.removeListener("error",f),0===e.listenerCount("error")){const n=e._writableState||e._readableState;n&&!n.errorEmitted?P(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",h),y()}function h(){w("onfinish"),e.removeListener("close",p),y()}function y(){w("unpipe"),n.unpipe(e)}return n.on("data",l),v(e,"error",f),e.once("close",p),e.once("finish",h),e.emit("pipe",n),!0===e.writableNeedDrain?i.flowing&&c():i.flowing||(w("pipe resume"),n.resume()),e},U.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const n=i(t.pipes,e);return-1===n||(t.pipes.splice(n,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},U.prototype.on=function(e,t){const n=g.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,w("on readable",i.length,i.reading),i.length?G(this):i.reading||r.nextTick(J,this))),n},U.prototype.addListener=U.prototype.on,U.prototype.removeListener=function(e,t){const n=g.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(Q,this),n},U.prototype.off=U.prototype.removeListener,U.prototype.removeAllListeners=function(e){const t=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(Q,this),t},U.prototype.resume=function(){const e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(H,e,t))}(this,e)),e[L]=!1,this},U.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[L]=!0,this},U.prototype.wrap=function(e){let t=!1;e.on("data",(n=>{!this.push(n)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{P(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const n=c(e);for(let t=1;t<n.length;t++){const r=n[t];void 0===this[r]&&"function"==typeof e[r]&&(this[r]=e[r].bind(e))}return this},U.prototype[p]=function(){return z(this)},U.prototype.iterator=function(e){return void 0!==e&&k(e,"options"),z(this,e)},u(U.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(F.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[L]},set(e){this[L]=!!e}}}),U._fromList=X,U.from=function(e,t){return B(U,e,t)},U.fromWeb=function(e,t){return re().newStreamReadableFromReadableStream(e,t)},U.toWeb=function(e,t){return re().newReadableStreamFromStreamReadable(e,t)},U.wrap=function(e,t){var n,r;return new U({objectMode:null===(n=null!==(r=e.readableObjectMode)&&void 0!==r?r:e.objectMode)||void 0===n||n,...t,destroy(t,n){T.destroyer(e,t),n(t)}}).wrap(e)}},3177:(e,t,n)=>{"use strict";const{MathFloor:r,NumberIsInteger:i}=n(5329),{ERR_INVALID_ARG_VALUE:o}=n(3573).codes;function a(e){return e?16:16384}e.exports={getHighWaterMark:function(e,t,n,s){const u=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,s,n);if(null!=u){if(!i(u)||u<0)throw new o(s?`options.${n}`:"options.highWaterMark",u);return r(u)}return a(e.objectMode)},getDefaultHighWaterMark:a}},2431:(e,t,n)=>{"use strict";const{ObjectSetPrototypeOf:r,Symbol:i}=n(5329);e.exports=c;const{ERR_METHOD_NOT_IMPLEMENTED:o}=n(3573).codes,a=n(993),{getHighWaterMark:s}=n(3177);r(c.prototype,a.prototype),r(c,a);const u=i("kCallback");function c(e){if(!(this instanceof c))return new c(e);const t=e?s(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function l(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,n)=>{t?e?e(t):this.destroy(t):(null!=n&&this.push(n),this.push(null),e&&e())}))}function f(){this._final!==l&&l.call(this)}c.prototype._final=l,c.prototype._transform=function(e,t,n){throw new o("_transform()")},c.prototype._write=function(e,t,n){const r=this._readableState,i=this._writableState,o=r.length;this._transform(e,t,((e,t)=>{e?n(e):(null!=t&&this.push(t),i.ended||o===r.length||r.length<r.highWaterMark?n():this[u]=n)}))},c.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}},1222:(e,t,n)=>{"use strict";const{Symbol:r,SymbolAsyncIterator:i,SymbolIterator:o,SymbolFor:a}=n(5329),s=r("kDestroyed"),u=r("kIsErrored"),c=r("kIsReadable"),l=r("kIsDisturbed"),f=a("nodejs.webstream.isClosedPromise"),d=a("nodejs.webstream.controllerErrorFunction");function p(e,t=!1){var n;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(n=e._readableState)||void 0===n?void 0:n.readable)||e._writableState&&!e._readableState)}function h(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function y(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||y(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function v(e){return!(!e||y(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function m(e){return!(!e||y(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function b(e){if(!y(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!!(e.destroyed||e[s]||null!=r&&r.destroyed)}function E(e){if(!h(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function w(e,t){if(!p(e))return null;const n=e._readableState;return(null==n||!n.errored)&&("boolean"!=typeof(null==n?void 0:n.endEmitted)?null:!!(n.endEmitted||!1===t&&!0===n.ended&&0===n.length))}function _(e){return e&&null!=e[c]?e[c]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!b(e)&&p(e)&&e.readable&&!w(e)}function T(e){return"boolean"!=typeof(null==e?void 0:e.writable)?null:!b(e)&&h(e)&&e.writable&&!E(e)}function I(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function S(e){return"boolean"==typeof e._sent100&&I(e)}e.exports={kDestroyed:s,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[l])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:l,isErrored:function(e){var t,n,r,i,o,a,s,c,l,f;return!(!e||!(null!==(t=null!==(n=null!==(r=null!==(i=null!==(o=null!==(a=e[u])&&void 0!==a?a:e.readableErrored)&&void 0!==o?o:e.writableErrored)&&void 0!==i?i:null===(s=e._readableState)||void 0===s?void 0:s.errorEmitted)&&void 0!==r?r:null===(c=e._writableState)||void 0===c?void 0:c.errorEmitted)&&void 0!==n?n:null===(l=e._readableState)||void 0===l?void 0:l.errored)&&void 0!==t?t:null===(f=e._writableState)||void 0===f?void 0:f.errored))},kIsErrored:u,isReadable:_,kIsReadable:c,kIsClosedPromise:f,kControllerErrorFunction:d,isClosed:function(e){if(!y(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,n=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==n?void 0:n.closed)?(null==t?void 0:t.closed)||(null==n?void 0:n.closed):"boolean"==typeof e._closed&&I(e)?e._closed:null},isDestroyed:b,isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return y(e)?!(!b(e)&&(!1!==(null==t?void 0:t.readable)&&_(e)||!1!==(null==t?void 0:t.writable)&&T(e))):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[i]:!1===t?"function"==typeof e[o]:"function"==typeof e[i]||"function"==typeof e[o])},isReadableNodeStream:p,isReadableStream:g,isReadableEnded:function(e){if(!p(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:w,isReadableErrored:function(e){var t,n;return y(e)?e.readableErrored?e.readableErrored:null!==(t=null===(n=e._readableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isNodeStream:y,isWebStream:function(e){return g(e)||v(e)||m(e)},isWritable:T,isWritableNodeStream:h,isWritableStream:v,isWritableEnded:E,isWritableFinished:function(e,t){if(!h(e))return null;if(!0===e.writableFinished)return!0;const n=e._writableState;return(null==n||!n.errored)&&("boolean"!=typeof(null==n?void 0:n.finished)?null:!!(n.finished||!1===t&&!0===n.ended&&0===n.length))},isWritableErrored:function(e){var t,n;return y(e)?e.writableErrored?e.writableErrored:null!==(t=null===(n=e._writableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:S,willEmitClose:function(e){if(!y(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!r&&S(e)||!!(r&&r.autoDestroy&&r.emitClose&&!1===r.closed)},isTransformStream:m}},7810:(e,t,n)=>{const r=n(4155),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:c,StringPrototypeToLowerCase:l,Symbol:f,SymbolHasInstance:d}=n(5329);e.exports=C,C.WritableState=k;const{EventEmitter:p}=n(7187),h=n(1906).Stream,{Buffer:y}=n(8764),g=n(7587),{addAbortSignal:v}=n(4072),{getHighWaterMark:m,getDefaultHighWaterMark:b}=n(3177),{ERR_INVALID_ARG_TYPE:E,ERR_METHOD_NOT_IMPLEMENTED:w,ERR_MULTIPLE_CALLBACK:_,ERR_STREAM_CANNOT_PIPE:T,ERR_STREAM_DESTROYED:I,ERR_STREAM_ALREADY_FINISHED:S,ERR_STREAM_NULL_VALUES:N,ERR_STREAM_WRITE_AFTER_END:A,ERR_UNKNOWN_ENCODING:O}=n(3573).codes,{errorOrDestroy:R}=g;function D(){}c(C.prototype,h.prototype),c(C,h);const x=f("kOnFinished");function k(e,t,r){"boolean"!=typeof r&&(r=t instanceof n(993)),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?m(this,e,"writableHighWaterMark",r):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,L(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[x]=[]}function L(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function C(e){const t=this instanceof n(993);if(!t&&!a(C,this))return new C(e);this._writableState=new k(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&v(e.signal,this)),h.call(this,e),g.construct(this,(()=>{const e=this._writableState;e.writing||q(this,e),$(this,e)}))}function B(e,t,n,i){const o=e._writableState;if("function"==typeof n)i=n,n=o.defaultEncoding;else{if(n){if("buffer"!==n&&!y.isEncoding(n))throw new O(n)}else n=o.defaultEncoding;"function"!=typeof i&&(i=D)}if(null===t)throw new N;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=y.from(t,n),n="buffer");else if(t instanceof y)n="buffer";else{if(!h._isUint8Array(t))throw new E("chunk",["string","Buffer","Uint8Array"],t);t=h._uint8ArrayToBuffer(t),n="buffer"}let a;return o.ending?a=new A:o.destroyed&&(a=new I("write")),a?(r.nextTick(i,a),R(e,a,!0),a):(o.pendingcb++,function(e,t,n,r,i){const o=t.objectMode?1:n.length;t.length+=o;const a=t.length<t.highWaterMark;return a||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:n,encoding:r,callback:i}),t.allBuffers&&"buffer"!==r&&(t.allBuffers=!1),t.allNoop&&i!==D&&(t.allNoop=!1)):(t.writelen=o,t.writecb=i,t.writing=!0,t.sync=!0,e._write(n,r,t.onwrite),t.sync=!1),a&&!t.errored&&!t.destroyed}(e,o,t,n,i))}function j(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new I("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function P(e,t,n,r){--t.pendingcb,r(n),V(t),R(e,n)}function F(e,t){const n=e._writableState,i=n.sync,o=n.writecb;"function"==typeof o?(n.writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t?(t.stack,n.errored||(n.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?r.nextTick(P,e,n,t,o):P(e,n,t,o)):(n.buffered.length>n.bufferedIndex&&q(e,n),i?null!==n.afterWriteTickInfo&&n.afterWriteTickInfo.cb===o?n.afterWriteTickInfo.count++:(n.afterWriteTickInfo={count:1,cb:o,stream:e,state:n},r.nextTick(U,n.afterWriteTickInfo)):M(e,n,1,o))):R(e,new _)}function U({stream:e,state:t,count:n,cb:r}){return t.afterWriteTickInfo=null,M(e,t,n,r)}function M(e,t,n,r){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));n-- >0;)t.pendingcb--,r();t.destroyed&&V(t),$(e,t)}function V(e){if(e.writing)return;for(let n=e.bufferedIndex;n<e.buffered.length;++n){var t;const{chunk:r,callback:i}=e.buffered[n],o=e.objectMode?1:r.length;e.length-=o,i(null!==(t=e.errored)&&void 0!==t?t:new I("write"))}const n=e[x].splice(0);for(let t=0;t<n.length;t++){var r;n[t](null!==(r=e.errored)&&void 0!==r?r:new I("end"))}L(e)}function q(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:n,bufferedIndex:r,objectMode:o}=t,a=n.length-r;if(!a)return;let s=r;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const r=t.allNoop?D:e=>{for(let t=s;t<n.length;++t)n[t].callback(e)},o=t.allNoop&&0===s?n:i(n,s);o.allBuffers=t.allBuffers,j(e,t,!0,t.length,o,"",r),L(t)}else{do{const{chunk:r,encoding:i,callback:a}=n[s];n[s++]=null,j(e,t,!1,o?1:r.length,r,i,a)}while(s<n.length&&!t.writing);s===n.length?L(t):s>256?(n.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function G(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function $(e,t,n){G(t)&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let n=!1;function i(i){if(n)R(e,null!=i?i:_());else if(n=!0,t.pendingcb--,i){const n=t[x].splice(0);for(let e=0;e<n.length;e++)n[e](i);R(e,i,t.sync)}else G(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,r.nextTick(W,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}(e,t),0===t.pendingcb&&(n?(t.pendingcb++,r.nextTick(((e,t)=>{G(t)?W(e,t):t.pendingcb--}),e,t)):G(t)&&(t.pendingcb++,W(e,t))))}function W(e,t){t.pendingcb--,t.finished=!0;const n=t[x].splice(0);for(let e=0;e<n.length;e++)n[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}k.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(k.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(C,d,{__proto__:null,value:function(e){return!!a(this,e)||this===C&&e&&e._writableState instanceof k}}),C.prototype.pipe=function(){R(this,new T)},C.prototype.write=function(e,t,n){return!0===B(this,e,t,n)},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||q(this,e))},C.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=l(e)),!y.isEncoding(e))throw new O(e);return this._writableState.defaultEncoding=e,this},C.prototype._write=function(e,t,n){if(!this._writev)throw new w("_write()");this._writev([{chunk:e,encoding:t}],n)},C.prototype._writev=null,C.prototype.end=function(e,t,n){const i=this._writableState;let a;if("function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e){const n=B(this,e,t);n instanceof o&&(a=n)}return i.corked&&(i.corked=1,this.uncork()),a||(i.errored||i.ending?i.finished?a=new S("end"):i.destroyed&&(a=new I("end")):(i.ending=!0,$(this,i,!0),i.ended=!0)),"function"==typeof n&&(a||i.finished?r.nextTick(n,a):i[x].push(n)),this},u(C.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&!e.destroyed&&!e.ending&&e.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const Y=g.destroy;let Q;function J(){return void 0===Q&&(Q={}),Q}C.prototype.destroy=function(e,t){const n=this._writableState;return!n.destroyed&&(n.bufferedIndex<n.buffered.length||n[x].length)&&r.nextTick(V,n),Y.call(this,e,t),this},C.prototype._undestroy=g.undestroy,C.prototype._destroy=function(e,t){t(e)},C.prototype[p.captureRejectionSymbol]=function(e){this.destroy(e)},C.fromWeb=function(e,t){return J().newStreamWritableFromWritableStream(e,t)},C.toWeb=function(e){return J().newWritableStreamFromStreamWritable(e)}},5932:(e,t,n)=>{"use strict";const{ArrayIsArray:r,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:s,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:c,NumberMIN_SAFE_INTEGER:l,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:p,String:h,StringPrototypeToUpperCase:y,StringPrototypeTrim:g}=n(5329),{hideStackFrames:v,codes:{ERR_SOCKET_BAD_PORT:m,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:E,ERR_OUT_OF_RANGE:w,ERR_UNKNOWN_SIGNAL:_}}=n(3573),{normalizeEncoding:T}=n(2344),{isAsyncFunction:I,isArrayBufferView:S}=n(2344).types,N={},A=/^[0-7]+$/,O=v(((e,t,n=l,r=c)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new w(t,"an integer",e);if(e<n||e>r)throw new w(t,`>= ${n} && <= ${r}`,e)})),R=v(((e,t,n=-2147483648,r=2147483647)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new w(t,"an integer",e);if(e<n||e>r)throw new w(t,`>= ${n} && <= ${r}`,e)})),D=v(((e,t,n=!1)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new w(t,"an integer",e);const r=n?1:0,i=4294967295;if(e<r||e>i)throw new w(t,`>= ${r} && <= ${i}`,e)}));function x(e,t){if("string"!=typeof e)throw new b(t,"string",e)}const k=v(((e,t,n)=>{if(!i(n,e)){const r=o(a(n,(e=>"string"==typeof e?`'${e}'`:h(e))),", ");throw new E(t,e,"must be one of: "+r)}}));function L(e,t){if("boolean"!=typeof e)throw new b(t,"boolean",e)}function C(e,t,n){return null!=e&&d(e,t)?e[t]:n}const B=v(((e,t,n=null)=>{const i=C(n,"allowArray",!1),o=C(n,"allowFunction",!1);if(!C(n,"nullable",!1)&&null===e||!i&&r(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new b(t,"Object",e)})),j=v(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new b(t,"a dictionary",e)})),P=v(((e,t,n=0)=>{if(!r(e))throw new b(t,"Array",e);if(e.length<n)throw new E(t,e,`must be longer than ${n}`)})),F=v(((e,t="buffer")=>{if(!S(e))throw new b(t,["Buffer","TypedArray","DataView"],e)})),U=v(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new b(t,"AbortSignal",e)})),M=v(((e,t)=>{if("function"!=typeof e)throw new b(t,"Function",e)})),V=v(((e,t)=>{if("function"!=typeof e||I(e))throw new b(t,"Function",e)})),q=v(((e,t)=>{if(void 0!==e)throw new b(t,"undefined",e)})),G=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function $(e,t){if(void 0===e||!p(G,e))throw new E(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,n){if(void 0===e&&(e=n),"string"==typeof e){if(null===p(A,e))throw new E(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return D(e,t),e},validateArray:P,validateStringArray:function(e,t){P(e,t);for(let n=0;n<e.length;n++)x(e[n],`${t}[${n}]`)},validateBooleanArray:function(e,t){P(e,t);for(let n=0;n<e.length;n++)L(e[n],`${t}[${n}]`)},validateBoolean:L,validateBuffer:F,validateDictionary:j,validateEncoding:function(e,t){const n=T(t),r=e.length;if("hex"===n&&r%2!=0)throw new E("encoding",t,`is invalid for data of length ${r}`)},validateFunction:M,validateInt32:R,validateInteger:O,validateNumber:function(e,t,n=void 0,r){if("number"!=typeof e)throw new b(t,"number",e);if(null!=n&&e<n||null!=r&&e>r||(null!=n||null!=r)&&u(e))throw new w(t,`${null!=n?`>= ${n}`:""}${null!=n&&null!=r?" && ":""}${null!=r?`<= ${r}`:""}`,e)},validateObject:B,validateOneOf:k,validatePlainFunction:V,validatePort:function(e,t="Port",n=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!n)throw new m(t,e,n);return 0|e},validateSignalName:function(e,t="signal"){if(x(e,t),void 0===N[e]){if(void 0!==N[y(e)])throw new _(e+" (signals must use all capital letters)");throw new _(e)}},validateString:x,validateUint32:D,validateUndefined:q,validateUnion:function(e,t,n){if(!i(n,e))throw new b(t,`('${o(n,"|")}')`,e)},validateAbortSignal:U,validateLinkHeaderValue:function(e){if("string"==typeof e)return $(e,"hints"),e;if(r(e)){const t=e.length;let n="";if(0===t)return n;for(let r=0;r<t;r++){const i=e[r];$(i,"hints"),n+=i,r!==t-1&&(n+=", ")}return n}throw new E("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},4432:(e,t,n)=>{"use strict";const r=n(6575),i=n(2343),o=r.Readable.destroy;e.exports=r.Readable,e.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,e.exports._isUint8Array=r._isUint8Array,e.exports.isDisturbed=r.isDisturbed,e.exports.isErrored=r.isErrored,e.exports.isReadable=r.isReadable,e.exports.Readable=r.Readable,e.exports.Writable=r.Writable,e.exports.Duplex=r.Duplex,e.exports.Transform=r.Transform,e.exports.PassThrough=r.PassThrough,e.exports.addAbortSignal=r.addAbortSignal,e.exports.finished=r.finished,e.exports.destroy=r.destroy,e.exports.destroy=o,e.exports.pipeline=r.pipeline,e.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=r.Stream,e.exports.default=e.exports},3573:(e,t,n)=>{"use strict";const{format:r,inspect:i,AggregateError:o}=n(2344),a=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],c=/^([A-Z][a-z0-9]*)+$/,l={};function f(e,t){if(!e)throw new l.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function p(e,t,n){n||(n=Error);class i extends n{constructor(...n){super(function(e,t,n){if("function"==typeof t)return f(t.length<=n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${t.length}).`),t(...n);const i=(t.match(/%[dfijoOs]/g)||[]).length;return f(i===n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${i}).`),0===n.length?t:r(t,...n)}(e,t,n))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:n.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[s]=!0,l[e]=i}function h(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class y extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new l.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}p("ERR_ASSERTION","%s",Error),p("ERR_INVALID_ARG_TYPE",((e,t,n)=>{f("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let r="The ";e.endsWith(" argument")?r+=`${e} `:r+=`"${e}" ${e.includes(".")?"property":"argument"} `,r+="must be ";const o=[],a=[],s=[];for(const e of t)f("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?o.push(e.toLowerCase()):c.test(e)?a.push(e):(f("object"!==e,'The value "object" should be written as "Object"'),s.push(e));if(a.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:r+=`of type ${o[0]}`;break;case 2:r+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();r+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||s.length>0)&&(r+=" or ")}if(a.length>0){switch(a.length){case 1:r+=`an instance of ${a[0]}`;break;case 2:r+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();r+=`an instance of ${a.join(", ")}, or ${e}`}}s.length>0&&(r+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(r+="an "),r+=`${s[0]}`;break;case 2:r+=`one of ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();r+=`one of ${s.join(", ")}, or ${e}`}}if(null==n)r+=`. Received ${n}`;else if("function"==typeof n&&n.name)r+=`. Received function ${n.name}`;else if("object"==typeof n){var l;null!==(l=n.constructor)&&void 0!==l&&l.name?r+=`. Received an instance of ${n.constructor.name}`:r+=`. Received ${i(n,{depth:-1})}`}else{let e=i(n,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),r+=`. Received type ${typeof n} (${e})`}return r}),TypeError),p("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let r=i(t);return r.length>128&&(r=r.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${r}`}),TypeError),p("ERR_INVALID_RETURN_VALUE",((e,t,n)=>{var r;return`Expected ${e} to be returned from the "${t}" function but got ${null!=n&&null!==(r=n.constructor)&&void 0!==r&&r.name?`instance of ${n.constructor.name}`:"type "+typeof n}.`}),TypeError),p("ERR_MISSING_ARGS",((...e)=>{let t;f(e.length>0,"At least one arg needs to be specified");const n=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),n){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}}return`${t} must be specified`}),TypeError),p("ERR_OUT_OF_RANGE",((e,t,n)=>{let r;return f(t,'Missing "range" argument'),Number.isInteger(n)&&Math.abs(n)>2**32?r=d(String(n)):"bigint"==typeof n?(r=String(n),(n>2n**32n||n<-(2n**32n))&&(r=d(r)),r+="n"):r=i(n),`The value of "${e}" is out of range. It must be ${t}. Received ${r}`}),RangeError),p("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),p("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),p("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),p("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),p("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),p("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),p("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),p("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),p("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),p("ERR_STREAM_WRITE_AFTER_END","write after end",Error),p("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:y,aggregateTwoErrors:h((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const n=new a([t,e],t.message);return n.code=t.code,n}return e||t})),hideStackFrames:h,codes:l}},5329:e=>{"use strict";e.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,n)=>e.slice(t,n),Error,FunctionPrototypeCall:(e,t,...n)=>e.call(t,...n),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,n)=>Object.defineProperty(e,t,n),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,n)=>e.then(t,n),PromiseReject:e=>Promise.reject(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String,StringPrototypeSlice:(e,t,n)=>e.slice(t,n),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(e,t,n)=>e.set(t,n),Uint8Array}},2344:(e,t,n)=>{"use strict";const r=n(8764),i=Object.getPrototypeOf((async function(){})).constructor,o=globalThis.Blob||r.Blob,a=void 0!==o?function(e){return e instanceof o}:function(e){return!1};class s extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let n=0;n<e.length;n++)t+=` ${e[n].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}e.exports={AggregateError:s,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...n){t||(t=!0,e.apply(this,n))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((n,r)=>{e=n,t=r})),resolve:e,reject:t}},promisify:e=>new Promise(((t,n)=>{e(((e,...r)=>e?n(e):t(...r)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,n]){const r=t.shift();return"f"===n?r.toFixed(6):"j"===n?JSON.stringify(r):"s"===n&&"object"==typeof r?`${r.constructor!==Object?r.constructor.name:""} {}`.trim():r.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof i,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:a},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},6575:(e,t,n)=>{const{Buffer:r}=n(8764),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=n(5329),{promisify:{custom:s}}=n(2344),{streamReturningOperators:u,promiseReturningOperators:c}=n(7434),{codes:{ERR_ILLEGAL_CONSTRUCTOR:l}}=n(3573),f=n(3067),{pipeline:d}=n(5324),{destroyer:p}=n(7587),h=n(439),y=n(2343),g=n(1222),v=e.exports=n(1906).Stream;v.isDisturbed=g.isDisturbed,v.isErrored=g.isErrored,v.isReadable=g.isReadable,v.Readable=n(648);for(const E of o(u)){const w=u[E];function m(...e){if(new.target)throw l();return v.Readable.from(a(w,this,e))}i(m,"name",{__proto__:null,value:w.name}),i(m,"length",{__proto__:null,value:w.length}),i(v.Readable.prototype,E,{__proto__:null,value:m,enumerable:!1,configurable:!0,writable:!0})}for(const _ of o(c)){const T=c[_];function m(...e){if(new.target)throw l();return a(T,this,e)}i(m,"name",{__proto__:null,value:T.name}),i(m,"length",{__proto__:null,value:T.length}),i(v.Readable.prototype,_,{__proto__:null,value:m,enumerable:!1,configurable:!0,writable:!0})}v.Writable=n(7810),v.Duplex=n(993),v.Transform=n(2431),v.PassThrough=n(5718),v.pipeline=d;const{addAbortSignal:b}=n(4072);v.addAbortSignal=b,v.finished=h,v.destroy=p,v.compose=f,i(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>y}),i(d,s,{__proto__:null,enumerable:!0,get:()=>y.pipeline}),i(h,s,{__proto__:null,enumerable:!0,get:()=>y.finished}),v.Stream=v,v._isUint8Array=function(e){return e instanceof Uint8Array},v._uint8ArrayToBuffer=function(e){return r.from(e.buffer,e.byteOffset,e.byteLength)}},2343:(e,t,n)=>{"use strict";const{ArrayPrototypePop:r,Promise:i}=n(5329),{isIterable:o,isNodeStream:a,isWebStream:s}=n(1222),{pipelineImpl:u}=n(5324),{finished:c}=n(439);n(6575),e.exports={finished:c,pipeline:function(...e){return new i(((t,n)=>{let i,c;const l=e[e.length-1];if(l&&"object"==typeof l&&!a(l)&&!o(l)&&!s(l)){const t=r(e);i=t.signal,c=t.end}u(e,((e,r)=>{e?n(e):t(r)}),{signal:i,end:c})}))}}},3300:(e,t)=>{"use strict";var n=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n)return n;throw new Error("unable to locate global object")}();e.exports=t=n.fetch,n.fetch&&(t.default=n.fetch.bind(n)),t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response},705:e=>{e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}s=n[a]={exports:{}},t[a][0].call(s.exports,(function(e){return i(t[a][1][e]||e)}),s,s.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){(function(r,i,o,a,s,u,c,l,f){"use strict";var d=e("crypto");function p(e,t){var n;return void 0===(n="passthrough"!==(t=g(e,t)).algorithm?d.createHash(t.algorithm):new b).write&&(n.write=n.update,n.end=n.update),m(t,n).dispatch(e),n.update||n.end(""),n.digest?n.digest("buffer"===t.encoding?void 0:t.encoding):(e=n.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(n=t.exports=p).sha1=function(e){return p(e)},n.keys=function(e){return p(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return p(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return p(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=d.getHashes?d.getHashes().slice():["sha1","md5"],y=(h.push("passthrough"),["buffer","hex","binary","base64"]);function g(e,t){var n={};if(n.algorithm=(t=t||{}).algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var r=0;r<h.length;++r)h[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=h[r]);if(-1===h.indexOf(n.algorithm))throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+h.join(", "));if(-1===y.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+y.join(", "));return n}function v(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function m(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,a=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+a+"]");if(n.push(t),void 0!==o&&o.isBuffer&&o.isBuffer(t))return r("buffer:"),r(t);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(t),e.unorderedObjects&&(a=a.sort()),!1===e.respectType||v(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter((function(t){return!e.excludeKeys(t)}))),r("object:"+a.length+":"),i=this,a.forEach((function(n){i.dispatch(n),r(":"),e.excludeValues||i.dispatch(t[n]),r(",")}));if(!this["_"+s]){if(e.ignoreUnknown)return r("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(r("array:"+t.length+":"),!i||t.length<=1)return t.forEach((function(e){return o.dispatch(e)}));var a=[];return i=t.map((function(t){var r=new b,i=n.slice();return m(e,r,i).dispatch(t),a=a.concat(i.slice(n.length)),r.read().toString()})),n=n.concat(a),i.sort(),this._array(i,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),v(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){return r("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return r("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),m(t=g(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,n){(function(e,t,r,i,o,a,s,u,c){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),r="/".charCodeAt(0),i="0".charCodeAt(0),o="a".charCodeAt(0),a="A".charCodeAt(0),s="-".charCodeAt(0),u="_".charCodeAt(0);function c(e){return(e=e.charCodeAt(0))===n||e===s?62:e===r||e===u?63:e<i?-1:e<i+10?e-i+26+26:e<a+26?e-a:e<o+26?e-o+26:void 0}e.toByteArray=function(e){var n,r;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.length,o=(i="="===e.charAt(i-2)?2:"="===e.charAt(i-1)?1:0,new t(3*e.length/4-i)),a=0<i?e.length-4:e.length,s=0;function u(e){o[s++]=e}for(n=0;n<a;n+=4,0)u((16711680&(r=c(e.charAt(n))<<18|c(e.charAt(n+1))<<12|c(e.charAt(n+2))<<6|c(e.charAt(n+3))))>>16),u((65280&r)>>8),u(255&r);return 2==i?u(255&(r=c(e.charAt(n))<<2|c(e.charAt(n+1))>>4)):1==i&&(u((r=c(e.charAt(n))<<10|c(e.charAt(n+1))<<4|c(e.charAt(n+2))>>2)>>8&255),u(255&r)),o},e.fromByteArray=function(e){var t,n,r,i,o=e.length%3,a="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-o;t<r;t+=3)a+=s((i=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(i>>12&63)+s(i>>6&63)+s(63&i);switch(o){case 1:a=(a+=s((n=e[e.length-1])>>2))+s(n<<4&63)+"==";break;case 2:a=(a=(a+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(n>>4&63))+s(n<<2&63)+"="}return a}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,n){(function(t,r,i,o,a,s,u,c,l){var f=e("base64-js"),d=e("ieee754");function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);var r,o,a,s,u=typeof e;if("base64"===t&&"string"==u)for(e=(s=e).trim?s.trim():s.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==u)r=A(e);else if("string"==u)r=i.byteLength(e,t);else{if("object"!=u)throw new Error("First argument needs to be a number, array or string.");r=A(e.length)}if(i._useTypedArrays?o=i._augment(new Uint8Array(r)):((o=this).length=r,o._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)o._set(e);else if(O(s=e)||i.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<r;a++)i.isBuffer(e)?o[a]=e.readUInt8(a):o[a]=e[a];else if("string"==u)o.write(e,0,t);else if("number"==u&&!i._useTypedArrays&&!n)for(a=0;a<r;a++)o[a]=0;return o}function p(e,t,n,r){var i;if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length")),!((r=e.length)<=t))return n?(i=e[t],t+1<r&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<r&&(i|=e[t+1])),i}function h(e,t,n,r){var i;if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length")),!((r=e.length)<=t))return n?(t+2<r&&(i=e[t+2]<<16),t+1<r&&(i|=e[t+1]<<8),i|=e[t],t+3<r&&(i+=e[t+3]<<24>>>0)):(t+1<r&&(i=e[t+1]<<16),t+2<r&&(i|=e[t+2]<<8),t+3<r&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function y(e,t,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(r=p(e,t,n,!0))?-1*(65535-r+1):r}function g(e,t,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 2147483648&(r=h(e,t,n,!0))?-1*(4294967295-r+1):r}function v(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,23,4)}function m(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,52,8)}function b(e,t,n,r,i){if(i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+1<e.length,"trying to write beyond buffer length"),C(t,65535)),!((i=e.length)<=n))for(var o=0,a=Math.min(i-n,2);o<a;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function E(e,t,n,r,i){if(i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"trying to write beyond buffer length"),C(t,4294967295)),!((i=e.length)<=n))for(var o=0,a=Math.min(i-n,4);o<a;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function w(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+1<e.length,"Trying to write beyond buffer length"),B(t,32767,-32768)),e.length<=n||b(e,0<=t?t:65535+t+1,n,r,i)}function _(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"Trying to write beyond buffer length"),B(t,2147483647,-2147483648)),e.length<=n||E(e,0<=t?t:4294967295+t+1,n,r,i)}function T(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"Trying to write beyond buffer length"),j(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||d.write(e,t,n,r,23,4)}function I(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+7<e.length,"Trying to write beyond buffer length"),j(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||d.write(e,t,n,r,52,8)}n.Buffer=i,n.SlowBuffer=i,n.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=D(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=x(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw new Error("Unknown encoding")}return n},i.concat=function(e,t){if(P(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(o=t=0;o<e.length;o++)t+=e[o].length;for(var n=new i(t),r=0,o=0;o<e.length;o++){var a=e[o];a.copy(n,r),r+=a.length}return n},i.prototype.write=function(e,t,n,r){isFinite(t)?isFinite(n)||(r=n,n=void 0):(c=r,r=t,t=n,n=c),t=Number(t)||0;var o,a,s,u,c=this.length-t;switch((!n||c<(n=Number(n)))&&(n=c),r=String(r||"utf8").toLowerCase()){case"hex":o=function(e,t,n,r){n=Number(n)||0;var o=e.length-n;(!r||o<(r=Number(r)))&&(r=o),P((o=t.length)%2==0,"Invalid hex string"),o/2<r&&(r=o/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);P(!isNaN(s),"Invalid hex string"),e[n+a]=s}return i._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":a=this,s=t,u=n,o=i._charsWritten=k(D(e),a,s,u);break;case"ascii":case"binary":o=function(e,t,n,r){return i._charsWritten=k(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}(this,e,t,n);break;case"base64":a=this,s=t,u=n,o=i._charsWritten=k(x(e),a,s,u);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=function(e,t,n,r){return i._charsWritten=k(function(e){for(var t,n,r=[],i=0;i<e.length;i++)t=(n=e.charCodeAt(i))>>8,n%=256,r.push(n),r.push(t);return r}(t),e,n,r)}(this,e,t,n);break;default:throw new Error("Unknown encoding")}return o},i.prototype.toString=function(e,t,n){var r,i,o,a,s=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):s.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var i="",o=t;o<n;o++)i+=R(e[o]);return i}(s,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;o<n;o++)e[o]<=127?(r+=L(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+L(i)}(s,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;i++)r+=String.fromCharCode(e[i]);return r}(s,t,n);break;case"base64":i=s,a=n,r=0===(o=t)&&a===i.length?f.fromByteArray(i):f.fromByteArray(i.slice(o,a));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(s,t,n);break;default:throw new Error("Unknown encoding")}return r},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,n,r){if(t=t||0,(r=r||0===r?r:this.length)!==(n=n||0)&&0!==e.length&&0!==this.length){P(n<=r,"sourceEnd < sourceStart"),P(0<=t&&t<e.length,"targetStart out of bounds"),P(0<=n&&n<this.length,"sourceStart out of bounds"),P(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length);var o=(r=e.length-t<r-n?e.length-t+n:r)-n;if(o<100||!i._useTypedArrays)for(var a=0;a<o;a++)e[a+t]=this[a+n];else e._set(this.subarray(n,n+o),t)}},i.prototype.slice=function(e,t){var n=this.length;if(e=N(e,n,0),t=N(t,n,n),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var r=t-e,o=new i(r,void 0,!0),a=0;a<r;a++)o[a]=this[a+e];return o},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(P(null!=e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return p(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return p(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(P(null!=e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return g(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return g(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return v(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return v(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return m(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return m(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,n){n||(P(null!=e,"missing value"),P(null!=t,"missing offset"),P(t<this.length,"trying to write beyond buffer length"),C(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,n){b(this,e,t,!0,n)},i.prototype.writeUInt16BE=function(e,t,n){b(this,e,t,!1,n)},i.prototype.writeUInt32LE=function(e,t,n){E(this,e,t,!0,n)},i.prototype.writeUInt32BE=function(e,t,n){E(this,e,t,!1,n)},i.prototype.writeInt8=function(e,t,n){n||(P(null!=e,"missing value"),P(null!=t,"missing offset"),P(t<this.length,"Trying to write beyond buffer length"),B(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},i.prototype.writeInt16LE=function(e,t,n){w(this,e,t,!0,n)},i.prototype.writeInt16BE=function(e,t,n){w(this,e,t,!1,n)},i.prototype.writeInt32LE=function(e,t,n){_(this,e,t,!0,n)},i.prototype.writeInt32BE=function(e,t,n){_(this,e,t,!1,n)},i.prototype.writeFloatLE=function(e,t,n){T(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){T(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){I(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){I(this,e,t,!1,n)},i.prototype.fill=function(e,t,n){if(t=t||0,n=n||this.length,P("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),P(t<=n,"end < start"),n!==t&&0!==this.length){P(0<=t&&t<this.length,"start out of bounds"),P(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=R(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var S=i.prototype;function N(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function A(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function R(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else for(var i=n,o=(55296<=r&&r<=57343&&n++,encodeURIComponent(e.slice(i,n+1)).substr(1).split("%")),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}return t}function x(e){return f.toByteArray(e)}function k(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function L(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function C(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(0<=e,"specified a negative value for writing an unsigned value"),P(e<=t,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function B(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(e<=t,"value larger than maximum allowed value"),P(n<=e,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function j(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(e<=t,"value larger than maximum allowed value"),P(n<=e,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw new Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=S.get,e.set=S.set,e.write=S.write,e.toString=S.toString,e.toLocaleString=S.toString,e.toJSON=S.toJSON,e.copy=S.copy,e.slice=S.slice,e.readUInt8=S.readUInt8,e.readUInt16LE=S.readUInt16LE,e.readUInt16BE=S.readUInt16BE,e.readUInt32LE=S.readUInt32LE,e.readUInt32BE=S.readUInt32BE,e.readInt8=S.readInt8,e.readInt16LE=S.readInt16LE,e.readInt16BE=S.readInt16BE,e.readInt32LE=S.readInt32LE,e.readInt32BE=S.readInt32BE,e.readFloatLE=S.readFloatLE,e.readFloatBE=S.readFloatBE,e.readDoubleLE=S.readDoubleLE,e.readDoubleBE=S.readDoubleBE,e.writeUInt8=S.writeUInt8,e.writeUInt16LE=S.writeUInt16LE,e.writeUInt16BE=S.writeUInt16BE,e.writeUInt32LE=S.writeUInt32LE,e.writeUInt32BE=S.writeUInt32BE,e.writeInt8=S.writeInt8,e.writeInt16LE=S.writeInt16LE,e.writeInt16BE=S.writeInt16BE,e.writeInt32LE=S.writeInt32LE,e.writeInt32BE=S.writeInt32BE,e.writeFloatLE=S.writeFloatLE,e.writeFloatBE=S.writeFloatBE,e.writeDoubleLE=S.writeDoubleLE,e.writeDoubleBE=S.writeDoubleBE,e.fill=S.fill,e.inspect=S.inspect,e.toArrayBuffer=S.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){i=e("buffer").Buffer;var f=new i(4);f.fill(0),t.exports={hash:function(e,t,n,r){for(var o=t(function(e,t){e.length%4!=0&&(n=e.length+(4-e.length%4),e=i.concat([e,f],n));for(var n,r=[],o=t?e.readInt32BE:e.readInt32LE,a=0;a<e.length;a+=4)r.push(o.call(e,a));return r}(e=i.isBuffer(e)?e:new i(e),r),8*e.length),a=(t=r,new i(n)),s=t?a.writeInt32BE:a.writeInt32LE,u=0;u<o.length;u++)s.call(a,o[u],4*u,!0);return a}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,n){(function(t,r,i,o,a,s,u,c,l){i=e("buffer").Buffer;var f=e("./sha"),d=e("./sha256"),p=e("./rng"),h={sha1:f,sha256:d,md5:e("./md5")},y=64,g=new i(y);function v(e,t){var n=h[e=e||"sha1"],r=[];return n||m("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),r.push(e),e.length,this},digest:function(e){var o=i.concat(r);return o=t?function(e,t,n){i.isBuffer(t)||(t=new i(t)),i.isBuffer(n)||(n=new i(n)),t.length>y?t=e(t):t.length<y&&(t=i.concat([t,g],y));for(var r=new i(y),o=new i(y),a=0;a<y;a++)r[a]=54^t[a],o[a]=92^t[a];return n=e(i.concat([r,n])),e(i.concat([o,n]))}(n,t,o):n(o),r=null,e?o.toString(e):o}}}function m(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),n.createHash=function(e){return v(e)},n.createHmac=v,n.randomBytes=function(e,t){if(!t||!t.call)return new i(p(e));try{t.call(this,void 0,new i(p(e)))}catch(e){t(e)}};var b,E=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],w=function(e){n[e]=function(){m("sorry,",e,"is not implemented yet")}};for(b in E)w(E[b])}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){var f=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,u=r,c=i,l=o;n=h(n,r,i,o,e[a+0],7,-680876936),o=h(o,n,r,i,e[a+1],12,-389564586),i=h(i,o,n,r,e[a+2],17,606105819),r=h(r,i,o,n,e[a+3],22,-1044525330),n=h(n,r,i,o,e[a+4],7,-176418897),o=h(o,n,r,i,e[a+5],12,1200080426),i=h(i,o,n,r,e[a+6],17,-1473231341),r=h(r,i,o,n,e[a+7],22,-45705983),n=h(n,r,i,o,e[a+8],7,1770035416),o=h(o,n,r,i,e[a+9],12,-1958414417),i=h(i,o,n,r,e[a+10],17,-42063),r=h(r,i,o,n,e[a+11],22,-1990404162),n=h(n,r,i,o,e[a+12],7,1804603682),o=h(o,n,r,i,e[a+13],12,-40341101),i=h(i,o,n,r,e[a+14],17,-1502002290),n=y(n,r=h(r,i,o,n,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=y(o,n,r,i,e[a+6],9,-1069501632),i=y(i,o,n,r,e[a+11],14,643717713),r=y(r,i,o,n,e[a+0],20,-373897302),n=y(n,r,i,o,e[a+5],5,-701558691),o=y(o,n,r,i,e[a+10],9,38016083),i=y(i,o,n,r,e[a+15],14,-660478335),r=y(r,i,o,n,e[a+4],20,-405537848),n=y(n,r,i,o,e[a+9],5,568446438),o=y(o,n,r,i,e[a+14],9,-1019803690),i=y(i,o,n,r,e[a+3],14,-187363961),r=y(r,i,o,n,e[a+8],20,1163531501),n=y(n,r,i,o,e[a+13],5,-1444681467),o=y(o,n,r,i,e[a+2],9,-51403784),i=y(i,o,n,r,e[a+7],14,1735328473),n=g(n,r=y(r,i,o,n,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=g(o,n,r,i,e[a+8],11,-2022574463),i=g(i,o,n,r,e[a+11],16,1839030562),r=g(r,i,o,n,e[a+14],23,-35309556),n=g(n,r,i,o,e[a+1],4,-1530992060),o=g(o,n,r,i,e[a+4],11,1272893353),i=g(i,o,n,r,e[a+7],16,-155497632),r=g(r,i,o,n,e[a+10],23,-1094730640),n=g(n,r,i,o,e[a+13],4,681279174),o=g(o,n,r,i,e[a+0],11,-358537222),i=g(i,o,n,r,e[a+3],16,-722521979),r=g(r,i,o,n,e[a+6],23,76029189),n=g(n,r,i,o,e[a+9],4,-640364487),o=g(o,n,r,i,e[a+12],11,-421815835),i=g(i,o,n,r,e[a+15],16,530742520),n=v(n,r=g(r,i,o,n,e[a+2],23,-995338651),i,o,e[a+0],6,-198630844),o=v(o,n,r,i,e[a+7],10,1126891415),i=v(i,o,n,r,e[a+14],15,-1416354905),r=v(r,i,o,n,e[a+5],21,-57434055),n=v(n,r,i,o,e[a+12],6,1700485571),o=v(o,n,r,i,e[a+3],10,-1894986606),i=v(i,o,n,r,e[a+10],15,-1051523),r=v(r,i,o,n,e[a+1],21,-2054922799),n=v(n,r,i,o,e[a+8],6,1873313359),o=v(o,n,r,i,e[a+15],10,-30611744),i=v(i,o,n,r,e[a+6],15,-1560198380),r=v(r,i,o,n,e[a+13],21,1309151649),n=v(n,r,i,o,e[a+4],6,-145523070),o=v(o,n,r,i,e[a+11],10,-1120210379),i=v(i,o,n,r,e[a+2],15,718787259),r=v(r,i,o,n,e[a+9],21,-343485551),n=m(n,s),r=m(r,u),i=m(i,c),o=m(o,l)}return Array(n,r,i,o)}function p(e,t,n,r,i,o){return m((t=m(m(t,e),m(r,o)))<<i|t>>>32-i,n)}function h(e,t,n,r,i,o,a){return p(t&n|~t&r,e,t,i,o,a)}function y(e,t,n,r,i,o,a){return p(t&r|n&~r,e,t,i,o,a)}function g(e,t,n,r,i,o,a){return p(t^n^r,e,t,i,o,a)}function v(e,t,n,r,i,o,a){return p(n^(t|~r),e,t,i,o,a)}function m(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return f.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,n){(function(e,n,r,i,o,a,s,u,c){t.exports=function(e){for(var t,n=new Array(e),r=0;r<e;r++)0==(3&r)&&(t=4294967296*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){var f=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,i,o=Array(80),a=1732584193,s=-271733879,u=-1732584194,c=271733878,l=-1009589776,f=0;f<e.length;f+=16){for(var d=a,y=s,g=u,v=c,m=l,b=0;b<80;b++){o[b]=b<16?e[f+b]:h(o[b-3]^o[b-8]^o[b-14]^o[b-16],1);var E=p(p(h(a,5),(E=s,r=u,i=c,(n=b)<20?E&r|~E&i:!(n<40)&&n<60?E&r|E&i|r&i:E^r^i)),p(p(l,o[b]),(n=b)<20?1518500249:n<40?1859775393:n<60?-1894007588:-899497514));l=c,c=u,u=h(s,30),s=a,a=E}a=p(a,d),s=p(s,y),u=p(u,g),c=p(c,v),l=p(l,m)}return Array(a,s,u,c,l)}function p(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function h(e,t){return e<<t|e>>>32-t}t.exports=function(e){return f.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){function f(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){var n,r=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),i=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),o=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,s,u=0;u<e.length;u+=16){for(var c=i[0],l=i[1],d=i[2],p=i[3],g=i[4],v=i[5],m=i[6],b=i[7],E=0;E<64;E++)o[E]=E<16?e[E+u]:f(f(f((s=o[E-2],h(s,17)^h(s,19)^y(s,10)),o[E-7]),(s=o[E-15],h(s,7)^h(s,18)^y(s,3))),o[E-16]),n=f(f(f(f(b,h(s=g,6)^h(s,11)^h(s,25)),g&v^~g&m),r[E]),o[E]),a=f(h(a=c,2)^h(a,13)^h(a,22),c&l^c&d^l&d),b=m,m=v,v=g,g=f(p,n),p=d,d=l,l=c,c=f(n,a);i[0]=f(c,i[0]),i[1]=f(l,i[1]),i[2]=f(d,i[2]),i[3]=f(p,i[3]),i[4]=f(g,i[4]),i[5]=f(v,i[5]),i[6]=f(m,i[6]),i[7]=f(b,i[7])}return i}var p=e("./helpers"),h=function(e,t){return e>>>t|e<<32-t},y=function(e,t){return e>>>t};t.exports=function(e){return p.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,n){(function(e,t,r,i,o,a,s,u,c){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1;for(i=e[t+f],f+=d,o=i&(1<<-l)-1,i>>=-l,l+=s;0<l;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;0<l;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(i?-1:1);a+=Math.pow(2,r),o-=c}return(i?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u=8*o-i-1,c=(1<<u)-1,l=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1;for(o=t<0||0===t&&1/t<0?1:0,t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(t+=1<=a+l?f/r:f*Math.pow(2,1-l))*r&&(a++,r/=2),c<=a+l?(s=0,a=c):1<=a+l?(s=(t*r-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));8<=i;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;0<u;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*o}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,n){(function(e,n,r,i,o,a,s,u,c){var l,f,d;function p(){}(e=t.exports={}).nextTick=(f="undefined"!=typeof window&&window.setImmediate,d="undefined"!=typeof window&&window.postMessage&&window.addEventListener,f?function(e){return window.setImmediate(e)}:d?(l=[],window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<l.length&&l.shift()())}),!0),function(e){l.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},4155:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},9509:(e,t,n)=>{var r=n(8764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},2553:(e,t,n)=>{"use strict";var r=n(9509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer=JSON},7641:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=void 0;const r=n(4886),i=n(5927),o="ping",a="pong",s="complete";class u{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e,t,n){this._type=e,this._payload=t,this._id=n}get text(){const e={type:this.type};return null!=this.id&&null!=this.id&&(e.id=this.id),null!=this.payload&&null!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}static parse(e,t){const{type:n,payload:r,id:i}=JSON.parse(e);return new u(n,t(r),i)}}class c{constructor(e,{onInit:t,onAcknowledged:n,onPing:r,onPong:c}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.addEventListener("open",(async n=>{var r;this.socketState.acknowledged=!1,this.socketState.subscriptions={},e.send((r=t?await t():null,new u("connection_init",r)).text)})),e.addEventListener("close",(e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}})),e.addEventListener("error",(e=>{console.error(e)})),e.addEventListener("message",(t=>{try{const f=function(e,t=(e=>e)){return u.parse(e,t)}(t.data);switch(f.type){case"connection_ack":return void(this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,n&&n(f.payload)));case o:return void(r?r(f.payload).then((t=>e.send(l(t).text))):e.send(l(null).text));case a:return void(c&&c(f.payload))}if(!this.socketState.acknowledged)return;if(void 0===f.id||null===f.id||!this.socketState.subscriptions[f.id])return;const{query:d,variables:p,subscriber:h}=this.socketState.subscriptions[f.id];switch(f.type){case"next":return!f.payload.errors&&f.payload.data&&h.next&&h.next(f.payload.data),void(f.payload.errors&&h.error&&h.error(new i.ClientError({...f.payload,status:200},{query:d,variables:p})));case"error":return void(h.error&&h.error(new i.ClientError({errors:f.payload,status:200},{query:d,variables:p})));case s:return h.complete&&h.complete(),void delete this.socketState.subscriptions[f.id]}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")}))}makeSubscribe(e,t,n,r){const i=(this.socketState.lastRequestId++).toString();var o,a;return this.socketState.subscriptions[i]={query:e,variables:r,subscriber:n},this.socket.send((o=i,a={query:e,operationName:t,variables:r},new u("subscribe",a,o)).text),()=>{this.socket.send(function(e){return new u(s,void 0,e)}(i).text),delete this.socketState.subscriptions[i]}}rawRequest(e,t){return new Promise(((n,r)=>{let i;this.rawSubscribe(e,{next:(e,t)=>i={data:e,extensions:t},error:r,complete:()=>n(i)},t)}))}request(e,t){return new Promise(((n,r)=>{let i;this.subscribe(e,{next:e=>i=e,error:r,complete:()=>n(i)},t)}))}subscribe(e,t,n){const{query:i,operationName:o}=(0,r.resolveRequestDocument)(e);return this.makeSubscribe(i,o,t,n)}rawSubscribe(e,t,n){return this.makeSubscribe(e,void 0,t,n)}ping(e){this.socket.send(function(e){return new u(o,e,void 0)}(e).text)}close(){this.socket.close(1e3)}}function l(e){return new u(a,e,void 0)}c.PROTOCOL="graphql-transport-ws",t.GraphQLWebSocketClient=c},7299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadersInstanceToPlainObject=t.uppercase=void 0,t.uppercase=e=>e.toUpperCase(),t.HeadersInstanceToPlainObject=e=>{const t={};return e.forEach(((e,n)=>{t[n]=e})),t}},7825:function(e,t,n){"use strict";var r=this&&this.__createBinding||(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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.rawRequest=t.GraphQLClient=t.ClientError=t.batchRequests=t.resolveRequestDocument=t.GraphQLWebSocketClient=t.gql=void 0;const a=n(736),s=n(7299),u=n(5795),c=n(4886),l=n(5927);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return l.ClientError}});const f=o(n(4098)),d=f,p=e=>{let t={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||d&&d.Headers&&e instanceof d.Headers?t=(0,s.HeadersInstanceToPlainObject)(e):Array.isArray(e)?e.forEach((([e,n])=>{e&&void 0!==n&&(t[e]=n)})):t=e),t},h=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim();class y{constructor(e,t={}){this.url=e,this.requestConfig=t,this.rawRequest=async(...e)=>{const[t,n,r]=e,i=(0,u.parseRawRequestArgs)(t,n,r),{headers:o,fetch:a=f.default,method:s="POST",requestMiddleware:l,responseMiddleware:d,...h}=this.requestConfig,{url:y}=this;void 0!==i.signal&&(h.signal=i.signal);const{operationName:v}=(0,c.resolveRequestDocument)(i.query);return g({url:y,query:i.query,variables:i.variables,headers:{...p(w(o)),...p(i.requestHeaders)},operationName:v,fetch:a,method:s,fetchOptions:h,middleware:l}).then((e=>(d&&d(e),e))).catch((e=>{throw d&&d(e),e}))}}async request(e,...t){const[n,r]=t,i=(0,u.parseRequestArgs)(e,n,r),{headers:o,fetch:a=f.default,method:s="POST",requestMiddleware:l,responseMiddleware:d,...h}=this.requestConfig,{url:y}=this;void 0!==i.signal&&(h.signal=i.signal);const{query:v,operationName:m}=(0,c.resolveRequestDocument)(i.document);return g({url:y,query:v,variables:i.variables,headers:{...p(w(o)),...p(i.requestHeaders)},operationName:m,fetch:a,method:s,fetchOptions:h,middleware:l}).then((e=>(d&&d(e),e.data))).catch((e=>{throw d&&d(e),e}))}batchRequests(e,t){const n=(0,u.parseBatchRequestArgs)(e,t),{headers:r,...i}=this.requestConfig;void 0!==n.signal&&(i.signal=n.signal);const o=n.documents.map((({document:e})=>(0,c.resolveRequestDocument)(e).query)),a=n.documents.map((({variables:e})=>e));return g({url:this.url,query:o,variables:a,headers:{...p(w(r)),...p(n.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??f.default,method:this.requestConfig.method||"POST",fetchOptions:i,middleware:this.requestConfig.requestMiddleware}).then((e=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e.data))).catch((e=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e}))}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,t){const{headers:n}=this.requestConfig;return n?n[e]=t:this.requestConfig.headers={[e]:t},this}setEndpoint(e){return this.url=e,this}}t.GraphQLClient=y;const g=async e=>{const{query:t,variables:n,fetchOptions:r}=e,i=(p=(0,s.uppercase)(e.method??"post"),async e=>{const{url:t,query:n,variables:r,operationName:i,fetch:o,fetchOptions:s,middleware:u}=e,c={...e.headers};let l,f="";"POST"===p?(l=b(n,r,i,s.jsonSerializer),"string"==typeof l&&(c["Content-Type"]="application/json")):f=(e=>{if(!Array.isArray(e.query)){const t=e,n=[`query=${encodeURIComponent(h(t.query))}`];return e.variables&&n.push(`variables=${encodeURIComponent(t.jsonSerializer.stringify(t.variables))}`),t.operationName&&n.push(`operationName=${encodeURIComponent(t.operationName)}`),n.join("&")}if(void 0!==e.variables&&!Array.isArray(e.variables))throw new Error("Cannot create query with given variable type, array expected");const t=e,n=e.query.reduce(((e,n,r)=>(e.push({query:h(n),variables:t.variables?t.jsonSerializer.stringify(t.variables[r]):void 0}),e)),[]);return`query=${encodeURIComponent(t.jsonSerializer.stringify(n))}`})({query:n,variables:r,operationName:i,jsonSerializer:s.jsonSerializer??a.defaultJsonSerializer});const d={method:p,headers:c,body:l,...s};let y=t,g=d;if(u){const e=await Promise.resolve(u({...d,url:t,operationName:i,variables:r})),{url:n,...o}=e;y=n,g=o}return f&&(y=`${y}?${f}`),await o(y,g)}),o=Array.isArray(e.query),u=await i(e),c=await E(u,r.jsonSerializer??a.defaultJsonSerializer),f=Array.isArray(c)?!c.some((({data:e})=>!e)):Boolean(c.data),d=Array.isArray(c)||!c.errors||Array.isArray(c.errors)&&!c.errors.length||"all"===r.errorPolicy||"ignore"===r.errorPolicy;var p;if(u.ok&&d&&f){const{errors:e,...t}=(Array.isArray(c),c),n="ignore"===r.errorPolicy?t:c;return{...o?{data:n}:n,headers:u.headers,status:u.status}}{const e="string"==typeof c?{error:c}:c;throw new l.ClientError({...e,status:u.status,headers:u.headers},{query:t,variables:n})}};async function v(e,t,...n){const r=(0,u.parseRequestExtendedArgs)(e,t,...n);return new y(r.url).request({...r})}t.rawRequest=async(...e)=>{const[t,n,...r]=e,i=(0,u.parseRawRequestExtendedArgs)(t,n,...r);return new y(i.url).rawRequest({...i})},t.request=v,t.batchRequests=async(...e)=>{const t=m(e);return new y(t.url).batchRequests(t)};const m=e=>1===e.length?e[0]:{url:e[0],documents:e[1],requestHeaders:e[2],signal:void 0},b=(e,t,n,r)=>{const i=r??a.defaultJsonSerializer;if(!Array.isArray(e))return i.stringify({query:e,variables:t,operationName:n});if(void 0!==t&&!Array.isArray(t))throw new Error("Cannot create request body with given variable type, array expected");const o=e.reduce(((e,n,r)=>(e.push({query:n,variables:t?t[r]:void 0}),e)),[]);return i.stringify(o)},E=async(e,t)=>{let n;return e.headers.forEach(((e,t)=>{"content-type"===t.toLowerCase()&&(n=e)})),n&&(n.toLowerCase().startsWith("application/json")||n.toLowerCase().startsWith("application/graphql+json")||n.toLowerCase().startsWith("application/graphql-response+json"))?t.parse(await e.text()):e.text()},w=e=>"function"==typeof e?e():e;t.gql=(e,...t)=>e.reduce(((e,n,r)=>`${e}${n}${r in t?String(t[r]):""}`),"");var _=n(7641);Object.defineProperty(t,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return _.GraphQLWebSocketClient}});var T=n(4886);Object.defineProperty(t,"resolveRequestDocument",{enumerable:!0,get:function(){return T.resolveRequestDocument}}),t.default=v},5795:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRawRequestExtendedArgs=t.parseRequestExtendedArgs=t.parseBatchRequestArgs=t.parseRawRequestArgs=t.parseRequestArgs=void 0,t.parseRequestArgs=(e,t,n)=>e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0},t.parseRawRequestArgs=(e,t,n)=>e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0},t.parseBatchRequestArgs=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0},t.parseRequestExtendedArgs=(e,t,...n)=>{const[r,i]=n;return e.document?e:{url:e,document:t,variables:r,requestHeaders:i,signal:void 0}},t.parseRawRequestExtendedArgs=(e,t,...n)=>{const[r,i]=n;return e.query?e:{url:e,query:t,variables:r,requestHeaders:i,signal:void 0}}},4886:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveRequestDocument=void 0;const r=n(3521),i=e=>{let t;const n=e.definitions.filter((e=>"OperationDefinition"===e.kind));return 1===n.length&&(t=n[0]?.name?.value),t};t.resolveRequestDocument=e=>{if("string"==typeof e){let t;try{const n=(0,r.parse)(e);t=i(n)}catch(e){}return{query:e,operationName:t}}const t=i(e);return{query:(0,r.print)(e),operationName:t}}},5927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;class n extends Error{constructor(e,t){super(`${n.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,n.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,n)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${e.status})`}}t.ClientError=n},3521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>be,BreakingChangeType:()=>La,DEFAULT_DEPRECATION_REASON:()=>Wn,DangerousChangeType:()=>Ca,DirectiveLocation:()=>H,ExecutableDefinitionsRule:()=>xr,FieldsOnCorrectTypeRule:()=>Mr,FragmentsOnCompositeTypesRule:()=>Pr,GraphQLBoolean:()=>bn,GraphQLDeprecatedDirective:()=>Yn,GraphQLDirective:()=>qn,GraphQLEnumType:()=>Zt,GraphQLError:()=>A,GraphQLFloat:()=>gn,GraphQLID:()=>En,GraphQLIncludeDirective:()=>Gn,GraphQLInputObjectType:()=>tn,GraphQLInt:()=>yn,GraphQLInterfaceType:()=>Kt,GraphQLList:()=>Dt,GraphQLNonNull:()=>xt,GraphQLObjectType:()=>Gt,GraphQLScalarType:()=>qt,GraphQLSchema:()=>Zn,GraphQLSkipDirective:()=>$n,GraphQLSpecifiedByDirective:()=>Qn,GraphQLString:()=>mn,GraphQLUnionType:()=>zt,Kind:()=>x,KnownArgumentNamesRule:()=>ei,KnownDirectivesRule:()=>Hr,KnownFragmentNamesRule:()=>qr,KnownTypeNamesRule:()=>Br,Lexer:()=>ee,Location:()=>B,LoneAnonymousOperationRule:()=>Lr,LoneSchemaDefinitionRule:()=>Ni,NoDeprecatedCustomRule:()=>jo,NoFragmentCyclesRule:()=>Wr,NoSchemaIntrospectionCustomRule:()=>Po,NoUndefinedVariablesRule:()=>Qr,NoUnusedFragmentsRule:()=>Gr,NoUnusedVariablesRule:()=>Jr,OverlappingFieldsCanBeMergedRule:()=>hi,PossibleFragmentSpreadsRule:()=>$r,PossibleTypeExtensionsRule:()=>Ci,ProvidedRequiredArgumentsRule:()=>ui,ScalarLeafsRule:()=>Ur,SchemaMetaFieldDef:()=>Cn,SingleFieldSubscriptionsRule:()=>Cr,Source:()=>Q,Token:()=>j,TokenKind:()=>F,TypeInfo:()=>br,TypeKind:()=>kn,TypeMetaFieldDef:()=>Bn,TypeNameMetaFieldDef:()=>jn,UniqueArgumentNamesRule:()=>ni,UniqueDirectiveNamesRule:()=>ki,UniqueDirectivesPerLocationRule:()=>Kr,UniqueEnumValueNamesRule:()=>Ri,UniqueFieldDefinitionNamesRule:()=>Di,UniqueFragmentNamesRule:()=>Vr,UniqueInputFieldNamesRule:()=>Si,UniqueOperationNamesRule:()=>kr,UniqueOperationTypesRule:()=>Ai,UniqueTypeNamesRule:()=>Oi,UniqueVariableNamesRule:()=>Yr,ValidationContext:()=>Vi,ValuesOfCorrectTypeRule:()=>ri,VariablesAreInputTypesRule:()=>Fr,VariablesInAllowedPositionRule:()=>fi,__Directive:()=>Nn,__DirectiveLocation:()=>An,__EnumValue:()=>xn,__Field:()=>Rn,__InputValue:()=>Dn,__Schema:()=>Sn,__Type:()=>On,__TypeKind:()=>Ln,assertAbstractType:()=>Rt,assertCompositeType:()=>At,assertDirective:()=>Vn,assertEnumType:()=>pt,assertInputObjectType:()=>yt,assertInputType:()=>wt,assertInterfaceType:()=>ct,assertLeafType:()=>St,assertListType:()=>vt,assertNamedType:()=>Ft,assertNonNullType:()=>bt,assertNullableType:()=>Bt,assertObjectType:()=>st,assertOutputType:()=>Tt,assertScalarType:()=>ot,assertSchema:()=>Xn,assertType:()=>rt,assertUnionType:()=>ft,assertValidName:()=>Ae,assertValidSchema:()=>nr,assertWrappingType:()=>Lt,astFromValue:()=>Tn,buildASTSchema:()=>na,buildClientSchema:()=>Yo,buildSchema:()=>ra,coerceInputValue:()=>Ki,concatAST:()=>Ia,createSourceEventStream:()=>Bo,defaultFieldResolver:()=>So,defaultTypeResolver:()=>Io,doTypesOverlap:()=>sn,execute:()=>no,executeSync:()=>ro,extendSchema:()=>Ko,findBreakingChanges:()=>Ba,findDangerousChanges:()=>ja,findDeprecatedUsages:()=>Ha,formatError:()=>Fo,getDescription:()=>ta,getDirectiveValues:()=>eo,getIntrospectionQuery:()=>Vo,getLocation:()=>f,getNamedType:()=>Ut,getNullableType:()=>jt,getOperationAST:()=>qo,getOperationRootType:()=>Yi,getVisitFn:()=>_e,graphql:()=>Ao,graphqlSync:()=>Oo,introspectionFromSchema:()=>Wo,introspectionTypes:()=>Pn,isAbstractType:()=>Ot,isCompositeType:()=>Nt,isDefinitionNode:()=>_r,isDirective:()=>Mn,isEnumType:()=>dt,isEqualType:()=>on,isExecutableDefinitionNode:()=>Tr,isInputObjectType:()=>ht,isInputType:()=>Et,isInterfaceType:()=>ut,isIntrospectionType:()=>Fn,isLeafType:()=>It,isListType:()=>gt,isNamedType:()=>Pt,isNonNullType:()=>mt,isNullableType:()=>Ct,isObjectType:()=>at,isOutputType:()=>_t,isRequiredArgument:()=>Ht,isRequiredInputField:()=>rn,isScalarType:()=>it,isSchema:()=>zn,isSelectionNode:()=>Ir,isSpecifiedDirective:()=>Hn,isSpecifiedScalarType:()=>_n,isType:()=>nt,isTypeDefinitionNode:()=>Or,isTypeExtensionNode:()=>Dr,isTypeNode:()=>Nr,isTypeSubTypeOf:()=>an,isTypeSystemDefinitionNode:()=>Ar,isTypeSystemExtensionNode:()=>Rr,isUnionType:()=>lt,isValidNameError:()=>Oe,isValueNode:()=>Sr,isWrappingType:()=>kt,lexicographicSortSchema:()=>sa,locatedError:()=>Se,parse:()=>de,parseType:()=>he,parseValue:()=>pe,print:()=>$e,printError:()=>R,printIntrospectionSchema:()=>da,printLocation:()=>d,printSchema:()=>fa,printSourceLocation:()=>p,printType:()=>ga,responsePathAsArray:()=>Wi,separateOperations:()=>Sa,specifiedDirectives:()=>Jn,specifiedRules:()=>ji,specifiedScalarTypes:()=>wn,stripIgnoredCharacters:()=>Oa,subscribe:()=>Lo,syntaxError:()=>D,typeFromAST:()=>mr,validate:()=>qi,validateSchema:()=>tr,valueFromAST:()=>Ji,valueFromASTUntyped:()=>Ze,version:()=>r,versionInfo:()=>i,visit:()=>Ee,visitInParallel:()=>we,visitWithTypeInfo:()=>wr});var r="15.8.0",i=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function o(e){return"function"==typeof(null==e?void 0:e.then)}function a(e){return a="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},a(e)}function s(e){return"object"==a(e)&&null!==e}var u="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",c="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",l="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function f(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}function d(e){return p(e.source,f(e.source,e.start))}function p(e,t){var n=e.locationOffset.column-1,r=y(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,u=t.column+s,c="".concat(e.name,":").concat(a,":").concat(u,"\n"),l=r.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){for(var d=Math.floor(u/80),p=u%80,g=[],v=0;v<f.length;v+=80)g.push(f.slice(v,v+80));return c+h([["".concat(a),g[0]]].concat(g.slice(1,d+1).map((function(e){return["",e]})),[[" ",y(p-1)+"^"],["",g[d+1]]]))}return c+h([["".concat(a-1),l[i-1]],["".concat(a),f],["",y(u-1)+"^"],["".concat(a+1),l[i+1]]])}function h(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return y(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function y(e){return Array(e+1).join(" ")}function g(e){return g="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},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(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 E(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){var t="function"==typeof Map?new Map:void 0;return _=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return T(e,arguments,N(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)},_(e)}function T(e,t,n){return T=I()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&S(i,n.prototype),i},T.apply(null,arguments)}function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(a,e);var t,n,r,i,o=(t=a,n=I(),function(){var e,r=N(t);if(n){var i=N(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return E(this,e)});function a(e,t,n,r,i,u,c){var l,d,p,h;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(h=o.call(this,e)).name="GraphQLError",h.originalError=null!=u?u:void 0,h.nodes=O(Array.isArray(t)?t:t?[t]:void 0);for(var y=[],g=0,b=null!==(_=h.nodes)&&void 0!==_?_:[];g<b.length;g++){var _,T=b[g].loc;null!=T&&y.push(T)}y=O(y),h.source=null!=n?n:null===(l=y)||void 0===l?void 0:l[0].source,h.positions=null!=r?r:null===(d=y)||void 0===d?void 0:d.map((function(e){return e.start})),h.locations=r&&n?r.map((function(e){return f(n,e)})):null===(p=y)||void 0===p?void 0:p.map((function(e){return f(e.source,e.start)})),h.path=null!=i?i:void 0;var I=null==u?void 0:u.extensions;return null==c&&s(I)?h.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},I):h.extensions=null!=c?c:{},Object.defineProperties(w(h),{message:{enumerable:!0},locations:{enumerable:null!=h.locations},path:{enumerable:null!=h.path},extensions:{enumerable:null!=h.extensions&&Object.keys(h.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?(Object.defineProperty(w(h),"stack",{value:u.stack,writable:!0,configurable:!0}),E(h)):(Error.captureStackTrace?Error.captureStackTrace(w(h),a):Object.defineProperty(w(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return r=a,(i=[{key:"toString",value:function(){return R(this)}},{key:l,get:function(){return"Object"}}])&&b(r.prototype,i),a}(_(Error));function O(e){return void 0===e||0===e.length?void 0:e}function R(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+d(i.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+p(e.source,s)}return t}function D(e,t,n){return new A("Syntax Error: ".concat(n),void 0,e,[t])}var x=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function k(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const L="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function C(e){var t=e.prototype.toJSON;"function"==typeof t||k(0),e.prototype.inspect=t,L&&(e.prototype[L]=t)}var B=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();C(B);var j=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function P(e){return null!=e&&"string"==typeof e.kind}C(j);var F=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function U(e){return U="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},U(e)}var M=10,V=2;function q(e){return G(e,[])}function G(e,t){switch(U(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(L)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:G(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>V)return"[Array]";for(var n=Math.min(M,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(G(e[o],t));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>V?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map((function(n){return n+": "+G(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function $(e,t){if(!Boolean(e))throw new Error(t)}const W=function(e,t){return e instanceof t};function Y(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)}}var Q=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||$(0,"Body must be a string. Received: ".concat(q(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||$(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||$(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n;return t=e,(n=[{key:l,get:function(){return"Source"}}])&&Y(t.prototype,n),e}();function J(e){return W(e,Q)}var H=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function K(e){var t=e.split(/\r\n|[\n\r]/g),n=X(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var i=0;i<t.length&&z(t[i]);)++i;for(var o=t.length;o>i&&z(t[o-1]);)--o;return t.slice(i,o).join("\n")}function z(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function X(e){for(var t,n=!0,r=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===o||i<o)&&(o=i),r=!1}return null!==(t=o)&&void 0!==t?t:0}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||o||a||n,u="";return!s||r&&i||(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}var ee=function(){function e(e){var t=new j(F.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==F.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=re(this,e)}while(e.kind===F.COMMENT);return e},e}();function te(e){return e===F.BANG||e===F.DOLLAR||e===F.AMP||e===F.PAREN_L||e===F.PAREN_R||e===F.SPREAD||e===F.COLON||e===F.EQUALS||e===F.AT||e===F.BRACKET_L||e===F.BRACKET_R||e===F.BRACE_L||e===F.PIPE||e===F.BRACE_R}function ne(e){return isNaN(e)?F.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function re(e,t){for(var n=e.source,r=n.body,i=r.length,o=t.end;o<i;){var a=r.charCodeAt(o),s=e.line,u=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new j(F.BANG,o,o+1,s,u,t);case 35:return oe(n,o,s,u,t);case 36:return new j(F.DOLLAR,o,o+1,s,u,t);case 38:return new j(F.AMP,o,o+1,s,u,t);case 40:return new j(F.PAREN_L,o,o+1,s,u,t);case 41:return new j(F.PAREN_R,o,o+1,s,u,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new j(F.SPREAD,o,o+3,s,u,t);break;case 58:return new j(F.COLON,o,o+1,s,u,t);case 61:return new j(F.EQUALS,o,o+1,s,u,t);case 64:return new j(F.AT,o,o+1,s,u,t);case 91:return new j(F.BRACKET_L,o,o+1,s,u,t);case 93:return new j(F.BRACKET_R,o,o+1,s,u,t);case 123:return new j(F.BRACE_L,o,o+1,s,u,t);case 124:return new j(F.PIPE,o,o+1,s,u,t);case 125:return new j(F.BRACE_R,o,o+1,s,u,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?ce(n,o,s,u,t,e):ue(n,o,s,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return ae(n,o,a,s,u,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return fe(n,o,s,u,t)}throw D(n,o,ie(a))}var c=e.line,l=1+o-e.lineStart;return new j(F.EOF,i,i,c,l,t)}function ie(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ne(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ne(e),".")}function oe(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new j(F.COMMENT,t,s,n,r,i,a.slice(t+1,s))}function ae(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;if(45===s&&(s=a.charCodeAt(++u)),48===s){if((s=a.charCodeAt(++u))>=48&&s<=57)throw D(e,u,"Invalid number, unexpected digit after 0: ".concat(ne(s),"."))}else u=se(e,u,s),s=a.charCodeAt(u);if(46===s&&(c=!0,s=a.charCodeAt(++u),u=se(e,u,s),s=a.charCodeAt(u)),69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++u))&&45!==s||(s=a.charCodeAt(++u)),u=se(e,u,s),s=a.charCodeAt(u)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw D(e,u,"Invalid number, expected digit but got: ".concat(ne(s),"."));return new j(c?F.FLOAT:F.INT,t,u,r,i,o,a.slice(t,u))}function se(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw D(e,i,"Invalid number, expected digit but got: ".concat(ne(o),"."))}function ue(e,t,n,r,i){for(var o,a,s,u,c=e.body,l=t+1,f=l,d=0,p="";l<c.length&&!isNaN(d=c.charCodeAt(l))&&10!==d&&13!==d;){if(34===d)return p+=c.slice(f,l),new j(F.STRING,t,l+1,n,r,i,p);if(d<32&&9!==d)throw D(e,l,"Invalid character within String: ".concat(ne(d),"."));if(++l,92===d){switch(p+=c.slice(f,l-1),d=c.charCodeAt(l)){case 34:p+='"';break;case 47:p+="/";break;case 92:p+="\\";break;case 98:p+="\b";break;case 102:p+="\f";break;case 110:p+="\n";break;case 114:p+="\r";break;case 116:p+="\t";break;case 117:var h=(o=c.charCodeAt(l+1),a=c.charCodeAt(l+2),s=c.charCodeAt(l+3),u=c.charCodeAt(l+4),le(o)<<12|le(a)<<8|le(s)<<4|le(u));if(h<0){var y=c.slice(l+1,l+5);throw D(e,l,"Invalid character escape sequence: \\u".concat(y,"."))}p+=String.fromCharCode(h),l+=4;break;default:throw D(e,l,"Invalid character escape sequence: \\".concat(String.fromCharCode(d),"."))}f=++l}}throw D(e,l,"Unterminated string.")}function ce(e,t,n,r,i,o){for(var a=e.body,s=t+3,u=s,c=0,l="";s<a.length&&!isNaN(c=a.charCodeAt(s));){if(34===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(u,s),new j(F.BLOCK_STRING,t,s+3,n,r,i,K(l));if(c<32&&9!==c&&10!==c&&13!==c)throw D(e,s,"Invalid character within String: ".concat(ne(c),"."));10===c?(++s,++o.line,o.lineStart=s):13===c?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(u,s)+'"""',u=s+=4):++s}throw D(e,s,"Unterminated string.")}function le(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function fe(e,t,n,r,i){for(var o=e.body,a=o.length,s=t+1,u=0;s!==a&&!isNaN(u=o.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new j(F.NAME,t,s,n,r,i,o.slice(t,s))}function de(e,t){return new ye(e,t).parseDocument()}function pe(e,t){var n=new ye(e,t);n.expectToken(F.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(F.EOF),r}function he(e,t){var n=new ye(e,t);n.expectToken(F.SOF);var r=n.parseTypeReference();return n.expectToken(F.EOF),r}var ye=function(){function e(e,t){var n=J(e)?e:new Q(e);this._lexer=new ee(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(F.NAME);return{kind:x.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:x.DOCUMENT,definitions:this.many(F.SOF,this.parseDefinition,F.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(F.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(F.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(F.BRACE_L))return{kind:x.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(F.NAME)&&(t=this.parseName()),{kind:x.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(F.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(F.PAREN_L,this.parseVariableDefinition,F.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:x.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(F.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(F.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(F.DOLLAR),{kind:x.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:x.SELECTION_SET,selections:this.many(F.BRACE_L,this.parseSelection,F.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(F.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(F.COLON)?(e=r,t=this.parseName()):t=r,{kind:x.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(F.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(F.PAREN_L,t,F.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(F.COLON),{kind:x.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:x.ARGUMENT,name:this.parseName(),value:(this.expectToken(F.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(F.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(F.NAME)?{kind:x.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:x.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:x.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:x.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case F.BRACKET_L:return this.parseList(e);case F.BRACE_L:return this.parseObject(e);case F.INT:return this._lexer.advance(),{kind:x.INT,value:t.value,loc:this.loc(t)};case F.FLOAT:return this._lexer.advance(),{kind:x.FLOAT,value:t.value,loc:this.loc(t)};case F.STRING:case F.BLOCK_STRING:return this.parseStringLiteral();case F.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:x.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:x.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:x.NULL,loc:this.loc(t)};default:return{kind:x.ENUM,value:t.value,loc:this.loc(t)}}case F.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:x.STRING,value:e.value,block:e.kind===F.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:x.LIST,values:this.any(F.BRACKET_L,(function(){return t.parseValueLiteral(e)}),F.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:x.OBJECT,fields:this.any(F.BRACE_L,(function(){return t.parseObjectField(e)}),F.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(F.COLON),{kind:x.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(F.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(F.AT),{kind:x.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(F.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(F.BRACKET_R),e={kind:x.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(F.BANG)?{kind:x.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:x.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(F.STRING)||this.peek(F.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);return{kind:x.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(F.COLON);var n=this.parseNamedType();return{kind:x.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:x.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:x.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(F.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(F.AMP)||this.peek(F.NAME));return t}return this.delimitedMany(F.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(F.BRACE_L)&&this._lexer.lookahead().kind===F.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(F.BRACE_L,this.parseFieldDefinition,F.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(F.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:x.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(F.PAREN_L,this.parseInputValueDef,F.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(F.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(F.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:x.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:x.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:x.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(F.EQUALS)?this.delimitedMany(F.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:x.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseEnumValueDefinition,F.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:x.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:x.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseInputValueDef,F.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===F.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:x.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:x.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:x.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:x.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:x.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:x.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:x.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(F.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:x.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(F.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==H[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new B(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw D(this._lexer.source,t.start,"Expected ".concat(ve(e),", found ").concat(ge(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==F.NAME||t.value!==e)throw D(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(ge(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===F.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return D(this._lexer.source,t.start,"Unexpected ".concat(ge(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function ge(e){var t=e.value;return ve(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function ve(e){return te(e)?'"'.concat(e,'"'):e}var me={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},be=Object.freeze({});function Ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:me,r=void 0,i=Array.isArray(e),o=[e],a=-1,s=[],u=void 0,c=void 0,l=void 0,f=[],d=[],p=e;do{var h=++a===o.length,y=h&&0!==s.length;if(h){if(c=0===d.length?void 0:f[f.length-1],u=l,l=d.pop(),y){if(i)u=u.slice();else{for(var g={},v=0,m=Object.keys(u);v<m.length;v++){var b=m[v];g[b]=u[b]}u=g}for(var E=0,w=0;w<s.length;w++){var _=s[w][0],T=s[w][1];i&&(_-=E),i&&null===T?(u.splice(_,1),E++):u[_]=T}}a=r.index,o=r.keys,s=r.edits,i=r.inArray,r=r.prev}else{if(c=l?i?a:o[a]:void 0,null==(u=l?l[c]:p))continue;l&&f.push(c)}var I,S=void 0;if(!Array.isArray(u)){if(!P(u))throw new Error("Invalid AST Node: ".concat(q(u),"."));var N=_e(t,u.kind,h);if(N){if((S=N.call(t,u,c,l,f,d))===be)break;if(!1===S){if(!h){f.pop();continue}}else if(void 0!==S&&(s.push([c,S]),!h)){if(!P(S)){f.pop();continue}u=S}}}void 0===S&&y&&s.push([c,u]),h?f.pop():(r={inArray:i,index:a,keys:o,edits:s,prev:r},o=(i=Array.isArray(u))?u:null!==(I=n[u.kind])&&void 0!==I?I:[],a=-1,s=[],l&&d.push(l),l=u)}while(void 0!==r);return 0!==s.length&&(p=s[s.length-1][1]),p}function we(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=_e(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===be)t[r]=be;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=_e(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===be)t[r]=be;else if(void 0!==o&&!1!==o)return o}}else t[r]===n&&(t[r]=null)}}}function _e(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}const Te=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}},Ie=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};function Se(e,t,n){var r,i=e instanceof Error?e:new Error("Unexpected error value: "+q(e));return Array.isArray(i.path)?i:new A(i.message,null!==(r=i.nodes)&&void 0!==r?r:t,i.source,i.positions,n,i)}var Ne=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function Ae(e){var t=Oe(e);if(t)throw t;return e}function Oe(e){return"string"==typeof e||$(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1]?new A('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):Ne.test(e)?void 0:new A('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}const Re=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};function De(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}function xe(e,t){for(var n=Object.create(null),r=0,i=Re(e);r<i.length;r++){var o=i[r],a=o[0],s=o[1];n[a]=t(s,a)}return n}function ke(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,r=Re(e);n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t}function Le(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}var Ce=5;function Be(e,t){var n="string"==typeof e?[e,t]:[void 0,e],r=n[0],i=" Did you mean ";r&&(i+=r+" ");var o=n[1].map((function(e){return'"'.concat(e,'"')}));switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}var a=o.slice(0,Ce),s=a.pop();return i+a.join(", ")+", or "+s+"?"}function je(e){return e}function Pe(e,t){for(var n=0,r=0;n<e.length&&r<t.length;){var i=e.charCodeAt(n),o=t.charCodeAt(r);if(Me(i)&&Me(o)){var a=0;do{++n,a=10*a+i-Fe,i=e.charCodeAt(n)}while(Me(i)&&a>0);var s=0;do{++r,s=10*s+o-Fe,o=t.charCodeAt(r)}while(Me(o)&&s>0);if(a<s)return-1;if(a>s)return 1}else{if(i<o)return-1;if(i>o)return 1;++n,++r}}return e.length-t.length}var Fe=48,Ue=57;function Me(e){return!isNaN(e)&&Fe<=e&&e<=Ue}function Ve(e,t){for(var n=Object.create(null),r=new qe(e),i=Math.floor(.4*e.length)+1,o=0;o<t.length;o++){var a=t[o],s=r.measure(a,i);void 0!==s&&(n[a]=s)}return Object.keys(n).sort((function(e,t){var r=n[e]-n[t];return 0!==r?r:Pe(e,t)}))}var qe=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=Ge(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=Ge(n),i=this._inputArray;if(r.length<i.length){var o=r;r=i,i=o}var a=r.length,s=i.length;if(!(a-s>t)){for(var u=this._rows,c=0;c<=s;c++)u[0][c]=c;for(var l=1;l<=a;l++){for(var f=u[(l-1)%3],d=u[l%3],p=d[0]=l,h=1;h<=s;h++){var y=r[l-1]===i[h-1]?0:1,g=Math.min(f[h]+1,d[h-1]+1,f[h-1]+y);if(l>1&&h>1&&r[l-1]===i[h-2]&&r[l-2]===i[h-1]){var v=u[(l-2)%3][h-2];g=Math.min(g,v+1)}g<p&&(p=g),d[h]=g}if(p>t)return}var m=u[a%3][s];return m<=t?m:void 0}},e}();function Ge(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function $e(e){return Ee(e,{leave:We})}var We={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return Qe(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=He("(",Qe(e.variableDefinitions,", "),")"),i=Qe(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?Qe([t,Qe([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+He(" = ",r)+He(" ",Qe(i," "))},SelectionSet:function(e){return Je(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=He("",t,": ")+n,s=a+He("(",Qe(r,", "),")");return s.length>80&&(s=a+He("(\n",Ke(Qe(r,"\n")),"\n)")),Qe([s,Qe(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+He(" ",Qe(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return Qe(["...",He("on ",t),Qe(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(He("(",Qe(r,", "),")")," ")+"on ".concat(n," ").concat(He("",Qe(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Z(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+Qe(e.values,", ")+"]"},ObjectValue:function(e){return"{"+Qe(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+He("(",Qe(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:Ye((function(e){var t=e.directives,n=e.operationTypes;return Qe(["schema",Qe(t," "),Je(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:Ye((function(e){return Qe(["scalar",e.name,Qe(e.directives," ")]," ")})),ObjectTypeDefinition:Ye((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Qe(["type",t,He("implements ",Qe(n," & ")),Qe(r," "),Je(i)]," ")})),FieldDefinition:Ye((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(Xe(n)?He("(\n",Ke(Qe(n,"\n")),"\n)"):He("(",Qe(n,", "),")"))+": "+r+He(" ",Qe(i," "))})),InputValueDefinition:Ye((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return Qe([t+": "+n,He("= ",r),Qe(i," ")]," ")})),InterfaceTypeDefinition:Ye((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Qe(["interface",t,He("implements ",Qe(n," & ")),Qe(r," "),Je(i)]," ")})),UnionTypeDefinition:Ye((function(e){var t=e.name,n=e.directives,r=e.types;return Qe(["union",t,Qe(n," "),r&&0!==r.length?"= "+Qe(r," | "):""]," ")})),EnumTypeDefinition:Ye((function(e){var t=e.name,n=e.directives,r=e.values;return Qe(["enum",t,Qe(n," "),Je(r)]," ")})),EnumValueDefinition:Ye((function(e){return Qe([e.name,Qe(e.directives," ")]," ")})),InputObjectTypeDefinition:Ye((function(e){var t=e.name,n=e.directives,r=e.fields;return Qe(["input",t,Qe(n," "),Je(r)]," ")})),DirectiveDefinition:Ye((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(Xe(n)?He("(\n",Ke(Qe(n,"\n")),"\n)"):He("(",Qe(n,", "),")"))+(r?" repeatable":"")+" on "+Qe(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return Qe(["extend schema",Qe(t," "),Je(n)]," ")},ScalarTypeExtension:function(e){return Qe(["extend scalar",e.name,Qe(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Qe(["extend type",t,He("implements ",Qe(n," & ")),Qe(r," "),Je(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Qe(["extend interface",t,He("implements ",Qe(n," & ")),Qe(r," "),Je(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return Qe(["extend union",t,Qe(n," "),r&&0!==r.length?"= "+Qe(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return Qe(["extend enum",t,Qe(n," "),Je(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return Qe(["extend input",t,Qe(n," "),Je(r)]," ")}};function Ye(e){return function(t){return Qe([t.description,e(t)],"\n")}}function Qe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function Je(e){return He("{\n",Ke(Qe(e,"\n")),"\n}")}function He(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function Ke(e){return He(" ",e.replace(/\n/g,"\n "))}function ze(e){return-1!==e.indexOf("\n")}function Xe(e){return null!=e&&e.some(ze)}function Ze(e,t){switch(e.kind){case x.NULL:return null;case x.INT:return parseInt(e.value,10);case x.FLOAT:return parseFloat(e.value);case x.STRING:case x.ENUM:case x.BOOLEAN:return e.value;case x.LIST:return e.values.map((function(e){return Ze(e,t)}));case x.OBJECT:return Le(e.fields,(function(e){return e.name.value}),(function(e){return Ze(e.value,t)}));case x.VARIABLE:return null==t?void 0:t[e.name.value]}k(0,"Unexpected value node: "+q(e))}function et(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 tt(e,t,n){return t&&et(e.prototype,t),n&&et(e,n),e}function nt(e){return it(e)||at(e)||ut(e)||lt(e)||dt(e)||ht(e)||gt(e)||mt(e)}function rt(e){if(!nt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL type."));return e}function it(e){return W(e,qt)}function ot(e){if(!it(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Scalar type."));return e}function at(e){return W(e,Gt)}function st(e){if(!at(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Object type."));return e}function ut(e){return W(e,Kt)}function ct(e){if(!ut(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Interface type."));return e}function lt(e){return W(e,zt)}function ft(e){if(!lt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Union type."));return e}function dt(e){return W(e,Zt)}function pt(e){if(!dt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Enum type."));return e}function ht(e){return W(e,tn)}function yt(e){if(!ht(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Input Object type."));return e}function gt(e){return W(e,Dt)}function vt(e){if(!gt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL List type."));return e}function mt(e){return W(e,xt)}function bt(e){if(!mt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL Non-Null type."));return e}function Et(e){return it(e)||dt(e)||ht(e)||kt(e)&&Et(e.ofType)}function wt(e){if(!Et(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL input type."));return e}function _t(e){return it(e)||at(e)||ut(e)||lt(e)||dt(e)||kt(e)&&_t(e.ofType)}function Tt(e){if(!_t(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL output type."));return e}function It(e){return it(e)||dt(e)}function St(e){if(!It(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL leaf type."));return e}function Nt(e){return at(e)||ut(e)||lt(e)}function At(e){if(!Nt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL composite type."));return e}function Ot(e){return ut(e)||lt(e)}function Rt(e){if(!Ot(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL abstract type."));return e}function Dt(e){if(!(this instanceof Dt))return new Dt(e);this.ofType=rt(e)}function xt(e){if(!(this instanceof xt))return new xt(e);this.ofType=Bt(e)}function kt(e){return gt(e)||mt(e)}function Lt(e){if(!kt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL wrapping type."));return e}function Ct(e){return nt(e)&&!mt(e)}function Bt(e){if(!Ct(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL nullable type."));return e}function jt(e){if(e)return mt(e)?e.ofType:e}function Pt(e){return it(e)||at(e)||ut(e)||lt(e)||dt(e)||ht(e)}function Ft(e){if(!Pt(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL named type."));return e}function Ut(e){if(e){for(var t=e;kt(t);)t=t.ofType;return t}}function Mt(e){return"function"==typeof e?e():e}function Vt(e){return e&&e.length>0?e:void 0}Dt.prototype.toString=function(){return"["+String(this.ofType)+"]"},Dt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(Dt.prototype,l,{get:function(){return"GraphQLList"}}),C(Dt),xt.prototype.toString=function(){return String(this.ofType)+"!"},xt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(xt.prototype,l,{get:function(){return"GraphQLNonNull"}}),C(xt);var qt=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:je;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:je,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e,t){return i(Ze(e,t))},this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),"string"==typeof e.name||$(0,"Must provide name."),null==e.specifiedByUrl||"string"==typeof e.specifiedByUrl||$(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(q(e.specifiedByUrl),".")),null==e.serialize||"function"==typeof e.serialize||$(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||$(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLScalarType"}}]),e}();C(qt);var Gt=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),this._fields=Wt.bind(void 0,e),this._interfaces=$t.bind(void 0,e),"string"==typeof e.name||$(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||$(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(q(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Qt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLObjectType"}}]),e}();function $t(e){var t,n=null!==(t=Mt(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||$(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),n}function Wt(e){var t=Mt(e.fields);return Yt(t)||$(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),xe(t,(function(t,n){var r;Yt(t)||$(0,"".concat(e.name,".").concat(n," field config must be an object.")),!("isDeprecated"in t)||$(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||$(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(q(t.resolve),"."));var i=null!==(r=t.args)&&void 0!==r?r:{};Yt(i)||$(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var o=Re(i).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&ke(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:o,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&ke(t.extensions),astNode:t.astNode}}))}function Yt(e){return s(e)&&!Array.isArray(e)}function Qt(e){return xe(e,(function(e){return{description:e.description,type:e.type,args:Jt(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function Jt(e){return Le(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function Ht(e){return mt(e.type)&&void 0===e.defaultValue}C(Gt);var Kt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),this._fields=Wt.bind(void 0,e),this._interfaces=$t.bind(void 0,e),"string"==typeof e.name||$(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||$(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(q(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Qt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLInterfaceType"}}]),e}();C(Kt);var zt=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),this._types=Xt.bind(void 0,e),"string"==typeof e.name||$(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||$(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(q(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLUnionType"}}]),e}();function Xt(e){var t=Mt(e.types);return Array.isArray(t)||$(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}C(zt);var Zt=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),this._values=(t=this.name,Yt(n=e.values)||$(0,"".concat(t," values must be an object with value names as keys.")),Re(n).map((function(e){var n=e[0],r=e[1];return Yt(r)||$(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(q(r),".")),!("isDeprecated"in r)||$(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&ke(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=De(this._values,(function(e){return e.name})),"string"==typeof e.name||$(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new A('Enum "'.concat(this.name,'" cannot represent value: ').concat(q(e)));return t.name},t.parseValue=function(e){if("string"!=typeof e){var t=q(e);throw new A('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+en(this,t))}var n=this.getValue(e);if(null==n)throw new A('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+en(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==x.ENUM){var n=$e(e);throw new A('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(n,".")+en(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=$e(e);throw new A('Value "'.concat(i,'" does not exist in "').concat(this.name,'" enum.')+en(this,i),e)}return r.value},t.toConfig=function(){var e,t=Le(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLEnumType"}}]),e}();function en(e,t){return Be("the enum value",Ve(t,e.getValues().map((function(e){return e.name}))))}C(Zt);var tn=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=Vt(e.extensionASTNodes),this._fields=nn.bind(void 0,e),"string"==typeof e.name||$(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=xe(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},tt(e,[{key:l,get:function(){return"GraphQLInputObjectType"}}]),e}();function nn(e){var t=Mt(e.fields);return Yt(t)||$(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),xe(t,(function(t,n){return!("resolve"in t)||$(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&ke(t.extensions),astNode:t.astNode}}))}function rn(e){return mt(e.type)&&void 0===e.defaultValue}function on(e,t){return e===t||(mt(e)&&mt(t)||!(!gt(e)||!gt(t)))&&on(e.ofType,t.ofType)}function an(e,t,n){return t===n||(mt(n)?!!mt(t)&&an(e,t.ofType,n.ofType):mt(t)?an(e,t.ofType,n):gt(n)?!!gt(t)&&an(e,t.ofType,n.ofType):!gt(t)&&Ot(n)&&(ut(t)||at(t))&&e.isSubType(n,t))}function sn(e,t,n){return t===n||(Ot(t)?Ot(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!Ot(n)&&e.isSubType(n,t))}C(tn);const un=Array.from||function(e,t,n){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r=e[u];if("function"==typeof r){for(var i,o=r.call(e),a=[],s=0;!(i=o.next()).done;++s)if(a.push(t.call(n,i.value,s)),s>9999999)throw new TypeError("Near-infinite iteration.");return a}var c=e.length;if("number"==typeof c&&c>=0&&c%1==0){for(var l=[],f=0;f<c;++f)Object.prototype.hasOwnProperty.call(e,f)&&l.push(t.call(n,e[f],f));return l}return[]},cn=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)};function ln(e){return ln="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},ln(e)}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==ln(e))return null;if(Array.isArray(e))return e.map(t);var n=e[u];if("function"==typeof n){for(var r,i=n.call(e),o=[],a=0;!(r=i.next()).done;++a)o.push(t(r.value,a));return o}var s=e.length;if("number"==typeof s&&s>=0&&s%1==0){for(var c=[],l=0;l<s;++l){if(!Object.prototype.hasOwnProperty.call(e,l))return null;c.push(t(e[String(l)],l))}return c}return null}const dn=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var pn=2147483647,hn=-2147483648,yn=new qt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=vn(e);if("boolean"==typeof t)return t?1:0;var n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),!dn(n))throw new A("Int cannot represent non-integer value: ".concat(q(t)));if(n>pn||n<hn)throw new A("Int cannot represent non 32-bit signed integer value: "+q(t));return n},parseValue:function(e){if(!dn(e))throw new A("Int cannot represent non-integer value: ".concat(q(e)));if(e>pn||e<hn)throw new A("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==x.INT)throw new A("Int cannot represent non-integer value: ".concat($e(e)),e);var t=parseInt(e.value,10);if(t>pn||t<hn)throw new A("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}}),gn=new qt({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var t=vn(e);if("boolean"==typeof t)return t?1:0;var n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),!cn(n))throw new A("Float cannot represent non numeric value: ".concat(q(t)));return n},parseValue:function(e){if(!cn(e))throw new A("Float cannot represent non numeric value: ".concat(q(e)));return e},parseLiteral:function(e){if(e.kind!==x.FLOAT&&e.kind!==x.INT)throw new A("Float cannot represent non numeric value: ".concat($e(e)),e);return parseFloat(e.value)}});function vn(e){if(s(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!s(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var mn=new qt({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=vn(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(cn(t))return t.toString();throw new A("String cannot represent value: ".concat(q(e)))},parseValue:function(e){if("string"!=typeof e)throw new A("String cannot represent a non string value: ".concat(q(e)));return e},parseLiteral:function(e){if(e.kind!==x.STRING)throw new A("String cannot represent a non string value: ".concat($e(e)),e);return e.value}}),bn=new qt({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=vn(e);if("boolean"==typeof t)return t;if(cn(t))return 0!==t;throw new A("Boolean cannot represent a non boolean value: ".concat(q(t)))},parseValue:function(e){if("boolean"!=typeof e)throw new A("Boolean cannot represent a non boolean value: ".concat(q(e)));return e},parseLiteral:function(e){if(e.kind!==x.BOOLEAN)throw new A("Boolean cannot represent a non boolean value: ".concat($e(e)),e);return e.value}}),En=new qt({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=vn(e);if("string"==typeof t)return t;if(dn(t))return String(t);throw new A("ID cannot represent value: ".concat(q(e)))},parseValue:function(e){if("string"==typeof e)return e;if(dn(e))return e.toString();throw new A("ID cannot represent value: ".concat(q(e)))},parseLiteral:function(e){if(e.kind!==x.STRING&&e.kind!==x.INT)throw new A("ID cannot represent a non-string and non-integer value: "+$e(e),e);return e.value}}),wn=Object.freeze([mn,yn,gn,bn,En]);function _n(e){return wn.some((function(t){var n=t.name;return e.name===n}))}function Tn(e,t){if(mt(t)){var n=Tn(e,t.ofType);return(null==n?void 0:n.kind)===x.NULL?null:n}if(null===e)return{kind:x.NULL};if(void 0===e)return null;if(gt(t)){var r=t.ofType,i=fn(e);if(null!=i){for(var o=[],a=0;a<i.length;a++){var u=Tn(i[a],r);null!=u&&o.push(u)}return{kind:x.LIST,values:o}}return Tn(e,r)}if(ht(t)){if(!s(e))return null;for(var c=[],l=0,f=Ie(t.getFields());l<f.length;l++){var d=f[l],p=Tn(e[d.name],d.type);p&&c.push({kind:x.OBJECT_FIELD,name:{kind:x.NAME,value:d.name},value:p})}return{kind:x.OBJECT,fields:c}}if(It(t)){var h=t.serialize(e);if(null==h)return null;if("boolean"==typeof h)return{kind:x.BOOLEAN,value:h};if("number"==typeof h&&cn(h)){var y=String(h);return In.test(y)?{kind:x.INT,value:y}:{kind:x.FLOAT,value:y}}if("string"==typeof h)return dt(t)?{kind:x.ENUM,value:h}:t===En&&In.test(h)?{kind:x.INT,value:h}:{kind:x.STRING,value:h};throw new TypeError("Cannot convert value to AST: ".concat(q(h),"."))}k(0,"Unexpected input type: "+q(t))}var In=/^-?(?:0|[1-9][0-9]*)$/,Sn=new Gt({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:mn,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new xt(new Dt(new xt(On))),resolve:function(e){return Ie(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new xt(On),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:On,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:On,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new xt(new Dt(new xt(Nn))),resolve:function(e){return e.getDirectives()}}}}}),Nn=new Gt({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new xt(mn),resolve:function(e){return e.name}},description:{type:mn,resolve:function(e){return e.description}},isRepeatable:{type:new xt(bn),resolve:function(e){return e.isRepeatable}},locations:{type:new xt(new Dt(new xt(An))),resolve:function(e){return e.locations}},args:{type:new xt(new Dt(new xt(Dn))),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}}}}}),An=new Zt({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),On=new Gt({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new xt(Ln),resolve:function(e){return it(e)?kn.SCALAR:at(e)?kn.OBJECT:ut(e)?kn.INTERFACE:lt(e)?kn.UNION:dt(e)?kn.ENUM:ht(e)?kn.INPUT_OBJECT:gt(e)?kn.LIST:mt(e)?kn.NON_NULL:void k(0,'Unexpected type: "'.concat(q(e),'".'))}},name:{type:mn,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:mn,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:mn,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new Dt(new xt(Rn)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(at(e)||ut(e)){var r=Ie(e.getFields());return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new Dt(new xt(On)),resolve:function(e){if(at(e)||ut(e))return e.getInterfaces()}},possibleTypes:{type:new Dt(new xt(On)),resolve:function(e,t,n,r){var i=r.schema;if(Ot(e))return i.getPossibleTypes(e)}},enumValues:{type:new Dt(new xt(xn)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(dt(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new Dt(new xt(Dn)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(ht(e)){var r=Ie(e.getFields());return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},ofType:{type:On,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),Rn=new Gt({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new xt(mn),resolve:function(e){return e.name}},description:{type:mn,resolve:function(e){return e.description}},args:{type:new xt(new Dt(new xt(Dn))),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}},type:{type:new xt(On),resolve:function(e){return e.type}},isDeprecated:{type:new xt(bn),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:mn,resolve:function(e){return e.deprecationReason}}}}}),Dn=new Gt({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new xt(mn),resolve:function(e){return e.name}},description:{type:mn,resolve:function(e){return e.description}},type:{type:new xt(On),resolve:function(e){return e.type}},defaultValue:{type:mn,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,n=Tn(e.defaultValue,t);return n?$e(n):null}},isDeprecated:{type:new xt(bn),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:mn,resolve:function(e){return e.deprecationReason}}}}}),xn=new Gt({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new xt(mn),resolve:function(e){return e.name}},description:{type:mn,resolve:function(e){return e.description}},isDeprecated:{type:new xt(bn),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:mn,resolve:function(e){return e.deprecationReason}}}}}),kn=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),Ln=new Zt({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:kn.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:kn.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:kn.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:kn.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:kn.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:kn.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:kn.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:kn.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),Cn={name:"__schema",type:new xt(Sn),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Bn={name:"__type",type:On,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new xt(mn),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},jn={name:"__typename",type:new xt(mn),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Pn=Object.freeze([Sn,Nn,An,On,Rn,Dn,xn,Ln]);function Fn(e){return Pn.some((function(t){var n=t.name;return e.name===n}))}function Un(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 Mn(e){return W(e,qn)}function Vn(e){if(!Mn(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL directive."));return e}var qn=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,e.name||$(0,"Directive must be named."),Array.isArray(e.locations)||$(0,"@".concat(e.name," locations must be an Array."));var r=null!==(n=e.args)&&void 0!==n?n:{};s(r)&&!Array.isArray(r)||$(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Re(r).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&ke(n.extensions),astNode:n.astNode}}))}var t,n,r=e.prototype;return r.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Jt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},r.toString=function(){return"@"+this.name},r.toJSON=function(){return this.toString()},t=e,(n=[{key:l,get:function(){return"GraphQLDirective"}}])&&Un(t.prototype,n),e}();C(qn);var Gn=new qn({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[H.FIELD,H.FRAGMENT_SPREAD,H.INLINE_FRAGMENT],args:{if:{type:new xt(bn),description:"Included when true."}}}),$n=new qn({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[H.FIELD,H.FRAGMENT_SPREAD,H.INLINE_FRAGMENT],args:{if:{type:new xt(bn),description:"Skipped when true."}}}),Wn="No longer supported",Yn=new qn({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[H.FIELD_DEFINITION,H.ARGUMENT_DEFINITION,H.INPUT_FIELD_DEFINITION,H.ENUM_VALUE],args:{reason:{type:mn,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Wn}}}),Qn=new qn({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[H.SCALAR],args:{url:{type:new xt(mn),description:"The URL that specifies the behaviour of this scalar."}}}),Jn=Object.freeze([Gn,$n,Yn,Qn]);function Hn(e){return Jn.some((function(t){return t.name===e.name}))}function Kn(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 zn(e){return W(e,Zn)}function Xn(e){if(!zn(e))throw new Error("Expected ".concat(q(e)," to be a GraphQL schema."));return e}var Zn=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,s(e)||$(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||$(0,'"types" must be Array if provided but got: '.concat(q(e.types),".")),!e.directives||Array.isArray(e.directives)||$(0,'"directives" must be Array if provided but got: '+"".concat(q(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&ke(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:Jn;var n=new Set(e.types);if(null!=e.types)for(var r=0,i=e.types;r<i.length;r++){var o=i[r];n.delete(o),er(o,n)}null!=this._queryType&&er(this._queryType,n),null!=this._mutationType&&er(this._mutationType,n),null!=this._subscriptionType&&er(this._subscriptionType,n);for(var a=0,u=this._directives;a<u.length;a++){var c=u[a];if(Mn(c))for(var l=0,f=c.args;l<f.length;l++)er(f[l].type,n)}er(Sn,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var d=0,p=un(n);d<p.length;d++){var h=p[d];if(null!=h){var y=h.name;if(y||$(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[y])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(y,'".'));if(this._typeMap[y]=h,ut(h))for(var g=0,v=h.getInterfaces();g<v.length;g++){var m=v[g];if(ut(m)){var b=this._implementationsMap[m.name];void 0===b&&(b=this._implementationsMap[m.name]={objects:[],interfaces:[]}),b.interfaces.push(h)}}else if(at(h))for(var E=0,w=h.getInterfaces();E<w.length;E++){var _=w[E];if(ut(_)){var T=this._implementationsMap[_.name];void 0===T&&(T=this._implementationsMap[_.name]={objects:[],interfaces:[]}),T.objects.push(h)}}}}}var t,n,r=e.prototype;return r.getQueryType=function(){return this._queryType},r.getMutationType=function(){return this._mutationType},r.getSubscriptionType=function(){return this._subscriptionType},r.getTypeMap=function(){return this._typeMap},r.getType=function(e){return this.getTypeMap()[e]},r.getPossibleTypes=function(e){return lt(e)?e.getTypes():this.getImplementations(e).objects},r.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},r.isPossibleType=function(e,t){return this.isSubType(e,t)},r.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),lt(e))for(var r=0,i=e.getTypes();r<i.length;r++)n[i[r].name]=!0;else{for(var o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++)n[s[a].name]=!0;for(var u=0,c=o.interfaces;u<c.length;u++)n[c[u].name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},r.getDirectives=function(){return this._directives},r.getDirective=function(e){return Te(this.getDirectives(),(function(t){return t.name===e}))},r.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Ie(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:l,get:function(){return"GraphQLSchema"}}])&&Kn(t.prototype,n),e}();function er(e,t){var n=Ut(e);if(!t.has(n))if(t.add(n),lt(n))for(var r=0,i=n.getTypes();r<i.length;r++)er(i[r],t);else if(at(n)||ut(n)){for(var o=0,a=n.getInterfaces();o<a.length;o++)er(a[o],t);for(var s=0,u=Ie(n.getFields());s<u.length;s++){var c=u[s];er(c.type,t);for(var l=0,f=c.args;l<f.length;l++)er(f[l].type,t)}}else if(ht(n))for(var d=0,p=Ie(n.getFields());d<p.length;d++)er(p[d].type,t);return t}function tr(e){if(Xn(e),e.__validationErrors)return e.__validationErrors;var t=new rr(e);!function(e){var t=e.schema,n=t.getQueryType();if(n){if(!at(n)){var r;e.reportError("Query root type must be Object type, it cannot be ".concat(q(n),"."),null!==(r=ir(t,"query"))&&void 0!==r?r:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);var i,o=t.getMutationType();o&&!at(o)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(q(o),"."),null!==(i=ir(t,"mutation"))&&void 0!==i?i:o.astNode);var a,s=t.getSubscriptionType();s&&!at(s)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(q(s),"."),null!==(a=ir(t,"subscription"))&&void 0!==a?a:s.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(Mn(r)){or(e,r);for(var i=0,o=r.args;i<o.length;i++){var a,s=o[i];or(e,s),Et(s.type)||e.reportError("The type of @".concat(r.name,"(").concat(s.name,":) must be Input Type ")+"but got: ".concat(q(s.type),"."),s.astNode),Ht(s)&&null!=s.deprecationReason&&e.reportError("Required argument @".concat(r.name,"(").concat(s.name,":) cannot be deprecated."),[vr(s.astNode),null===(a=s.astNode)||void 0===a?void 0:a.type])}}else e.reportError("Expected directive but got: ".concat(q(r),"."),null==r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){t[o.name]=!0,r[o.name]=n.length;for(var a=Ie(o.getFields()),s=0;s<a.length;s++){var u=a[s];if(mt(u.type)&&ht(u.type.ofType)){var c=u.type.ofType,l=r[c.name];if(n.push(u),void 0===l)i(c);else{var f=n.slice(l),d=f.map((function(e){return e.name})).join(".");e.reportError('Cannot reference Input Object "'.concat(c.name,'" within itself through a series of non-null fields: "').concat(d,'".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}}(e),n=e.schema.getTypeMap(),r=0,i=Ie(n);r<i.length;r++){var o=i[r];Pt(o)?(Fn(o)||or(e,o),at(o)||ut(o)?(ar(e,o),sr(e,o)):lt(o)?lr(e,o):dt(o)?fr(e,o):ht(o)&&(dr(e,o),t(o))):e.reportError("Expected GraphQL named type but got: ".concat(q(o),"."),o.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function nr(e){var t=tr(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}var rr=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new A(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function ir(e,t){for(var n=hr(e,(function(e){return e.operationTypes})),r=0;r<n.length;r++){var i=n[r];if(i.operation===t)return i.type}}function or(e,t){var n=Oe(t.name);n&&e.addError(Se(n,t.astNode))}function ar(e,t){var n=Ie(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),pr(t));for(var r=0;r<n.length;r++){var i,o=n[r];or(e,o),_t(o.type)||e.reportError("The type of ".concat(t.name,".").concat(o.name," must be Output Type ")+"but got: ".concat(q(o.type),"."),null===(i=o.astNode)||void 0===i?void 0:i.type);for(var a=0,s=o.args;a<s.length;a++){var u,c,l=s[a],f=l.name;or(e,l),Et(l.type)||e.reportError("The type of ".concat(t.name,".").concat(o.name,"(").concat(f,":) must be Input ")+"Type but got: ".concat(q(l.type),"."),null===(u=l.astNode)||void 0===u?void 0:u.type),Ht(l)&&null!=l.deprecationReason&&e.reportError("Required argument ".concat(t.name,".").concat(o.name,"(").concat(f,":) cannot be deprecated."),[vr(l.astNode),null===(c=l.astNode)||void 0===c?void 0:c.type])}}}function sr(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];ut(o)?t!==o?n[o.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(o.name," once."),yr(t,o)):(n[o.name]=!0,cr(e,t,o),ur(e,t,o)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),yr(t,o)):e.reportError("Type ".concat(q(t)," must only implement Interface types, ")+"it cannot implement ".concat(q(o),"."),yr(t,o))}}function ur(e,t,n){for(var r=t.getFields(),i=0,o=Ie(n.getFields());i<o.length;i++){var a=o[i],s=a.name,u=r[s];if(u){var c,l;an(e.schema,u.type,a.type)||e.reportError("Interface field ".concat(n.name,".").concat(s," expects type ")+"".concat(q(a.type)," but ").concat(t.name,".").concat(s," ")+"is type ".concat(q(u.type),"."),[null===(c=a.astNode)||void 0===c?void 0:c.type,null===(l=u.astNode)||void 0===l?void 0:l.type]);for(var f=function(r,i){var o,a,c=i[r],l=c.name,f=Te(u.args,(function(e){return e.name===l}));if(!f)return e.reportError("Interface field argument ".concat(n.name,".").concat(s,"(").concat(l,":) expected but ").concat(t.name,".").concat(s," does not provide it."),[c.astNode,u.astNode]),"continue";on(c.type,f.type)||e.reportError("Interface field argument ".concat(n.name,".").concat(s,"(").concat(l,":) ")+"expects type ".concat(q(c.type)," but ")+"".concat(t.name,".").concat(s,"(").concat(l,":) is type ")+"".concat(q(f.type),"."),[null===(o=c.astNode)||void 0===o?void 0:o.type,null===(a=f.astNode)||void 0===a?void 0:a.type])},d=0,p=a.args;d<p.length;d++)f(d,p);for(var h=function(r,i){var o=i[r],u=o.name;!Te(a.args,(function(e){return e.name===u}))&&Ht(o)&&e.reportError("Object field ".concat(t.name,".").concat(s," includes required argument ").concat(u," that is missing from the Interface field ").concat(n.name,".").concat(s,"."),[o.astNode,a.astNode])},y=0,g=u.args;y<g.length;y++)h(y,g)}else e.reportError("Interface field ".concat(n.name,".").concat(s," expected but ").concat(t.name," does not provide it."),[a.astNode].concat(pr(t)))}}function cr(e,t,n){for(var r=t.getInterfaces(),i=0,o=n.getInterfaces();i<o.length;i++){var a=o[i];-1===r.indexOf(a)&&e.reportError(a===t?"Type ".concat(t.name," cannot implement ").concat(n.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(a.name," because it is implemented by ").concat(n.name,"."),[].concat(yr(n,a),yr(t,n)))}}function lr(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),pr(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),gr(t,o.name)):(r[o.name]=!0,at(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat(q(o),"."),gr(t,String(o))))}}function fr(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),pr(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;or(e,i),"true"!==o&&"false"!==o&&"null"!==o||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(o,"."),i.astNode)}}function dr(e,t){var n=Ie(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),pr(t));for(var r=0;r<n.length;r++){var i,o,a=n[r];or(e,a),Et(a.type)||e.reportError("The type of ".concat(t.name,".").concat(a.name," must be Input Type ")+"but got: ".concat(q(a.type),"."),null===(i=a.astNode)||void 0===i?void 0:i.type),rn(a)&&null!=a.deprecationReason&&e.reportError("Required input field ".concat(t.name,".").concat(a.name," cannot be deprecated."),[vr(a.astNode),null===(o=a.astNode)||void 0===o?void 0:o.type])}}function pr(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!=n?n:[]}function hr(e,t){for(var n=[],r=0,i=pr(e);r<i.length;r++){var o,a=i[r];n=n.concat(null!==(o=t(a))&&void 0!==o?o:[])}return n}function yr(e,t){return hr(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function gr(e,t){return hr(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}function vr(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return e.name.value===Yn.name}))}function mr(e,t){var n;return t.kind===x.LIST_TYPE?(n=mr(e,t.type))&&new Dt(n):t.kind===x.NON_NULL_TYPE?(n=mr(e,t.type))&&new xt(n):t.kind===x.NAMED_TYPE?e.getType(t.name.value):void k(0,"Unexpected type node: "+q(t))}var br=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=t?t:Er,n&&(Et(n)&&this._inputTypeStack.push(n),Nt(n)&&this._parentTypeStack.push(n),_t(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case x.SELECTION_SET:var n=Ut(this.getType());this._parentTypeStack.push(Nt(n)?n:void 0);break;case x.FIELD:var r,i,o=this.getParentType();o&&(r=this._getFieldDef(t,o,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(_t(i)?i:void 0);break;case x.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case x.OPERATION_DEFINITION:var a;switch(e.operation){case"query":a=t.getQueryType();break;case"mutation":a=t.getMutationType();break;case"subscription":a=t.getSubscriptionType()}this._typeStack.push(at(a)?a:void 0);break;case x.INLINE_FRAGMENT:case x.FRAGMENT_DEFINITION:var s=e.typeCondition,u=s?mr(t,s):Ut(this.getType());this._typeStack.push(_t(u)?u:void 0);break;case x.VARIABLE_DEFINITION:var c=mr(t,e.type);this._inputTypeStack.push(Et(c)?c:void 0);break;case x.ARGUMENT:var l,f,d,p=null!==(l=this.getDirective())&&void 0!==l?l:this.getFieldDef();p&&(f=Te(p.args,(function(t){return t.name===e.name.value})))&&(d=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(Et(d)?d:void 0);break;case x.LIST:var h=jt(this.getInputType()),y=gt(h)?h.ofType:h;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Et(y)?y:void 0);break;case x.OBJECT_FIELD:var g,v,m=Ut(this.getInputType());ht(m)&&(v=m.getFields()[e.name.value])&&(g=v.type),this._defaultValueStack.push(v?v.defaultValue:void 0),this._inputTypeStack.push(Et(g)?g:void 0);break;case x.ENUM:var b,E=Ut(this.getInputType());dt(E)&&(b=E.getValue(e.value)),this._enumValue=b}},t.leave=function(e){switch(e.kind){case x.SELECTION_SET:this._parentTypeStack.pop();break;case x.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case x.DIRECTIVE:this._directive=null;break;case x.OPERATION_DEFINITION:case x.INLINE_FRAGMENT:case x.FRAGMENT_DEFINITION:this._typeStack.pop();break;case x.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case x.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case x.LIST:case x.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case x.ENUM:this._enumValue=null}},e}();function Er(e,t,n){var r=n.name.value;return r===Cn.name&&e.getQueryType()===t?Cn:r===Bn.name&&e.getQueryType()===t?Bn:r===jn.name&&Nt(t)?jn:at(t)||ut(t)?t.getFields()[r]:void 0}function wr(e,t){return{enter:function(n){e.enter(n);var r=_e(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),P(i)&&e.enter(i)),i}},leave:function(n){var r,i=_e(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}function _r(e){return Tr(e)||Ar(e)||Rr(e)}function Tr(e){return e.kind===x.OPERATION_DEFINITION||e.kind===x.FRAGMENT_DEFINITION}function Ir(e){return e.kind===x.FIELD||e.kind===x.FRAGMENT_SPREAD||e.kind===x.INLINE_FRAGMENT}function Sr(e){return e.kind===x.VARIABLE||e.kind===x.INT||e.kind===x.FLOAT||e.kind===x.STRING||e.kind===x.BOOLEAN||e.kind===x.NULL||e.kind===x.ENUM||e.kind===x.LIST||e.kind===x.OBJECT}function Nr(e){return e.kind===x.NAMED_TYPE||e.kind===x.LIST_TYPE||e.kind===x.NON_NULL_TYPE}function Ar(e){return e.kind===x.SCHEMA_DEFINITION||Or(e)||e.kind===x.DIRECTIVE_DEFINITION}function Or(e){return e.kind===x.SCALAR_TYPE_DEFINITION||e.kind===x.OBJECT_TYPE_DEFINITION||e.kind===x.INTERFACE_TYPE_DEFINITION||e.kind===x.UNION_TYPE_DEFINITION||e.kind===x.ENUM_TYPE_DEFINITION||e.kind===x.INPUT_OBJECT_TYPE_DEFINITION}function Rr(e){return e.kind===x.SCHEMA_EXTENSION||Dr(e)}function Dr(e){return e.kind===x.SCALAR_TYPE_EXTENSION||e.kind===x.OBJECT_TYPE_EXTENSION||e.kind===x.INTERFACE_TYPE_EXTENSION||e.kind===x.UNION_TYPE_EXTENSION||e.kind===x.ENUM_TYPE_EXTENSION||e.kind===x.INPUT_OBJECT_TYPE_EXTENSION}function xr(e){return{Document:function(t){for(var n=0,r=t.definitions;n<r.length;n++){var i=r[n];if(!Tr(i)){var o=i.kind===x.SCHEMA_DEFINITION||i.kind===x.SCHEMA_EXTENSION?"schema":'"'+i.name.value+'"';e.reportError(new A("The ".concat(o," definition is not executable."),i))}}return!1}}}function kr(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new A('There can be only one operation named "'.concat(r.value,'".'),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function Lr(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===x.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new A("This anonymous operation must be the only defined operation.",n))}}}function Cr(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new A(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}function Br(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];Or(a)&&(r[a.name.value]=!0)}var s=Object.keys(n).concat(Object.keys(r));return{NamedType:function(t,i,o,a,u){var c,l=t.name.value;if(!n[l]&&!r[l]){var f,d=null!==(f=u[2])&&void 0!==f?f:o,p=null!=d&&(c=d,!Array.isArray(c)&&(Ar(c)||Rr(c)));if(p&&function(e){return-1!==jr.indexOf(e)}(l))return;var h=Ve(l,p?jr.concat(s):s);e.reportError(new A('Unknown type "'.concat(l,'".')+Be(h),t))}}}}var jr=[].concat(wn,Pn).map((function(e){return e.name}));function Pr(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=mr(e.getSchema(),n);if(r&&!Nt(r)){var i=$e(n);e.reportError(new A('Fragment cannot condition on non composite type "'.concat(i,'".'),n))}}},FragmentDefinition:function(t){var n=mr(e.getSchema(),t.typeCondition);if(n&&!Nt(n)){var r=$e(t.typeCondition);e.reportError(new A('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(r,'".'),t.typeCondition))}}}}function Fr(e){return{VariableDefinition:function(t){var n=mr(e.getSchema(),t.type);if(n&&!Et(n)){var r=t.variable.name.value,i=$e(t.type);e.reportError(new A('Variable "$'.concat(r,'" cannot be non-input type "').concat(i,'".'),t.type))}}}}function Ur(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;if(n)if(It(Ut(n))){if(r){var i=t.name.value,o=q(n);e.reportError(new A('Field "'.concat(i,'" must not have a selection since type "').concat(o,'" has no subfields.'),r))}}else if(!r){var a=t.name.value,s=q(n);e.reportError(new A('Field "'.concat(a,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(a,' { ... }"?'),t))}}}}function Mr(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r=e.getSchema(),i=t.name.value,o=Be("to use an inline fragment on",function(e,t,n){if(!Ot(t))return[];for(var r=new Set,i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[n]){r.add(s),i[s.name]=1;for(var u=0,c=s.getInterfaces();u<c.length;u++){var l,f=c[u];f.getFields()[n]&&(r.add(f),i[f.name]=(null!==(l=i[f.name])&&void 0!==l?l:0)+1)}}}return un(r).sort((function(t,n){var r=i[n.name]-i[t.name];return 0!==r?r:ut(t)&&e.isSubType(t,n)?-1:ut(n)&&e.isSubType(n,t)?1:Pe(t.name,n.name)})).map((function(e){return e.name}))}(r,n,i));""===o&&(o=Be(function(e,t){return at(e)||ut(e)?Ve(t,Object.keys(e.getFields())):[]}(n,i))),e.reportError(new A('Cannot query field "'.concat(i,'" on type "').concat(n.name,'".')+o,t))}}}}function Vr(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new A('There can be only one fragment named "'.concat(r,'".'),[t[r],n.name])):t[r]=n.name,!1}}}function qr(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new A('Unknown fragment "'.concat(n,'".'),t.name))}}}function Gr(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var r=Object.create(null),i=0;i<t.length;i++)for(var o=t[i],a=0,s=e.getRecursivelyReferencedFragments(o);a<s.length;a++)r[s[a].name.value]=!0;for(var u=0;u<n.length;u++){var c=n[u],l=c.name.value;!0!==r[l]&&e.reportError(new A('Fragment "'.concat(l,'" is never used.'),c))}}}}}function $r(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();if(Nt(n)&&Nt(r)&&!sn(e.getSchema(),n,r)){var i=q(r),o=q(n);e.reportError(new A('Fragment cannot be spread here as objects of type "'.concat(i,'" can never be of type "').concat(o,'".'),t))}},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=mr(e.getSchema(),n.typeCondition);if(Nt(r))return r}}(e,n),i=e.getParentType();if(r&&i&&!sn(e.getSchema(),r,i)){var o=q(i),a=q(r);e.reportError(new A('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(o,'" can never be of type "').concat(a,'".'),t))}}}}function Wr(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return i(e),!1}};function i(o){if(!t[o.name.value]){var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){r[a]=n.length;for(var u=0;u<s.length;u++){var c=s[u],l=c.name.value,f=r[l];if(n.push(c),void 0===f){var d=e.getFragment(l);d&&i(d)}else{var p=n.slice(f),h=p.slice(0,-1).map((function(e){return'"'+e.name.value+'"'})).join(", ");e.reportError(new A('Cannot spread fragment "'.concat(l,'" within itself')+(""!==h?" via ".concat(h,"."):"."),p))}n.pop()}r[a]=void 0}}}}function Yr(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var r=n.variable.name.value;t[r]?e.reportError(new A('There can be only one variable named "$'.concat(r,'".'),[t[r],n.variable.name])):t[r]=n.variable.name}}}function Qr(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new A(n.name?'Variable "$'.concat(a,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(a,'" is not defined.'),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function Jr(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var r=Object.create(null),i=e.getRecursiveVariableUsages(n),o=0;o<i.length;o++)r[i[o].node.name.value]=!0;for(var a=0,s=t;a<s.length;a++){var u=s[a],c=u.variable.name.value;!0!==r[c]&&e.reportError(new A(n.name?'Variable "$'.concat(c,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(c,'" is never used.'),u))}}},VariableDefinition:function(e){t.push(e)}}}function Hr(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Jn,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.locations}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===x.DIRECTIVE_DEFINITION&&(t[u.name.value]=u.locations.map((function(e){return e.value})))}return{Directive:function(n,r,i,o,a){var s=n.name.value,u=t[s];if(u){var c=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||k(0),t.kind){case x.OPERATION_DEFINITION:return function(e){switch(e){case"query":return H.QUERY;case"mutation":return H.MUTATION;case"subscription":return H.SUBSCRIPTION}k(0,"Unexpected operation: "+q(e))}(t.operation);case x.FIELD:return H.FIELD;case x.FRAGMENT_SPREAD:return H.FRAGMENT_SPREAD;case x.INLINE_FRAGMENT:return H.INLINE_FRAGMENT;case x.FRAGMENT_DEFINITION:return H.FRAGMENT_DEFINITION;case x.VARIABLE_DEFINITION:return H.VARIABLE_DEFINITION;case x.SCHEMA_DEFINITION:case x.SCHEMA_EXTENSION:return H.SCHEMA;case x.SCALAR_TYPE_DEFINITION:case x.SCALAR_TYPE_EXTENSION:return H.SCALAR;case x.OBJECT_TYPE_DEFINITION:case x.OBJECT_TYPE_EXTENSION:return H.OBJECT;case x.FIELD_DEFINITION:return H.FIELD_DEFINITION;case x.INTERFACE_TYPE_DEFINITION:case x.INTERFACE_TYPE_EXTENSION:return H.INTERFACE;case x.UNION_TYPE_DEFINITION:case x.UNION_TYPE_EXTENSION:return H.UNION;case x.ENUM_TYPE_DEFINITION:case x.ENUM_TYPE_EXTENSION:return H.ENUM;case x.ENUM_VALUE_DEFINITION:return H.ENUM_VALUE;case x.INPUT_OBJECT_TYPE_DEFINITION:case x.INPUT_OBJECT_TYPE_EXTENSION:return H.INPUT_OBJECT;case x.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===x.INPUT_OBJECT_TYPE_DEFINITION?H.INPUT_FIELD_DEFINITION:H.ARGUMENT_DEFINITION}}(a);c&&-1===u.indexOf(c)&&e.reportError(new A('Directive "@'.concat(s,'" may not be used on ').concat(c,"."),n))}else e.reportError(new A('Unknown directive "@'.concat(s,'".'),n))}}}function Kr(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Jn,i=0;i<r.length;i++){var o=r[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===x.DIRECTIVE_DEFINITION&&(t[u.name.value]=!u.repeatable)}var c=Object.create(null),l=Object.create(null);return{enter:function(n){if(null!=n.directives){var r;if(n.kind===x.SCHEMA_DEFINITION||n.kind===x.SCHEMA_EXTENSION)r=c;else if(Or(n)||Dr(n)){var i=n.name.value;void 0===(r=l[i])&&(l[i]=r=Object.create(null))}else r=Object.create(null);for(var o=0,a=n.directives;o<a.length;o++){var s=a[o],u=s.name.value;t[u]&&(r[u]?e.reportError(new A('The directive "@'.concat(u,'" can only be used once at this location.'),[r[u],s])):r[u]=s)}}}}}function zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zr(Object(n),!0).forEach((function(t){Zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return Xr(Xr({},ti(e)),{},{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var o=t.name.value,a=Ve(o,r.args.map((function(e){return e.name})));e.reportError(new A('Unknown argument "'.concat(o,'" on field "').concat(i.name,".").concat(r.name,'".')+Be(a),t))}}})}function ti(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Jn,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.args.map((function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];if(u.kind===x.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];t[u.name.value]=l.map((function(e){return e.name.value}))}}return{Directive:function(n){var r=n.name.value,i=t[r];if(n.arguments&&i)for(var o=0,a=n.arguments;o<a.length;o++){var s=a[o],u=s.name.value;if(-1===i.indexOf(u)){var c=Ve(u,i);e.reportError(new A('Unknown argument "'.concat(u,'" on directive "@').concat(r,'".')+Be(c),s))}}return!1}}}function ni(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new A('There can be only one argument named "'.concat(r,'".'),[t[r],n.name])):t[r]=n.name,!1}}}function ri(e){return{ListValue:function(t){if(!gt(jt(e.getParentInputType())))return ii(e,t),!1},ObjectValue:function(t){var n=Ut(e.getInputType());if(!ht(n))return ii(e,t),!1;for(var r=De(t.fields,(function(e){return e.name.value})),i=0,o=Ie(n.getFields());i<o.length;i++){var a=o[i];if(!r[a.name]&&rn(a)){var s=q(a.type);e.reportError(new A('Field "'.concat(n.name,".").concat(a.name,'" of required type "').concat(s,'" was not provided.'),t))}}},ObjectField:function(t){var n=Ut(e.getParentInputType());if(!e.getInputType()&&ht(n)){var r=Ve(t.name.value,Object.keys(n.getFields()));e.reportError(new A('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+Be(r),t))}},NullValue:function(t){var n=e.getInputType();mt(n)&&e.reportError(new A('Expected value of type "'.concat(q(n),'", found ').concat($e(t),"."),t))},EnumValue:function(t){return ii(e,t)},IntValue:function(t){return ii(e,t)},FloatValue:function(t){return ii(e,t)},StringValue:function(t){return ii(e,t)},BooleanValue:function(t){return ii(e,t)}}}function ii(e,t){var n=e.getInputType();if(n){var r=Ut(n);if(It(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=q(n);e.reportError(new A('Expected value of type "'.concat(i,'", found ').concat($e(t),"."),t))}}catch(r){var o=q(n);r instanceof A?e.reportError(r):e.reportError(new A('Expected value of type "'.concat(o,'", found ').concat($e(t),"; ")+r.message,t,void 0,void 0,void 0,r))}else{var a=q(n);e.reportError(new A('Expected value of type "'.concat(a,'", found ').concat($e(t),"."),t))}}}function oi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach((function(t){si(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function si(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ai(ai({},ci(e)),{},{Field:{leave:function(t){var n,r=e.getFieldDef();if(!r)return!1;for(var i=De(null!==(n=t.arguments)&&void 0!==n?n:[],(function(e){return e.name.value})),o=0,a=r.args;o<a.length;o++){var s=a[o];if(!i[s.name]&&Ht(s)){var u=q(s.type);e.reportError(new A('Field "'.concat(r.name,'" argument "').concat(s.name,'" of type "').concat(u,'" is required, but it was not provided.'),t))}}}}})}function ci(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Jn,i=0;i<r.length;i++){var o=r[i];t[o.name]=De(o.args.filter(Ht),(function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];if(u.kind===x.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];t[u.name.value]=De(l.filter(li),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var r=n.name.value,i=t[r];if(i)for(var o,a=De(null!==(o=n.arguments)&&void 0!==o?o:[],(function(e){return e.name.value})),s=0,u=Object.keys(i);s<u.length;s++){var c=u[s];if(!a[c]){var l=i[c].type,f=nt(l)?q(l):$e(l);e.reportError(new A('Directive "@'.concat(r,'" argument "').concat(c,'" of type "').concat(f,'" is required, but it was not provided.'),n))}}}}}}function li(e){return e.type.kind===x.NON_NULL_TYPE&&null==e.defaultValue}function fi(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i],a=o.node,s=o.type,u=o.defaultValue,c=a.name.value,l=t[c];if(l&&s){var f=e.getSchema(),d=mr(f,l.type);if(d&&!di(f,d,l.defaultValue,s,u)){var p=q(d),h=q(s);e.reportError(new A('Variable "$'.concat(c,'" of type "').concat(p,'" used in position expecting type "').concat(h,'".'),[l,a]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function di(e,t,n,r,i){return mt(r)&&!mt(t)?(null!=n&&n.kind!==x.NULL||void 0!==i)&&an(e,t,r.ofType):an(e,t,r)}function pi(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields "'.concat(t,'" conflict because ')+pi(n)})).join(" and "):e}function hi(e){var t=new Ii,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var o=[],a=Ei(e,t,r,i),s=a[0],u=a[1];if(function(e,t,n,r,i){for(var o=0,a=Re(i);o<a.length;o++){var s=a[o],u=s[0],c=s[1];if(c.length>1)for(var l=0;l<c.length;l++)for(var f=l+1;f<c.length;f++){var d=mi(e,n,r,!1,u,c[l],c[f]);d&&t.push(d)}}}(e,o,t,n,s),0!==u.length)for(var c=0;c<u.length;c++){yi(e,o,t,n,!1,s,u[c]);for(var l=c+1;l<u.length;l++)gi(e,o,t,n,!1,u[c],u[l])}return o}(e,n,t,e.getParentType(),r),o=0;o<i.length;o++){var a=i[o],s=a[0],u=s[0],c=s[1],l=a[1],f=a[2],d=pi(c);e.reportError(new A('Fields "'.concat(u,'" conflict because ').concat(d,". Use different aliases on the fields to fetch both if this was intentional."),l.concat(f)))}}}}function yi(e,t,n,r,i,o,a){var s=e.getFragment(a);if(s){var u=wi(e,n,s),c=u[0],l=u[1];if(o!==c){vi(e,t,n,r,i,o,c);for(var f=0;f<l.length;f++)yi(e,t,n,r,i,o,l[f])}}}function gi(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),u=e.getFragment(a);if(s&&u){var c=wi(e,n,s),l=c[0],f=c[1],d=wi(e,n,u),p=d[0],h=d[1];vi(e,t,n,r,i,l,p);for(var y=0;y<h.length;y++)gi(e,t,n,r,i,o,h[y]);for(var g=0;g<f.length;g++)gi(e,t,n,r,i,f[g],a)}}}function vi(e,t,n,r,i,o,a){for(var s=0,u=Object.keys(o);s<u.length;s++){var c=u[s],l=a[c];if(l)for(var f=o[c],d=0;d<f.length;d++)for(var p=0;p<l.length;p++){var h=mi(e,n,r,i,c,f[d],l[p]);h&&t.push(h)}}}function mi(e,t,n,r,i,o,a){var s,u,c=o[0],l=o[1],f=o[2],d=a[0],p=a[1],h=a[2],y=r||c!==d&&at(c)&&at(d);if(!y){var g,v,m=l.name.value,b=p.name.value;if(m!==b)return[[i,'"'.concat(m,'" and "').concat(b,'" are different fields')],[l],[p]];if(s=null!==(g=l.arguments)&&void 0!==g?g:[],u=null!==(v=p.arguments)&&void 0!==v?v:[],s.length!==u.length||!s.every((function(e){var t,n,r=Te(u,(function(t){return t.name.value===e.name.value}));return!!r&&(t=e.value,n=r.value,$e(t)===$e(n))})))return[[i,"they have differing arguments"],[l],[p]]}var E=null==f?void 0:f.type,w=null==h?void 0:h.type;if(E&&w&&bi(E,w))return[[i,'they return conflicting types "'.concat(q(E),'" and "').concat(q(w),'"')],[l],[p]];var _=l.selectionSet,T=p.selectionSet;if(_&&T){var I=function(e,t,n,r,i,o,a,s){var u=[],c=Ei(e,t,i,o),l=c[0],f=c[1],d=Ei(e,t,a,s),p=d[0],h=d[1];if(vi(e,u,t,n,r,l,p),0!==h.length)for(var y=0;y<h.length;y++)yi(e,u,t,n,r,l,h[y]);if(0!==f.length)for(var g=0;g<f.length;g++)yi(e,u,t,n,r,p,f[g]);for(var v=0;v<f.length;v++)for(var m=0;m<h.length;m++)gi(e,u,t,n,r,f[v],h[m]);return u}(e,t,n,y,Ut(E),_,Ut(w),T);return function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(I,i,l,p)}}function bi(e,t){return gt(e)?!gt(t)||bi(e.ofType,t.ofType):!!gt(t)||(mt(e)?!mt(t)||bi(e.ofType,t.ofType):!!mt(t)||!(!It(e)&&!It(t))&&e!==t)}function Ei(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);_i(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function wi(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=mr(e.getSchema(),n.typeCondition);return Ei(e,t,i,n.selectionSet)}function _i(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case x.FIELD:var u=s.name.value,c=void 0;(at(t)||ut(t))&&(c=t.getFields()[u]);var l=s.alias?s.alias.value:u;r[l]||(r[l]=[]),r[l].push([t,s,c]);break;case x.FRAGMENT_SPREAD:i[s.name.value]=!0;break;case x.INLINE_FRAGMENT:var f=s.typeCondition,d=f?mr(e.getSchema(),f):t;_i(e,d,s.selectionSet,r,i)}}}var Ti,Ii=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,n){var r=this._data[e],i=r&&r[t];return void 0!==i&&(!1!==n||!1===i)},t.add=function(e,t,n){this._pairSetAdd(e,t,n),this._pairSetAdd(t,e,n)},t._pairSetAdd=function(e,t,n){var r=this._data[e];r||(r=Object.create(null),this._data[e]=r),r[t]=n},e}();function Si(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new A('There can be only one input field named "'.concat(r,'".'),[n[r],t.name])):n[r]=t.name}}}function Ni(e){var t,n,r,i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){o?e.reportError(new A("Cannot define a new schema within a schema extension.",t)):(a>0&&e.reportError(new A("Must provide only one schema definition.",t)),++a)}}}function Ai(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,o=null!==(i=t.operationTypes)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],u=s.operation,c=n[u];r[u]?e.reportError(new A("Type for ".concat(u," already defined in the schema. It cannot be redefined."),s)):c?e.reportError(new A("There can be only one ".concat(u," type in schema."),[c,s])):n[u]=s}return!1}}function Oi(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;if(null==n||!n.getType(i))return t[i]?e.reportError(new A('There can be only one type named "'.concat(i,'".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new A('Type "'.concat(i,'" already exists in the schema. It cannot also be defined in this type definition.'),r.name))}}function Ri(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o],u=0;u<a.length;u++){var c=a[u],l=c.name.value,f=n[o];dt(f)&&f.getValue(l)?e.reportError(new A('Enum value "'.concat(o,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),c.name)):s[l]?e.reportError(new A('Enum value "'.concat(o,".").concat(l,'" can only be defined once.'),[s[l],c.name])):s[l]=c.name}return!1}}function Di(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.fields)&&void 0!==i?i:[],s=r[o],u=0;u<a.length;u++){var c=a[u],l=c.name.value;xi(n[o],l)?e.reportError(new A('Field "'.concat(o,".").concat(l,'" already exists in the schema. It cannot also be defined in this type extension.'),c.name)):s[l]?e.reportError(new A('Field "'.concat(o,".").concat(l,'" can only be defined once.'),[s[l],c.name])):s[l]=c.name}return!1}}function xi(e,t){return!!(at(e)||ut(e)||ht(e))&&null!=e.getFields()[t]}function ki(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;if(null==n||!n.getDirective(i))return t[i]?e.reportError(new A('There can be only one directive named "@'.concat(i,'".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new A('Directive "@'.concat(i,'" already exists in the schema. It cannot be redefined.'),r.name))}}}function Li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){for(var t=e.getSchema(),n=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var o=i[r];Or(o)&&(n[o.name.value]=o)}return{ScalarTypeExtension:a,ObjectTypeExtension:a,InterfaceTypeExtension:a,UnionTypeExtension:a,EnumTypeExtension:a,InputObjectTypeExtension:a};function a(r){var i,o,a=r.name.value,s=n[a],u=null==t?void 0:t.getType(a);if(s?i=Bi[s.kind]:u&&(i=it(o=u)?x.SCALAR_TYPE_EXTENSION:at(o)?x.OBJECT_TYPE_EXTENSION:ut(o)?x.INTERFACE_TYPE_EXTENSION:lt(o)?x.UNION_TYPE_EXTENSION:dt(o)?x.ENUM_TYPE_EXTENSION:ht(o)?x.INPUT_OBJECT_TYPE_EXTENSION:void k(0,"Unexpected type: "+q(o))),i){if(i!==r.kind){var c=function(e){switch(e){case x.SCALAR_TYPE_EXTENSION:return"scalar";case x.OBJECT_TYPE_EXTENSION:return"object";case x.INTERFACE_TYPE_EXTENSION:return"interface";case x.UNION_TYPE_EXTENSION:return"union";case x.ENUM_TYPE_EXTENSION:return"enum";case x.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}k(0,"Unexpected kind: "+q(e))}(r.kind);e.reportError(new A("Cannot extend non-".concat(c,' type "').concat(a,'".'),s?[s,r]:r))}}else{var l=Object.keys(n);t&&(l=l.concat(Object.keys(t.getTypeMap())));var f=Ve(a,l);e.reportError(new A('Cannot extend type "'.concat(a,'" because it is not defined.')+Be(f),r.name))}}}var Bi=(Li(Ti={},x.SCALAR_TYPE_DEFINITION,x.SCALAR_TYPE_EXTENSION),Li(Ti,x.OBJECT_TYPE_DEFINITION,x.OBJECT_TYPE_EXTENSION),Li(Ti,x.INTERFACE_TYPE_DEFINITION,x.INTERFACE_TYPE_EXTENSION),Li(Ti,x.UNION_TYPE_DEFINITION,x.UNION_TYPE_EXTENSION),Li(Ti,x.ENUM_TYPE_DEFINITION,x.ENUM_TYPE_EXTENSION),Li(Ti,x.INPUT_OBJECT_TYPE_DEFINITION,x.INPUT_OBJECT_TYPE_EXTENSION),Ti),ji=Object.freeze([xr,kr,Lr,Cr,Br,Pr,Fr,Ur,Mr,Vr,qr,Gr,$r,Wr,Yr,Qr,Jr,Hr,Kr,ei,ni,ri,ui,fi,hi,Si]),Pi=Object.freeze([Ni,Ai,Oi,Ri,Di,ki,Br,Hr,Kr,Ci,ti,ni,Si,ci]);function Fi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Ui=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===x.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var r=0,i=n.pop().selections;r<i.length;r++){var o=i[r];o.kind===x.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var u=this.getFragment(s);u&&(t.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Mi=function(e){function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return Fi(t,e),t.prototype.getSchema=function(){return this._schema},t}(Ui),Vi=function(e){function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}Fi(t,e);var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new br(this._schema);Ee(e,wr(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},n.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(Ui);function qi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ji,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new br(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||$(0,"Must provide document."),nr(e);var o=Object.freeze({}),a=[],s=new Vi(e,t,r,(function(e){if(null!=i.maxErrors&&a.length>=i.maxErrors)throw a.push(new A("Too many validation errors, error limit reached. Validation aborted.")),o;a.push(e)})),u=we(n.map((function(e){return e(s)})));try{Ee(t,wr(r,u))}catch(e){if(e!==o)throw e}return a}function Gi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Pi,r=[],i=new Mi(e,t,(function(e){r.push(e)}));return Ee(e,we(n.map((function(e){return e(i)})))),r}function $i(e,t,n){return{prev:e,key:t,typename:n}}function Wi(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function Yi(e,t){if("query"===t.operation){var n=e.getQueryType();if(!n)throw new A("Schema does not define the required query root type.",t);return n}if("mutation"===t.operation){var r=e.getMutationType();if(!r)throw new A("Schema is not configured for mutations.",t);return r}if("subscription"===t.operation){var i=e.getSubscriptionType();if(!i)throw new A("Schema is not configured for subscriptions.",t);return i}throw new A("Can only have query, mutation and subscription operations.",t)}function Qi(e){return e.map((function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e})).join("")}function Ji(e,t,n){if(e){if(e.kind===x.VARIABLE){var r=e.name.value;if(null==n||void 0===n[r])return;var i=n[r];if(null===i&&mt(t))return;return i}if(mt(t)){if(e.kind===x.NULL)return;return Ji(e,t.ofType,n)}if(e.kind===x.NULL)return null;if(gt(t)){var o=t.ofType;if(e.kind===x.LIST){for(var a=[],s=0,u=e.values;s<u.length;s++){var c=u[s];if(Hi(c,n)){if(mt(o))return;a.push(null)}else{var l=Ji(c,o,n);if(void 0===l)return;a.push(l)}}return a}var f=Ji(e,o,n);if(void 0===f)return;return[f]}if(ht(t)){if(e.kind!==x.OBJECT)return;for(var d=Object.create(null),p=De(e.fields,(function(e){return e.name.value})),h=0,y=Ie(t.getFields());h<y.length;h++){var g=y[h],v=p[g.name];if(v&&!Hi(v.value,n)){var m=Ji(v.value,g.type,n);if(void 0===m)return;d[g.name]=m}else if(void 0!==g.defaultValue)d[g.name]=g.defaultValue;else if(mt(g.type))return}return d}if(It(t)){var b;try{b=t.parseLiteral(e,n)}catch(e){return}if(void 0===b)return;return b}k(0,"Unexpected input type: "+q(t))}}function Hi(e,t){return e.kind===x.VARIABLE&&(null==t||void 0===t[e.name.value])}function Ki(e,t){return Xi(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:zi)}function zi(e,t,n){var r="Invalid value "+q(t);throw e.length>0&&(r+=' at "value'.concat(Qi(e),'"')),n.message=r+": "+n.message,n}function Xi(e,t,n,r){if(mt(t))return null!=e?Xi(e,t.ofType,n,r):void n(Wi(r),e,new A('Expected non-nullable type "'.concat(q(t),'" not to be null.')));if(null==e)return null;if(gt(t)){var i=t.ofType,o=fn(e,(function(e,t){var o=$i(r,t,void 0);return Xi(e,i,n,o)}));return null!=o?o:[Xi(e,i,n,r)]}if(ht(t)){if(!s(e))return void n(Wi(r),e,new A('Expected type "'.concat(t.name,'" to be an object.')));for(var a={},u=t.getFields(),c=0,l=Ie(u);c<l.length;c++){var f=l[c],d=e[f.name];if(void 0!==d)a[f.name]=Xi(d,f.type,n,$i(r,f.name,t.name));else if(void 0!==f.defaultValue)a[f.name]=f.defaultValue;else if(mt(f.type)){var p=q(f.type);n(Wi(r),e,new A('Field "'.concat(f.name,'" of required type "').concat(p,'" was not provided.')))}}for(var h=0,y=Object.keys(e);h<y.length;h++){var g=y[h];if(!u[g]){var v=Ve(g,Object.keys(t.getFields()));n(Wi(r),e,new A('Field "'.concat(g,'" is not defined by type "').concat(t.name,'".')+Be(v)))}}return a}if(It(t)){var m;try{m=t.parseValue(e)}catch(i){return void n(Wi(r),e,i instanceof A?i:new A('Expected type "'.concat(t.name,'". ')+i.message,void 0,void 0,void 0,void 0,i))}return void 0===m&&n(Wi(r),e,new A('Expected type "'.concat(t.name,'".'))),m}k(0,"Unexpected input type: "+q(t))}function Zi(e,t,n){for(var r,i={},o=De(null!==(r=t.arguments)&&void 0!==r?r:[],(function(e){return e.name.value})),a=0,s=e.args;a<s.length;a++){var u=s[a],c=u.name,l=u.type,f=o[c];if(f){var d=f.value,p=d.kind===x.NULL;if(d.kind===x.VARIABLE){var h=d.name.value;if(null==n||!to(n,h)){if(void 0!==u.defaultValue)i[c]=u.defaultValue;else if(mt(l))throw new A('Argument "'.concat(c,'" of required type "').concat(q(l),'" ')+'was provided the variable "$'.concat(h,'" which was not provided a runtime value.'),d);continue}p=null==n[h]}if(p&&mt(l))throw new A('Argument "'.concat(c,'" of non-null type "').concat(q(l),'" ')+"must not be null.",d);var y=Ji(d,l,n);if(void 0===y)throw new A('Argument "'.concat(c,'" has invalid value ').concat($e(d),"."),d);i[c]=y}else if(void 0!==u.defaultValue)i[c]=u.defaultValue;else if(mt(l))throw new A('Argument "'.concat(c,'" of required type "').concat(q(l),'" ')+"was not provided.",t)}return i}function eo(e,t,n){var r=t.directives&&Te(t.directives,(function(t){return t.name.value===e.name}));if(r)return Zi(e,r,n)}function to(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function no(e,t,n,r,i,o,a,s){return io(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function ro(e){var t=io(e);if(o(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function io(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,u=e.fieldResolver,c=e.typeResolver;ao(t,n,a);var l=so(t,n,r,i,a,s,u,c);if(Array.isArray(l))return{errors:l};var f=function(e,t,n){var r=Yi(e.schema,t),i=co(e,r,t.selectionSet,Object.create(null),Object.create(null)),a=void 0;try{var s="mutation"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(r,a){var s=i[a],u=$i(undefined,a,t.name),c=po(e,t,n,s,u);return void 0===c?r:o(c)?c.then((function(e){return r[a]=e,r})):(r[a]=c,r)},u=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),u);var a,s,u}(e,r,n,0,i):uo(e,r,n,a,i);return o(s)?s.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):s}catch(t){return e.errors.push(t),null}}(l,l.operation,r);return oo(l,f)}function oo(e,t){return o(t)?t.then((function(t){return oo(e,t)})):0===e.errors.length?{data:t}:{errors:e.errors,data:t}}function ao(e,t,n){t||$(0,"Must provide document."),nr(e),null==n||s(n)||$(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function so(e,t,n,r,i,o,a,s){for(var u,c,l,f=Object.create(null),d=0,p=t.definitions;d<p.length;d++){var h=p[d];switch(h.kind){case x.OPERATION_DEFINITION:if(null==o){if(void 0!==l)return[new A("Must provide operation name if query contains multiple operations.")];l=h}else(null===(u=h.name)||void 0===u?void 0:u.value)===o&&(l=h);break;case x.FRAGMENT_DEFINITION:f[h.name.value]=h}}if(!l)return null!=o?[new A('Unknown operation named "'.concat(o,'".'))]:[new A("Must provide an operation.")];var y=function(e,t,n,r){var i=[],o=null==r?void 0:r.maxErrors;try{var a=function(e,t,n,r){for(var i={},o=function(o){var a=t[o],s=a.variable.name.value,u=mr(e,a.type);if(!Et(u)){var c=$e(a.type);return r(new A('Variable "$'.concat(s,'" expected value of type "').concat(c,'" which cannot be used as an input type.'),a.type)),"continue"}if(!to(n,s)){if(a.defaultValue)i[s]=Ji(a.defaultValue,u);else if(mt(u)){var l=q(u);r(new A('Variable "$'.concat(s,'" of required type "').concat(l,'" was not provided.'),a))}return"continue"}var f=n[s];if(null===f&&mt(u)){var d=q(u);return r(new A('Variable "$'.concat(s,'" of non-null type "').concat(d,'" must not be null.'),a)),"continue"}i[s]=Ki(f,u,(function(e,t,n){var i='Variable "$'.concat(s,'" got invalid value ')+q(t);e.length>0&&(i+=' at "'.concat(s).concat(Qi(e),'"')),r(new A(i+"; "+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a<t.length;a++)o(a);return i}(e,t,n,(function(e){if(null!=o&&i.length>=o)throw new A("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)}));if(0===i.length)return{coerced:a}}catch(e){i.push(e)}return{errors:i}}(e,null!==(c=l.variableDefinitions)&&void 0!==c?c:[],null!=i?i:{},{maxErrors:50});return y.errors?y.errors:{schema:e,fragments:f,rootValue:n,contextValue:r,operation:l,variableValues:y.coerced,fieldResolver:null!=a?a:So,typeResolver:null!=s?s:Io,errors:[]}}function uo(e,t,n,r,i){for(var a,s,u,c=Object.create(null),l=!1,f=0,d=Object.keys(i);f<d.length;f++){var p=d[f],h=po(e,t,n,i[p],$i(r,p,t.name));void 0!==h&&(c[p]=h,o(h)&&(l=!0))}return l?(a=c,u=(s=Object.keys(a)).map((function(e){return a[e]})),Promise.all(u).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):c}function co(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case x.FIELD:if(!lo(e,s))continue;var u=(f=s).alias?f.alias.value:f.name.value;r[u]||(r[u]=[]),r[u].push(s);break;case x.INLINE_FRAGMENT:if(!lo(e,s)||!fo(e,s,t))continue;co(e,t,s.selectionSet,r,i);break;case x.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!lo(e,s))continue;i[c]=!0;var l=e.fragments[c];if(!l||!fo(e,l,t))continue;co(e,t,l.selectionSet,r,i)}}var f;return r}function lo(e,t){var n=eo($n,t,e.variableValues);if(!0===(null==n?void 0:n.if))return!1;var r=eo(Gn,t,e.variableValues);return!1!==(null==r?void 0:r.if)}function fo(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=mr(e.schema,r);return i===n||!!Ot(i)&&e.schema.isSubType(i,n)}function po(e,t,n,r,i){var a,s=r[0].name.value,u=No(e.schema,t,s);if(u){var c=u.type,l=null!==(a=u.resolve)&&void 0!==a?a:e.fieldResolver,f=ho(e,u,r,t,i);try{var d,p=l(n,Zi(u,r[0],e.variableValues),e.contextValue,f);return d=o(p)?p.then((function(t){return go(e,c,r,f,i,t)})):go(e,c,r,f,i,p),o(d)?d.then(void 0,(function(t){return yo(Se(t,r,Wi(i)),c,e)})):d}catch(t){return yo(Se(t,r,Wi(i)),c,e)}}}function ho(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function yo(e,t,n){if(mt(t))throw e;return n.errors.push(e),null}function go(e,t,n,r,i,a){if(a instanceof Error)throw a;if(mt(t)){var s=go(e,t.ofType,n,r,i,a);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return s}return null==a?null:gt(t)?function(e,t,n,r,i,a){var s=t.ofType,u=!1,c=fn(a,(function(t,a){var c=$i(i,a,void 0);try{var l;return l=o(t)?t.then((function(t){return go(e,s,n,r,c,t)})):go(e,s,n,r,c,t),o(l)?(u=!0,l.then(void 0,(function(t){return yo(Se(t,n,Wi(c)),s,e)}))):l}catch(t){return yo(Se(t,n,Wi(c)),s,e)}}));if(null==c)throw new A('Expected Iterable, but did not find one for field "'.concat(r.parentType.name,".").concat(r.fieldName,'".'));return u?Promise.all(c):c}(e,t,n,r,i,a):It(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type "'.concat(q(e),'" but ')+"received: ".concat(q(t)));return n}(t,a):Ot(t)?function(e,t,n,r,i,a){var s,u=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,l=u(a,c,r,t);return o(l)?l.then((function(o){return mo(e,vo(o,e,t,n,r,a),n,r,i,a)})):mo(e,vo(l,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,a):at(t)?mo(e,t,n,r,i,a):void k(0,"Cannot complete value of unexpected output type: "+q(t))}function vo(e,t,n,r,i,o){if(null==e)throw new A('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'". Either the "').concat(n.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);var a=Pt(e)?e.name:e;if("string"!=typeof a)throw new A('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'" with ')+"value ".concat(q(o),', received "').concat(q(e),'".'));var s=t.schema.getType(a);if(null==s)throw new A('Abstract type "'.concat(n.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),r);if(!at(s))throw new A('Abstract type "'.concat(n.name,'" was resolve to a non-object type "').concat(a,'".'),r);if(!t.schema.isSubType(n,s))throw new A('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(n.name,'".'),r);return s}function mo(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw bo(t,a,n);return Eo(e,t,n,i,a)}));if(!s)throw bo(t,a,n)}return Eo(e,t,n,i,a)}function bo(e,t,n){return new A('Expected value of type "'.concat(e.name,'" but got: ').concat(q(t),"."),n)}function Eo(e,t,n,r,i){return uo(e,t,i,r,To(e,t,n))}var wo,_o,To=(wo=function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=co(e,t,a.selectionSet,r,i))}return r},function(e,t,n){_o||(_o=new WeakMap);var r,i=_o.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,_o.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=wo(e,t,n);return r.set(n,a),a}),Io=function(e,t,n,r){if(s(e)&&"string"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],u=0;u<i.length;u++){var c=i[u];if(c.isTypeOf){var l=c.isTypeOf(e,t,n);if(o(l))a[u]=l;else if(l)return c.name}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t].name})):void 0},So=function(e,t,n,r){if(s(e)||"function"==typeof e){var i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function No(e,t,n){return n===Cn.name&&e.getQueryType()===t?Cn:n===Bn.name&&e.getQueryType()===t?Bn:n===jn.name?jn:t.getFields()[n]}function Ao(e,t,n,r,i,o,a,s){var u=arguments;return new Promise((function(c){return c(Ro(1===u.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function Oo(e,t,n,r,i,a,s,u){var c=Ro(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:u});if(o(c))throw new Error("GraphQL execution failed to complete synchronously.");return c}function Ro(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,u=e.fieldResolver,c=e.typeResolver,l=tr(n);if(l.length>0)return{errors:l};try{t=de(r)}catch(e){return{errors:[e]}}var f=qi(n,t);return f.length>0?{errors:f}:no({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:c})}function Do(e){return"function"==typeof(null==e?void 0:e[c])}function xo(e,t){return new Promise((function(n){return n(t(e))}))}function ko(e){return{value:e,done:!1}}function Lo(e,t,n,r,i,o,a,s){return function(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,u=e.subscribeFieldResolver,l=Bo(t,n,r,i,o,a,u),f=function(e){return no({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return l.then((function(e){return Do(e)?function(e,t,n){var r,i,o,a,s,u,l=e[c].call(e);function f(e){return e.done?e:xo(e.value,t).then(ko,i)}if("function"==typeof l.return&&(r=l.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(l).then(t,t)}),n){var d=n;o=function(e){return xo(e,d).then(ko,i)}}return u=function(){return this},(s=c)in(a={next:function(){return l.next().then(f,o)},return:function(){return r?r.call(l).then(f,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof l.throw?l.throw(e).then(f,o):Promise.reject(e).catch(i)}})?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a}(e,f,Co):e}))}(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Co(e){if(e instanceof A)return{errors:[e]};throw e}function Bo(e,t,n,r,i,o,a){return ao(e,t,i),new Promise((function(s){var u=so(e,t,n,r,i,o,a);s(Array.isArray(u)?{errors:u}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,i=e.rootValue,o=Yi(t,n),a=co(e,o,n.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],u=a[s],c=u[0].name.value,l=No(t,o,c);if(!l)throw new A('The subscription field "'.concat(c,'" is not defined.'),u);var f=$i(void 0,s,o.name),d=ho(e,l,u,o,f);return new Promise((function(t){var n,o=Zi(l,u[0],r),a=e.contextValue;t((null!==(n=l.subscribe)&&void 0!==n?n:e.fieldResolver)(i,o,a,d))})).then((function(e){if(e instanceof Error)throw Se(e,u,Wi(f));if(!Do(e))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat(q(e),"."));return e}),(function(e){throw Se(e,u,Wi(f))}))}(u))})).catch(Co)}function jo(e){return{Field:function(t){var n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=e.getParentType();null!=i||k(0),e.reportError(new A("The field ".concat(i.name,".").concat(n.name," is deprecated. ").concat(r),t))}},Argument:function(t){var n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=e.getDirective();if(null!=i)e.reportError(new A('Directive "@'.concat(i.name,'" argument "').concat(n.name,'" is deprecated. ').concat(r),t));else{var o=e.getParentType(),a=e.getFieldDef();null!=o&&null!=a||k(0),e.reportError(new A('Field "'.concat(o.name,".").concat(a.name,'" argument "').concat(n.name,'" is deprecated. ').concat(r),t))}}},ObjectField:function(t){var n=Ut(e.getParentInputType());if(ht(n)){var r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new A("The input field ".concat(n.name,".").concat(r.name," is deprecated. ").concat(i),t))}},EnumValue:function(t){var n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=Ut(e.getInputType());null!=i||k(0),e.reportError(new A('The enum value "'.concat(i.name,".").concat(n.name,'" is deprecated. ').concat(r),t))}}}}function Po(e){return{Field:function(t){var n=Ut(e.getType());n&&Fn(n)&&e.reportError(new A('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}function Fo(e){var t;e||$(0,"Received null or undefined error.");var n=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",r=e.locations,i=e.path,o=e.extensions;return o&&Object.keys(o).length>0?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){Mo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByUrl":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(e){return t.inputValueDeprecation?e:""}return"\n query IntrospectionQuery {\n __schema {\n ".concat(o,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(n,"\n ").concat(i,"\n locations\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(n,"\n ").concat(r,"\n fields(includeDeprecated: true) {\n name\n ").concat(n,"\n args").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(a("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(n,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(n,"\n type { ...TypeRef }\n defaultValue\n ").concat(a("isDeprecated"),"\n ").concat(a("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}function qo(e,t){for(var n=null,r=0,i=e.definitions;r<i.length;r++){var o,a=i[r];if(a.kind===x.OPERATION_DEFINITION)if(null==t){if(n)return null;n=a}else if((null===(o=a.name)||void 0===o?void 0:o.value)===t)return a}return n}function Go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Go(Object(n),!0).forEach((function(t){$o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),r=ro({schema:e,document:de(Vo(n))});return!r.errors&&r.data||k(0),r.data}function Yo(e,t){s(e)&&s(e.__schema)||$(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(q(e),"."));for(var n=e.__schema,r=Le(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case kn.SCALAR:return new qt({name:(r=e).name,description:r.description,specifiedByUrl:r.specifiedByUrl});case kn.OBJECT:return new Gt({name:(n=e).name,description:n.description,interfaces:function(){return g(n)},fields:function(){return v(n)}});case kn.INTERFACE:return new Kt({name:(t=e).name,description:t.description,interfaces:function(){return g(t)},fields:function(){return v(t)}});case kn.UNION:return function(e){if(!e.possibleTypes){var t=q(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new zt({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(h)}})}(e);case kn.ENUM:return function(e){if(!e.enumValues){var t=q(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new Zt({name:e.name,description:e.description,values:Le(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case kn.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=q(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new tn({name:e.name,description:e.description,fields:function(){return b(e.inputFields)}})}(e)}var t,n,r,i=q(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(i,"."))}(e)})),i=0,o=[].concat(wn,Pn);i<o.length;i++){var a=o[i];r[a.name]&&(r[a.name]=a)}var u=n.queryType?h(n.queryType):null,c=n.mutationType?h(n.mutationType):null,l=n.subscriptionType?h(n.subscriptionType):null,f=n.directives?n.directives.map((function(e){if(!e.args){var t=q(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var n=q(e);throw new Error("Introspection result missing directive locations: ".concat(n,"."))}return new qn({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:b(e.args)})})):[];return new Zn({description:n.description,query:u,mutation:c,subscription:l,types:Ie(r),directives:f,assumeValid:null==t?void 0:t.assumeValid});function d(e){if(e.kind===kn.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new Dt(d(t))}if(e.kind===kn.NON_NULL){var n=e.ofType;if(!n)throw new Error("Decorated type deeper than introspection query.");return new xt(Bt(d(n)))}return p(e)}function p(e){var t=e.name;if(!t)throw new Error("Unknown type reference: ".concat(q(e),"."));var n=r[t];if(!n)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return n}function h(e){return st(p(e))}function y(e){return ct(p(e))}function g(e){if(null===e.interfaces&&e.kind===kn.INTERFACE)return[];if(!e.interfaces){var t=q(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(y)}function v(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat(q(e),"."));return Le(e.fields,(function(e){return e.name}),m)}function m(e){var t=d(e.type);if(!_t(t)){var n=q(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(n,"."))}if(!e.args){var r=q(e);throw new Error("Introspection result missing field args: ".concat(r,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:b(e.args)}}function b(e){return Le(e,(function(e){return e.name}),E)}function E(e){var t=d(e.type);if(!Et(t)){var n=q(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(n,"."))}var r=null!=e.defaultValue?Ji(pe(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach((function(t){Ho(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e,t,n){Xn(e),null!=t&&t.kind===x.DOCUMENT||$(0,"Must provide valid Document AST."),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&function(e,t){var n=Gi(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join("\n\n"))}(t,e);var r=e.toConfig(),i=zo(r,t,n);return r===i?e:new Zn(i)}function zo(e,t,n){for(var r,i,o,a,s,u=[],c=Object.create(null),l=[],f=[],d=0,p=t.definitions;d<p.length;d++){var h=p[d];if(h.kind===x.SCHEMA_DEFINITION)s=h;else if(h.kind===x.SCHEMA_EXTENSION)f.push(h);else if(Or(h))u.push(h);else if(Dr(h)){var y=h.name.value,g=c[y];c[y]=g?g.concat([h]):[h]}else h.kind===x.DIRECTIVE_DEFINITION&&l.push(h)}if(0===Object.keys(c).length&&0===u.length&&0===l.length&&0===f.length&&null==s)return e;for(var v=Object.create(null),m=0,b=e.types;m<b.length;m++){var E=b[m];v[E.name]=Fn(w=E)||_n(w)?w:it(w)?function(e){for(var t,n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[],i=n.specifiedByUrl,o=0;o<r.length;o++){var a;i=null!==(a=ea(r[o]))&&void 0!==a?a:i}return new qt(Jo(Jo({},n),{},{specifiedByUrl:i,extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):at(w)?function(e){var t,n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new Gt(Jo(Jo({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(O),M(r))},fields:function(){return Jo(Jo({},xe(n.fields,R)),j(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):ut(w)?function(e){var t,n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new Kt(Jo(Jo({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(O),M(r))},fields:function(){return Jo(Jo({},xe(n.fields,R)),j(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):lt(w)?function(e){var t,n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new zt(Jo(Jo({},n),{},{types:function(){return[].concat(e.getTypes().map(O),V(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):dt(w)?function(e){var t,n=e.toConfig(),r=null!==(t=c[e.name])&&void 0!==t?t:[];return new Zt(Jo(Jo({},n),{},{values:Jo(Jo({},n.values),U(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):ht(w)?function(e){var t,n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new tn(Jo(Jo({},n),{},{fields:function(){return Jo(Jo({},xe(n.fields,(function(e){return Jo(Jo({},e),{},{type:A(e.type)})}))),F(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(w):void k(0,"Unexpected type: "+q(w))}for(var w,_=0;_<u.length;_++){var T,I=u[_],S=I.name.value;v[S]=null!==(T=Xo[S])&&void 0!==T?T:G(I)}var N=Jo(Jo({query:e.query&&O(e.query),mutation:e.mutation&&O(e.mutation),subscription:e.subscription&&O(e.subscription)},s&&L([s])),L(f));return Jo(Jo({description:null===(r=s)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},N),{},{types:Ie(v),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new qn(Jo(Jo({},t),{},{args:xe(t.args,D)}))})),l.map((function(e){var t=e.locations.map((function(e){return e.value}));return new qn({name:e.name.value,description:ta(e,n),locations:t,isRepeatable:e.repeatable,args:P(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(o=s)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(f),assumeValid:null!==(a=null==n?void 0:n.assumeValid)&&void 0!==a&&a});function A(e){return gt(e)?new Dt(A(e.ofType)):mt(e)?new xt(A(e.ofType)):O(e)}function O(e){return v[e.name]}function R(e){return Jo(Jo({},e),{},{type:A(e.type),args:xe(e.args,D)})}function D(e){return Jo(Jo({},e),{},{type:A(e.type)})}function L(e){for(var t={},n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=C(a.type)}return t}function C(e){var t,n=e.name.value,r=null!==(t=Xo[n])&&void 0!==t?t:v[n];if(void 0===r)throw new Error('Unknown type: "'.concat(n,'".'));return r}function B(e){return e.kind===x.LIST_TYPE?new Dt(B(e.type)):e.kind===x.NON_NULL_TYPE?new xt(B(e.type)):C(e)}function j(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:B(s.type),description:ta(s,n),args:P(s.arguments),deprecationReason:Zo(s),astNode:s}}return t}function P(e){for(var t=null!=e?e:[],r=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=B(o.type);r[o.name.value]={type:a,description:ta(o,n),defaultValue:Ji(o.defaultValue,a),deprecationReason:Zo(o),astNode:o}}return r}function F(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],u=B(s.type);t[s.name.value]={type:u,description:ta(s,n),defaultValue:Ji(s.defaultValue,u),deprecationReason:Zo(s),astNode:s}}return t}function U(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].values)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:ta(s,n),deprecationReason:Zo(s),astNode:s}}return t}function M(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].interfaces)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(C(a))}return t}function V(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].types)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(C(a))}return t}function G(e){var t,r=e.name.value,i=ta(e,n),o=null!==(t=c[r])&&void 0!==t?t:[];switch(e.kind){case x.OBJECT_TYPE_DEFINITION:var a=o,s=[e].concat(a);return new Gt({name:r,description:i,interfaces:function(){return M(s)},fields:function(){return j(s)},astNode:e,extensionASTNodes:a});case x.INTERFACE_TYPE_DEFINITION:var u=o,l=[e].concat(u);return new Kt({name:r,description:i,interfaces:function(){return M(l)},fields:function(){return j(l)},astNode:e,extensionASTNodes:u});case x.ENUM_TYPE_DEFINITION:var f=o,d=[e].concat(f);return new Zt({name:r,description:i,values:U(d),astNode:e,extensionASTNodes:f});case x.UNION_TYPE_DEFINITION:var p=o,h=[e].concat(p);return new zt({name:r,description:i,types:function(){return V(h)},astNode:e,extensionASTNodes:p});case x.SCALAR_TYPE_DEFINITION:var y=o;return new qt({name:r,description:i,specifiedByUrl:ea(e),astNode:e,extensionASTNodes:y});case x.INPUT_OBJECT_TYPE_DEFINITION:var g=o,v=[e].concat(g);return new tn({name:r,description:i,fields:function(){return F(v)},astNode:e,extensionASTNodes:g})}k(0,"Unexpected type definition node: "+q(e))}}var Xo=De(wn.concat(Pn),(function(e){return e.name}));function Zo(e){var t=eo(Yn,e);return null==t?void 0:t.reason}function ea(e){var t=eo(Qn,e);return null==t?void 0:t.url}function ta(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(t){for(var n=[],r=t.startToken.prev;null!=r&&r.kind===F.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var i=String(r.value);n.push(i),r=r.prev}return n.length>0?n.reverse().join("\n"):void 0}}(e);if(void 0!==n)return K("\n"+n)}}function na(e,t){null!=e&&e.kind===x.DOCUMENT||$(0,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Gi(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}(e);var n=zo({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,i=n.types;r<i.length;r++){var o=i[r];switch(o.name){case"Query":n.query=o;break;case"Mutation":n.mutation=o;break;case"Subscription":n.subscription=o}}for(var a=n.directives,s=function(e){var t=Jn[e];a.every((function(e){return e.name!==t.name}))&&a.push(t)},u=0;u<Jn.length;u++)s(u);return new Zn(n)}function ra(e,t){return na(de(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ia(Object(n),!0).forEach((function(t){aa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ia(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){var t=e.toConfig(),n=Le(ca(t.types),(function(e){return e.name}),(function(e){if(it(e)||Fn(e))return e;if(at(e)){var t=e.toConfig();return new Gt(oa(oa({},t),{},{interfaces:function(){return u(t.interfaces)},fields:function(){return s(t.fields)}}))}if(ut(e)){var n=e.toConfig();return new Kt(oa(oa({},n),{},{interfaces:function(){return u(n.interfaces)},fields:function(){return s(n.fields)}}))}if(lt(e)){var i=e.toConfig();return new zt(oa(oa({},i),{},{types:function(){return u(i.types)}}))}if(dt(e)){var o=e.toConfig();return new Zt(oa(oa({},o),{},{values:ua(o.values)}))}if(ht(e)){var a=e.toConfig();return new tn(oa(oa({},a),{},{fields:function(){return ua(a.fields,(function(e){return oa(oa({},e),{},{type:r(e.type)})}))}}))}k(0,"Unexpected type: "+q(e))}));return new Zn(oa(oa({},t),{},{types:Ie(n),directives:ca(t.directives).map((function(e){var t=e.toConfig();return new qn(oa(oa({},t),{},{locations:la(t.locations,(function(e){return e})),args:a(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return gt(e)?new Dt(r(e.ofType)):mt(e)?new xt(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function a(e){return ua(e,(function(e){return oa(oa({},e),{},{type:r(e.type)})}))}function s(e){return ua(e,(function(e){return oa(oa({},e),{},{type:r(e.type),args:a(e.args)})}))}function u(e){return ca(e).map(i)}}function ua(e,t){for(var n=Object.create(null),r=la(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function ca(e){return la(e,(function(e){return e.name}))}function la(e,t){return e.slice().sort((function(e,n){return Pe(t(e),t(n))}))}function fa(e,t){return ha(e,(function(e){return!Hn(e)}),pa,t)}function da(e,t){return ha(e,Hn,Fn,t)}function pa(e){return!_n(e)&&!Fn(e)}function ha(e,t,n,r){var i=e.getDirectives().filter(t),o=Ie(e.getTypeMap()).filter(n);return[ya(e)].concat(i.map((function(e){return function(e,t){return Ta(t,e)+"directive @"+e.name+Ea(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,r)})),o.map((function(e){return ga(e,r)}))).filter(Boolean).join("\n\n")+"\n"}function ya(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;var r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e)){var t=[],n=e.getQueryType();n&&t.push(" query: ".concat(n.name));var r=e.getMutationType();r&&t.push(" mutation: ".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(" subscription: ".concat(i.name)),Ta({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}function ga(e,t){return it(e)?function(e,t){return Ta(t,e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByUrl)return"";var t=Tn(e.specifiedByUrl,mn);return t||k(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+$e(t)+")"}(e)}(e,t):at(e)?function(e,t){return Ta(t,e)+"type ".concat(e.name)+va(e)+ma(t,e)}(e,t):ut(e)?function(e,t){return Ta(t,e)+"interface ".concat(e.name)+va(e)+ma(t,e)}(e,t):lt(e)?function(e,t){var n=e.getTypes(),r=n.length?" = "+n.join(" | "):"";return Ta(t,e)+"union "+e.name+r}(e,t):dt(e)?function(e,t){var n=e.getValues().map((function(e,n){return Ta(t,e," ",!n)+" "+e.name+_a(e.deprecationReason)}));return Ta(t,e)+"enum ".concat(e.name)+ba(n)}(e,t):ht(e)?function(e,t){var n=Ie(e.getFields()).map((function(e,n){return Ta(t,e," ",!n)+" "+wa(e)}));return Ta(t,e)+"input ".concat(e.name)+ba(n)}(e,t):void k(0,"Unexpected type: "+q(e))}function va(e){var t=e.getInterfaces();return t.length?" implements "+t.map((function(e){return e.name})).join(" & "):""}function ma(e,t){return ba(Ie(t.getFields()).map((function(t,n){return Ta(e,t," ",!n)+" "+t.name+Ea(e,t.args," ")+": "+String(t.type)+_a(t.deprecationReason)})))}function ba(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function Ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every((function(e){return!e.description}))?"("+t.map(wa).join(", ")+")":"(\n"+t.map((function(t,r){return Ta(e,t," "+n,!r)+" "+n+wa(t)})).join("\n")+"\n"+n+")"}function wa(e){var t=Tn(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat($e(t))),n+_a(e.deprecationReason)}function _a(e){if(null==e)return"";var t=Tn(e,mn);return t&&e!==Wn?" @deprecated(reason: "+$e(t)+")":" @deprecated"}function Ta(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;return null==i?"":!0===(null==e?void 0:e.commentDescriptions)?function(e,t,n){return(t&&!n?"\n":"")+e.split("\n").map((function(e){return t+(""!==e?"# "+e:"#")})).join("\n")+"\n"}(i,n,r):(n&&!r?"\n"+n:n)+Z(i,"",i.length>70).replace(/\n/g,"\n"+n)+"\n"}function Ia(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t=t.concat(r.definitions)}return{kind:"Document",definitions:t}}function Sa(e){for(var t=[],n=Object.create(null),r=0,i=e.definitions;r<i.length;r++){var o=i[r];switch(o.kind){case x.OPERATION_DEFINITION:t.push(o);break;case x.FRAGMENT_DEFINITION:n[o.name.value]=Aa(o.selectionSet)}}for(var a=Object.create(null),s=function(r){for(var i=t[r],o=new Set,s=0,u=Aa(i.selectionSet);s<u.length;s++){var c=u[s];Na(o,n,c)}var l=i.name?i.name.value:"";a[l]={kind:x.DOCUMENT,definitions:e.definitions.filter((function(e){return e===i||e.kind===x.FRAGMENT_DEFINITION&&o.has(e.name.value)}))}},u=0;u<t.length;u++)s(u);return a}function Na(e,t,n){if(!e.has(n)){e.add(n);var r=t[n];if(void 0!==r)for(var i=0;i<r.length;i++)Na(e,t,r[i])}}function Aa(e){var t=[];return Ee(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function Oa(e){for(var t=J(e)?e:new Q(e),n=t.body,r=new ee(t),i="",o=!1;r.advance().kind!==F.EOF;){var a=r.token,s=a.kind,u=!te(a.kind);o&&(u||a.kind===F.SPREAD)&&(i+=" ");var c=n.slice(a.start,a.end);s===F.BLOCK_STRING?i+=Ra(c):i+=c,o=u}return i}function Ra(e){var t=K(e.slice(3,-3));X(t)>0&&(t="\n"+t);var n=t[t.length-1];return('"'===n&&'\\"""'!==t.slice(-4)||"\\"===n)&&(t+="\n"),'"""'+t+'"""'}function Da(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(n),!0).forEach((function(t){ka(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ka(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var La=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),Ca=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ba(e,t){return Pa(e,t).filter((function(e){return e.type in La}))}function ja(e,t){return Pa(e,t).filter((function(e){return e.type in Ca}))}function Pa(e,t){return[].concat(function(e,t){for(var n=[],r=Ja(Ie(e.getTypeMap()),Ie(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:La.TYPE_REMOVED,description:_n(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){var c=u[s],l=c[0],f=c[1];dt(l)&&dt(f)?n.push.apply(n,Ma(l,f)):lt(l)&&lt(f)?n.push.apply(n,Ua(l,f)):ht(l)&&ht(f)?n.push.apply(n,Fa(l,f)):at(l)&&at(f)||ut(l)&&ut(f)?n.push.apply(n,qa(l,f).concat(Va(l,f))):l.constructor!==f.constructor&&n.push({type:La.TYPE_CHANGED_KIND,description:"".concat(l.name," changed from ")+"".concat(Ya(l)," to ").concat(Ya(f),".")})}return n}(e,t),function(e,t){for(var n=[],r=Ja(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:La.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){for(var c=u[s],l=c[0],f=c[1],d=Ja(l.args,f.args),p=0,h=d.added;p<h.length;p++){var y=h[p];Ht(y)&&n.push({type:La.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(y.name," on directive ").concat(l.name," was added.")})}for(var g=0,v=d.removed;g<v.length;g++){var m=v[g];n.push({type:La.DIRECTIVE_ARG_REMOVED,description:"".concat(m.name," was removed from ").concat(l.name,".")})}l.isRepeatable&&!f.isRepeatable&&n.push({type:La.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(l.name,".")});for(var b=0,E=l.locations;b<E.length;b++){var w=E[b];-1===f.locations.indexOf(w)&&n.push({type:La.DIRECTIVE_LOCATION_REMOVED,description:"".concat(w," was removed from ").concat(l.name,".")})}}return n}(e,t))}function Fa(e,t){for(var n=[],r=Ja(Ie(e.getFields()),Ie(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];rn(a)?n.push({type:La.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):n.push({type:Ca.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:La.FIELD_REMOVED,description:"".concat(e.name,".").concat(c.name," was removed.")})}for(var l=0,f=r.persisted;l<f.length;l++){var d=f[l],p=d[0],h=d[1];Wa(p.type,h.type)||n.push({type:La.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(p.name," changed type from ")+"".concat(String(p.type)," to ").concat(String(h.type),".")})}return n}function Ua(e,t){for(var n=[],r=Ja(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ca.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:La.TYPE_REMOVED_FROM_UNION,description:"".concat(c.name," was removed from union type ").concat(e.name,".")})}return n}function Ma(e,t){for(var n=[],r=Ja(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ca.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:La.VALUE_REMOVED_FROM_ENUM,description:"".concat(c.name," was removed from enum type ").concat(e.name,".")})}return n}function Va(e,t){for(var n=[],r=Ja(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ca.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:La.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(c.name,".")})}return n}function qa(e,t){for(var n=[],r=Ja(Ie(e.getFields()),Ie(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:La.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){var c=u[s],l=c[0],f=c[1];n.push.apply(n,Ga(e,l,f)),$a(l.type,f.type)||n.push({type:La.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(l.name," changed type from ")+"".concat(String(l.type)," to ").concat(String(f.type),".")})}return n}function Ga(e,t,n){for(var r=[],i=Ja(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:La.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var u=0,c=i.persisted;u<c.length;u++){var l=c[u],f=l[0],d=l[1];if(Wa(f.type,d.type)){if(void 0!==f.defaultValue)if(void 0===d.defaultValue)r.push({type:Ca.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(f.name," defaultValue was removed.")});else{var p=Qa(f.defaultValue,f.type),h=Qa(d.defaultValue,d.type);p!==h&&r.push({type:Ca.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(f.name," has changed defaultValue from ").concat(p," to ").concat(h,".")})}}else r.push({type:La.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(f.name," has changed type from ")+"".concat(String(f.type)," to ").concat(String(d.type),".")})}for(var y=0,g=i.added;y<g.length;y++){var v=g[y];Ht(v)?r.push({type:La.REQUIRED_ARG_ADDED,description:"A required arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:Ca.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")})}return r}function $a(e,t){return gt(e)?gt(t)&&$a(e.ofType,t.ofType)||mt(t)&&$a(e,t.ofType):mt(e)?mt(t)&&$a(e.ofType,t.ofType):Pt(t)&&e.name===t.name||mt(t)&&$a(e,t.ofType)}function Wa(e,t){return gt(e)?gt(t)&&Wa(e.ofType,t.ofType):mt(e)?mt(t)&&Wa(e.ofType,t.ofType)||!mt(t)&&Wa(e.ofType,t):Pt(t)&&e.name===t.name}function Ya(e){return it(e)?"a Scalar type":at(e)?"an Object type":ut(e)?"an Interface type":lt(e)?"a Union type":dt(e)?"an Enum type":ht(e)?"an Input type":void k(0,"Unexpected type: "+q(e))}function Qa(e,t){var n=Tn(e,t);return null!=n||k(0),$e(Ee(n,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort((function(e,t){return Pe(e.name.value,t.name.value)})),xa(xa({},e),{},{fields:t})}}))}function Ja(e,t){for(var n=[],r=[],i=[],o=De(e,(function(e){return e.name})),a=De(t,(function(e){return e.name})),s=0;s<e.length;s++){var u=e[s],c=a[u.name];void 0===c?r.push(u):i.push([u,c])}for(var l=0;l<t.length;l++){var f=t[l];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function Ha(e,t){return qi(e,t,[jo])}},3036:e=>{"use strict";e.exports=JSON.parse('{"schema":"https://1d-coordinates.rcsb.org/graphql","documents":"src/RcsbGraphQL/Queries/Borrego/*.graphql","interfaceOutputFile":"src/RcsbGraphQL/Types/Borrego/GqlTypes.ts"}')},6518:e=>{"use strict";e.exports=JSON.parse('{"schema":"https://data.rcsb.org/graphql","documents":"src/RcsbGraphQL/Queries/Yosemite/*.graphql","interfaceOutputFile":"src/RcsbGraphQL/Types/Yosemite/GqlTypes.ts","pluginFile":[{"pluginFile":"src/RcsbGraphQL/Plugins/fullpath_schema_keys.js","outputFile":"src/RcsbGraphQL/Types/Yosemite/CorePaths.ts"},{"pluginFile":"src/RcsbGraphQL/Plugins/enumerate_schema_keys.js","outputFile":"src/RcsbGraphQL/Types/Yosemite/CoreConstants.ts"}]}')},4423:e=>{"use strict";e.exports=JSON.parse('{"uri":"https://search.rcsb.org/rcsbsearch/v2/query","schema":"https://search.rcsb.org/rcsbsearch/v2/metadata/schema"}')}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.c=t,n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(n.s=4751)})();