@nfdi4plants/arctrl 3.1.1 → 3.2.0

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 (889) hide show
  1. package/dist/ts/index.d.ts +3 -0
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +3 -0
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +1296 -0
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +174 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +190 -0
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +479 -0
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/Boolean.js +23 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Char.js +172 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Choice.js +187 -0
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/CollectionUtil.js +148 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +843 -0
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/DateOffset.js +247 -0
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +279 -0
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +53 -0
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Collections.js +48 -0
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +148 -0
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +31 -0
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/Guid.js +140 -0
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +165 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +1282 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +40 -0
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +1298 -0
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/MapUtil.js +126 -0
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +323 -0
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +225 -0
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Native.js +14 -0
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +63 -0
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/Option.js +81 -0
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +174 -0
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +47 -0
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Reflection.js +471 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +137 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/Result.js +169 -0
  35. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +1398 -0
  36. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +110 -0
  37. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +1670 -0
  38. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +660 -0
  39. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +328 -0
  40. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +201 -0
  41. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +292 -0
  42. package/dist/ts/node_modules/@fable-org/fable-library-ts/TimeSpan.js +170 -0
  43. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +199 -0
  44. package/dist/ts/node_modules/@fable-org/{fable-library-js → fable-library-ts}/Unicode.13.0.0.js +0 -2
  45. package/dist/ts/node_modules/@fable-org/fable-library-ts/Uri.js +154 -0
  46. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +747 -0
  47. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +1052 -0
  48. package/dist/ts/ts/ARC.d.ts +122 -62
  49. package/dist/ts/ts/ARC.d.ts.map +1 -1
  50. package/dist/ts/ts/ARC.js +142 -86
  51. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +32 -0
  52. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -0
  53. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +95 -0
  54. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +12 -12
  55. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  56. package/dist/ts/ts/CWL/CWLProcessingUnit.js +7 -7
  57. package/dist/ts/ts/CWL/CWLTypes.d.ts +62 -19
  58. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/CWLTypes.js +241 -60
  60. package/dist/ts/ts/CWL/Decode.d.ts +24 -25
  61. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/Decode.js +454 -314
  63. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +4 -4
  64. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  65. package/dist/ts/ts/CWL/DynamicObjHelpers.js +10 -10
  66. package/dist/ts/ts/CWL/Encode.d.ts +26 -17
  67. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/Encode.js +451 -411
  69. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +31 -7
  70. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/ExpressionToolDescription.js +29 -8
  72. package/dist/ts/ts/CWL/HashHelpers.d.ts +4 -3
  73. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  74. package/dist/ts/ts/CWL/HashHelpers.js +9 -9
  75. package/dist/ts/ts/CWL/Inputs.d.ts +8 -8
  76. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/Inputs.js +9 -13
  78. package/dist/ts/ts/CWL/OperationDescription.d.ts +7 -7
  79. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/OperationDescription.js +5 -8
  81. package/dist/ts/ts/CWL/Outputs.d.ts +10 -10
  82. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  83. package/dist/ts/ts/CWL/Outputs.js +36 -17
  84. package/dist/ts/ts/CWL/ParameterReference.d.ts +13 -10
  85. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ParameterReference.js +29 -21
  87. package/dist/ts/ts/CWL/ParameterValue.d.ts +57 -0
  88. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -0
  89. package/dist/ts/ts/CWL/ParameterValue.js +321 -0
  90. package/dist/ts/ts/CWL/Requirements.d.ts +51 -23
  91. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/Requirements.js +89 -81
  93. package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -9
  94. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  95. package/dist/ts/ts/CWL/ToolDescription.js +29 -8
  96. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +29 -8
  97. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  98. package/dist/ts/ts/CWL/WorkflowDescription.js +26 -8
  99. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -21
  100. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  101. package/dist/ts/ts/CWL/WorkflowSteps.js +70 -34
  102. package/dist/ts/ts/CWLRunResolver.d.ts +11 -11
  103. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  104. package/dist/ts/ts/CWLRunResolver.js +16 -16
  105. package/dist/ts/ts/Contract/ARC.d.ts +2 -2
  106. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  107. package/dist/ts/ts/Contract/ARC.js +1 -1
  108. package/dist/ts/ts/Contract/ArcAssay.d.ts +7 -6
  109. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/ArcAssay.js +15 -10
  111. package/dist/ts/ts/Contract/ArcInvestigation.d.ts +5 -4
  112. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ArcInvestigation.js +12 -7
  114. package/dist/ts/ts/Contract/ArcRun.d.ts +11 -10
  115. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  116. package/dist/ts/ts/Contract/ArcRun.js +24 -21
  117. package/dist/ts/ts/Contract/ArcStudy.d.ts +8 -7
  118. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  119. package/dist/ts/ts/Contract/ArcStudy.js +15 -10
  120. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +9 -8
  121. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  122. package/dist/ts/ts/Contract/ArcWorkflow.js +20 -16
  123. package/dist/ts/ts/Contract/Contract.d.ts +38 -8
  124. package/dist/ts/ts/Contract/Contract.d.ts.map +1 -1
  125. package/dist/ts/ts/Contract/Contract.js +46 -7
  126. package/dist/ts/ts/Contract/Datamap.d.ts +5 -4
  127. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  128. package/dist/ts/ts/Contract/Datamap.js +45 -32
  129. package/dist/ts/ts/Contract/Git.d.ts +6 -5
  130. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  131. package/dist/ts/ts/Contract/Git.js +4 -4
  132. package/dist/ts/ts/Contract/License.d.ts +4 -3
  133. package/dist/ts/ts/Contract/License.d.ts.map +1 -1
  134. package/dist/ts/ts/Contract/License.js +5 -5
  135. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts +5 -4
  136. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  137. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +6 -7
  138. package/dist/ts/ts/ContractIO/ContractIO.d.ts +5 -4
  139. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  140. package/dist/ts/ts/ContractIO/ContractIO.js +45 -43
  141. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +13 -12
  142. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  143. package/dist/ts/ts/ContractIO/FileSystemHelper.js +6 -6
  144. package/dist/ts/ts/Conversion/Assay.d.ts +5 -5
  145. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  146. package/dist/ts/ts/Conversion/Assay.js +35 -16
  147. package/dist/ts/ts/Conversion/Basic.d.ts +16 -13
  148. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  149. package/dist/ts/ts/Conversion/Basic.js +69 -38
  150. package/dist/ts/ts/Conversion/ColumnIndex.d.ts +3 -3
  151. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  152. package/dist/ts/ts/Conversion/ColumnIndex.js +8 -8
  153. package/dist/ts/ts/Conversion/Datamap.d.ts +4 -4
  154. package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -1
  155. package/dist/ts/ts/Conversion/Datamap.js +2 -2
  156. package/dist/ts/ts/Conversion/DateTime.d.ts +1 -1
  157. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  158. package/dist/ts/ts/Conversion/DateTime.js +7 -6
  159. package/dist/ts/ts/Conversion/Investigation.d.ts +5 -5
  160. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
  161. package/dist/ts/ts/Conversion/Investigation.js +17 -10
  162. package/dist/ts/ts/Conversion/Person.d.ts +4 -4
  163. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
  164. package/dist/ts/ts/Conversion/Person.js +39 -23
  165. package/dist/ts/ts/Conversion/Process.d.ts +14 -11
  166. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  167. package/dist/ts/ts/Conversion/Process.js +57 -46
  168. package/dist/ts/ts/Conversion/Run.d.ts +12 -17
  169. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  170. package/dist/ts/ts/Conversion/Run.js +450 -68
  171. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +4 -4
  172. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  173. package/dist/ts/ts/Conversion/ScholarlyArticle.js +25 -17
  174. package/dist/ts/ts/Conversion/Study.d.ts +5 -5
  175. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  176. package/dist/ts/ts/Conversion/Study.js +27 -13
  177. package/dist/ts/ts/Conversion/Table.d.ts +10 -11
  178. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
  179. package/dist/ts/ts/Conversion/Table.js +17 -24
  180. package/dist/ts/ts/Conversion/Workflow.d.ts +17 -17
  181. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  182. package/dist/ts/ts/Conversion/Workflow.js +78 -40
  183. package/dist/ts/ts/Conversion.d.ts +10 -11
  184. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  185. package/dist/ts/ts/Conversion.js +2 -2
  186. package/dist/ts/ts/Core/ArcTypes.d.ts +331 -76
  187. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/ArcTypes.js +567 -299
  189. package/dist/ts/ts/Core/Comment.d.ts +5 -5
  190. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Comment.js +17 -10
  192. package/dist/ts/ts/Core/CommentList.d.ts +3 -3
  193. package/dist/ts/ts/Core/CommentList.d.ts.map +1 -1
  194. package/dist/ts/ts/Core/CommentList.js +8 -8
  195. package/dist/ts/ts/Core/Conversion.d.ts +25 -25
  196. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  197. package/dist/ts/ts/Core/Conversion.js +102 -102
  198. package/dist/ts/ts/Core/Data.d.ts +6 -6
  199. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Data.js +11 -10
  201. package/dist/ts/ts/Core/DataContext.d.ts +10 -10
  202. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  203. package/dist/ts/ts/Core/DataContext.js +3 -3
  204. package/dist/ts/ts/Core/DataFile.d.ts +9 -6
  205. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/DataFile.js +20 -9
  207. package/dist/ts/ts/Core/Datamap.d.ts +17 -16
  208. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Datamap.js +16 -14
  210. package/dist/ts/ts/Core/Helper/Collections.d.ts +4 -4
  211. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Helper/Collections.js +30 -37
  213. package/dist/ts/ts/Core/Helper/HashCodes.d.ts +15 -4
  214. package/dist/ts/ts/Core/Helper/HashCodes.d.ts.map +1 -1
  215. package/dist/ts/ts/Core/Helper/HashCodes.js +33 -14
  216. package/dist/ts/ts/Core/Helper/Identifier.d.ts +1 -1
  217. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  218. package/dist/ts/ts/Core/Helper/Identifier.js +10 -8
  219. package/dist/ts/ts/Core/Helper/ORCID.d.ts +1 -1
  220. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  221. package/dist/ts/ts/Core/Helper/ORCID.js +4 -3
  222. package/dist/ts/ts/Core/Helper/Regex.d.ts +7 -7
  223. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  224. package/dist/ts/ts/Core/Helper/Regex.js +20 -12
  225. package/dist/ts/ts/Core/Helper/SemVer.d.ts +5 -5
  226. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  227. package/dist/ts/ts/Core/Helper/SemVer.js +7 -7
  228. package/dist/ts/ts/Core/Helper/Url.d.ts +1 -1
  229. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  230. package/dist/ts/ts/Core/Helper/Url.js +8 -7
  231. package/dist/ts/ts/Core/IdentifierSetters.d.ts +2 -2
  232. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  233. package/dist/ts/ts/Core/OntologyAnnotation.d.ts +23 -5
  234. package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
  235. package/dist/ts/ts/Core/OntologyAnnotation.js +116 -45
  236. package/dist/ts/ts/Core/OntologySourceReference.d.ts +4 -4
  237. package/dist/ts/ts/Core/OntologySourceReference.d.ts.map +1 -1
  238. package/dist/ts/ts/Core/OntologySourceReference.js +4 -4
  239. package/dist/ts/ts/Core/Person.d.ts +19 -9
  240. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  241. package/dist/ts/ts/Core/Person.js +27 -11
  242. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts +11 -11
  243. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  244. package/dist/ts/ts/Core/Process/ColumnIndex.js +68 -29
  245. package/dist/ts/ts/Core/Process/Component.d.ts +16 -16
  246. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  247. package/dist/ts/ts/Core/Process/Component.js +38 -25
  248. package/dist/ts/ts/Core/Process/Factor.d.ts +53 -8
  249. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  250. package/dist/ts/ts/Core/Process/Factor.js +62 -11
  251. package/dist/ts/ts/Core/Process/FactorValue.d.ts +15 -15
  252. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  253. package/dist/ts/ts/Core/Process/FactorValue.js +39 -47
  254. package/dist/ts/ts/Core/Process/Material.d.ts +9 -9
  255. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  256. package/dist/ts/ts/Core/Process/Material.js +5 -5
  257. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts +7 -7
  258. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  259. package/dist/ts/ts/Core/Process/MaterialAttribute.js +17 -8
  260. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts +15 -15
  261. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  262. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +45 -48
  263. package/dist/ts/ts/Core/Process/MaterialType.d.ts +7 -5
  264. package/dist/ts/ts/Core/Process/MaterialType.d.ts.map +1 -1
  265. package/dist/ts/ts/Core/Process/MaterialType.js +14 -7
  266. package/dist/ts/ts/Core/Process/Process.d.ts +22 -22
  267. package/dist/ts/ts/Core/Process/Process.d.ts.map +1 -1
  268. package/dist/ts/ts/Core/Process/Process.js +42 -26
  269. package/dist/ts/ts/Core/Process/ProcessInput.d.ts +14 -14
  270. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  271. package/dist/ts/ts/Core/Process/ProcessInput.js +15 -10
  272. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts +14 -14
  273. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  274. package/dist/ts/ts/Core/Process/ProcessOutput.js +15 -10
  275. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts +30 -15
  276. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  277. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +56 -46
  278. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts +16 -16
  279. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts.map +1 -1
  280. package/dist/ts/ts/Core/Process/ProcessSequence.js +33 -26
  281. package/dist/ts/ts/Core/Process/Protocol.d.ts +9 -9
  282. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  283. package/dist/ts/ts/Core/Process/Protocol.js +21 -13
  284. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts +28 -7
  285. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  286. package/dist/ts/ts/Core/Process/ProtocolParameter.js +33 -8
  287. package/dist/ts/ts/Core/Process/Sample.d.ts +10 -10
  288. package/dist/ts/ts/Core/Process/Sample.d.ts.map +1 -1
  289. package/dist/ts/ts/Core/Process/Sample.js +5 -5
  290. package/dist/ts/ts/Core/Process/Source.d.ts +8 -8
  291. package/dist/ts/ts/Core/Process/Source.d.ts.map +1 -1
  292. package/dist/ts/ts/Core/Process/Source.js +5 -5
  293. package/dist/ts/ts/Core/Publication.d.ts +5 -5
  294. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  295. package/dist/ts/ts/Core/Publication.js +18 -11
  296. package/dist/ts/ts/Core/ScalarValue.d.ts +41 -0
  297. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -0
  298. package/dist/ts/ts/Core/{Value.js → ScalarValue.js} +56 -29
  299. package/dist/ts/ts/Core/Table/ArcTable.d.ts +134 -15
  300. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  301. package/dist/ts/ts/Core/Table/ArcTable.js +204 -68
  302. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +15 -10
  303. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  304. package/dist/ts/ts/Core/Table/ArcTableAux.js +75 -71
  305. package/dist/ts/ts/Core/Table/ArcTables.d.ts +12 -9
  306. package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
  307. package/dist/ts/ts/Core/Table/ArcTables.js +42 -38
  308. package/dist/ts/ts/Core/Table/CompositeCell.d.ts +46 -7
  309. package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
  310. package/dist/ts/ts/Core/Table/CompositeCell.js +52 -12
  311. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts +20 -7
  312. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts.map +1 -1
  313. package/dist/ts/ts/Core/Table/CompositeColumn.js +17 -4
  314. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts +116 -22
  315. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  316. package/dist/ts/ts/Core/Table/CompositeHeader.js +219 -65
  317. package/dist/ts/ts/Core/Template.d.ts +15 -9
  318. package/dist/ts/ts/Core/Template.d.ts.map +1 -1
  319. package/dist/ts/ts/Core/Template.js +19 -11
  320. package/dist/ts/ts/Core/Templates.d.ts +24 -5
  321. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  322. package/dist/ts/ts/Core/Templates.js +26 -8
  323. package/dist/ts/ts/Core/URI.d.ts.map +1 -1
  324. package/dist/ts/ts/CrossAsync.d.ts +6 -5
  325. package/dist/ts/ts/CrossAsync.d.ts.map +1 -1
  326. package/dist/ts/ts/CrossAsync.js +6 -6
  327. package/dist/ts/ts/FileSystem/Commit.d.ts +3 -3
  328. package/dist/ts/ts/FileSystem/Commit.d.ts.map +1 -1
  329. package/dist/ts/ts/FileSystem/Commit.js +2 -2
  330. package/dist/ts/ts/FileSystem/FileSystem.d.ts +9 -9
  331. package/dist/ts/ts/FileSystem/FileSystem.d.ts.map +1 -1
  332. package/dist/ts/ts/FileSystem/FileSystem.js +4 -4
  333. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +35 -16
  334. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  335. package/dist/ts/ts/FileSystem/FileSystemTree.js +36 -18
  336. package/dist/ts/ts/FileSystem/Path.d.ts +9 -8
  337. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  338. package/dist/ts/ts/FileSystem/Path.js +13 -13
  339. package/dist/ts/ts/Json/Assay.d.ts +9 -9
  340. package/dist/ts/ts/Json/Assay.d.ts.map +1 -1
  341. package/dist/ts/ts/Json/Assay.js +86 -50
  342. package/dist/ts/ts/Json/Comment.d.ts +4 -4
  343. package/dist/ts/ts/Json/Comment.d.ts.map +1 -1
  344. package/dist/ts/ts/Json/Comment.js +38 -17
  345. package/dist/ts/ts/Json/Data.d.ts +7 -7
  346. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  347. package/dist/ts/ts/Json/Data.js +48 -20
  348. package/dist/ts/ts/Json/DataFile.d.ts +2 -2
  349. package/dist/ts/ts/Json/DataFile.d.ts.map +1 -1
  350. package/dist/ts/ts/Json/DataFile.js +10 -9
  351. package/dist/ts/ts/Json/Datamap/DataContext.d.ts +2 -2
  352. package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
  353. package/dist/ts/ts/Json/Datamap/DataContext.js +14 -7
  354. package/dist/ts/ts/Json/Datamap/Datamap.d.ts +7 -7
  355. package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -1
  356. package/dist/ts/ts/Json/Datamap/Datamap.js +4 -4
  357. package/dist/ts/ts/Json/Decode.d.ts +6 -6
  358. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  359. package/dist/ts/ts/Json/Decode.js +32 -32
  360. package/dist/ts/ts/Json/Encode.d.ts +6 -5
  361. package/dist/ts/ts/Json/Encode.d.ts.map +1 -1
  362. package/dist/ts/ts/Json/Encode.js +28 -26
  363. package/dist/ts/ts/Json/IDTable.d.ts +2 -2
  364. package/dist/ts/ts/Json/IDTable.d.ts.map +1 -1
  365. package/dist/ts/ts/Json/IDTable.js +2 -2
  366. package/dist/ts/ts/Json/Investigation.d.ts +9 -9
  367. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  368. package/dist/ts/ts/Json/Investigation.js +68 -33
  369. package/dist/ts/ts/Json/OntologyAnnotation.d.ts +6 -6
  370. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  371. package/dist/ts/ts/Json/OntologyAnnotation.js +60 -25
  372. package/dist/ts/ts/Json/OntologySourceReference.d.ts +4 -4
  373. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  374. package/dist/ts/ts/Json/OntologySourceReference.js +36 -15
  375. package/dist/ts/ts/Json/Person.d.ts +5 -5
  376. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  377. package/dist/ts/ts/Json/Person.js +57 -29
  378. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +5 -5
  379. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  380. package/dist/ts/ts/Json/Process/AssayMaterials.js +12 -5
  381. package/dist/ts/ts/Json/Process/Component.d.ts +5 -5
  382. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  383. package/dist/ts/ts/Json/Process/Component.js +25 -11
  384. package/dist/ts/ts/Json/Process/Factor.d.ts +4 -4
  385. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  386. package/dist/ts/ts/Json/Process/Factor.js +17 -9
  387. package/dist/ts/ts/Json/Process/FactorValue.d.ts +5 -5
  388. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  389. package/dist/ts/ts/Json/Process/FactorValue.js +14 -7
  390. package/dist/ts/ts/Json/Process/Material.d.ts +5 -5
  391. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  392. package/dist/ts/ts/Json/Process/Material.js +31 -31
  393. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +4 -4
  394. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  395. package/dist/ts/ts/Json/Process/MaterialAttribute.js +16 -8
  396. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +5 -5
  397. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  398. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +14 -7
  399. package/dist/ts/ts/Json/Process/MaterialType.d.ts +2 -2
  400. package/dist/ts/ts/Json/Process/MaterialType.d.ts.map +1 -1
  401. package/dist/ts/ts/Json/Process/MaterialType.js +9 -8
  402. package/dist/ts/ts/Json/Process/Process.d.ts +4 -4
  403. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  404. package/dist/ts/ts/Json/Process/Process.js +28 -14
  405. package/dist/ts/ts/Json/Process/ProcessInput.d.ts +4 -4
  406. package/dist/ts/ts/Json/Process/ProcessInput.d.ts.map +1 -1
  407. package/dist/ts/ts/Json/Process/ProcessInput.js +2 -2
  408. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +4 -4
  409. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts.map +1 -1
  410. package/dist/ts/ts/Json/Process/ProcessOutput.js +2 -2
  411. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +5 -5
  412. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  413. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +16 -8
  414. package/dist/ts/ts/Json/Process/Protocol.d.ts +4 -4
  415. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  416. package/dist/ts/ts/Json/Process/Protocol.js +30 -16
  417. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -4
  418. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  419. package/dist/ts/ts/Json/Process/ProtocolParameter.js +16 -8
  420. package/dist/ts/ts/Json/Process/Sample.d.ts +7 -7
  421. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  422. package/dist/ts/ts/Json/Process/Sample.js +37 -60
  423. package/dist/ts/ts/Json/Process/Source.d.ts +5 -5
  424. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  425. package/dist/ts/ts/Json/Process/Source.js +34 -57
  426. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +5 -5
  427. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  428. package/dist/ts/ts/Json/Process/StudyMaterials.js +12 -5
  429. package/dist/ts/ts/Json/Process/Value.d.ts +6 -6
  430. package/dist/ts/ts/Json/Process/Value.d.ts.map +1 -1
  431. package/dist/ts/ts/Json/Process/Value.js +4 -4
  432. package/dist/ts/ts/Json/PropertyValue.d.ts +6 -6
  433. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  434. package/dist/ts/ts/Json/PropertyValue.js +31 -22
  435. package/dist/ts/ts/Json/Publication.d.ts +5 -5
  436. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  437. package/dist/ts/ts/Json/Publication.js +36 -15
  438. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +2 -2
  439. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
  440. package/dist/ts/ts/Json/ROCrate/LDContext.js +17 -16
  441. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +2 -2
  442. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts.map +1 -1
  443. package/dist/ts/ts/Json/ROCrate/LDGraph.js +21 -14
  444. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +2 -2
  445. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
  446. package/dist/ts/ts/Json/ROCrate/LDNode.js +94 -29
  447. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +2 -2
  448. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts.map +1 -1
  449. package/dist/ts/ts/Json/ROCrate/LDRef.js +4 -4
  450. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +2 -2
  451. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts.map +1 -1
  452. package/dist/ts/ts/Json/ROCrate/LDValue.js +8 -7
  453. package/dist/ts/ts/Json/Run.d.ts +7 -7
  454. package/dist/ts/ts/Json/Run.d.ts.map +1 -1
  455. package/dist/ts/ts/Json/Run.js +28 -14
  456. package/dist/ts/ts/Json/StringTable.d.ts +7 -7
  457. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  458. package/dist/ts/ts/Json/StringTable.js +10 -10
  459. package/dist/ts/ts/Json/Study.d.ts +9 -9
  460. package/dist/ts/ts/Json/Study.d.ts.map +1 -1
  461. package/dist/ts/ts/Json/Study.js +79 -45
  462. package/dist/ts/ts/Json/Table/ArcTable.d.ts +10 -10
  463. package/dist/ts/ts/Json/Table/ArcTable.d.ts.map +1 -1
  464. package/dist/ts/ts/Json/Table/ArcTable.js +28 -28
  465. package/dist/ts/ts/Json/Table/CellTable.d.ts +9 -9
  466. package/dist/ts/ts/Json/Table/CellTable.d.ts.map +1 -1
  467. package/dist/ts/ts/Json/Table/CellTable.js +8 -8
  468. package/dist/ts/ts/Json/Table/CompositeCell.d.ts +6 -6
  469. package/dist/ts/ts/Json/Table/CompositeCell.d.ts.map +1 -1
  470. package/dist/ts/ts/Json/Table/CompositeCell.js +7 -7
  471. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +2 -2
  472. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts.map +1 -1
  473. package/dist/ts/ts/Json/Table/CompositeHeader.js +7 -7
  474. package/dist/ts/ts/Json/Table/IOType.d.ts +2 -2
  475. package/dist/ts/ts/Json/Table/IOType.d.ts.map +1 -1
  476. package/dist/ts/ts/Json/Table/IOType.js +2 -2
  477. package/dist/ts/ts/Json/Table/OATable.d.ts +8 -8
  478. package/dist/ts/ts/Json/Table/OATable.d.ts.map +1 -1
  479. package/dist/ts/ts/Json/Table/OATable.js +8 -8
  480. package/dist/ts/ts/Json/Table/Templates.d.ts +9 -9
  481. package/dist/ts/ts/Json/Table/Templates.d.ts.map +1 -1
  482. package/dist/ts/ts/Json/Table/Templates.js +11 -11
  483. package/dist/ts/ts/Json/Workflow.d.ts +7 -7
  484. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
  485. package/dist/ts/ts/Json/Workflow.js +28 -14
  486. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +4 -4
  487. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -1
  488. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +3 -3
  489. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +4 -4
  490. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -1
  491. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +3 -3
  492. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +4 -4
  493. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -1
  494. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +3 -3
  495. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +4 -4
  496. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -1
  497. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +3 -3
  498. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +4 -4
  499. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -1
  500. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +3 -3
  501. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +4 -4
  502. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -1
  503. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
  504. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +4 -4
  505. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -1
  506. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
  507. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +4 -4
  508. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -1
  509. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +3 -3
  510. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +4 -4
  511. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -1
  512. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +3 -3
  513. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +4 -4
  514. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -1
  515. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +3 -3
  516. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +4 -4
  517. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -1
  518. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +3 -3
  519. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +4 -4
  520. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -1
  521. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +3 -3
  522. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +4 -4
  523. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -1
  524. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +3 -3
  525. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +4 -4
  526. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -1
  527. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +3 -3
  528. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +4 -4
  529. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -1
  530. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +3 -3
  531. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
  532. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -1
  533. package/dist/ts/ts/Json/context/rocrate/property_value_context.js +1 -1
  534. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +4 -4
  535. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -1
  536. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +3 -3
  537. package/dist/ts/ts/Json.d.ts +9 -9
  538. package/dist/ts/ts/Json.d.ts.map +1 -1
  539. package/dist/ts/ts/Json.js +2 -2
  540. package/dist/ts/ts/JsonIO/Assay.d.ts +6 -7
  541. package/dist/ts/ts/JsonIO/Assay.d.ts.map +1 -1
  542. package/dist/ts/ts/JsonIO/Assay.js +13 -12
  543. package/dist/ts/ts/JsonIO/Datamap.d.ts +3 -4
  544. package/dist/ts/ts/JsonIO/Datamap.d.ts.map +1 -1
  545. package/dist/ts/ts/JsonIO/Datamap.js +7 -6
  546. package/dist/ts/ts/JsonIO/Investigation.d.ts +5 -6
  547. package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
  548. package/dist/ts/ts/JsonIO/Investigation.js +11 -10
  549. package/dist/ts/ts/JsonIO/LDObject.d.ts +5 -6
  550. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  551. package/dist/ts/ts/JsonIO/LDObject.js +14 -13
  552. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts +5 -6
  553. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -1
  554. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +11 -10
  555. package/dist/ts/ts/JsonIO/Person.d.ts +5 -6
  556. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -1
  557. package/dist/ts/ts/JsonIO/Person.js +11 -10
  558. package/dist/ts/ts/JsonIO/Run.d.ts +4 -5
  559. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -1
  560. package/dist/ts/ts/JsonIO/Run.js +9 -8
  561. package/dist/ts/ts/JsonIO/Study.d.ts +7 -8
  562. package/dist/ts/ts/JsonIO/Study.d.ts.map +1 -1
  563. package/dist/ts/ts/JsonIO/Study.js +13 -12
  564. package/dist/ts/ts/JsonIO/Table/Compression.d.ts +6 -6
  565. package/dist/ts/ts/JsonIO/Table/Compression.d.ts.map +1 -1
  566. package/dist/ts/ts/JsonIO/Table/Compression.js +4 -4
  567. package/dist/ts/ts/JsonIO/Table/Templates.d.ts +10 -10
  568. package/dist/ts/ts/JsonIO/Table/Templates.d.ts.map +1 -1
  569. package/dist/ts/ts/JsonIO/Table/Templates.js +13 -12
  570. package/dist/ts/ts/JsonIO/Workflow.d.ts +4 -5
  571. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -1
  572. package/dist/ts/ts/JsonIO/Workflow.js +9 -8
  573. package/dist/ts/ts/License.d.ts +12 -6
  574. package/dist/ts/ts/License.d.ts.map +1 -1
  575. package/dist/ts/ts/License.js +49 -14
  576. package/dist/ts/ts/ROCrate/Helper.d.ts.map +1 -1
  577. package/dist/ts/ts/ROCrate/Helper.js +1 -1
  578. package/dist/ts/ts/ROCrate/LDContext.d.ts +15 -4
  579. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  580. package/dist/ts/ts/ROCrate/LDContext.js +27 -16
  581. package/dist/ts/ts/ROCrate/LDObject.d.ts +19 -10
  582. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  583. package/dist/ts/ts/ROCrate/LDObject.js +76 -38
  584. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts +4 -4
  585. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts.map +1 -1
  586. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +11 -9
  587. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +5 -5
  588. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -1
  589. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +18 -16
  590. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +4 -4
  591. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -1
  592. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +22 -16
  593. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +4 -4
  594. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -1
  595. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +15 -13
  596. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +4 -4
  597. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  598. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +25 -23
  599. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts +4 -4
  600. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  601. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +48 -45
  602. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts +4 -4
  603. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts.map +1 -1
  604. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +11 -9
  605. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts +4 -4
  606. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -1
  607. package/dist/ts/ts/ROCrate/LDTypes/File.js +15 -13
  608. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +4 -4
  609. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -1
  610. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +18 -16
  611. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts +4 -4
  612. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -1
  613. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +16 -14
  614. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts +4 -4
  615. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -1
  616. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +17 -16
  617. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts +4 -4
  618. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts.map +1 -1
  619. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +8 -6
  620. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts +4 -4
  621. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts.map +1 -1
  622. package/dist/ts/ts/ROCrate/LDTypes/Person.js +28 -25
  623. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts +4 -4
  624. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts.map +1 -1
  625. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +17 -16
  626. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +10 -6
  627. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  628. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +104 -61
  629. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts +4 -4
  630. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts.map +1 -1
  631. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +14 -13
  632. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts +4 -4
  633. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts.map +1 -1
  634. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +12 -10
  635. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +5 -5
  636. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -1
  637. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +11 -10
  638. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +3 -3
  639. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -1
  640. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +4 -3
  641. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +3 -3
  642. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -1
  643. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +4 -3
  644. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +1 -1
  645. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
  646. package/dist/ts/ts/ROCrate/ROCrateContext.js +2 -2
  647. package/dist/ts/ts/ROCrateIO.d.ts +13 -8
  648. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  649. package/dist/ts/ts/ROCrateIO.js +16 -13
  650. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +13 -12
  651. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  652. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +15 -15
  653. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -8
  654. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  655. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +23 -12
  656. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +14 -14
  657. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  658. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +17 -18
  659. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +18 -17
  660. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -1
  661. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +37 -29
  662. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +6 -6
  663. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  664. package/dist/ts/ts/Spreadsheet/ArcAssay.js +16 -15
  665. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +14 -14
  666. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  667. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +21 -21
  668. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +5 -5
  669. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  670. package/dist/ts/ts/Spreadsheet/ArcRun.js +9 -9
  671. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +7 -7
  672. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  673. package/dist/ts/ts/Spreadsheet/ArcStudy.js +13 -12
  674. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +5 -5
  675. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  676. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +9 -9
  677. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts +8 -8
  678. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  679. package/dist/ts/ts/Spreadsheet/CollectionAux.js +11 -11
  680. package/dist/ts/ts/Spreadsheet/Datamap.d.ts +2 -2
  681. package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -1
  682. package/dist/ts/ts/Spreadsheet/Datamap.js +6 -5
  683. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts +4 -4
  684. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
  685. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +14 -10
  686. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts +7 -7
  687. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
  688. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +30 -21
  689. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts +7 -7
  690. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  691. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +10 -10
  692. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts +7 -7
  693. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  694. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +12 -9
  695. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +5 -5
  696. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  697. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +11 -7
  698. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts +7 -7
  699. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  700. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +8 -8
  701. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts +9 -8
  702. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -1
  703. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -6
  704. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +7 -7
  705. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -1
  706. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  707. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts +7 -7
  708. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  709. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -6
  710. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +7 -7
  711. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  712. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -7
  713. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +7 -7
  714. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
  715. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +7 -7
  716. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts +7 -7
  717. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  718. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +9 -8
  719. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts +7 -7
  720. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  721. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +11 -9
  722. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +7 -7
  723. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  724. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +13 -10
  725. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +10 -10
  726. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  727. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +55 -49
  728. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts +14 -14
  729. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  730. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -10
  731. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts +7 -7
  732. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  733. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +8 -8
  734. package/dist/ts/ts/Template.Web.d.ts +10 -6
  735. package/dist/ts/ts/Template.Web.d.ts.map +1 -1
  736. package/dist/ts/ts/Template.Web.js +4 -4
  737. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts +6 -3
  738. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -1
  739. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +10 -7
  740. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts +7 -4
  741. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -1
  742. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +29 -24
  743. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts +1 -1
  744. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts.map +1 -1
  745. package/dist/ts/ts/WebRequest/WebRequest.Node.js +4 -4
  746. package/dist/ts/ts/WebRequest/WebRequest.d.ts +1 -1
  747. package/dist/ts/ts/WebRequest/WebRequest.d.ts.map +1 -1
  748. package/dist/ts/ts/WebRequest/WebRequest.js +3 -3
  749. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +6 -6
  750. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  751. package/dist/ts/ts/WorkflowGraph/Adapters.js +13 -13
  752. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +7 -4
  753. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -1
  754. package/dist/ts/ts/WorkflowGraph/BuildOptions.js +2 -2
  755. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -19
  756. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  757. package/dist/ts/ts/WorkflowGraph/Builder.js +82 -68
  758. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +52 -32
  759. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  760. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +90 -30
  761. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +5 -5
  762. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  763. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +4 -4
  764. package/dist/ts/ts/Xlsx.d.ts +5 -5
  765. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  766. package/dist/ts/ts/Xlsx.js +8 -6
  767. package/dist/ts/ts/Yaml/Encode.d.ts +2 -2
  768. package/dist/ts/ts/Yaml/Encode.d.ts.map +1 -1
  769. package/dist/ts/ts/Yaml/Encode.js +2 -2
  770. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +4 -5
  771. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  772. package/dist/ts/ts/Yaml/ValidationPackage.js +12 -12
  773. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +4 -5
  774. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  775. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +12 -12
  776. package/dist/ts/ts/Yaml.d.ts +3 -3
  777. package/dist/ts/ts/Yaml.d.ts.map +1 -1
  778. package/dist/ts/ts/Yaml.js +3 -8
  779. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/DynObj.fs.js +6 -6
  780. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +515 -0
  781. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/FableJS.fs.js +23 -8
  782. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/HashCodes.fs.js +11 -11
  783. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/PropertyHelper.fs.js +2 -2
  784. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/ReflectionUtils.fs.js +16 -6
  785. package/dist/ts/ts/fable_modules/{Fable.Fetch.2.6.0 → Fable.Fetch.2.7.0}/Fetch.fs.js +11 -11
  786. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +8 -7
  787. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +3 -3
  788. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Http.fs.js +21 -21
  789. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Types.fs.js +52 -19
  790. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCell.fs.js +255 -126
  791. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCellsCollection.fs.js +135 -18
  792. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/CellBuilder.fs.js +9 -9
  793. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Expression.fs.js +1 -1
  794. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/RowBuilder.fs.js +5 -5
  795. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Types.fs.js +16 -16
  796. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsAddress.fs.js +41 -17
  797. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsColumn.fs.js +70 -7
  798. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsRow.fs.js +76 -8
  799. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorkbook.fs.js +77 -11
  800. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorksheet.fs.js +237 -32
  801. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/HashCodes.fs.js +9 -9
  802. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Cell.fs.js +10 -10
  803. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Column.fs.js +6 -6
  804. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Row.fs.js +6 -6
  805. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Table.fs.js +3 -3
  806. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Value.fs.js +11 -11
  807. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Workbook.fs.js +3 -3
  808. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Worksheet.fs.js +8 -8
  809. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRange.fs.js +6 -5
  810. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeAddress.fs.js +11 -5
  811. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeBase.fs.js +18 -13
  812. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeColumn.fs.js +9 -3
  813. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  814. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTable.fs.js +185 -26
  815. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTableField.fs.js +48 -5
  816. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +65 -0
  817. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/FsExtensions.fs.js +1 -1
  818. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Json.fs.js +9 -9
  819. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Table.fs.js +15 -14
  820. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Workbook.fs.js +4 -4
  821. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Worksheet.fs.js +4 -4
  822. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Xlsx.fs.js +2 -2
  823. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Decode.fs.js +265 -159
  824. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Encode.fs.js +94 -36
  825. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Types.fs.js +16 -22
  826. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Decode.fs.js +9 -7
  827. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Encode.fs.js +2 -3
  828. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Decode.fs.js +98 -104
  829. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
  830. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
  831. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Persil.fs.js +48 -48
  832. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Preprocessing.fs.js +14 -14
  833. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Reader.fs.js +129 -112
  834. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +23 -0
  835. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +14 -14
  836. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Syntax.fs.js +77 -56
  837. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Writer.fs.js +34 -31
  838. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/YAMLiciousTypes.fs.js +74 -32
  839. package/package.json +3 -2
  840. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +0 -1244
  841. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +0 -146
  842. package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +0 -186
  843. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +0 -286
  844. package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +0 -24
  845. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +0 -172
  846. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +0 -187
  847. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +0 -185
  848. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +0 -750
  849. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +0 -271
  850. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +0 -214
  851. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +0 -49
  852. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +0 -30
  853. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +0 -72
  854. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +0 -10
  855. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +0 -145
  856. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +0 -137
  857. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +0 -1276
  858. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +0 -49
  859. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +0 -1399
  860. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +0 -130
  861. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +0 -330
  862. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +0 -236
  863. package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +0 -10
  864. package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +0 -73
  865. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +0 -99
  866. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +0 -48
  867. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +0 -465
  868. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +0 -133
  869. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +0 -168
  870. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +0 -1381
  871. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +0 -114
  872. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +0 -1792
  873. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +0 -557
  874. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +0 -320
  875. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +0 -165
  876. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +0 -8
  877. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +0 -180
  878. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +0 -211
  879. package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +0 -160
  880. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +0 -771
  881. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +0 -825
  882. package/dist/ts/ts/Core/Value.d.ts +0 -41
  883. package/dist/ts/ts/Core/Value.d.ts.map +0 -1
  884. package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js +0 -367
  885. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +0 -68
  886. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Regex.fs.js +0 -21
  887. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/StringBuffer.fs.js +0 -60
  888. /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
  889. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
@@ -0,0 +1,1670 @@
1
+ import { class_type, record_type, list_type, bool_type, option_type } from './Reflection.js';
2
+ import { value, some } from './Option.js';
3
+ import { Exception, isArrayLike, getEnumerator, disposeSafe, toIterator, structuralHash } from './Util.js';
4
+ import { Record, toString } from './Types.js';
5
+ import { isEmpty as isEmpty$1, head, tail, ofArrayWithTail, empty as empty$1, singleton as singleton$1, cons, fold as fold$2, FSharpList } from './List.js';
6
+ import { setItem, fill, fold as fold$1 } from './Array.js';
7
+ import { NotSupportedException_$ctor_Z721C83C5 } from './System.js';
8
+ import { map as map$1, iterate as iterate$1, reduce, fold as fold$3, forAll as forAll$1, exists as exists$1, iterateIndexed, truncate, skip } from './Seq.js';
9
+ import { HashSet, HashSet_$ctor_Z6150332D, HashSet__get_Comparer } from './MutableSet.js';
10
+
11
+ class SetTreeLeaf$1 {
12
+ constructor(k) {
13
+ this.k = k;
14
+ }
15
+ }
16
+ function SetTreeLeaf$1_$reflection(gen0) {
17
+ return class_type("Set.SetTreeLeaf`1", [gen0], SetTreeLeaf$1);
18
+ }
19
+ function SetTreeLeaf$1_$ctor_2B595(k) {
20
+ return new SetTreeLeaf$1(k);
21
+ }
22
+ function SetTreeLeaf$1__get_Key(_) {
23
+ return _.k;
24
+ }
25
+ class SetTreeNode$1 extends SetTreeLeaf$1 {
26
+ constructor(v, left, right, h) {
27
+ super(v);
28
+ this.left = left;
29
+ this.right = right;
30
+ this.h = h | 0;
31
+ }
32
+ }
33
+ function SetTreeNode$1_$reflection(gen0) {
34
+ return class_type("Set.SetTreeNode`1", [gen0], SetTreeNode$1, SetTreeLeaf$1_$reflection(gen0));
35
+ }
36
+ function SetTreeNode$1_$ctor_5F465FC9(v, left, right, h) {
37
+ return new SetTreeNode$1(v, left, right, h);
38
+ }
39
+ function SetTreeNode$1__get_Left(_) {
40
+ return _.left;
41
+ }
42
+ function SetTreeNode$1__get_Right(_) {
43
+ return _.right;
44
+ }
45
+ function SetTreeNode$1__get_Height(_) {
46
+ return _.h | 0;
47
+ }
48
+ function SetTreeModule_empty() {
49
+ return void 0;
50
+ }
51
+ function SetTreeModule_countAux(t_mut, acc_mut) {
52
+ SetTreeModule_countAux:
53
+ while (true) {
54
+ const t = t_mut, acc = acc_mut;
55
+ if (t != null) {
56
+ const t2 = value(t);
57
+ if (t2 instanceof SetTreeNode$1) {
58
+ const tn = t2;
59
+ t_mut = SetTreeNode$1__get_Left(tn);
60
+ acc_mut = SetTreeModule_countAux(SetTreeNode$1__get_Right(tn), acc + 1);
61
+ continue SetTreeModule_countAux;
62
+ } else {
63
+ return acc + 1 | 0;
64
+ }
65
+ } else {
66
+ return acc | 0;
67
+ }
68
+ break;
69
+ }
70
+ }
71
+ function SetTreeModule_count(s) {
72
+ return SetTreeModule_countAux(s, 0) | 0;
73
+ }
74
+ function SetTreeModule_mk(l, k, r) {
75
+ let tn = void 0, tn_1 = void 0;
76
+ let hl;
77
+ const t = l;
78
+ if (t != null) {
79
+ const t2 = value(t);
80
+ hl = t2 instanceof SetTreeNode$1 ? (tn = t2, SetTreeNode$1__get_Height(tn)) : 1;
81
+ } else {
82
+ hl = 0;
83
+ }
84
+ let hr;
85
+ const t_1 = r;
86
+ if (t_1 != null) {
87
+ const t2_1 = value(t_1);
88
+ hr = t2_1 instanceof SetTreeNode$1 ? (tn_1 = t2_1, SetTreeNode$1__get_Height(tn_1)) : 1;
89
+ } else {
90
+ hr = 0;
91
+ }
92
+ const m = (hl < hr ? hr : hl) | 0;
93
+ if (m === 0) {
94
+ return SetTreeLeaf$1_$ctor_2B595(k);
95
+ } else {
96
+ return SetTreeNode$1_$ctor_5F465FC9(k, l, r, m + 1);
97
+ }
98
+ }
99
+ function SetTreeModule_rebalance(t1, v, t2) {
100
+ let tn = void 0, tn_1 = void 0, t_2 = void 0, t2_3 = void 0, tn_2 = void 0, t_3 = void 0, t2_4 = void 0, tn_3 = void 0;
101
+ let t1h;
102
+ const t = t1;
103
+ if (t != null) {
104
+ const t2_1 = value(t);
105
+ t1h = t2_1 instanceof SetTreeNode$1 ? (tn = t2_1, SetTreeNode$1__get_Height(tn)) : 1;
106
+ } else {
107
+ t1h = 0;
108
+ }
109
+ let t2h;
110
+ const t_1 = t2;
111
+ if (t_1 != null) {
112
+ const t2_2 = value(t_1);
113
+ t2h = t2_2 instanceof SetTreeNode$1 ? (tn_1 = t2_2, SetTreeNode$1__get_Height(tn_1)) : 1;
114
+ } else {
115
+ t2h = 0;
116
+ }
117
+ if (t2h > t1h + 2) {
118
+ const matchValue = value(t2);
119
+ if (matchValue instanceof SetTreeNode$1) {
120
+ const t2$0027 = matchValue;
121
+ if ((t_2 = SetTreeNode$1__get_Left(t2$0027), t_2 != null ? (t2_3 = value(t_2), t2_3 instanceof SetTreeNode$1 ? (tn_2 = t2_3, SetTreeNode$1__get_Height(tn_2)) : 1) : 0) > t1h + 1) {
122
+ const matchValue_1 = value(SetTreeNode$1__get_Left(t2$0027));
123
+ if (matchValue_1 instanceof SetTreeNode$1) {
124
+ const t2l = matchValue_1;
125
+ return SetTreeModule_mk(SetTreeModule_mk(t1, v, SetTreeNode$1__get_Left(t2l)), SetTreeLeaf$1__get_Key(t2l), SetTreeModule_mk(SetTreeNode$1__get_Right(t2l), SetTreeLeaf$1__get_Key(t2$0027), SetTreeNode$1__get_Right(t2$0027)));
126
+ } else {
127
+ throw new Exception("internal error: Set.rebalance");
128
+ }
129
+ } else {
130
+ return SetTreeModule_mk(SetTreeModule_mk(t1, v, SetTreeNode$1__get_Left(t2$0027)), SetTreeLeaf$1__get_Key(t2$0027), SetTreeNode$1__get_Right(t2$0027));
131
+ }
132
+ } else {
133
+ throw new Exception("internal error: Set.rebalance");
134
+ }
135
+ } else if (t1h > t2h + 2) {
136
+ const matchValue_2 = value(t1);
137
+ if (matchValue_2 instanceof SetTreeNode$1) {
138
+ const t1$0027 = matchValue_2;
139
+ if ((t_3 = SetTreeNode$1__get_Right(t1$0027), t_3 != null ? (t2_4 = value(t_3), t2_4 instanceof SetTreeNode$1 ? (tn_3 = t2_4, SetTreeNode$1__get_Height(tn_3)) : 1) : 0) > t2h + 1) {
140
+ const matchValue_3 = value(SetTreeNode$1__get_Right(t1$0027));
141
+ if (matchValue_3 instanceof SetTreeNode$1) {
142
+ const t1r = matchValue_3;
143
+ return SetTreeModule_mk(SetTreeModule_mk(SetTreeNode$1__get_Left(t1$0027), SetTreeLeaf$1__get_Key(t1$0027), SetTreeNode$1__get_Left(t1r)), SetTreeLeaf$1__get_Key(t1r), SetTreeModule_mk(SetTreeNode$1__get_Right(t1r), v, t2));
144
+ } else {
145
+ throw new Exception("internal error: Set.rebalance");
146
+ }
147
+ } else {
148
+ return SetTreeModule_mk(SetTreeNode$1__get_Left(t1$0027), SetTreeLeaf$1__get_Key(t1$0027), SetTreeModule_mk(SetTreeNode$1__get_Right(t1$0027), v, t2));
149
+ }
150
+ } else {
151
+ throw new Exception("internal error: Set.rebalance");
152
+ }
153
+ } else {
154
+ return SetTreeModule_mk(t1, v, t2);
155
+ }
156
+ }
157
+ function SetTreeModule_add(comparer, k, t) {
158
+ if (t != null) {
159
+ const t2 = value(t);
160
+ const c = comparer.Compare(k, SetTreeLeaf$1__get_Key(t2)) | 0;
161
+ if (t2 instanceof SetTreeNode$1) {
162
+ const tn = t2;
163
+ if (c < 0) {
164
+ return SetTreeModule_rebalance(SetTreeModule_add(comparer, k, SetTreeNode$1__get_Left(tn)), SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn));
165
+ } else if (c === 0) {
166
+ return t;
167
+ } else {
168
+ return SetTreeModule_rebalance(SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn), SetTreeModule_add(comparer, k, SetTreeNode$1__get_Right(tn)));
169
+ }
170
+ } else {
171
+ const c_1 = comparer.Compare(k, SetTreeLeaf$1__get_Key(t2)) | 0;
172
+ if (c_1 < 0) {
173
+ return SetTreeNode$1_$ctor_5F465FC9(k, SetTreeModule_empty(), t, 2);
174
+ } else if (c_1 === 0) {
175
+ return t;
176
+ } else {
177
+ return SetTreeNode$1_$ctor_5F465FC9(k, t, SetTreeModule_empty(), 2);
178
+ }
179
+ }
180
+ } else {
181
+ return SetTreeLeaf$1_$ctor_2B595(k);
182
+ }
183
+ }
184
+ function SetTreeModule_balance(comparer, t1, k, t2) {
185
+ if (t1 != null) {
186
+ const t1$0027 = value(t1);
187
+ if (t2 != null) {
188
+ const t2$0027 = value(t2);
189
+ if (t1$0027 instanceof SetTreeNode$1) {
190
+ const t1n = t1$0027;
191
+ if (t2$0027 instanceof SetTreeNode$1) {
192
+ const t2n = t2$0027;
193
+ if (SetTreeNode$1__get_Height(t1n) + 2 < SetTreeNode$1__get_Height(t2n)) {
194
+ return SetTreeModule_rebalance(SetTreeModule_balance(comparer, t1, k, SetTreeNode$1__get_Left(t2n)), SetTreeLeaf$1__get_Key(t2n), SetTreeNode$1__get_Right(t2n));
195
+ } else if (SetTreeNode$1__get_Height(t2n) + 2 < SetTreeNode$1__get_Height(t1n)) {
196
+ return SetTreeModule_rebalance(SetTreeNode$1__get_Left(t1n), SetTreeLeaf$1__get_Key(t1n), SetTreeModule_balance(comparer, SetTreeNode$1__get_Right(t1n), k, t2));
197
+ } else {
198
+ return SetTreeModule_mk(t1, k, t2);
199
+ }
200
+ } else {
201
+ return SetTreeModule_add(comparer, k, SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t2$0027), t1));
202
+ }
203
+ } else {
204
+ return SetTreeModule_add(comparer, k, SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t1$0027), t2));
205
+ }
206
+ } else {
207
+ return SetTreeModule_add(comparer, k, t1);
208
+ }
209
+ } else {
210
+ return SetTreeModule_add(comparer, k, t2);
211
+ }
212
+ }
213
+ function SetTreeModule_split(comparer, pivot, t) {
214
+ if (t != null) {
215
+ const t2 = value(t);
216
+ if (t2 instanceof SetTreeNode$1) {
217
+ const tn = t2;
218
+ const c = comparer.Compare(pivot, SetTreeLeaf$1__get_Key(tn)) | 0;
219
+ if (c < 0) {
220
+ const patternInput = SetTreeModule_split(comparer, pivot, SetTreeNode$1__get_Left(tn));
221
+ return [patternInput[0], patternInput[1], SetTreeModule_balance(comparer, patternInput[2], SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn))];
222
+ } else if (c === 0) {
223
+ return [SetTreeNode$1__get_Left(tn), true, SetTreeNode$1__get_Right(tn)];
224
+ } else {
225
+ const patternInput_1 = SetTreeModule_split(comparer, pivot, SetTreeNode$1__get_Right(tn));
226
+ return [SetTreeModule_balance(comparer, SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn), patternInput_1[0]), patternInput_1[1], patternInput_1[2]];
227
+ }
228
+ } else {
229
+ const c_1 = comparer.Compare(SetTreeLeaf$1__get_Key(t2), pivot) | 0;
230
+ if (c_1 < 0) {
231
+ return [t, false, SetTreeModule_empty()];
232
+ } else if (c_1 === 0) {
233
+ return [SetTreeModule_empty(), true, SetTreeModule_empty()];
234
+ } else {
235
+ return [SetTreeModule_empty(), false, t];
236
+ }
237
+ }
238
+ } else {
239
+ return [SetTreeModule_empty(), false, SetTreeModule_empty()];
240
+ }
241
+ }
242
+ function SetTreeModule_spliceOutSuccessor(t) {
243
+ if (t != null) {
244
+ const t2 = value(t);
245
+ if (t2 instanceof SetTreeNode$1) {
246
+ const tn = t2;
247
+ if (SetTreeNode$1__get_Left(tn) == null) {
248
+ return [SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn)];
249
+ } else {
250
+ const patternInput = SetTreeModule_spliceOutSuccessor(SetTreeNode$1__get_Left(tn));
251
+ return [patternInput[0], SetTreeModule_mk(patternInput[1], SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn))];
252
+ }
253
+ } else {
254
+ return [SetTreeLeaf$1__get_Key(t2), SetTreeModule_empty()];
255
+ }
256
+ } else {
257
+ throw new Exception("internal error: Set.spliceOutSuccessor");
258
+ }
259
+ }
260
+ function SetTreeModule_remove(comparer, k, t) {
261
+ if (t != null) {
262
+ const t2 = value(t);
263
+ const c = comparer.Compare(k, SetTreeLeaf$1__get_Key(t2)) | 0;
264
+ if (t2 instanceof SetTreeNode$1) {
265
+ const tn = t2;
266
+ if (c < 0) {
267
+ return SetTreeModule_rebalance(SetTreeModule_remove(comparer, k, SetTreeNode$1__get_Left(tn)), SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn));
268
+ } else if (c === 0) {
269
+ if (SetTreeNode$1__get_Left(tn) == null) {
270
+ return SetTreeNode$1__get_Right(tn);
271
+ } else if (SetTreeNode$1__get_Right(tn) == null) {
272
+ return SetTreeNode$1__get_Left(tn);
273
+ } else {
274
+ const patternInput = SetTreeModule_spliceOutSuccessor(SetTreeNode$1__get_Right(tn));
275
+ return SetTreeModule_mk(SetTreeNode$1__get_Left(tn), patternInput[0], patternInput[1]);
276
+ }
277
+ } else {
278
+ return SetTreeModule_rebalance(SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn), SetTreeModule_remove(comparer, k, SetTreeNode$1__get_Right(tn)));
279
+ }
280
+ } else if (c === 0) {
281
+ return SetTreeModule_empty();
282
+ } else {
283
+ return t;
284
+ }
285
+ } else {
286
+ return t;
287
+ }
288
+ }
289
+ function SetTreeModule_mem(comparer_mut, k_mut, t_mut) {
290
+ SetTreeModule_mem:
291
+ while (true) {
292
+ const comparer = comparer_mut, k = k_mut, t = t_mut;
293
+ if (t != null) {
294
+ const t2 = value(t);
295
+ const c = comparer.Compare(k, SetTreeLeaf$1__get_Key(t2)) | 0;
296
+ if (t2 instanceof SetTreeNode$1) {
297
+ const tn = t2;
298
+ if (c < 0) {
299
+ comparer_mut = comparer;
300
+ k_mut = k;
301
+ t_mut = SetTreeNode$1__get_Left(tn);
302
+ continue SetTreeModule_mem;
303
+ } else if (c === 0) {
304
+ return true;
305
+ } else {
306
+ comparer_mut = comparer;
307
+ k_mut = k;
308
+ t_mut = SetTreeNode$1__get_Right(tn);
309
+ continue SetTreeModule_mem;
310
+ }
311
+ } else {
312
+ return c === 0;
313
+ }
314
+ } else {
315
+ return false;
316
+ }
317
+ break;
318
+ }
319
+ }
320
+ function SetTreeModule_iter(f_mut, t_mut) {
321
+ SetTreeModule_iter:
322
+ while (true) {
323
+ const f = f_mut, t = t_mut;
324
+ if (t != null) {
325
+ const t2 = value(t);
326
+ if (t2 instanceof SetTreeNode$1) {
327
+ const tn = t2;
328
+ SetTreeModule_iter(f, SetTreeNode$1__get_Left(tn));
329
+ f(SetTreeLeaf$1__get_Key(tn));
330
+ f_mut = f;
331
+ t_mut = SetTreeNode$1__get_Right(tn);
332
+ continue SetTreeModule_iter;
333
+ } else {
334
+ f(SetTreeLeaf$1__get_Key(t2));
335
+ }
336
+ }
337
+ break;
338
+ }
339
+ }
340
+ function SetTreeModule_foldBackOpt(f_mut, t_mut, x_mut) {
341
+ SetTreeModule_foldBackOpt:
342
+ while (true) {
343
+ const f = f_mut, t = t_mut, x = x_mut;
344
+ if (t != null) {
345
+ const t2 = value(t);
346
+ if (t2 instanceof SetTreeNode$1) {
347
+ const tn = t2;
348
+ f_mut = f;
349
+ t_mut = SetTreeNode$1__get_Left(tn);
350
+ x_mut = f(SetTreeLeaf$1__get_Key(tn), SetTreeModule_foldBackOpt(f, SetTreeNode$1__get_Right(tn), x));
351
+ continue SetTreeModule_foldBackOpt;
352
+ } else {
353
+ return f(SetTreeLeaf$1__get_Key(t2), x);
354
+ }
355
+ } else {
356
+ return x;
357
+ }
358
+ break;
359
+ }
360
+ }
361
+ function SetTreeModule_foldBack(f, m, x) {
362
+ return SetTreeModule_foldBackOpt(f, m, x);
363
+ }
364
+ function SetTreeModule_foldOpt(f_mut, x_mut, t_mut) {
365
+ SetTreeModule_foldOpt:
366
+ while (true) {
367
+ const f = f_mut, x = x_mut, t = t_mut;
368
+ if (t != null) {
369
+ const t2 = value(t);
370
+ if (t2 instanceof SetTreeNode$1) {
371
+ const tn = t2;
372
+ f_mut = f;
373
+ x_mut = f(SetTreeModule_foldOpt(f, x, SetTreeNode$1__get_Left(tn)), SetTreeLeaf$1__get_Key(tn));
374
+ t_mut = SetTreeNode$1__get_Right(tn);
375
+ continue SetTreeModule_foldOpt;
376
+ } else {
377
+ return f(x, SetTreeLeaf$1__get_Key(t2));
378
+ }
379
+ } else {
380
+ return x;
381
+ }
382
+ break;
383
+ }
384
+ }
385
+ function SetTreeModule_fold(f, x, m) {
386
+ return SetTreeModule_foldOpt(f, x, m);
387
+ }
388
+ function SetTreeModule_forall(f_mut, t_mut) {
389
+ SetTreeModule_forall:
390
+ while (true) {
391
+ const f = f_mut, t = t_mut;
392
+ if (t != null) {
393
+ const t2 = value(t);
394
+ if (t2 instanceof SetTreeNode$1) {
395
+ const tn = t2;
396
+ if (f(SetTreeLeaf$1__get_Key(tn)) && SetTreeModule_forall(f, SetTreeNode$1__get_Left(tn))) {
397
+ f_mut = f;
398
+ t_mut = SetTreeNode$1__get_Right(tn);
399
+ continue SetTreeModule_forall;
400
+ } else {
401
+ return false;
402
+ }
403
+ } else {
404
+ return f(SetTreeLeaf$1__get_Key(t2));
405
+ }
406
+ } else {
407
+ return true;
408
+ }
409
+ break;
410
+ }
411
+ }
412
+ function SetTreeModule_exists(f_mut, t_mut) {
413
+ SetTreeModule_exists:
414
+ while (true) {
415
+ const f = f_mut, t = t_mut;
416
+ if (t != null) {
417
+ const t2 = value(t);
418
+ if (t2 instanceof SetTreeNode$1) {
419
+ const tn = t2;
420
+ if (f(SetTreeLeaf$1__get_Key(tn)) ? true : SetTreeModule_exists(f, SetTreeNode$1__get_Left(tn))) {
421
+ return true;
422
+ } else {
423
+ f_mut = f;
424
+ t_mut = SetTreeNode$1__get_Right(tn);
425
+ continue SetTreeModule_exists;
426
+ }
427
+ } else {
428
+ return f(SetTreeLeaf$1__get_Key(t2));
429
+ }
430
+ } else {
431
+ return false;
432
+ }
433
+ break;
434
+ }
435
+ }
436
+ function SetTreeModule_subset(comparer, a, b) {
437
+ return SetTreeModule_forall((x) => SetTreeModule_mem(comparer, x, b), a);
438
+ }
439
+ function SetTreeModule_properSubset(comparer, a, b) {
440
+ if (SetTreeModule_forall((x) => SetTreeModule_mem(comparer, x, b), a)) {
441
+ return SetTreeModule_exists((x_1) => !SetTreeModule_mem(comparer, x_1, a), b);
442
+ } else {
443
+ return false;
444
+ }
445
+ }
446
+ function SetTreeModule_filterAux(comparer_mut, f_mut, t_mut, acc_mut) {
447
+ SetTreeModule_filterAux:
448
+ while (true) {
449
+ const comparer = comparer_mut, f = f_mut, t = t_mut, acc = acc_mut;
450
+ if (t != null) {
451
+ const t2 = value(t);
452
+ if (t2 instanceof SetTreeNode$1) {
453
+ const tn = t2;
454
+ const acc_1 = f(SetTreeLeaf$1__get_Key(tn)) ? SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(tn), acc) : acc;
455
+ comparer_mut = comparer;
456
+ f_mut = f;
457
+ t_mut = SetTreeNode$1__get_Left(tn);
458
+ acc_mut = SetTreeModule_filterAux(comparer, f, SetTreeNode$1__get_Right(tn), acc_1);
459
+ continue SetTreeModule_filterAux;
460
+ } else if (f(SetTreeLeaf$1__get_Key(t2))) {
461
+ return SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t2), acc);
462
+ } else {
463
+ return acc;
464
+ }
465
+ } else {
466
+ return acc;
467
+ }
468
+ break;
469
+ }
470
+ }
471
+ function SetTreeModule_filter(comparer, f, s) {
472
+ return SetTreeModule_filterAux(comparer, f, s, SetTreeModule_empty());
473
+ }
474
+ function SetTreeModule_diffAux(comparer_mut, t_mut, acc_mut) {
475
+ SetTreeModule_diffAux:
476
+ while (true) {
477
+ const comparer = comparer_mut, t = t_mut, acc = acc_mut;
478
+ if (acc == null) {
479
+ return acc;
480
+ } else if (t != null) {
481
+ const t2 = value(t);
482
+ if (t2 instanceof SetTreeNode$1) {
483
+ const tn = t2;
484
+ comparer_mut = comparer;
485
+ t_mut = SetTreeNode$1__get_Left(tn);
486
+ acc_mut = SetTreeModule_diffAux(comparer, SetTreeNode$1__get_Right(tn), SetTreeModule_remove(comparer, SetTreeLeaf$1__get_Key(tn), acc));
487
+ continue SetTreeModule_diffAux;
488
+ } else {
489
+ return SetTreeModule_remove(comparer, SetTreeLeaf$1__get_Key(t2), acc);
490
+ }
491
+ } else {
492
+ return acc;
493
+ }
494
+ break;
495
+ }
496
+ }
497
+ function SetTreeModule_diff(comparer, a, b) {
498
+ return SetTreeModule_diffAux(comparer, b, a);
499
+ }
500
+ function SetTreeModule_union(comparer, t1, t2) {
501
+ if (t1 != null) {
502
+ const t1$0027 = value(t1);
503
+ if (t2 != null) {
504
+ const t2$0027 = value(t2);
505
+ if (t1$0027 instanceof SetTreeNode$1) {
506
+ const t1n = t1$0027;
507
+ if (t2$0027 instanceof SetTreeNode$1) {
508
+ const t2n = t2$0027;
509
+ if (SetTreeNode$1__get_Height(t1n) > SetTreeNode$1__get_Height(t2n)) {
510
+ const patternInput = SetTreeModule_split(comparer, SetTreeLeaf$1__get_Key(t1n), t2);
511
+ return SetTreeModule_balance(comparer, SetTreeModule_union(comparer, SetTreeNode$1__get_Left(t1n), patternInput[0]), SetTreeLeaf$1__get_Key(t1n), SetTreeModule_union(comparer, SetTreeNode$1__get_Right(t1n), patternInput[2]));
512
+ } else {
513
+ const patternInput_1 = SetTreeModule_split(comparer, SetTreeLeaf$1__get_Key(t2n), t1);
514
+ return SetTreeModule_balance(comparer, SetTreeModule_union(comparer, SetTreeNode$1__get_Left(t2n), patternInput_1[0]), SetTreeLeaf$1__get_Key(t2n), SetTreeModule_union(comparer, SetTreeNode$1__get_Right(t2n), patternInput_1[2]));
515
+ }
516
+ } else {
517
+ return SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t2$0027), t1);
518
+ }
519
+ } else {
520
+ return SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t1$0027), t2);
521
+ }
522
+ } else {
523
+ return t1;
524
+ }
525
+ } else {
526
+ return t2;
527
+ }
528
+ }
529
+ function SetTreeModule_intersectionAux(comparer_mut, b_mut, t_mut, acc_mut) {
530
+ SetTreeModule_intersectionAux:
531
+ while (true) {
532
+ const comparer = comparer_mut, b = b_mut, t = t_mut, acc = acc_mut;
533
+ if (t != null) {
534
+ const t2 = value(t);
535
+ if (t2 instanceof SetTreeNode$1) {
536
+ const tn = t2;
537
+ const acc_1 = SetTreeModule_intersectionAux(comparer, b, SetTreeNode$1__get_Right(tn), acc);
538
+ const acc_2 = SetTreeModule_mem(comparer, SetTreeLeaf$1__get_Key(tn), b) ? SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(tn), acc_1) : acc_1;
539
+ comparer_mut = comparer;
540
+ b_mut = b;
541
+ t_mut = SetTreeNode$1__get_Left(tn);
542
+ acc_mut = acc_2;
543
+ continue SetTreeModule_intersectionAux;
544
+ } else if (SetTreeModule_mem(comparer, SetTreeLeaf$1__get_Key(t2), b)) {
545
+ return SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t2), acc);
546
+ } else {
547
+ return acc;
548
+ }
549
+ } else {
550
+ return acc;
551
+ }
552
+ break;
553
+ }
554
+ }
555
+ function SetTreeModule_intersection(comparer, a, b) {
556
+ return SetTreeModule_intersectionAux(comparer, b, a, SetTreeModule_empty());
557
+ }
558
+ function SetTreeModule_partition1(comparer, f, k, acc1, acc2) {
559
+ if (f(k)) {
560
+ return [SetTreeModule_add(comparer, k, acc1), acc2];
561
+ } else {
562
+ return [acc1, SetTreeModule_add(comparer, k, acc2)];
563
+ }
564
+ }
565
+ function SetTreeModule_partitionAux(comparer_mut, f_mut, t_mut, acc__mut, acc__1_mut) {
566
+ SetTreeModule_partitionAux:
567
+ while (true) {
568
+ const comparer = comparer_mut, f = f_mut, t = t_mut, acc_ = acc__mut, acc__1 = acc__1_mut;
569
+ const acc = [acc_, acc__1];
570
+ if (t != null) {
571
+ const t2 = value(t);
572
+ if (t2 instanceof SetTreeNode$1) {
573
+ const tn = t2;
574
+ const acc_1 = SetTreeModule_partitionAux(comparer, f, SetTreeNode$1__get_Right(tn), acc[0], acc[1]);
575
+ const acc_4 = SetTreeModule_partition1(comparer, f, SetTreeLeaf$1__get_Key(tn), acc_1[0], acc_1[1]);
576
+ comparer_mut = comparer;
577
+ f_mut = f;
578
+ t_mut = SetTreeNode$1__get_Left(tn);
579
+ acc__mut = acc_4[0];
580
+ acc__1_mut = acc_4[1];
581
+ continue SetTreeModule_partitionAux;
582
+ } else {
583
+ return SetTreeModule_partition1(comparer, f, SetTreeLeaf$1__get_Key(t2), acc[0], acc[1]);
584
+ }
585
+ } else {
586
+ return acc;
587
+ }
588
+ break;
589
+ }
590
+ }
591
+ function SetTreeModule_partition(comparer, f, s) {
592
+ return SetTreeModule_partitionAux(comparer, f, s, SetTreeModule_empty(), SetTreeModule_empty());
593
+ }
594
+ function SetTreeModule_minimumElementAux(t_mut, n_mut) {
595
+ SetTreeModule_minimumElementAux:
596
+ while (true) {
597
+ const t = t_mut, n = n_mut;
598
+ if (t != null) {
599
+ const t2 = value(t);
600
+ if (t2 instanceof SetTreeNode$1) {
601
+ const tn = t2;
602
+ t_mut = SetTreeNode$1__get_Left(tn);
603
+ n_mut = SetTreeLeaf$1__get_Key(tn);
604
+ continue SetTreeModule_minimumElementAux;
605
+ } else {
606
+ return SetTreeLeaf$1__get_Key(t2);
607
+ }
608
+ } else {
609
+ return n;
610
+ }
611
+ break;
612
+ }
613
+ }
614
+ function SetTreeModule_minimumElementOpt(t) {
615
+ if (t != null) {
616
+ const t2 = value(t);
617
+ if (t2 instanceof SetTreeNode$1) {
618
+ const tn = t2;
619
+ return some(SetTreeModule_minimumElementAux(SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn)));
620
+ } else {
621
+ return some(SetTreeLeaf$1__get_Key(t2));
622
+ }
623
+ } else {
624
+ return void 0;
625
+ }
626
+ }
627
+ function SetTreeModule_maximumElementAux(t_mut, n_mut) {
628
+ SetTreeModule_maximumElementAux:
629
+ while (true) {
630
+ const t = t_mut, n = n_mut;
631
+ if (t != null) {
632
+ const t2 = value(t);
633
+ if (t2 instanceof SetTreeNode$1) {
634
+ const tn = t2;
635
+ t_mut = SetTreeNode$1__get_Right(tn);
636
+ n_mut = SetTreeLeaf$1__get_Key(tn);
637
+ continue SetTreeModule_maximumElementAux;
638
+ } else {
639
+ return SetTreeLeaf$1__get_Key(t2);
640
+ }
641
+ } else {
642
+ return n;
643
+ }
644
+ break;
645
+ }
646
+ }
647
+ function SetTreeModule_maximumElementOpt(t) {
648
+ if (t != null) {
649
+ const t2 = value(t);
650
+ if (t2 instanceof SetTreeNode$1) {
651
+ const tn = t2;
652
+ return some(SetTreeModule_maximumElementAux(SetTreeNode$1__get_Right(tn), SetTreeLeaf$1__get_Key(tn)));
653
+ } else {
654
+ return some(SetTreeLeaf$1__get_Key(t2));
655
+ }
656
+ } else {
657
+ return void 0;
658
+ }
659
+ }
660
+ function SetTreeModule_minimumElement(s) {
661
+ const matchValue = SetTreeModule_minimumElementOpt(s);
662
+ if (matchValue == null) {
663
+ throw new Exception("Set contains no elements");
664
+ } else {
665
+ return value(matchValue);
666
+ }
667
+ }
668
+ function SetTreeModule_maximumElement(s) {
669
+ const matchValue = SetTreeModule_maximumElementOpt(s);
670
+ if (matchValue == null) {
671
+ throw new Exception("Set contains no elements");
672
+ } else {
673
+ return value(matchValue);
674
+ }
675
+ }
676
+ class SetTreeModule_SetIterator$1 extends Record {
677
+ constructor(stack, started) {
678
+ super();
679
+ this.stack = stack;
680
+ this.started = started;
681
+ }
682
+ }
683
+ function SetTreeModule_SetIterator$1_$reflection(gen0) {
684
+ return record_type("Set.SetTreeModule.SetIterator`1", [gen0], SetTreeModule_SetIterator$1, () => [["stack", list_type(option_type(SetTreeLeaf$1_$reflection(gen0)))], ["started", bool_type]]);
685
+ }
686
+ function SetTreeModule_collapseLHS(stack_mut) {
687
+ SetTreeModule_collapseLHS:
688
+ while (true) {
689
+ const stack = stack_mut;
690
+ if (!isEmpty$1(stack)) {
691
+ const x = head(stack);
692
+ const rest = tail(stack);
693
+ if (x != null) {
694
+ const x2 = value(x);
695
+ if (x2 instanceof SetTreeNode$1) {
696
+ const xn = x2;
697
+ stack_mut = ofArrayWithTail([SetTreeNode$1__get_Left(xn), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(xn)), SetTreeNode$1__get_Right(xn)], rest);
698
+ continue SetTreeModule_collapseLHS;
699
+ } else {
700
+ return stack;
701
+ }
702
+ } else {
703
+ stack_mut = rest;
704
+ continue SetTreeModule_collapseLHS;
705
+ }
706
+ } else {
707
+ return empty$1();
708
+ }
709
+ break;
710
+ }
711
+ }
712
+ function SetTreeModule_mkIterator(s) {
713
+ return new SetTreeModule_SetIterator$1(SetTreeModule_collapseLHS(singleton$1(s)), false);
714
+ }
715
+ function SetTreeModule_notStarted() {
716
+ throw new Exception("Enumeration not started");
717
+ }
718
+ function SetTreeModule_alreadyFinished() {
719
+ throw new Exception("Enumeration already started");
720
+ }
721
+ function SetTreeModule_current(i) {
722
+ if (i.started) {
723
+ const matchValue = i.stack;
724
+ if (isEmpty$1(matchValue)) {
725
+ return SetTreeModule_alreadyFinished();
726
+ } else if (head(matchValue) != null) {
727
+ const t = value(head(matchValue));
728
+ return SetTreeLeaf$1__get_Key(t);
729
+ } else {
730
+ throw new Exception("Please report error: Set iterator, unexpected stack for current");
731
+ }
732
+ } else {
733
+ return SetTreeModule_notStarted();
734
+ }
735
+ }
736
+ function SetTreeModule_moveNext(i) {
737
+ if (i.started) {
738
+ const matchValue = i.stack;
739
+ if (!isEmpty$1(matchValue)) {
740
+ if (head(matchValue) != null) {
741
+ const t = value(head(matchValue));
742
+ if (t instanceof SetTreeNode$1) {
743
+ throw new Exception("Please report error: Set iterator, unexpected stack for moveNext");
744
+ } else {
745
+ i.stack = SetTreeModule_collapseLHS(tail(matchValue));
746
+ return !isEmpty$1(i.stack);
747
+ }
748
+ } else {
749
+ throw new Exception("Please report error: Set iterator, unexpected stack for moveNext");
750
+ }
751
+ } else {
752
+ return false;
753
+ }
754
+ } else {
755
+ i.started = true;
756
+ return !isEmpty$1(i.stack);
757
+ }
758
+ }
759
+ function SetTreeModule_mkIEnumerator(s) {
760
+ let i = SetTreeModule_mkIterator(s);
761
+ return {
762
+ "System.Collections.Generic.IEnumerator`1.get_Current"() {
763
+ return SetTreeModule_current(i);
764
+ },
765
+ "System.Collections.IEnumerator.get_Current"() {
766
+ return SetTreeModule_current(i);
767
+ },
768
+ "System.Collections.IEnumerator.MoveNext"() {
769
+ return SetTreeModule_moveNext(i);
770
+ },
771
+ "System.Collections.IEnumerator.Reset"() {
772
+ i = SetTreeModule_mkIterator(s);
773
+ },
774
+ Dispose() {
775
+ }
776
+ };
777
+ }
778
+ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
779
+ SetTreeModule_compareStacks:
780
+ while (true) {
781
+ const comparer = comparer_mut, l1 = l1_mut, l2 = l2_mut;
782
+ if (!isEmpty$1(l1)) {
783
+ if (!isEmpty$1(l2)) {
784
+ if (head(l2) != null) {
785
+ if (head(l1) != null) {
786
+ const x1_3 = value(head(l1));
787
+ const x2_3 = value(head(l2));
788
+ if (x1_3 instanceof SetTreeNode$1) {
789
+ const x1n_2 = x1_3;
790
+ if (SetTreeNode$1__get_Left(x1n_2) == null) {
791
+ if (x2_3 instanceof SetTreeNode$1) {
792
+ const x2n_2 = x2_3;
793
+ if (SetTreeNode$1__get_Left(x2n_2) == null) {
794
+ const c = comparer.Compare(SetTreeLeaf$1__get_Key(x1n_2), SetTreeLeaf$1__get_Key(x2n_2)) | 0;
795
+ if (c !== 0) {
796
+ return c | 0;
797
+ } else {
798
+ comparer_mut = comparer;
799
+ l1_mut = cons(SetTreeNode$1__get_Right(x1n_2), tail(l1));
800
+ l2_mut = cons(SetTreeNode$1__get_Right(x2n_2), tail(l2));
801
+ continue SetTreeModule_compareStacks;
802
+ }
803
+ } else {
804
+ let matchResult = void 0, t1_6 = void 0, x1_4 = void 0, t2_6 = void 0, x2_4 = void 0;
805
+ if (!isEmpty$1(l1)) {
806
+ if (head(l1) != null) {
807
+ matchResult = 0;
808
+ t1_6 = tail(l1);
809
+ x1_4 = value(head(l1));
810
+ } else if (!isEmpty$1(l2)) {
811
+ if (head(l2) != null) {
812
+ matchResult = 1;
813
+ t2_6 = tail(l2);
814
+ x2_4 = value(head(l2));
815
+ } else {
816
+ matchResult = 2;
817
+ }
818
+ } else {
819
+ matchResult = 2;
820
+ }
821
+ } else if (!isEmpty$1(l2)) {
822
+ if (head(l2) != null) {
823
+ matchResult = 1;
824
+ t2_6 = tail(l2);
825
+ x2_4 = value(head(l2));
826
+ } else {
827
+ matchResult = 2;
828
+ }
829
+ } else {
830
+ matchResult = 2;
831
+ }
832
+ switch (matchResult) {
833
+ case 0:
834
+ if (x1_4 instanceof SetTreeNode$1) {
835
+ const x1n_3 = x1_4;
836
+ comparer_mut = comparer;
837
+ l1_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x1n_3), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x1n_3), SetTreeModule_empty(), SetTreeNode$1__get_Right(x1n_3), 0)], t1_6);
838
+ l2_mut = l2;
839
+ continue SetTreeModule_compareStacks;
840
+ } else {
841
+ comparer_mut = comparer;
842
+ l1_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x1_4))], t1_6);
843
+ l2_mut = l2;
844
+ continue SetTreeModule_compareStacks;
845
+ }
846
+ case 1:
847
+ if (x2_4 instanceof SetTreeNode$1) {
848
+ const x2n_3 = x2_4;
849
+ comparer_mut = comparer;
850
+ l1_mut = l1;
851
+ l2_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x2n_3), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x2n_3), SetTreeModule_empty(), SetTreeNode$1__get_Right(x2n_3), 0)], t2_6);
852
+ continue SetTreeModule_compareStacks;
853
+ } else {
854
+ comparer_mut = comparer;
855
+ l1_mut = l1;
856
+ l2_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x2_4))], t2_6);
857
+ continue SetTreeModule_compareStacks;
858
+ }
859
+ default:
860
+ throw new Exception("unexpected state in SetTree.compareStacks");
861
+ }
862
+ }
863
+ } else {
864
+ const c_1 = comparer.Compare(SetTreeLeaf$1__get_Key(x1n_2), SetTreeLeaf$1__get_Key(x2_3)) | 0;
865
+ if (c_1 !== 0) {
866
+ return c_1 | 0;
867
+ } else {
868
+ comparer_mut = comparer;
869
+ l1_mut = cons(SetTreeNode$1__get_Right(x1n_2), tail(l1));
870
+ l2_mut = cons(SetTreeModule_empty(), tail(l2));
871
+ continue SetTreeModule_compareStacks;
872
+ }
873
+ }
874
+ } else {
875
+ let matchResult_1 = void 0, t1_7 = void 0, x1_5 = void 0, t2_7 = void 0, x2_5 = void 0;
876
+ if (!isEmpty$1(l1)) {
877
+ if (head(l1) != null) {
878
+ matchResult_1 = 0;
879
+ t1_7 = tail(l1);
880
+ x1_5 = value(head(l1));
881
+ } else if (!isEmpty$1(l2)) {
882
+ if (head(l2) != null) {
883
+ matchResult_1 = 1;
884
+ t2_7 = tail(l2);
885
+ x2_5 = value(head(l2));
886
+ } else {
887
+ matchResult_1 = 2;
888
+ }
889
+ } else {
890
+ matchResult_1 = 2;
891
+ }
892
+ } else if (!isEmpty$1(l2)) {
893
+ if (head(l2) != null) {
894
+ matchResult_1 = 1;
895
+ t2_7 = tail(l2);
896
+ x2_5 = value(head(l2));
897
+ } else {
898
+ matchResult_1 = 2;
899
+ }
900
+ } else {
901
+ matchResult_1 = 2;
902
+ }
903
+ switch (matchResult_1) {
904
+ case 0:
905
+ if (x1_5 instanceof SetTreeNode$1) {
906
+ const x1n_4 = x1_5;
907
+ comparer_mut = comparer;
908
+ l1_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x1n_4), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x1n_4), SetTreeModule_empty(), SetTreeNode$1__get_Right(x1n_4), 0)], t1_7);
909
+ l2_mut = l2;
910
+ continue SetTreeModule_compareStacks;
911
+ } else {
912
+ comparer_mut = comparer;
913
+ l1_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x1_5))], t1_7);
914
+ l2_mut = l2;
915
+ continue SetTreeModule_compareStacks;
916
+ }
917
+ case 1:
918
+ if (x2_5 instanceof SetTreeNode$1) {
919
+ const x2n_4 = x2_5;
920
+ comparer_mut = comparer;
921
+ l1_mut = l1;
922
+ l2_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x2n_4), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x2n_4), SetTreeModule_empty(), SetTreeNode$1__get_Right(x2n_4), 0)], t2_7);
923
+ continue SetTreeModule_compareStacks;
924
+ } else {
925
+ comparer_mut = comparer;
926
+ l1_mut = l1;
927
+ l2_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x2_5))], t2_7);
928
+ continue SetTreeModule_compareStacks;
929
+ }
930
+ default:
931
+ throw new Exception("unexpected state in SetTree.compareStacks");
932
+ }
933
+ }
934
+ } else if (x2_3 instanceof SetTreeNode$1) {
935
+ const x2n_5 = x2_3;
936
+ if (SetTreeNode$1__get_Left(x2n_5) == null) {
937
+ const c_2 = comparer.Compare(SetTreeLeaf$1__get_Key(x1_3), SetTreeLeaf$1__get_Key(x2n_5)) | 0;
938
+ if (c_2 !== 0) {
939
+ return c_2 | 0;
940
+ } else {
941
+ comparer_mut = comparer;
942
+ l1_mut = cons(SetTreeModule_empty(), tail(l1));
943
+ l2_mut = cons(SetTreeNode$1__get_Right(x2n_5), tail(l2));
944
+ continue SetTreeModule_compareStacks;
945
+ }
946
+ } else {
947
+ let matchResult_2 = void 0, t1_8 = void 0, x1_6 = void 0, t2_8 = void 0, x2_6 = void 0;
948
+ if (!isEmpty$1(l1)) {
949
+ if (head(l1) != null) {
950
+ matchResult_2 = 0;
951
+ t1_8 = tail(l1);
952
+ x1_6 = value(head(l1));
953
+ } else if (!isEmpty$1(l2)) {
954
+ if (head(l2) != null) {
955
+ matchResult_2 = 1;
956
+ t2_8 = tail(l2);
957
+ x2_6 = value(head(l2));
958
+ } else {
959
+ matchResult_2 = 2;
960
+ }
961
+ } else {
962
+ matchResult_2 = 2;
963
+ }
964
+ } else if (!isEmpty$1(l2)) {
965
+ if (head(l2) != null) {
966
+ matchResult_2 = 1;
967
+ t2_8 = tail(l2);
968
+ x2_6 = value(head(l2));
969
+ } else {
970
+ matchResult_2 = 2;
971
+ }
972
+ } else {
973
+ matchResult_2 = 2;
974
+ }
975
+ switch (matchResult_2) {
976
+ case 0:
977
+ if (x1_6 instanceof SetTreeNode$1) {
978
+ const x1n_5 = x1_6;
979
+ comparer_mut = comparer;
980
+ l1_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x1n_5), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x1n_5), SetTreeModule_empty(), SetTreeNode$1__get_Right(x1n_5), 0)], t1_8);
981
+ l2_mut = l2;
982
+ continue SetTreeModule_compareStacks;
983
+ } else {
984
+ comparer_mut = comparer;
985
+ l1_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x1_6))], t1_8);
986
+ l2_mut = l2;
987
+ continue SetTreeModule_compareStacks;
988
+ }
989
+ case 1:
990
+ if (x2_6 instanceof SetTreeNode$1) {
991
+ const x2n_6 = x2_6;
992
+ comparer_mut = comparer;
993
+ l1_mut = l1;
994
+ l2_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x2n_6), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x2n_6), SetTreeModule_empty(), SetTreeNode$1__get_Right(x2n_6), 0)], t2_8);
995
+ continue SetTreeModule_compareStacks;
996
+ } else {
997
+ comparer_mut = comparer;
998
+ l1_mut = l1;
999
+ l2_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x2_6))], t2_8);
1000
+ continue SetTreeModule_compareStacks;
1001
+ }
1002
+ default:
1003
+ throw new Exception("unexpected state in SetTree.compareStacks");
1004
+ }
1005
+ }
1006
+ } else {
1007
+ const c_3 = comparer.Compare(SetTreeLeaf$1__get_Key(x1_3), SetTreeLeaf$1__get_Key(x2_3)) | 0;
1008
+ if (c_3 !== 0) {
1009
+ return c_3 | 0;
1010
+ } else {
1011
+ comparer_mut = comparer;
1012
+ l1_mut = tail(l1);
1013
+ l2_mut = tail(l2);
1014
+ continue SetTreeModule_compareStacks;
1015
+ }
1016
+ }
1017
+ } else {
1018
+ const x2 = value(head(l2));
1019
+ let matchResult_3 = void 0, t1_2 = void 0, x1 = void 0, t2_2 = void 0, x2_1 = void 0;
1020
+ if (!isEmpty$1(l1)) {
1021
+ if (head(l1) != null) {
1022
+ matchResult_3 = 0;
1023
+ t1_2 = tail(l1);
1024
+ x1 = value(head(l1));
1025
+ } else if (!isEmpty$1(l2)) {
1026
+ if (head(l2) != null) {
1027
+ matchResult_3 = 1;
1028
+ t2_2 = tail(l2);
1029
+ x2_1 = value(head(l2));
1030
+ } else {
1031
+ matchResult_3 = 2;
1032
+ }
1033
+ } else {
1034
+ matchResult_3 = 2;
1035
+ }
1036
+ } else if (!isEmpty$1(l2)) {
1037
+ if (head(l2) != null) {
1038
+ matchResult_3 = 1;
1039
+ t2_2 = tail(l2);
1040
+ x2_1 = value(head(l2));
1041
+ } else {
1042
+ matchResult_3 = 2;
1043
+ }
1044
+ } else {
1045
+ matchResult_3 = 2;
1046
+ }
1047
+ switch (matchResult_3) {
1048
+ case 0:
1049
+ if (x1 instanceof SetTreeNode$1) {
1050
+ const x1n = x1;
1051
+ comparer_mut = comparer;
1052
+ l1_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x1n), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x1n), SetTreeModule_empty(), SetTreeNode$1__get_Right(x1n), 0)], t1_2);
1053
+ l2_mut = l2;
1054
+ continue SetTreeModule_compareStacks;
1055
+ } else {
1056
+ comparer_mut = comparer;
1057
+ l1_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x1))], t1_2);
1058
+ l2_mut = l2;
1059
+ continue SetTreeModule_compareStacks;
1060
+ }
1061
+ case 1:
1062
+ if (x2_1 instanceof SetTreeNode$1) {
1063
+ const x2n = x2_1;
1064
+ comparer_mut = comparer;
1065
+ l1_mut = l1;
1066
+ l2_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x2n), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x2n), SetTreeModule_empty(), SetTreeNode$1__get_Right(x2n), 0)], t2_2);
1067
+ continue SetTreeModule_compareStacks;
1068
+ } else {
1069
+ comparer_mut = comparer;
1070
+ l1_mut = l1;
1071
+ l2_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x2_1))], t2_2);
1072
+ continue SetTreeModule_compareStacks;
1073
+ }
1074
+ default:
1075
+ throw new Exception("unexpected state in SetTree.compareStacks");
1076
+ }
1077
+ }
1078
+ } else if (head(l1) != null) {
1079
+ const x1_1 = value(head(l1));
1080
+ let matchResult_4 = void 0, t1_4 = void 0, x1_2 = void 0, t2_4 = void 0, x2_2 = void 0;
1081
+ if (!isEmpty$1(l1)) {
1082
+ if (head(l1) != null) {
1083
+ matchResult_4 = 0;
1084
+ t1_4 = tail(l1);
1085
+ x1_2 = value(head(l1));
1086
+ } else if (!isEmpty$1(l2)) {
1087
+ if (head(l2) != null) {
1088
+ matchResult_4 = 1;
1089
+ t2_4 = tail(l2);
1090
+ x2_2 = value(head(l2));
1091
+ } else {
1092
+ matchResult_4 = 2;
1093
+ }
1094
+ } else {
1095
+ matchResult_4 = 2;
1096
+ }
1097
+ } else if (!isEmpty$1(l2)) {
1098
+ if (head(l2) != null) {
1099
+ matchResult_4 = 1;
1100
+ t2_4 = tail(l2);
1101
+ x2_2 = value(head(l2));
1102
+ } else {
1103
+ matchResult_4 = 2;
1104
+ }
1105
+ } else {
1106
+ matchResult_4 = 2;
1107
+ }
1108
+ switch (matchResult_4) {
1109
+ case 0:
1110
+ if (x1_2 instanceof SetTreeNode$1) {
1111
+ const x1n_1 = x1_2;
1112
+ comparer_mut = comparer;
1113
+ l1_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x1n_1), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x1n_1), SetTreeModule_empty(), SetTreeNode$1__get_Right(x1n_1), 0)], t1_4);
1114
+ l2_mut = l2;
1115
+ continue SetTreeModule_compareStacks;
1116
+ } else {
1117
+ comparer_mut = comparer;
1118
+ l1_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x1_2))], t1_4);
1119
+ l2_mut = l2;
1120
+ continue SetTreeModule_compareStacks;
1121
+ }
1122
+ case 1:
1123
+ if (x2_2 instanceof SetTreeNode$1) {
1124
+ const x2n_1 = x2_2;
1125
+ comparer_mut = comparer;
1126
+ l1_mut = l1;
1127
+ l2_mut = ofArrayWithTail([SetTreeNode$1__get_Left(x2n_1), SetTreeNode$1_$ctor_5F465FC9(SetTreeLeaf$1__get_Key(x2n_1), SetTreeModule_empty(), SetTreeNode$1__get_Right(x2n_1), 0)], t2_4);
1128
+ continue SetTreeModule_compareStacks;
1129
+ } else {
1130
+ comparer_mut = comparer;
1131
+ l1_mut = l1;
1132
+ l2_mut = ofArrayWithTail([SetTreeModule_empty(), SetTreeLeaf$1_$ctor_2B595(SetTreeLeaf$1__get_Key(x2_2))], t2_4);
1133
+ continue SetTreeModule_compareStacks;
1134
+ }
1135
+ default:
1136
+ throw new Exception("unexpected state in SetTree.compareStacks");
1137
+ }
1138
+ } else {
1139
+ comparer_mut = comparer;
1140
+ l1_mut = tail(l1);
1141
+ l2_mut = tail(l2);
1142
+ continue SetTreeModule_compareStacks;
1143
+ }
1144
+ } else {
1145
+ return 1;
1146
+ }
1147
+ } else if (isEmpty$1(l2)) {
1148
+ return 0;
1149
+ } else {
1150
+ return -1;
1151
+ }
1152
+ break;
1153
+ }
1154
+ }
1155
+ function SetTreeModule_compare(comparer, t1, t2) {
1156
+ if (t1 == null) {
1157
+ if (t2 == null) {
1158
+ return 0;
1159
+ } else {
1160
+ return -1;
1161
+ }
1162
+ } else if (t2 == null) {
1163
+ return 1;
1164
+ } else {
1165
+ return SetTreeModule_compareStacks(comparer, singleton$1(t1), singleton$1(t2)) | 0;
1166
+ }
1167
+ }
1168
+ function SetTreeModule_choose(s) {
1169
+ return SetTreeModule_minimumElement(s);
1170
+ }
1171
+ function SetTreeModule_toList(t) {
1172
+ const loop = (t$0027_mut, acc_mut) => {
1173
+ loop:
1174
+ while (true) {
1175
+ const t$0027 = t$0027_mut, acc = acc_mut;
1176
+ if (t$0027 != null) {
1177
+ const t2 = value(t$0027);
1178
+ if (t2 instanceof SetTreeNode$1) {
1179
+ const tn = t2;
1180
+ t$0027_mut = SetTreeNode$1__get_Left(tn);
1181
+ acc_mut = cons(SetTreeLeaf$1__get_Key(tn), loop(SetTreeNode$1__get_Right(tn), acc));
1182
+ continue loop;
1183
+ } else {
1184
+ return cons(SetTreeLeaf$1__get_Key(t2), acc);
1185
+ }
1186
+ } else {
1187
+ return acc;
1188
+ }
1189
+ break;
1190
+ }
1191
+ };
1192
+ return loop(t, empty$1());
1193
+ }
1194
+ function SetTreeModule_copyToArray(s, arr, i) {
1195
+ let j = i;
1196
+ SetTreeModule_iter((x) => {
1197
+ setItem(arr, j, x);
1198
+ j = j + 1 | 0;
1199
+ }, s);
1200
+ }
1201
+ function SetTreeModule_toArray(s) {
1202
+ const n = SetTreeModule_count(s) | 0;
1203
+ const res = fill(new Array(n), 0, n, null);
1204
+ SetTreeModule_copyToArray(s, res, 0);
1205
+ return res;
1206
+ }
1207
+ function SetTreeModule_mkFromEnumerator(comparer_mut, acc_mut, e_mut) {
1208
+ SetTreeModule_mkFromEnumerator:
1209
+ while (true) {
1210
+ const comparer = comparer_mut, acc = acc_mut, e = e_mut;
1211
+ if (e["System.Collections.IEnumerator.MoveNext"]()) {
1212
+ comparer_mut = comparer;
1213
+ acc_mut = SetTreeModule_add(comparer, e["System.Collections.Generic.IEnumerator`1.get_Current"](), acc);
1214
+ e_mut = e;
1215
+ continue SetTreeModule_mkFromEnumerator;
1216
+ } else {
1217
+ return acc;
1218
+ }
1219
+ break;
1220
+ }
1221
+ }
1222
+ function SetTreeModule_ofArray(comparer, l) {
1223
+ return fold$1((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
1224
+ }
1225
+ function SetTreeModule_ofList(comparer, l) {
1226
+ return fold$2((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
1227
+ }
1228
+ function SetTreeModule_ofSeq(comparer, c) {
1229
+ if (isArrayLike(c)) {
1230
+ return SetTreeModule_ofArray(comparer, c);
1231
+ } else if (c instanceof FSharpList) {
1232
+ return SetTreeModule_ofList(comparer, c);
1233
+ } else {
1234
+ const ie = getEnumerator(c);
1235
+ try {
1236
+ return SetTreeModule_mkFromEnumerator(comparer, SetTreeModule_empty(), ie);
1237
+ } finally {
1238
+ disposeSafe(ie);
1239
+ }
1240
+ }
1241
+ }
1242
+ class FSharpSet {
1243
+ constructor(comparer, tree) {
1244
+ this.comparer = comparer;
1245
+ this.tree = tree;
1246
+ }
1247
+ GetHashCode() {
1248
+ const this$ = this;
1249
+ return FSharpSet__ComputeHashCode(this$) | 0;
1250
+ }
1251
+ Equals(other) {
1252
+ let that = void 0;
1253
+ const this$ = this;
1254
+ return other instanceof FSharpSet && (that = other, SetTreeModule_compare(FSharpSet__get_Comparer(this$), FSharpSet__get_Tree(this$), FSharpSet__get_Tree(that)) === 0);
1255
+ }
1256
+ toString() {
1257
+ const this$ = this;
1258
+ let result = "set [";
1259
+ let first = true;
1260
+ const enumerator = getEnumerator(this$);
1261
+ try {
1262
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
1263
+ let x = void 0, matchValue = void 0, s = void 0;
1264
+ const x_1 = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
1265
+ result = (first ? result : result + "; ") + (x = x_1, matchValue = x, typeof matchValue === "string" ? (s = matchValue, '"' + s + '"') : toString(x));
1266
+ first = false;
1267
+ }
1268
+ } finally {
1269
+ disposeSafe(enumerator);
1270
+ }
1271
+ return result + "]";
1272
+ }
1273
+ get [Symbol.toStringTag]() {
1274
+ return "FSharpSet";
1275
+ }
1276
+ toJSON() {
1277
+ const this$ = this;
1278
+ return Array.from(this$);
1279
+ }
1280
+ CompareTo(other) {
1281
+ let that = void 0;
1282
+ const this$ = this;
1283
+ return (other instanceof FSharpSet ? (that = other, SetTreeModule_compare(FSharpSet__get_Comparer(this$), FSharpSet__get_Tree(this$), FSharpSet__get_Tree(that))) : 1) | 0;
1284
+ }
1285
+ "System.Collections.Generic.ICollection`1.Add2B595"(x) {
1286
+ throw NotSupportedException_$ctor_Z721C83C5("ReadOnlyCollection");
1287
+ }
1288
+ "System.Collections.Generic.ICollection`1.Clear"() {
1289
+ throw NotSupportedException_$ctor_Z721C83C5("ReadOnlyCollection");
1290
+ }
1291
+ "System.Collections.Generic.ICollection`1.Remove2B595"(x) {
1292
+ throw NotSupportedException_$ctor_Z721C83C5("ReadOnlyCollection");
1293
+ }
1294
+ "System.Collections.Generic.ICollection`1.Contains2B595"(x) {
1295
+ const s = this;
1296
+ return SetTreeModule_mem(FSharpSet__get_Comparer(s), x, FSharpSet__get_Tree(s));
1297
+ }
1298
+ "System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(arr, i) {
1299
+ const s = this;
1300
+ SetTreeModule_copyToArray(FSharpSet__get_Tree(s), arr, i);
1301
+ }
1302
+ "System.Collections.Generic.ICollection`1.get_IsReadOnly"() {
1303
+ return true;
1304
+ }
1305
+ "System.Collections.Generic.ICollection`1.get_Count"() {
1306
+ const s = this;
1307
+ return FSharpSet__get_Count(s) | 0;
1308
+ }
1309
+ "System.Collections.Generic.IReadOnlyCollection`1.get_Count"() {
1310
+ const s = this;
1311
+ return FSharpSet__get_Count(s) | 0;
1312
+ }
1313
+ GetEnumerator() {
1314
+ const s = this;
1315
+ return SetTreeModule_mkIEnumerator(FSharpSet__get_Tree(s));
1316
+ }
1317
+ [Symbol.iterator]() {
1318
+ return toIterator(getEnumerator(this));
1319
+ }
1320
+ "System.Collections.IEnumerable.GetEnumerator"() {
1321
+ const s = this;
1322
+ return SetTreeModule_mkIEnumerator(FSharpSet__get_Tree(s));
1323
+ }
1324
+ get size() {
1325
+ const s = this;
1326
+ return FSharpSet__get_Count(s) | 0;
1327
+ }
1328
+ add(k) {
1329
+ const s = this;
1330
+ throw new Exception("Set cannot be mutated");
1331
+ return s;
1332
+ }
1333
+ clear() {
1334
+ throw new Exception("Set cannot be mutated");
1335
+ }
1336
+ delete(k) {
1337
+ throw new Exception("Set cannot be mutated");
1338
+ return false;
1339
+ }
1340
+ has(k) {
1341
+ const s = this;
1342
+ return FSharpSet__Contains(s, k);
1343
+ }
1344
+ keys() {
1345
+ const s = this;
1346
+ return map$1((x) => x, s);
1347
+ }
1348
+ values() {
1349
+ const s = this;
1350
+ return map$1((x) => x, s);
1351
+ }
1352
+ entries() {
1353
+ const s = this;
1354
+ return map$1((v) => [v, v], s);
1355
+ }
1356
+ forEach(f, thisArg) {
1357
+ const s = this;
1358
+ iterate$1((x) => {
1359
+ f(x, x, s);
1360
+ }, s);
1361
+ }
1362
+ }
1363
+ function FSharpSet_$reflection(gen0) {
1364
+ return class_type("Set.FSharpSet", [gen0], FSharpSet);
1365
+ }
1366
+ function FSharpSet_$ctor(comparer, tree) {
1367
+ return new FSharpSet(comparer, tree);
1368
+ }
1369
+ function FSharpSet__get_Comparer(set$) {
1370
+ return set$.comparer;
1371
+ }
1372
+ function FSharpSet__get_Tree(set$) {
1373
+ return set$.tree;
1374
+ }
1375
+ function FSharpSet_Empty(comparer) {
1376
+ return FSharpSet_$ctor(comparer, SetTreeModule_empty());
1377
+ }
1378
+ function FSharpSet__Add(s, value) {
1379
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_add(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s)));
1380
+ }
1381
+ function FSharpSet__Remove(s, value) {
1382
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_remove(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s)));
1383
+ }
1384
+ function FSharpSet__get_Count(s) {
1385
+ return SetTreeModule_count(FSharpSet__get_Tree(s)) | 0;
1386
+ }
1387
+ function FSharpSet__Contains(s, value) {
1388
+ return SetTreeModule_mem(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s));
1389
+ }
1390
+ function FSharpSet__Iterate(s, x) {
1391
+ SetTreeModule_iter(x, FSharpSet__get_Tree(s));
1392
+ }
1393
+ function FSharpSet__Fold(s, f, z) {
1394
+ const f_1 = f;
1395
+ return SetTreeModule_fold((x, z_1) => f_1(z_1, x), z, FSharpSet__get_Tree(s));
1396
+ }
1397
+ function FSharpSet__get_IsEmpty(s) {
1398
+ return FSharpSet__get_Tree(s) == null;
1399
+ }
1400
+ function FSharpSet__Partition(s, f) {
1401
+ if (FSharpSet__get_Tree(s) == null) {
1402
+ return [s, s];
1403
+ } else {
1404
+ const patternInput = SetTreeModule_partition(FSharpSet__get_Comparer(s), f, FSharpSet__get_Tree(s));
1405
+ return [FSharpSet_$ctor(FSharpSet__get_Comparer(s), patternInput[0]), FSharpSet_$ctor(FSharpSet__get_Comparer(s), patternInput[1])];
1406
+ }
1407
+ }
1408
+ function FSharpSet__Filter(s, f) {
1409
+ if (FSharpSet__get_Tree(s) == null) {
1410
+ return s;
1411
+ } else {
1412
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_filter(FSharpSet__get_Comparer(s), f, FSharpSet__get_Tree(s)));
1413
+ }
1414
+ }
1415
+ function FSharpSet__Map(s, f, comparer) {
1416
+ return FSharpSet_$ctor(comparer, SetTreeModule_fold((acc, k) => SetTreeModule_add(comparer, f(k), acc), SetTreeModule_empty(), FSharpSet__get_Tree(s)));
1417
+ }
1418
+ function FSharpSet__Exists(s, f) {
1419
+ return SetTreeModule_exists(f, FSharpSet__get_Tree(s));
1420
+ }
1421
+ function FSharpSet__ForAll(s, f) {
1422
+ return SetTreeModule_forall(f, FSharpSet__get_Tree(s));
1423
+ }
1424
+ function FSharpSet_op_Subtraction(set1, set2) {
1425
+ if (FSharpSet__get_Tree(set1) == null) {
1426
+ return set1;
1427
+ } else if (FSharpSet__get_Tree(set2) == null) {
1428
+ return set1;
1429
+ } else {
1430
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(set1), SetTreeModule_diff(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2)));
1431
+ }
1432
+ }
1433
+ function FSharpSet_op_Addition(set1, set2) {
1434
+ if (FSharpSet__get_Tree(set2) == null) {
1435
+ return set1;
1436
+ } else if (FSharpSet__get_Tree(set1) == null) {
1437
+ return set2;
1438
+ } else {
1439
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(set1), SetTreeModule_union(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2)));
1440
+ }
1441
+ }
1442
+ function FSharpSet_Intersection(a, b) {
1443
+ if (FSharpSet__get_Tree(b) == null) {
1444
+ return b;
1445
+ } else if (FSharpSet__get_Tree(a) == null) {
1446
+ return a;
1447
+ } else {
1448
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(a), SetTreeModule_intersection(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b)));
1449
+ }
1450
+ }
1451
+ function FSharpSet_IntersectionMany(sets) {
1452
+ return reduce(FSharpSet_Intersection, sets);
1453
+ }
1454
+ function FSharpSet_Equality(a, b) {
1455
+ return SetTreeModule_compare(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b)) === 0;
1456
+ }
1457
+ function FSharpSet_Compare(a, b) {
1458
+ return SetTreeModule_compare(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b)) | 0;
1459
+ }
1460
+ function FSharpSet__get_Choose(x) {
1461
+ return SetTreeModule_choose(FSharpSet__get_Tree(x));
1462
+ }
1463
+ function FSharpSet__get_MinimumElement(x) {
1464
+ return SetTreeModule_minimumElement(FSharpSet__get_Tree(x));
1465
+ }
1466
+ function FSharpSet__get_MaximumElement(x) {
1467
+ return SetTreeModule_maximumElement(FSharpSet__get_Tree(x));
1468
+ }
1469
+ function FSharpSet__IsSubsetOf(x, otherSet) {
1470
+ return SetTreeModule_subset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(x), FSharpSet__get_Tree(otherSet));
1471
+ }
1472
+ function FSharpSet__IsSupersetOf(x, otherSet) {
1473
+ return SetTreeModule_subset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(otherSet), FSharpSet__get_Tree(x));
1474
+ }
1475
+ function FSharpSet__IsProperSubsetOf(x, otherSet) {
1476
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(x), FSharpSet__get_Tree(otherSet));
1477
+ }
1478
+ function FSharpSet__IsProperSupersetOf(x, otherSet) {
1479
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(otherSet), FSharpSet__get_Tree(x));
1480
+ }
1481
+ function FSharpSet__ToList(x) {
1482
+ return SetTreeModule_toList(FSharpSet__get_Tree(x));
1483
+ }
1484
+ function FSharpSet__ToArray(x) {
1485
+ return SetTreeModule_toArray(FSharpSet__get_Tree(x));
1486
+ }
1487
+ function FSharpSet__ComputeHashCode(this$) {
1488
+ let res = 0;
1489
+ const enumerator = getEnumerator(this$);
1490
+ try {
1491
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
1492
+ const x_1 = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
1493
+ res = (res << 1) + structuralHash(x_1) + 631 | 0;
1494
+ }
1495
+ } finally {
1496
+ disposeSafe(enumerator);
1497
+ }
1498
+ return Math.abs(res) | 0;
1499
+ }
1500
+ function isEmpty(set$) {
1501
+ return FSharpSet__get_IsEmpty(set$);
1502
+ }
1503
+ function contains(element, set$) {
1504
+ return FSharpSet__Contains(set$, element);
1505
+ }
1506
+ function add(value, set$) {
1507
+ return FSharpSet__Add(set$, value);
1508
+ }
1509
+ function singleton(value, comparer) {
1510
+ return FSharpSet__Add(FSharpSet_Empty(comparer), value);
1511
+ }
1512
+ function remove(value, set$) {
1513
+ return FSharpSet__Remove(set$, value);
1514
+ }
1515
+ function union(set1, set2) {
1516
+ return FSharpSet_op_Addition(set1, set2);
1517
+ }
1518
+ function unionMany(sets, comparer) {
1519
+ return fold$3(FSharpSet_op_Addition, FSharpSet_Empty(comparer), sets);
1520
+ }
1521
+ function intersect(set1, set2) {
1522
+ return FSharpSet_Intersection(set1, set2);
1523
+ }
1524
+ function intersectMany(sets) {
1525
+ return FSharpSet_IntersectionMany(sets);
1526
+ }
1527
+ function iterate(action, set$) {
1528
+ FSharpSet__Iterate(set$, action);
1529
+ }
1530
+ function empty(comparer) {
1531
+ return FSharpSet_Empty(comparer);
1532
+ }
1533
+ function forAll(predicate, set$) {
1534
+ return FSharpSet__ForAll(set$, predicate);
1535
+ }
1536
+ function exists(predicate, set$) {
1537
+ return FSharpSet__Exists(set$, predicate);
1538
+ }
1539
+ function filter(predicate, set$) {
1540
+ return FSharpSet__Filter(set$, predicate);
1541
+ }
1542
+ function partition(predicate, set$) {
1543
+ return FSharpSet__Partition(set$, predicate);
1544
+ }
1545
+ function fold(folder, state, set$) {
1546
+ return SetTreeModule_fold(folder, state, FSharpSet__get_Tree(set$));
1547
+ }
1548
+ function foldBack(folder, set$, state) {
1549
+ return SetTreeModule_foldBack(folder, FSharpSet__get_Tree(set$), state);
1550
+ }
1551
+ function map(mapping, set$, comparer) {
1552
+ return FSharpSet__Map(set$, mapping, comparer);
1553
+ }
1554
+ function count(set$) {
1555
+ return FSharpSet__get_Count(set$) | 0;
1556
+ }
1557
+ function ofList(elements, comparer) {
1558
+ return FSharpSet_$ctor(comparer, SetTreeModule_ofSeq(comparer, elements));
1559
+ }
1560
+ function ofArray(array, comparer) {
1561
+ return FSharpSet_$ctor(comparer, SetTreeModule_ofArray(comparer, array));
1562
+ }
1563
+ function toList(set$) {
1564
+ return FSharpSet__ToList(set$);
1565
+ }
1566
+ function toArray(set$) {
1567
+ return FSharpSet__ToArray(set$);
1568
+ }
1569
+ function toSeq(set$) {
1570
+ return map$1((x) => x, set$);
1571
+ }
1572
+ function ofSeq(elements, comparer) {
1573
+ return FSharpSet_$ctor(comparer, SetTreeModule_ofSeq(comparer, elements));
1574
+ }
1575
+ function difference(set1, set2) {
1576
+ return FSharpSet_op_Subtraction(set1, set2);
1577
+ }
1578
+ function isSubset(set1, set2) {
1579
+ return SetTreeModule_subset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2));
1580
+ }
1581
+ function isSuperset(set1, set2) {
1582
+ return SetTreeModule_subset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set2), FSharpSet__get_Tree(set1));
1583
+ }
1584
+ function isProperSubset(set1, set2) {
1585
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2));
1586
+ }
1587
+ function isProperSuperset(set1, set2) {
1588
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set2), FSharpSet__get_Tree(set1));
1589
+ }
1590
+ function minElement(set$) {
1591
+ return FSharpSet__get_MinimumElement(set$);
1592
+ }
1593
+ function maxElement(set$) {
1594
+ return FSharpSet__get_MaximumElement(set$);
1595
+ }
1596
+ function unionWith(s1, s2) {
1597
+ return fold$3((acc, x) => acc.add(x), s1, s2);
1598
+ }
1599
+ function newMutableSetWith(s1, s2) {
1600
+ if (s1 instanceof HashSet) {
1601
+ const s1_1 = s1;
1602
+ return HashSet_$ctor_Z6150332D(s2, HashSet__get_Comparer(s1_1));
1603
+ } else {
1604
+ return new Set(s2);
1605
+ }
1606
+ }
1607
+ function intersectWith(s1, s2) {
1608
+ const s2_1 = newMutableSetWith(s1, s2);
1609
+ iterate$1((x) => {
1610
+ if (!s2_1.has(x)) {
1611
+ s1.delete(x);
1612
+ }
1613
+ }, s1.values());
1614
+ }
1615
+ function exceptWith(s1, s2) {
1616
+ iterate$1((x) => {
1617
+ s1.delete(x);
1618
+ }, s2);
1619
+ }
1620
+ function isSubsetOf(s1, s2) {
1621
+ const s2_1 = newMutableSetWith(s1, s2);
1622
+ return forAll$1((value) => s2_1.has(value), s1.values());
1623
+ }
1624
+ function isSupersetOf(s1, s2) {
1625
+ return forAll$1((value) => s1.has(value), s2);
1626
+ }
1627
+ function isProperSubsetOf(s1, s2) {
1628
+ const s2_1 = newMutableSetWith(s1, s2);
1629
+ if (s2_1.size > s1.size) {
1630
+ return forAll$1((value) => s2_1.has(value), s1.values());
1631
+ } else {
1632
+ return false;
1633
+ }
1634
+ }
1635
+ function isProperSupersetOf(s1, s2) {
1636
+ const s2_1 = newMutableSetWith(s1, s2);
1637
+ if (s1.size > s2_1.size) {
1638
+ return forAll$1((value) => s1.has(value), s2_1.values());
1639
+ } else {
1640
+ return false;
1641
+ }
1642
+ }
1643
+ function symmetricExceptWith(s1, s2) {
1644
+ const s2_1 = newMutableSetWith(s1, s2);
1645
+ iterate$1((x) => {
1646
+ if (s1.has(x)) {
1647
+ s1.delete(x);
1648
+ } else {
1649
+ s1.add(x);
1650
+ }
1651
+ }, s2_1.values());
1652
+ }
1653
+ function overlaps(s1, s2) {
1654
+ return exists$1((value) => s1.has(value), s2);
1655
+ }
1656
+ function setEquals(s1, s2) {
1657
+ const s2_1 = newMutableSetWith(s1, s2);
1658
+ if (s1.size === s2_1.size) {
1659
+ return forAll$1((value) => s2_1.has(value), s1.values());
1660
+ } else {
1661
+ return false;
1662
+ }
1663
+ }
1664
+ function copyToArray(s1, target, sourceIndex, targetIndex, count_1) {
1665
+ iterateIndexed((index, value) => {
1666
+ setItem(target, targetIndex + index, value);
1667
+ }, truncate(count_1, skip(sourceIndex, s1.values())));
1668
+ }
1669
+
1670
+ export { FSharpSet, FSharpSet_$ctor, FSharpSet_$reflection, FSharpSet_Compare, FSharpSet_Empty, FSharpSet_Equality, FSharpSet_Intersection, FSharpSet_IntersectionMany, FSharpSet__Add, FSharpSet__ComputeHashCode, FSharpSet__Contains, FSharpSet__Exists, FSharpSet__Filter, FSharpSet__Fold, FSharpSet__ForAll, FSharpSet__IsProperSubsetOf, FSharpSet__IsProperSupersetOf, FSharpSet__IsSubsetOf, FSharpSet__IsSupersetOf, FSharpSet__Iterate, FSharpSet__Map, FSharpSet__Partition, FSharpSet__Remove, FSharpSet__ToArray, FSharpSet__ToList, FSharpSet__get_Choose, FSharpSet__get_Comparer, FSharpSet__get_Count, FSharpSet__get_IsEmpty, FSharpSet__get_MaximumElement, FSharpSet__get_MinimumElement, FSharpSet__get_Tree, FSharpSet_op_Addition, FSharpSet_op_Subtraction, SetTreeLeaf$1, SetTreeLeaf$1_$ctor_2B595, SetTreeLeaf$1_$reflection, SetTreeLeaf$1__get_Key, SetTreeModule_SetIterator$1, SetTreeModule_SetIterator$1_$reflection, SetTreeModule_add, SetTreeModule_alreadyFinished, SetTreeModule_balance, SetTreeModule_choose, SetTreeModule_collapseLHS, SetTreeModule_compare, SetTreeModule_compareStacks, SetTreeModule_copyToArray, SetTreeModule_count, SetTreeModule_countAux, SetTreeModule_current, SetTreeModule_diff, SetTreeModule_diffAux, SetTreeModule_empty, SetTreeModule_exists, SetTreeModule_filter, SetTreeModule_filterAux, SetTreeModule_fold, SetTreeModule_foldBack, SetTreeModule_foldBackOpt, SetTreeModule_foldOpt, SetTreeModule_forall, SetTreeModule_intersection, SetTreeModule_intersectionAux, SetTreeModule_iter, SetTreeModule_maximumElement, SetTreeModule_maximumElementAux, SetTreeModule_maximumElementOpt, SetTreeModule_mem, SetTreeModule_minimumElement, SetTreeModule_minimumElementAux, SetTreeModule_minimumElementOpt, SetTreeModule_mk, SetTreeModule_mkFromEnumerator, SetTreeModule_mkIEnumerator, SetTreeModule_mkIterator, SetTreeModule_moveNext, SetTreeModule_notStarted, SetTreeModule_ofArray, SetTreeModule_ofList, SetTreeModule_ofSeq, SetTreeModule_partition, SetTreeModule_partition1, SetTreeModule_partitionAux, SetTreeModule_properSubset, SetTreeModule_rebalance, SetTreeModule_remove, SetTreeModule_spliceOutSuccessor, SetTreeModule_split, SetTreeModule_subset, SetTreeModule_toArray, SetTreeModule_toList, SetTreeModule_union, SetTreeNode$1, SetTreeNode$1_$ctor_5F465FC9, SetTreeNode$1_$reflection, SetTreeNode$1__get_Height, SetTreeNode$1__get_Left, SetTreeNode$1__get_Right, add, contains, copyToArray, count, difference, empty, exceptWith, exists, filter, fold, foldBack, forAll, intersect, intersectMany, intersectWith, isEmpty, isProperSubset, isProperSubsetOf, isProperSuperset, isProperSupersetOf, isSubset, isSubsetOf, isSuperset, isSupersetOf, iterate, map, maxElement, minElement, newMutableSetWith, ofArray, ofList, ofSeq, overlaps, partition, remove, setEquals, singleton, symmetricExceptWith, toArray, toList, toSeq, union, unionMany, unionWith };