@contrail/cli 3.4.3 → 3.4.4-alpha.03728c1

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 (2372) hide show
  1. package/README.md +1 -1
  2. package/bin/dev +0 -0
  3. package/bin/run +0 -0
  4. package/dist/__mocks__/@contrail/sdk.d.ts +123 -123
  5. package/dist/__mocks__/@contrail/sdk.js +716 -716
  6. package/dist/api/app-extension-deployments.d.ts +2 -2
  7. package/dist/api/app-extension-deployments.js +11 -11
  8. package/dist/api/app-extension-packages.d.ts +2 -2
  9. package/dist/api/app-extension-packages.js +11 -11
  10. package/dist/api/apps.d.ts +10 -10
  11. package/dist/api/apps.js +63 -63
  12. package/dist/api/event-workflow-action-definition.d.ts +3 -3
  13. package/dist/api/event-workflow-action-definition.js +18 -18
  14. package/dist/api/event-workflow-template-definition.d.ts +7 -7
  15. package/dist/api/event-workflow-template-definition.js +26 -26
  16. package/dist/api/event-workflow-templates.d.ts +8 -8
  17. package/dist/api/event-workflow-templates.js +32 -32
  18. package/dist/api/schedules.d.ts +7 -7
  19. package/dist/api/schedules.js +32 -32
  20. package/dist/api/types.d.ts +11 -11
  21. package/dist/api/types.js +79 -79
  22. package/dist/api/users.d.ts +2 -2
  23. package/dist/api/users.js +18 -18
  24. package/dist/api/webhooks.d.ts +4 -4
  25. package/dist/api/webhooks.js +16 -16
  26. package/dist/auth/login.d.ts +3 -3
  27. package/dist/auth/login.js +221 -221
  28. package/dist/auth/login.spec.d.ts +1 -1
  29. package/dist/auth/login.spec.js +10 -10
  30. package/dist/baseFlags.d.ts +10 -10
  31. package/dist/baseFlags.js +25 -25
  32. package/dist/basecommand.d.ts +15 -15
  33. package/dist/basecommand.js +83 -83
  34. package/dist/commands/app/create.d.ts +10 -10
  35. package/dist/commands/app/create.js +96 -96
  36. package/dist/commands/app/delete.d.ts +11 -11
  37. package/dist/commands/app/delete.js +40 -40
  38. package/dist/commands/app/extension/deploy.d.ts +18 -18
  39. package/dist/commands/app/extension/deploy.js +127 -127
  40. package/dist/commands/app/extension/deployment/list.d.ts +14 -14
  41. package/dist/commands/app/extension/deployment/list.js +82 -82
  42. package/dist/commands/app/getApiKey.d.ts +11 -11
  43. package/dist/commands/app/getApiKey.js +49 -49
  44. package/dist/commands/app/init.d.ts +10 -10
  45. package/dist/commands/app/init.js +67 -67
  46. package/dist/commands/app/install.d.ts +13 -13
  47. package/dist/commands/app/install.js +135 -135
  48. package/dist/commands/app/publish.d.ts +14 -14
  49. package/dist/commands/app/publish.js +69 -69
  50. package/dist/commands/app/uninstall.d.ts +12 -12
  51. package/dist/commands/app/uninstall.js +68 -68
  52. package/dist/commands/app/upgrade.d.ts +14 -14
  53. package/dist/commands/app/upgrade.js +108 -108
  54. package/dist/commands/app/version/major.d.ts +11 -11
  55. package/dist/commands/app/version/major.js +39 -39
  56. package/dist/commands/app/version/minor.d.ts +11 -11
  57. package/dist/commands/app/version/minor.js +39 -39
  58. package/dist/commands/app/version/patch.d.ts +11 -11
  59. package/dist/commands/app/version/patch.js +39 -39
  60. package/dist/commands/config/create.d.ts +12 -12
  61. package/dist/commands/config/create.js +27 -27
  62. package/dist/commands/config/describe.d.ts +14 -14
  63. package/dist/commands/config/describe.js +46 -46
  64. package/dist/commands/config/list.d.ts +11 -11
  65. package/dist/commands/config/list.js +38 -38
  66. package/dist/commands/config/set.d.ts +16 -16
  67. package/dist/commands/config/set.js +46 -46
  68. package/dist/commands/config/use.d.ts +14 -14
  69. package/dist/commands/config/use.js +47 -47
  70. package/dist/commands/file/upload.d.ts +15 -15
  71. package/dist/commands/file/upload.js +69 -69
  72. package/dist/commands/groups/export.d.ts +14 -14
  73. package/dist/commands/groups/export.js +103 -103
  74. package/dist/commands/groups/import.d.ts +14 -14
  75. package/dist/commands/groups/import.js +190 -190
  76. package/dist/commands/instance/export.d.ts +12 -12
  77. package/dist/commands/instance/export.js +36 -36
  78. package/dist/commands/instance/import.d.ts +11 -11
  79. package/dist/commands/instance/import.js +34 -34
  80. package/dist/commands/load/colors.d.ts +14 -14
  81. package/dist/commands/load/colors.js +53 -53
  82. package/dist/commands/load/custom-entity.d.ts +14 -14
  83. package/dist/commands/load/custom-entity.js +55 -55
  84. package/dist/commands/load/line-sheet.d.ts +14 -14
  85. package/dist/commands/load/line-sheet.js +55 -55
  86. package/dist/commands/load/upload-and-load.d.ts +14 -14
  87. package/dist/commands/load/upload-and-load.js +46 -46
  88. package/dist/commands/projects/export.d.ts +13 -13
  89. package/dist/commands/projects/export.js +35 -35
  90. package/dist/commands/projects/list.d.ts +10 -10
  91. package/dist/commands/projects/list.js +36 -36
  92. package/dist/commands/projects/load.d.ts +25 -25
  93. package/dist/commands/projects/load.js +198 -198
  94. package/dist/commands/types/exportOptionSetHierarchies.d.ts +11 -11
  95. package/dist/commands/types/exportOptionSetHierarchies.js +133 -133
  96. package/dist/commands/types/getAll.d.ts +21 -21
  97. package/dist/commands/types/getAll.js +180 -180
  98. package/dist/commands/types/getOptionSets.d.ts +16 -16
  99. package/dist/commands/types/getOptionSets.js +170 -170
  100. package/dist/commands/types/loadAll.d.ts +12 -12
  101. package/dist/commands/types/loadAll.js +55 -55
  102. package/dist/commands/types/mergeOptionSets.d.ts +13 -13
  103. package/dist/commands/types/mergeOptionSets.js +116 -116
  104. package/dist/commands/types/mergeTypeProperties.d.ts +15 -15
  105. package/dist/commands/types/mergeTypeProperties.js +95 -95
  106. package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +14 -14
  107. package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +133 -133
  108. package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +14 -14
  109. package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +102 -102
  110. package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +39 -39
  111. package/dist/commands/types/parseOptionSetsLocalFiles.js +229 -229
  112. package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +13 -13
  113. package/dist/commands/types/parseOptionSetsToFolderStructure.js +68 -68
  114. package/dist/commands/types/parseTypesFromFiles.d.ts +14 -14
  115. package/dist/commands/types/parseTypesFromFiles.js +40 -40
  116. package/dist/commands/types/parseTypesFromLocalFiles.d.ts +14 -14
  117. package/dist/commands/types/parseTypesFromLocalFiles.js +37 -37
  118. package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +15 -15
  119. package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +39 -39
  120. package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +14 -14
  121. package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +38 -38
  122. package/dist/commands/types/uploadOptionSetHierarchies.d.ts +12 -12
  123. package/dist/commands/types/uploadOptionSetHierarchies.js +257 -257
  124. package/dist/commands/types/uploadOptionSets.d.ts +13 -13
  125. package/dist/commands/types/uploadOptionSets.js +155 -155
  126. package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +15 -15
  127. package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +135 -135
  128. package/dist/commands/types/uploadRuleSets.d.ts +12 -12
  129. package/dist/commands/types/uploadRuleSets.js +197 -197
  130. package/dist/commands/types/uploadTypePolicies.d.ts +12 -12
  131. package/dist/commands/types/uploadTypePolicies.js +233 -233
  132. package/dist/commands/types/uploadTypePropertyPolicies.d.ts +13 -13
  133. package/dist/commands/types/uploadTypePropertyPolicies.js +286 -286
  134. package/dist/commands/types/uploadTypes.d.ts +13 -13
  135. package/dist/commands/types/uploadTypes.js +35 -35
  136. package/dist/commands/types/uploadUsageInfo.d.ts +15 -15
  137. package/dist/commands/types/uploadUsageInfo.js +179 -179
  138. package/dist/commands/types/uploadUsageInfo.spec.d.ts +1 -1
  139. package/dist/commands/types/uploadUsageInfo.spec.js +249 -249
  140. package/dist/commands/users/export.d.ts +14 -14
  141. package/dist/commands/users/export.js +76 -76
  142. package/dist/commands/users/import.d.ts +14 -14
  143. package/dist/commands/users/import.js +68 -68
  144. package/dist/commands/webhooks/create.d.ts +11 -11
  145. package/dist/commands/webhooks/create.js +25 -25
  146. package/dist/commands/webhooks/delete.d.ts +14 -14
  147. package/dist/commands/webhooks/delete.js +53 -53
  148. package/dist/commands/webhooks/getWebhookTrigger.d.ts +13 -13
  149. package/dist/commands/webhooks/getWebhookTrigger.js +40 -40
  150. package/dist/commands/webhooks/list.d.ts +12 -12
  151. package/dist/commands/webhooks/list.js +31 -31
  152. package/dist/commands/workflow-template-definitions/install.d.ts +10 -10
  153. package/dist/commands/workflow-template-definitions/install.js +19 -19
  154. package/dist/commands/workflow-template-definitions/list.d.ts +10 -10
  155. package/dist/commands/workflow-template-definitions/list.js +19 -19
  156. package/dist/commands/workflow-templates/delete.d.ts +10 -10
  157. package/dist/commands/workflow-templates/delete.js +19 -19
  158. package/dist/commands/workflow-templates/export.d.ts +14 -14
  159. package/dist/commands/workflow-templates/export.js +78 -78
  160. package/dist/commands/workflow-templates/list.d.ts +10 -10
  161. package/dist/commands/workflow-templates/list.js +19 -19
  162. package/dist/commands/workflow-templates/load.d.ts +13 -13
  163. package/dist/commands/workflow-templates/load.js +26 -26
  164. package/dist/common.d.ts +4 -4
  165. package/dist/common.js +18 -18
  166. package/dist/helpers/app/actions-deployer.d.ts +11 -11
  167. package/dist/helpers/app/actions-deployer.js +123 -123
  168. package/dist/helpers/app/app-config-validators.d.ts +22 -22
  169. package/dist/helpers/app/app-config-validators.js +100 -100
  170. package/dist/helpers/app/app-config-validators.spec.d.ts +1 -1
  171. package/dist/helpers/app/app-config-validators.spec.js +310 -310
  172. package/dist/helpers/app/app-deployer.d.ts +12 -12
  173. package/dist/helpers/app/app-deployer.js +278 -278
  174. package/dist/helpers/app/app-template-parsers.d.ts +14 -14
  175. package/dist/helpers/app/app-template-parsers.js +106 -106
  176. package/dist/helpers/app/extension-package-deployer.d.ts +7 -7
  177. package/dist/helpers/app/extension-package-deployer.js +175 -175
  178. package/dist/helpers/app/extensions-deployer.d.ts +9 -9
  179. package/dist/helpers/app/extensions-deployer.js +95 -95
  180. package/dist/helpers/app/load-app-config.d.ts +4 -4
  181. package/dist/helpers/app/load-app-config.js +22 -22
  182. package/dist/helpers/app/metadata-extractor.d.ts +1 -1
  183. package/dist/helpers/app/metadata-extractor.js +100 -100
  184. package/dist/helpers/app/setup-template.d.ts +8 -8
  185. package/dist/helpers/app/setup-template.js +48 -48
  186. package/dist/helpers/app/update-app-config.d.ts +2 -2
  187. package/dist/helpers/app/update-app-config.js +20 -20
  188. package/dist/helpers/app/upgrade-version.d.ts +16 -16
  189. package/dist/helpers/app/upgrade-version.js +37 -37
  190. package/dist/helpers/app/upgrade-version.spec.d.ts +1 -1
  191. package/dist/helpers/app/upgrade-version.spec.js +33 -33
  192. package/dist/helpers/colors/helpers.d.ts +12 -12
  193. package/dist/helpers/colors/helpers.js +84 -84
  194. package/dist/helpers/config/config.d.ts +16 -16
  195. package/dist/helpers/config/config.js +223 -223
  196. package/dist/helpers/file-helpers.d.ts +2 -2
  197. package/dist/helpers/file-helpers.js +36 -36
  198. package/dist/helpers/load/helpers.d.ts +20 -20
  199. package/dist/helpers/load/helpers.js +141 -141
  200. package/dist/helpers/load/helpers.spec.d.ts +1 -1
  201. package/dist/helpers/load/helpers.spec.js +62 -62
  202. package/dist/helpers/load/validators.d.ts +14 -14
  203. package/dist/helpers/load/validators.js +182 -182
  204. package/dist/helpers/load/validators.spec.d.ts +1 -1
  205. package/dist/helpers/load/validators.spec.js +450 -450
  206. package/dist/helpers/projects/helpers.d.ts +3 -3
  207. package/dist/helpers/projects/helpers.js +167 -167
  208. package/dist/helpers/types/csv-parser.d.ts +1 -1
  209. package/dist/helpers/types/csv-parser.js +59 -59
  210. package/dist/helpers/types/option-set-helper.d.ts +9 -9
  211. package/dist/helpers/types/option-set-helper.js +48 -48
  212. package/dist/helpers/types/option-set-helper.spec.d.ts +1 -1
  213. package/dist/helpers/types/option-set-helper.spec.js +64 -64
  214. package/dist/helpers/types/parseOptionSetsLocalFiles.spec.d.ts +1 -1
  215. package/dist/helpers/types/parseOptionSetsLocalFiles.spec.js +285 -285
  216. package/dist/helpers/types/type-extractor.d.ts +1 -1
  217. package/dist/helpers/types/type-extractor.js +36 -36
  218. package/dist/helpers/types/type-parser.d.ts +4 -4
  219. package/dist/helpers/types/type-parser.js +119 -119
  220. package/dist/helpers/types/type-uploader.d.ts +20 -20
  221. package/dist/helpers/types/type-uploader.js +336 -336
  222. package/dist/helpers/types/type-uploader.spec.d.ts +1 -1
  223. package/dist/helpers/types/type-uploader.spec.js +266 -266
  224. package/dist/helpers/types/uploadOptionSets.spec.d.ts +1 -1
  225. package/dist/helpers/types/uploadOptionSets.spec.js +19 -19
  226. package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.d.ts +12 -12
  227. package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.js +158 -158
  228. package/dist/helpers/workflow-templates/helper.d.ts +20 -20
  229. package/dist/helpers/workflow-templates/helper.js +285 -285
  230. package/dist/index.d.ts +1 -1
  231. package/dist/index.js +5 -5
  232. package/dist/interfaces.d.ts +470 -470
  233. package/dist/interfaces.js +163 -163
  234. package/dist/logger.d.ts +3 -3
  235. package/dist/logger.js +33 -33
  236. package/node_modules/@contrail/entity-types/.github/pull_request_template.md +31 -0
  237. package/node_modules/@contrail/entity-types/.github/workflows/empty.yml +10 -0
  238. package/node_modules/@contrail/entity-types/.github/workflows/generate-entity-types-docs.yml +32 -0
  239. package/node_modules/@contrail/entity-types/.prettierrc.yaml +2 -0
  240. package/node_modules/@contrail/entity-types/README.md +13 -0
  241. package/node_modules/@contrail/entity-types/home-hero.svg +11 -0
  242. package/node_modules/@contrail/entity-types/lib/action-definition-config.d.ts +6 -0
  243. package/node_modules/@contrail/entity-types/lib/action-definition-config.js +2 -0
  244. package/node_modules/@contrail/entity-types/lib/app-access-grant.d.ts +15 -0
  245. package/node_modules/@contrail/entity-types/lib/app-access-grant.js +7 -0
  246. package/node_modules/@contrail/entity-types/lib/app-api-key.d.ts +15 -0
  247. package/node_modules/@contrail/entity-types/lib/app-api-key.js +2 -0
  248. package/node_modules/@contrail/entity-types/lib/app-code-package.d.ts +17 -0
  249. package/node_modules/@contrail/entity-types/lib/app-code-package.js +2 -0
  250. package/node_modules/@contrail/entity-types/lib/app-extension-definition.d.ts +53 -0
  251. package/node_modules/@contrail/entity-types/lib/app-extension-definition.js +18 -0
  252. package/node_modules/@contrail/entity-types/lib/app-extension.d.ts +24 -0
  253. package/node_modules/@contrail/entity-types/lib/app-extension.js +2 -0
  254. package/node_modules/@contrail/entity-types/lib/app-org.d.ts +20 -0
  255. package/node_modules/@contrail/entity-types/lib/app-org.js +11 -0
  256. package/node_modules/@contrail/entity-types/lib/app-version.d.ts +57 -0
  257. package/node_modules/@contrail/entity-types/lib/app-version.js +21 -0
  258. package/node_modules/@contrail/entity-types/lib/app.d.ts +25 -0
  259. package/node_modules/@contrail/entity-types/lib/app.js +2 -0
  260. package/node_modules/@contrail/entity-types/lib/asset.d.ts +16 -0
  261. package/node_modules/@contrail/entity-types/lib/asset.js +2 -0
  262. package/node_modules/@contrail/entity-types/lib/assortment-item.d.ts +27 -0
  263. package/node_modules/@contrail/entity-types/lib/assortment-item.js +2 -0
  264. package/node_modules/@contrail/entity-types/lib/assortment-publish-change.d.ts +48 -0
  265. package/node_modules/@contrail/entity-types/lib/assortment-publish-change.js +2 -0
  266. package/node_modules/@contrail/entity-types/lib/assortment-summary.d.ts +15 -0
  267. package/node_modules/@contrail/entity-types/lib/assortment-summary.js +2 -0
  268. package/node_modules/@contrail/entity-types/lib/assortment.d.ts +39 -0
  269. package/node_modules/@contrail/entity-types/lib/assortment.js +11 -0
  270. package/node_modules/@contrail/entity-types/lib/base-managed-entity.d.ts +8 -0
  271. package/node_modules/@contrail/entity-types/lib/base-managed-entity.js +2 -0
  272. package/node_modules/@contrail/entity-types/lib/batch-fetch-response.d.ts +11 -0
  273. package/node_modules/@contrail/entity-types/lib/batch-fetch-response.js +2 -0
  274. package/node_modules/@contrail/entity-types/lib/client.d.ts +107 -0
  275. package/node_modules/@contrail/entity-types/lib/client.js +114 -0
  276. package/node_modules/@contrail/entity-types/lib/color.d.ts +14 -0
  277. package/node_modules/@contrail/entity-types/lib/color.js +2 -0
  278. package/node_modules/@contrail/entity-types/lib/composite-plans-summary.d.ts +15 -0
  279. package/node_modules/@contrail/entity-types/lib/composite-plans-summary.js +2 -0
  280. package/node_modules/@contrail/entity-types/lib/content-custom-size.d.ts +14 -0
  281. package/node_modules/@contrail/entity-types/lib/content-custom-size.js +2 -0
  282. package/node_modules/@contrail/entity-types/lib/content.d.ts +25 -0
  283. package/node_modules/@contrail/entity-types/lib/content.js +2 -0
  284. package/node_modules/@contrail/entity-types/lib/contentholder-content.d.ts +5 -0
  285. package/node_modules/@contrail/entity-types/lib/contentholder-content.js +2 -0
  286. package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.d.ts +21 -0
  287. package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.js +2 -0
  288. package/node_modules/@contrail/entity-types/lib/event-workflow-process.d.ts +27 -0
  289. package/node_modules/@contrail/entity-types/lib/event-workflow-process.js +11 -0
  290. package/node_modules/@contrail/entity-types/lib/event-workflow-task.d.ts +30 -0
  291. package/node_modules/@contrail/entity-types/lib/event-workflow-task.js +2 -0
  292. package/node_modules/@contrail/entity-types/lib/file.d.ts +13 -0
  293. package/node_modules/@contrail/entity-types/lib/file.js +2 -0
  294. package/node_modules/@contrail/entity-types/lib/index.d.ts +40 -0
  295. package/node_modules/@contrail/entity-types/lib/index.js +56 -0
  296. package/node_modules/@contrail/entity-types/lib/item.d.ts +20 -0
  297. package/node_modules/@contrail/entity-types/lib/item.js +2 -0
  298. package/node_modules/@contrail/entity-types/lib/loader.d.ts +234 -0
  299. package/node_modules/@contrail/entity-types/lib/loader.js +134 -0
  300. package/node_modules/@contrail/entity-types/lib/log-level.d.ts +8 -0
  301. package/node_modules/@contrail/entity-types/lib/log-level.js +12 -0
  302. package/node_modules/@contrail/entity-types/lib/org-managed-entity.d.ts +5 -0
  303. package/node_modules/@contrail/entity-types/lib/org-managed-entity.js +2 -0
  304. package/node_modules/@contrail/entity-types/lib/org.d.ts +11 -0
  305. package/node_modules/@contrail/entity-types/lib/org.js +2 -0
  306. package/node_modules/@contrail/entity-types/lib/project-configuration.d.ts +39 -0
  307. package/node_modules/@contrail/entity-types/lib/project-configuration.js +9 -0
  308. package/node_modules/@contrail/entity-types/lib/project-item.d.ts +9 -0
  309. package/node_modules/@contrail/entity-types/lib/project-item.js +2 -0
  310. package/node_modules/@contrail/entity-types/lib/project.d.ts +4 -0
  311. package/node_modules/@contrail/entity-types/lib/project.js +2 -0
  312. package/node_modules/@contrail/entity-types/lib/property-type.d.ts +32 -0
  313. package/node_modules/@contrail/entity-types/lib/property-type.js +31 -0
  314. package/node_modules/@contrail/entity-types/lib/shared-links.d.ts +46 -0
  315. package/node_modules/@contrail/entity-types/lib/shared-links.js +11 -0
  316. package/node_modules/@contrail/entity-types/lib/subscription.d.ts +38 -0
  317. package/node_modules/@contrail/entity-types/lib/subscription.js +22 -0
  318. package/node_modules/@contrail/entity-types/lib/type-managed-entity.d.ts +8 -0
  319. package/node_modules/@contrail/entity-types/lib/type-managed-entity.js +2 -0
  320. package/node_modules/@contrail/entity-types/lib/user.d.ts +79 -0
  321. package/node_modules/@contrail/entity-types/lib/user.js +20 -0
  322. package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.d.ts +5 -0
  323. package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.js +2 -0
  324. package/node_modules/@contrail/entity-types/lib/workspace-principal.d.ts +24 -0
  325. package/node_modules/@contrail/entity-types/lib/workspace-principal.js +9 -0
  326. package/node_modules/@contrail/entity-types/lib/workspace.d.ts +32 -0
  327. package/node_modules/@contrail/entity-types/lib/workspace.js +9 -0
  328. package/node_modules/@contrail/entity-types/package.json +56 -0
  329. package/node_modules/@contrail/org-config-migration/.husky/pre-commit +10 -0
  330. package/node_modules/@contrail/org-config-migration/.lintstagedrc-check.json +3 -0
  331. package/node_modules/@contrail/org-config-migration/.lintstagedrc-format.json +3 -0
  332. package/node_modules/@contrail/org-config-migration/.prettierrc.yaml +2 -0
  333. package/node_modules/@contrail/org-config-migration/lib/index.d.ts +3 -0
  334. package/node_modules/@contrail/org-config-migration/lib/index.js +19 -0
  335. package/node_modules/@contrail/org-config-migration/lib/interfaces.d.ts +97 -0
  336. package/node_modules/@contrail/org-config-migration/lib/interfaces.js +2 -0
  337. package/node_modules/@contrail/org-config-migration/lib/services/index.d.ts +1 -0
  338. package/node_modules/@contrail/org-config-migration/lib/services/index.js +17 -0
  339. package/node_modules/@contrail/org-config-migration/lib/services/types.d.ts +17 -0
  340. package/node_modules/@contrail/org-config-migration/lib/services/types.js +155 -0
  341. package/node_modules/@contrail/org-config-migration/lib/types/exportAll.d.ts +2 -0
  342. package/node_modules/@contrail/org-config-migration/lib/types/exportAll.js +40 -0
  343. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.d.ts +2 -0
  344. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.js +20 -0
  345. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.d.ts +3 -0
  346. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.js +47 -0
  347. package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.d.ts +2 -0
  348. package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.js +8 -0
  349. package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.d.ts +3 -0
  350. package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.js +39 -0
  351. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.d.ts +3 -0
  352. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.js +56 -0
  353. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.d.ts +3 -0
  354. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.js +71 -0
  355. package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.d.ts +2 -0
  356. package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.js +85 -0
  357. package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.d.ts +2 -0
  358. package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.js +39 -0
  359. package/node_modules/@contrail/org-config-migration/lib/types/importAll.d.ts +2 -0
  360. package/node_modules/@contrail/org-config-migration/lib/types/importAll.js +451 -0
  361. package/node_modules/@contrail/org-config-migration/lib/types/index.d.ts +9 -0
  362. package/node_modules/@contrail/org-config-migration/lib/types/index.js +25 -0
  363. package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.d.ts +3 -0
  364. package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.js +210 -0
  365. package/node_modules/@contrail/org-config-migration/lib/users/export.d.ts +2 -0
  366. package/node_modules/@contrail/org-config-migration/lib/users/export.js +40 -0
  367. package/node_modules/@contrail/org-config-migration/lib/users/import.d.ts +2 -0
  368. package/node_modules/@contrail/org-config-migration/lib/users/import.js +41 -0
  369. package/node_modules/@contrail/org-config-migration/lib/users/index.d.ts +2 -0
  370. package/node_modules/@contrail/org-config-migration/lib/users/index.js +18 -0
  371. package/node_modules/@contrail/org-config-migration/node_modules/commander/CHANGELOG.md +361 -0
  372. package/node_modules/@contrail/org-config-migration/node_modules/commander/LICENSE +22 -0
  373. package/node_modules/@contrail/org-config-migration/node_modules/commander/Readme.md +791 -0
  374. package/node_modules/@contrail/org-config-migration/node_modules/commander/index.js +1881 -0
  375. package/node_modules/@contrail/org-config-migration/node_modules/commander/package.json +51 -0
  376. package/node_modules/@contrail/org-config-migration/node_modules/commander/typings/index.d.ts +410 -0
  377. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.eslintrc +10 -0
  378. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.gitattributes +3 -0
  379. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.prettierrc.js +3 -0
  380. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/LICENSE.md +14 -0
  381. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/README.md +15 -0
  382. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/json2csv.js +192 -0
  383. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/TablePrinter.js +117 -0
  384. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/parseNdjson.js +11 -0
  385. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/cli-examples.md +73 -0
  386. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/parser-examples.md +488 -0
  387. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVAsyncParser.js +35 -0
  388. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVBase.js +175 -0
  389. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVParser.js +72 -0
  390. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVStreamParser.js +150 -0
  391. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVTransform.js +74 -0
  392. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/default.js +7 -0
  393. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/number.js +26 -0
  394. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/object.js +17 -0
  395. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/string.js +18 -0
  396. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringExcel.js +8 -0
  397. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringQuoteOnlyIfNecessary.js +21 -0
  398. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/symbol.js +7 -0
  399. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/json2csv.js +43 -0
  400. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/flatten.js +37 -0
  401. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/unwind.js +60 -0
  402. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/utils.js +86 -0
  403. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/package.json +73 -0
  404. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/rollup.config.js +44 -0
  405. package/node_modules/@contrail/org-config-migration/package.json +50 -0
  406. package/node_modules/@contrail/policies/README.md +0 -0
  407. package/node_modules/@contrail/policies/lib/index.d.ts +1 -0
  408. package/node_modules/@contrail/policies/lib/index.js +17 -0
  409. package/node_modules/@contrail/policies/lib/policies/index.d.ts +1 -0
  410. package/node_modules/@contrail/policies/lib/policies/index.js +17 -0
  411. package/node_modules/@contrail/policies/lib/policies/policies.d.ts +41 -0
  412. package/node_modules/@contrail/policies/lib/policies/policies.js +132 -0
  413. package/node_modules/@contrail/policies/package.json +40 -0
  414. package/node_modules/@contrail/sdk/.github/pull_request_template.md +31 -0
  415. package/node_modules/@contrail/sdk/.github/workflows/check-code-formatting.yml +34 -0
  416. package/node_modules/@contrail/sdk/.github/workflows/empty.yml +10 -0
  417. package/node_modules/@contrail/sdk/.github/workflows/generate-sdk-docs.yml +32 -0
  418. package/node_modules/@contrail/sdk/.github/workflows/sdk-lib.yml +27 -0
  419. package/node_modules/@contrail/sdk/.prettierrc.yaml +2 -0
  420. package/node_modules/@contrail/sdk/README.md +72 -0
  421. package/node_modules/@contrail/sdk/home-hero.svg +11 -0
  422. package/node_modules/@contrail/sdk/lib/assets/assets.d.ts +9 -0
  423. package/node_modules/@contrail/sdk/lib/assets/assets.js +54 -0
  424. package/node_modules/@contrail/sdk/lib/assets/index.d.ts +1 -0
  425. package/node_modules/@contrail/sdk/lib/assets/index.js +17 -0
  426. package/node_modules/@contrail/sdk/lib/auth/auth.d.ts +10 -0
  427. package/node_modules/@contrail/sdk/lib/auth/auth.js +6 -0
  428. package/node_modules/@contrail/sdk/lib/auth/index.d.ts +2 -0
  429. package/node_modules/@contrail/sdk/lib/auth/index.js +18 -0
  430. package/node_modules/@contrail/sdk/lib/auth/login.d.ts +10 -0
  431. package/node_modules/@contrail/sdk/lib/auth/login.js +170 -0
  432. package/node_modules/@contrail/sdk/lib/config/config.d.ts +45 -0
  433. package/node_modules/@contrail/sdk/lib/config/config.js +36 -0
  434. package/node_modules/@contrail/sdk/lib/config/index.d.ts +1 -0
  435. package/node_modules/@contrail/sdk/lib/config/index.js +17 -0
  436. package/node_modules/@contrail/sdk/lib/content/content.d.ts +12 -0
  437. package/node_modules/@contrail/sdk/lib/content/content.js +70 -0
  438. package/node_modules/@contrail/sdk/lib/content/index.d.ts +1 -0
  439. package/node_modules/@contrail/sdk/lib/content/index.js +17 -0
  440. package/node_modules/@contrail/sdk/lib/core/index.d.ts +1 -0
  441. package/node_modules/@contrail/sdk/lib/core/index.js +17 -0
  442. package/node_modules/@contrail/sdk/lib/core/request.d.ts +12 -0
  443. package/node_modules/@contrail/sdk/lib/core/request.js +145 -0
  444. package/node_modules/@contrail/sdk/lib/entities/entities.client.d.ts +101 -0
  445. package/node_modules/@contrail/sdk/lib/entities/entities.client.js +306 -0
  446. package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.d.ts +9 -0
  447. package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.js +86 -0
  448. package/node_modules/@contrail/sdk/lib/entities/entity-reference.d.ts +6 -0
  449. package/node_modules/@contrail/sdk/lib/entities/entity-reference.js +19 -0
  450. package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.d.ts +5 -0
  451. package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.js +57 -0
  452. package/node_modules/@contrail/sdk/lib/entities/index.d.ts +3 -0
  453. package/node_modules/@contrail/sdk/lib/entities/index.js +19 -0
  454. package/node_modules/@contrail/sdk/lib/files/file-type-helper.d.ts +3 -0
  455. package/node_modules/@contrail/sdk/lib/files/file-type-helper.js +24 -0
  456. package/node_modules/@contrail/sdk/lib/files/files.d.ts +9 -0
  457. package/node_modules/@contrail/sdk/lib/files/files.js +110 -0
  458. package/node_modules/@contrail/sdk/lib/files/index.d.ts +1 -0
  459. package/node_modules/@contrail/sdk/lib/files/index.js +17 -0
  460. package/node_modules/@contrail/sdk/lib/index.d.ts +10 -0
  461. package/node_modules/@contrail/sdk/lib/index.js +26 -0
  462. package/node_modules/@contrail/sdk/lib/notifications/index.d.ts +1 -0
  463. package/node_modules/@contrail/sdk/lib/notifications/index.js +17 -0
  464. package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.d.ts +16 -0
  465. package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.js +37 -0
  466. package/node_modules/@contrail/sdk/lib/policies/index.d.ts +1 -0
  467. package/node_modules/@contrail/sdk/lib/policies/index.js +17 -0
  468. package/node_modules/@contrail/sdk/lib/policies/policies-cache.d.ts +12 -0
  469. package/node_modules/@contrail/sdk/lib/policies/policies-cache.js +55 -0
  470. package/node_modules/@contrail/sdk/lib/policies/policies.client.d.ts +9 -0
  471. package/node_modules/@contrail/sdk/lib/policies/policies.client.js +74 -0
  472. package/node_modules/@contrail/sdk/lib/types/index.d.ts +2 -0
  473. package/node_modules/@contrail/sdk/lib/types/index.js +18 -0
  474. package/node_modules/@contrail/sdk/lib/types/sub-types-helper.d.ts +18 -0
  475. package/node_modules/@contrail/sdk/lib/types/sub-types-helper.js +98 -0
  476. package/node_modules/@contrail/sdk/lib/types/types-cache.d.ts +19 -0
  477. package/node_modules/@contrail/sdk/lib/types/types-cache.js +73 -0
  478. package/node_modules/@contrail/sdk/lib/types/types.client.d.ts +42 -0
  479. package/node_modules/@contrail/sdk/lib/types/types.client.js +217 -0
  480. package/node_modules/@contrail/sdk/package.json +61 -0
  481. package/node_modules/@contrail/types/README.md +1 -0
  482. package/node_modules/@contrail/types/lib/copy/copy-helper.d.ts +16 -0
  483. package/node_modules/@contrail/types/lib/copy/copy-helper.js +103 -0
  484. package/node_modules/@contrail/types/lib/copy/index.d.ts +1 -0
  485. package/node_modules/@contrail/types/lib/copy/index.js +17 -0
  486. package/node_modules/@contrail/types/lib/formatter/formatDate.d.ts +3 -0
  487. package/node_modules/@contrail/types/lib/formatter/formatDate.js +77 -0
  488. package/node_modules/@contrail/types/lib/formatter/formatDateCache.d.ts +6 -0
  489. package/node_modules/@contrail/types/lib/formatter/formatDateCache.js +19 -0
  490. package/node_modules/@contrail/types/lib/formatter/formatNumber.d.ts +3 -0
  491. package/node_modules/@contrail/types/lib/formatter/formatNumber.js +40 -0
  492. package/node_modules/@contrail/types/lib/formatter/formatNumberCache.d.ts +6 -0
  493. package/node_modules/@contrail/types/lib/formatter/formatNumberCache.js +19 -0
  494. package/node_modules/@contrail/types/lib/formatter/formatSizeRange.d.ts +1 -0
  495. package/node_modules/@contrail/types/lib/formatter/formatSizeRange.js +25 -0
  496. package/node_modules/@contrail/types/lib/formatter/index.d.ts +1 -0
  497. package/node_modules/@contrail/types/lib/formatter/index.js +17 -0
  498. package/node_modules/@contrail/types/lib/formatter/property-value-formatter.d.ts +37 -0
  499. package/node_modules/@contrail/types/lib/formatter/property-value-formatter.js +332 -0
  500. package/node_modules/@contrail/types/lib/index.d.ts +11 -0
  501. package/node_modules/@contrail/types/lib/index.js +27 -0
  502. package/node_modules/@contrail/types/lib/mocks/type-mocks.d.ts +3 -0
  503. package/node_modules/@contrail/types/lib/mocks/type-mocks.js +5466 -0
  504. package/node_modules/@contrail/types/lib/relations/relation.d.ts +6 -0
  505. package/node_modules/@contrail/types/lib/relations/relation.js +2 -0
  506. package/node_modules/@contrail/types/lib/type-interfaces/index.d.ts +1 -0
  507. package/node_modules/@contrail/types/lib/type-interfaces/index.js +17 -0
  508. package/node_modules/@contrail/types/lib/type-interfaces/type-interface.d.ts +4 -0
  509. package/node_modules/@contrail/types/lib/type-interfaces/type-interface.js +2 -0
  510. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.d.ts +2 -0
  511. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.js +18 -0
  512. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.d.ts +10 -0
  513. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.js +37 -0
  514. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.d.ts +20 -0
  515. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.js +2 -0
  516. package/node_modules/@contrail/types/lib/type-policies/index.d.ts +1 -0
  517. package/node_modules/@contrail/types/lib/type-policies/index.js +17 -0
  518. package/node_modules/@contrail/types/lib/type-policies/type-policy.d.ts +9 -0
  519. package/node_modules/@contrail/types/lib/type-policies/type-policy.js +2 -0
  520. package/node_modules/@contrail/types/lib/type-properties/index.d.ts +3 -0
  521. package/node_modules/@contrail/types/lib/type-properties/index.js +19 -0
  522. package/node_modules/@contrail/types/lib/type-properties/property-types.d.ts +35 -0
  523. package/node_modules/@contrail/types/lib/type-properties/property-types.js +66 -0
  524. package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.d.ts +12 -0
  525. package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.js +2 -0
  526. package/node_modules/@contrail/types/lib/type-properties/type-property.d.ts +103 -0
  527. package/node_modules/@contrail/types/lib/type-properties/type-property.js +39 -0
  528. package/node_modules/@contrail/types/lib/type-property-policies/index.d.ts +1 -0
  529. package/node_modules/@contrail/types/lib/type-property-policies/index.js +17 -0
  530. package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.d.ts +9 -0
  531. package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.js +2 -0
  532. package/node_modules/@contrail/types/lib/type-roots/index.d.ts +1 -0
  533. package/node_modules/@contrail/types/lib/type-roots/index.js +17 -0
  534. package/node_modules/@contrail/types/lib/type-roots/type-root.d.ts +7 -0
  535. package/node_modules/@contrail/types/lib/type-roots/type-root.js +2 -0
  536. package/node_modules/@contrail/types/lib/type-rule-sets/index.d.ts +1 -0
  537. package/node_modules/@contrail/types/lib/type-rule-sets/index.js +17 -0
  538. package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.d.ts +18 -0
  539. package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.js +2 -0
  540. package/node_modules/@contrail/types/lib/types/index.d.ts +1 -0
  541. package/node_modules/@contrail/types/lib/types/index.js +17 -0
  542. package/node_modules/@contrail/types/lib/types/type.d.ts +28 -0
  543. package/node_modules/@contrail/types/lib/types/type.js +2 -0
  544. package/node_modules/@contrail/types/lib/types-processor/index.d.ts +3 -0
  545. package/node_modules/@contrail/types/lib/types-processor/index.js +19 -0
  546. package/node_modules/@contrail/types/lib/types-processor/interfaces.d.ts +32 -0
  547. package/node_modules/@contrail/types/lib/types-processor/interfaces.js +2 -0
  548. package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.d.ts +3 -0
  549. package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.js +57 -0
  550. package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.d.ts +13 -0
  551. package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.js +300 -0
  552. package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.d.ts +10 -0
  553. package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.js +147 -0
  554. package/node_modules/@contrail/types/package.json +46 -0
  555. package/node_modules/@contrail/util/CHANGELOG.md +17 -0
  556. package/node_modules/@contrail/util/README.md +1 -0
  557. package/node_modules/@contrail/util/lib/app-util/app-util.d.ts +25 -0
  558. package/node_modules/@contrail/util/lib/app-util/app-util.js +72 -0
  559. package/node_modules/@contrail/util/lib/compression-util/compression.d.ts +2 -0
  560. package/node_modules/@contrail/util/lib/compression-util/compression.js +25 -0
  561. package/node_modules/@contrail/util/lib/compression-util/index.d.ts +1 -0
  562. package/node_modules/@contrail/util/lib/compression-util/index.js +17 -0
  563. package/node_modules/@contrail/util/lib/date-util/date-util.d.ts +4 -0
  564. package/node_modules/@contrail/util/lib/date-util/date-util.js +8 -0
  565. package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.d.ts +1 -0
  566. package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.js +16 -0
  567. package/node_modules/@contrail/util/lib/index.d.ts +11 -0
  568. package/node_modules/@contrail/util/lib/index.js +27 -0
  569. package/node_modules/@contrail/util/lib/map-util/map-util.d.ts +3 -0
  570. package/node_modules/@contrail/util/lib/map-util/map-util.js +18 -0
  571. package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.d.ts +4 -0
  572. package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.js +83 -0
  573. package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.d.ts +9 -0
  574. package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.js +8 -0
  575. package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.d.ts +6 -0
  576. package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.js +37 -0
  577. package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.d.ts +7 -0
  578. package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.js +96 -0
  579. package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.d.ts +88 -0
  580. package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.js +91 -0
  581. package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.d.ts +4 -0
  582. package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.js +60 -0
  583. package/node_modules/@contrail/util/lib/object-util/isObject/isObject.d.ts +1 -0
  584. package/node_modules/@contrail/util/lib/object-util/isObject/isObject.js +6 -0
  585. package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.d.ts +1 -0
  586. package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.js +25 -0
  587. package/node_modules/@contrail/util/lib/object-util/object-util.d.ts +26 -0
  588. package/node_modules/@contrail/util/lib/object-util/object-util.js +91 -0
  589. package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.d.ts +8 -0
  590. package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.js +30 -0
  591. package/node_modules/@contrail/util/lib/order-util/order-util.d.ts +3 -0
  592. package/node_modules/@contrail/util/lib/order-util/order-util.js +13 -0
  593. package/node_modules/@contrail/util/lib/performance-util/example-usage.d.ts +1 -0
  594. package/node_modules/@contrail/util/lib/performance-util/example-usage.js +298 -0
  595. package/node_modules/@contrail/util/lib/performance-util/performance-util.d.ts +35 -0
  596. package/node_modules/@contrail/util/lib/performance-util/performance-util.js +257 -0
  597. package/node_modules/@contrail/util/lib/promise-util/promise-util.d.ts +4 -0
  598. package/node_modules/@contrail/util/lib/promise-util/promise-util.js +34 -0
  599. package/node_modules/@contrail/util/lib/retry-util/retry-util.d.ts +6 -0
  600. package/node_modules/@contrail/util/lib/retry-util/retry-util.js +41 -0
  601. package/node_modules/@contrail/util/lib/string-util/string-util.d.ts +10 -0
  602. package/node_modules/@contrail/util/lib/string-util/string-util.js +85 -0
  603. package/node_modules/@contrail/util/lib/timer-util/timer-util.d.ts +32 -0
  604. package/node_modules/@contrail/util/lib/timer-util/timer-util.js +119 -0
  605. package/node_modules/@contrail/util/package.json +46 -0
  606. package/node_modules/@streamparser/json/.eslintrc.js +16 -0
  607. package/node_modules/@streamparser/json/.github/workflows/on-push.yaml +33 -0
  608. package/node_modules/@streamparser/json/.github/workflows/on-release.yaml +19 -0
  609. package/node_modules/@streamparser/json/LICENSE +21 -0
  610. package/node_modules/@streamparser/json/README.md +329 -0
  611. package/node_modules/@streamparser/json/build.deno.js +57 -0
  612. package/node_modules/@streamparser/json/build.mjs.js +35 -0
  613. package/node_modules/@streamparser/json/dist/cjs/index.d.ts +5 -0
  614. package/node_modules/@streamparser/json/dist/cjs/index.js +12 -0
  615. package/node_modules/@streamparser/json/dist/cjs/jsonparser.d.ts +18 -0
  616. package/node_modules/@streamparser/json/dist/cjs/jsonparser.js +46 -0
  617. package/node_modules/@streamparser/json/dist/cjs/tokenizer.d.ts +45 -0
  618. package/node_modules/@streamparser/json/dist/cjs/tokenizer.js +517 -0
  619. package/node_modules/@streamparser/json/dist/cjs/tokenparser.d.ts +55 -0
  620. package/node_modules/@streamparser/json/dist/cjs/tokenparser.js +269 -0
  621. package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.d.ts +29 -0
  622. package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.js +63 -0
  623. package/node_modules/@streamparser/json/dist/cjs/utils/constants.d.ts +14 -0
  624. package/node_modules/@streamparser/json/dist/cjs/utils/constants.js +18 -0
  625. package/node_modules/@streamparser/json/dist/cjs/utils/types.d.ts +7 -0
  626. package/node_modules/@streamparser/json/dist/cjs/utils/types.js +2 -0
  627. package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.d.ts +105 -0
  628. package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.js +116 -0
  629. package/node_modules/@streamparser/json/dist/deno/README.md +329 -0
  630. package/node_modules/@streamparser/json/dist/deno/index.ts +5 -0
  631. package/node_modules/@streamparser/json/dist/deno/jsonparser.ts +65 -0
  632. package/node_modules/@streamparser/json/dist/deno/tokenizer.ts +678 -0
  633. package/node_modules/@streamparser/json/dist/deno/tokenparser.ts +390 -0
  634. package/node_modules/@streamparser/json/dist/deno/utils/bufferedString.ts +75 -0
  635. package/node_modules/@streamparser/json/dist/deno/utils/constants.ts +14 -0
  636. package/node_modules/@streamparser/json/dist/deno/utils/types.ts +5 -0
  637. package/node_modules/@streamparser/json/dist/deno/utils/utf-8.ts +113 -0
  638. package/node_modules/@streamparser/json/dist/mjs/index.d.ts +5 -0
  639. package/node_modules/@streamparser/json/dist/mjs/jsonparser.d.ts +18 -0
  640. package/node_modules/@streamparser/json/dist/mjs/tokenizer.d.ts +45 -0
  641. package/node_modules/@streamparser/json/dist/mjs/tokenparser.d.ts +55 -0
  642. package/node_modules/@streamparser/json/dist/mjs/utils/bufferedString.d.ts +29 -0
  643. package/node_modules/@streamparser/json/dist/mjs/utils/constants.d.ts +14 -0
  644. package/node_modules/@streamparser/json/dist/mjs/utils/types.d.ts +7 -0
  645. package/node_modules/@streamparser/json/dist/mjs/utils/utf-8.d.ts +105 -0
  646. package/node_modules/@streamparser/json/dist/umd/index.d.ts +5 -0
  647. package/node_modules/@streamparser/json/dist/umd/index.js +1111 -0
  648. package/node_modules/@streamparser/json/dist/umd/jsonparser.d.ts +18 -0
  649. package/node_modules/@streamparser/json/dist/umd/tokenizer.d.ts +45 -0
  650. package/node_modules/@streamparser/json/dist/umd/tokenparser.d.ts +55 -0
  651. package/node_modules/@streamparser/json/dist/umd/utils/bufferedString.d.ts +29 -0
  652. package/node_modules/@streamparser/json/dist/umd/utils/constants.d.ts +14 -0
  653. package/node_modules/@streamparser/json/dist/umd/utils/types.d.ts +7 -0
  654. package/node_modules/@streamparser/json/dist/umd/utils/utf-8.d.ts +105 -0
  655. package/node_modules/@streamparser/json/package.json +45 -0
  656. package/node_modules/@streamparser/json/performance/index.deno.ts +61 -0
  657. package/node_modules/@streamparser/json/performance/index.node.mjs +62 -0
  658. package/node_modules/@streamparser/json/performance/package-lock.json +32 -0
  659. package/node_modules/@streamparser/json/performance/package.json +17 -0
  660. package/node_modules/@streamparser/json/rollup.config.js +22 -0
  661. package/node_modules/@streamparser/json/samplejson/basic-no-numbers.json +353 -0
  662. package/node_modules/@streamparser/json/samplejson/basic.json +353 -0
  663. package/node_modules/@streamparser/json/src/index.ts +5 -0
  664. package/node_modules/@streamparser/json/src/jsonparser.ts +65 -0
  665. package/node_modules/@streamparser/json/src/tokenizer.ts +678 -0
  666. package/node_modules/@streamparser/json/src/tokenparser.ts +390 -0
  667. package/node_modules/@streamparser/json/src/utils/bufferedString.ts +75 -0
  668. package/node_modules/@streamparser/json/src/utils/constants.ts +14 -0
  669. package/node_modules/@streamparser/json/src/utils/types.ts +5 -0
  670. package/node_modules/@streamparser/json/src/utils/utf-8.ts +113 -0
  671. package/node_modules/@streamparser/json/test/callbacks.ts +89 -0
  672. package/node_modules/@streamparser/json/test/end.ts +127 -0
  673. package/node_modules/@streamparser/json/test/inputs.ts +89 -0
  674. package/node_modules/@streamparser/json/test/keepStack.ts +45 -0
  675. package/node_modules/@streamparser/json/test/offset.ts +89 -0
  676. package/node_modules/@streamparser/json/test/performance.ts +151 -0
  677. package/node_modules/@streamparser/json/test/selectors.ts +87 -0
  678. package/node_modules/@streamparser/json/test/separator.ts +106 -0
  679. package/node_modules/@streamparser/json/test/types/arrays.ts +108 -0
  680. package/node_modules/@streamparser/json/test/types/booleans.ts +75 -0
  681. package/node_modules/@streamparser/json/test/types/null.ts +67 -0
  682. package/node_modules/@streamparser/json/test/types/numbers.ts +117 -0
  683. package/node_modules/@streamparser/json/test/types/objects.ts +134 -0
  684. package/node_modules/@streamparser/json/test/types/strings.ts +233 -0
  685. package/node_modules/@streamparser/json/tsconfig.json +18 -0
  686. package/node_modules/amazon-cognito-identity-js/.eslintignore +1 -0
  687. package/node_modules/amazon-cognito-identity-js/.eslintrc.yaml +30 -0
  688. package/node_modules/amazon-cognito-identity-js/CHANGELOG.md +1756 -0
  689. package/node_modules/amazon-cognito-identity-js/LICENSE.txt +73 -0
  690. package/node_modules/amazon-cognito-identity-js/NOTICE.txt +63 -0
  691. package/node_modules/amazon-cognito-identity-js/README.md +1121 -0
  692. package/node_modules/amazon-cognito-identity-js/RNAWSCognito.podspec +23 -0
  693. package/node_modules/amazon-cognito-identity-js/__mocks__/mocks.js +73 -0
  694. package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationDetails.test.js +32 -0
  695. package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationHelper.test.js +893 -0
  696. package/node_modules/amazon-cognito-identity-js/__tests__/BigInteger.test.js +17 -0
  697. package/node_modules/amazon-cognito-identity-js/__tests__/Client.test.js +108 -0
  698. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoAccessToken.test.js +16 -0
  699. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoIdToken.test.js +8 -0
  700. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoJwtToken.test.js +40 -0
  701. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoRefreshToken.test.js +13 -0
  702. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUser.test.js +1660 -0
  703. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserAttribute.test.js +57 -0
  704. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserPool.test.js +92 -0
  705. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserSession.test.js +78 -0
  706. package/node_modules/amazon-cognito-identity-js/__tests__/CookieStorage.test.js +72 -0
  707. package/node_modules/amazon-cognito-identity-js/__tests__/DateHelper.test.js +12 -0
  708. package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelper.test.js +65 -0
  709. package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelperRN.test.js +120 -0
  710. package/node_modules/amazon-cognito-identity-js/__tests__/UserAgent.test.js +42 -0
  711. package/node_modules/amazon-cognito-identity-js/__tests__/UserAgentDefault.test.js +9 -0
  712. package/node_modules/amazon-cognito-identity-js/__tests__/constants.js +122 -0
  713. package/node_modules/amazon-cognito-identity-js/__tests__/cryptoSecureRandomInt.test.js +59 -0
  714. package/node_modules/amazon-cognito-identity-js/__tests__/index.test.js +23 -0
  715. package/node_modules/amazon-cognito-identity-js/__tests__/util.js +24 -0
  716. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileChanges/last-build.bin +0 -0
  717. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileHashes/fileHashes.lock +0 -0
  718. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/gc.properties +0 -0
  719. package/node_modules/amazon-cognito-identity-js/android/.gradle/vcs-1/gc.properties +0 -0
  720. package/node_modules/amazon-cognito-identity-js/android/.project +17 -0
  721. package/node_modules/amazon-cognito-identity-js/android/.settings/org.eclipse.buildship.core.prefs +13 -0
  722. package/node_modules/amazon-cognito-identity-js/android/build.gradle +38 -0
  723. package/node_modules/amazon-cognito-identity-js/android/src/main/AndroidManifest.xml +4 -0
  724. package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoModule.java +88 -0
  725. package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoPackage.java +27 -0
  726. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.js +8036 -0
  727. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js +40 -0
  728. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz +0 -0
  729. package/node_modules/amazon-cognito-identity-js/enhance-rn.js +50 -0
  730. package/node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js +66 -0
  731. package/node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js +343 -0
  732. package/node_modules/amazon-cognito-identity-js/es/BigInteger.js +758 -0
  733. package/node_modules/amazon-cognito-identity-js/es/Client.js +215 -0
  734. package/node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js +24 -0
  735. package/node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js +24 -0
  736. package/node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js +55 -0
  737. package/node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js +27 -0
  738. package/node_modules/amazon-cognito-identity-js/es/CognitoUser.js +1807 -0
  739. package/node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js +73 -0
  740. package/node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js +174 -0
  741. package/node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js +79 -0
  742. package/node_modules/amazon-cognito-identity-js/es/CookieStorage.js +112 -0
  743. package/node_modules/amazon-cognito-identity-js/es/DateHelper.js +41 -0
  744. package/node_modules/amazon-cognito-identity-js/es/Platform/index.js +34 -0
  745. package/node_modules/amazon-cognito-identity-js/es/Platform/version.js +2 -0
  746. package/node_modules/amazon-cognito-identity-js/es/StorageHelper-rn.js +102 -0
  747. package/node_modules/amazon-cognito-identity-js/es/StorageHelper.js +78 -0
  748. package/node_modules/amazon-cognito-identity-js/es/UserAgent.js +19 -0
  749. package/node_modules/amazon-cognito-identity-js/es/index.js +18 -0
  750. package/node_modules/amazon-cognito-identity-js/es/utils/WordArray.js +46 -0
  751. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js +46 -0
  752. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.native.js +9 -0
  753. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.web.js +34 -0
  754. package/node_modules/amazon-cognito-identity-js/es/utils/getRandomBase64.native.js +5 -0
  755. package/node_modules/amazon-cognito-identity-js/es/utils/getRandomValues.native.js +58 -0
  756. package/node_modules/amazon-cognito-identity-js/index.d.ts +426 -0
  757. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.h +40 -0
  758. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.m +224 -0
  759. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.h +58 -0
  760. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.m +419 -0
  761. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt +18 -0
  762. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.c +6925 -0
  763. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.h +584 -0
  764. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_class.h +999 -0
  765. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_superclass.h +76 -0
  766. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.h +9 -0
  767. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.m +59 -0
  768. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.pbxproj +295 -0
  769. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  770. package/node_modules/amazon-cognito-identity-js/jest.config.js +41 -0
  771. package/node_modules/amazon-cognito-identity-js/lib/AuthenticationDetails.js +70 -0
  772. package/node_modules/amazon-cognito-identity-js/lib/AuthenticationHelper.js +348 -0
  773. package/node_modules/amazon-cognito-identity-js/lib/BigInteger.js +760 -0
  774. package/node_modules/amazon-cognito-identity-js/lib/Client.js +220 -0
  775. package/node_modules/amazon-cognito-identity-js/lib/CognitoAccessToken.js +23 -0
  776. package/node_modules/amazon-cognito-identity-js/lib/CognitoIdToken.js +23 -0
  777. package/node_modules/amazon-cognito-identity-js/lib/CognitoJwtToken.js +57 -0
  778. package/node_modules/amazon-cognito-identity-js/lib/CognitoRefreshToken.js +31 -0
  779. package/node_modules/amazon-cognito-identity-js/lib/CognitoUser.js +1813 -0
  780. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserAttribute.js +77 -0
  781. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserPool.js +179 -0
  782. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserSession.js +83 -0
  783. package/node_modules/amazon-cognito-identity-js/lib/CookieStorage.js +117 -0
  784. package/node_modules/amazon-cognito-identity-js/lib/DateHelper.js +45 -0
  785. package/node_modules/amazon-cognito-identity-js/lib/Platform/index.js +42 -0
  786. package/node_modules/amazon-cognito-identity-js/lib/Platform/version.js +7 -0
  787. package/node_modules/amazon-cognito-identity-js/lib/StorageHelper-rn.js +107 -0
  788. package/node_modules/amazon-cognito-identity-js/lib/StorageHelper.js +82 -0
  789. package/node_modules/amazon-cognito-identity-js/lib/UserAgent.js +25 -0
  790. package/node_modules/amazon-cognito-identity-js/lib/index.js +31 -0
  791. package/node_modules/amazon-cognito-identity-js/lib/utils/WordArray.js +50 -0
  792. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.js +50 -0
  793. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.native.js +13 -0
  794. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.web.js +38 -0
  795. package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomBase64.native.js +10 -0
  796. package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomValues.native.js +63 -0
  797. package/node_modules/amazon-cognito-identity-js/package.json +94 -0
  798. package/node_modules/amazon-cognito-identity-js/src/AuthenticationDetails.js +65 -0
  799. package/node_modules/amazon-cognito-identity-js/src/AuthenticationHelper.js +416 -0
  800. package/node_modules/amazon-cognito-identity-js/src/BigInteger.js +809 -0
  801. package/node_modules/amazon-cognito-identity-js/src/Client.js +224 -0
  802. package/node_modules/amazon-cognito-identity-js/src/CognitoAccessToken.js +17 -0
  803. package/node_modules/amazon-cognito-identity-js/src/CognitoIdToken.js +17 -0
  804. package/node_modules/amazon-cognito-identity-js/src/CognitoJwtToken.js +52 -0
  805. package/node_modules/amazon-cognito-identity-js/src/CognitoRefreshToken.js +23 -0
  806. package/node_modules/amazon-cognito-identity-js/src/CognitoUser.js +2205 -0
  807. package/node_modules/amazon-cognito-identity-js/src/CognitoUserAttribute.js +68 -0
  808. package/node_modules/amazon-cognito-identity-js/src/CognitoUserPool.js +194 -0
  809. package/node_modules/amazon-cognito-identity-js/src/CognitoUserSession.js +82 -0
  810. package/node_modules/amazon-cognito-identity-js/src/CookieStorage.js +117 -0
  811. package/node_modules/amazon-cognito-identity-js/src/DateHelper.js +56 -0
  812. package/node_modules/amazon-cognito-identity-js/src/Platform/index.js +38 -0
  813. package/node_modules/amazon-cognito-identity-js/src/Platform/version.js +2 -0
  814. package/node_modules/amazon-cognito-identity-js/src/StorageHelper-rn.js +99 -0
  815. package/node_modules/amazon-cognito-identity-js/src/StorageHelper.js +75 -0
  816. package/node_modules/amazon-cognito-identity-js/src/UserAgent.js +26 -0
  817. package/node_modules/amazon-cognito-identity-js/src/index.js +18 -0
  818. package/node_modules/amazon-cognito-identity-js/src/utils/WordArray.js +50 -0
  819. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.js +49 -0
  820. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.native.js +9 -0
  821. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.web.js +37 -0
  822. package/node_modules/amazon-cognito-identity-js/src/utils/getRandomBase64.native.js +12 -0
  823. package/node_modules/amazon-cognito-identity-js/src/utils/getRandomValues.native.js +61 -0
  824. package/node_modules/amazon-cognito-identity-js/webpack.config.js +58 -0
  825. package/node_modules/asynckit/LICENSE +21 -0
  826. package/node_modules/asynckit/README.md +233 -0
  827. package/node_modules/asynckit/bench.js +76 -0
  828. package/node_modules/asynckit/index.js +6 -0
  829. package/node_modules/asynckit/lib/abort.js +29 -0
  830. package/node_modules/asynckit/lib/async.js +34 -0
  831. package/node_modules/asynckit/lib/defer.js +26 -0
  832. package/node_modules/asynckit/lib/iterate.js +75 -0
  833. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  834. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  835. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  836. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  837. package/node_modules/asynckit/lib/state.js +37 -0
  838. package/node_modules/asynckit/lib/streamify.js +141 -0
  839. package/node_modules/asynckit/lib/terminator.js +29 -0
  840. package/node_modules/asynckit/package.json +63 -0
  841. package/node_modules/asynckit/parallel.js +43 -0
  842. package/node_modules/asynckit/serial.js +17 -0
  843. package/node_modules/asynckit/serialOrdered.js +75 -0
  844. package/node_modules/asynckit/stream.js +21 -0
  845. package/node_modules/base64-js/LICENSE +21 -0
  846. package/node_modules/base64-js/README.md +34 -0
  847. package/node_modules/base64-js/base64js.min.js +1 -0
  848. package/node_modules/base64-js/index.d.ts +3 -0
  849. package/node_modules/base64-js/index.js +150 -0
  850. package/node_modules/base64-js/package.json +47 -0
  851. package/node_modules/buffer/.travis.yml +8 -0
  852. package/node_modules/buffer/AUTHORS.md +44 -0
  853. package/node_modules/buffer/LICENSE +21 -0
  854. package/node_modules/buffer/README.md +378 -0
  855. package/node_modules/buffer/bin/download-node-tests.js +106 -0
  856. package/node_modules/buffer/bin/test.js +41 -0
  857. package/node_modules/buffer/bin/update-authors.sh +21 -0
  858. package/node_modules/buffer/bin/zuul-es5.yml +14 -0
  859. package/node_modules/buffer/bin/zuul-es6.yml +6 -0
  860. package/node_modules/buffer/index.js +1789 -0
  861. package/node_modules/buffer/package.json +77 -0
  862. package/node_modules/buffer/test/_polyfill.js +150 -0
  863. package/node_modules/buffer/test/base64.js +47 -0
  864. package/node_modules/buffer/test/basic.js +85 -0
  865. package/node_modules/buffer/test/compare.js +59 -0
  866. package/node_modules/buffer/test/constructor.js +193 -0
  867. package/node_modules/buffer/test/from-string.js +132 -0
  868. package/node_modules/buffer/test/is-buffer.js +22 -0
  869. package/node_modules/buffer/test/methods.js +127 -0
  870. package/node_modules/buffer/test/node/test-buffer-alloc.js +1501 -0
  871. package/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
  872. package/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
  873. package/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
  874. package/node_modules/buffer/test/node/test-buffer-badhex.js +46 -0
  875. package/node_modules/buffer/test/node/test-buffer-bytelength.js +90 -0
  876. package/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
  877. package/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
  878. package/node_modules/buffer/test/node/test-buffer-fill.js +272 -0
  879. package/node_modules/buffer/test/node/test-buffer-includes.js +305 -0
  880. package/node_modules/buffer/test/node/test-buffer-indexof.js +523 -0
  881. package/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
  882. package/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
  883. package/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
  884. package/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
  885. package/node_modules/buffer/test/node/test-buffer-slow.js +63 -0
  886. package/node_modules/buffer/test/node/test-buffer-swap.js +141 -0
  887. package/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
  888. package/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
  889. package/node_modules/buffer/test/node/test-buffer.js +1534 -0
  890. package/node_modules/buffer/test/slice.js +37 -0
  891. package/node_modules/buffer/test/static.js +17 -0
  892. package/node_modules/buffer/test/to-string.js +233 -0
  893. package/node_modules/buffer/test/write.js +131 -0
  894. package/node_modules/buffer/test/write_infinity.js +45 -0
  895. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  896. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  897. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  898. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  899. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  900. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  901. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  902. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  903. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  904. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  905. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  906. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  907. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  908. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  909. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  910. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  911. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  912. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  913. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  914. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  915. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  916. package/node_modules/combined-stream/License +19 -0
  917. package/node_modules/combined-stream/Readme.md +138 -0
  918. package/node_modules/combined-stream/lib/combined_stream.js +208 -0
  919. package/node_modules/combined-stream/package.json +25 -0
  920. package/node_modules/crypto-js/CONTRIBUTING.md +28 -0
  921. package/node_modules/crypto-js/LICENSE +24 -0
  922. package/node_modules/crypto-js/README.md +275 -0
  923. package/node_modules/crypto-js/aes.js +234 -0
  924. package/node_modules/crypto-js/blowfish.js +471 -0
  925. package/node_modules/crypto-js/bower.json +39 -0
  926. package/node_modules/crypto-js/cipher-core.js +895 -0
  927. package/node_modules/crypto-js/core.js +807 -0
  928. package/node_modules/crypto-js/crypto-js.js +6657 -0
  929. package/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
  930. package/node_modules/crypto-js/enc-base64.js +136 -0
  931. package/node_modules/crypto-js/enc-base64url.js +148 -0
  932. package/node_modules/crypto-js/enc-hex.js +18 -0
  933. package/node_modules/crypto-js/enc-latin1.js +18 -0
  934. package/node_modules/crypto-js/enc-utf16.js +149 -0
  935. package/node_modules/crypto-js/enc-utf8.js +18 -0
  936. package/node_modules/crypto-js/evpkdf.js +134 -0
  937. package/node_modules/crypto-js/format-hex.js +66 -0
  938. package/node_modules/crypto-js/format-openssl.js +18 -0
  939. package/node_modules/crypto-js/hmac-md5.js +18 -0
  940. package/node_modules/crypto-js/hmac-ripemd160.js +18 -0
  941. package/node_modules/crypto-js/hmac-sha1.js +18 -0
  942. package/node_modules/crypto-js/hmac-sha224.js +18 -0
  943. package/node_modules/crypto-js/hmac-sha256.js +18 -0
  944. package/node_modules/crypto-js/hmac-sha3.js +18 -0
  945. package/node_modules/crypto-js/hmac-sha384.js +18 -0
  946. package/node_modules/crypto-js/hmac-sha512.js +18 -0
  947. package/node_modules/crypto-js/hmac.js +143 -0
  948. package/node_modules/crypto-js/index.js +18 -0
  949. package/node_modules/crypto-js/lib-typedarrays.js +76 -0
  950. package/node_modules/crypto-js/md5.js +268 -0
  951. package/node_modules/crypto-js/mode-cfb.js +80 -0
  952. package/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
  953. package/node_modules/crypto-js/mode-ctr.js +58 -0
  954. package/node_modules/crypto-js/mode-ecb.js +40 -0
  955. package/node_modules/crypto-js/mode-ofb.js +54 -0
  956. package/node_modules/crypto-js/package.json +42 -0
  957. package/node_modules/crypto-js/pad-ansix923.js +49 -0
  958. package/node_modules/crypto-js/pad-iso10126.js +44 -0
  959. package/node_modules/crypto-js/pad-iso97971.js +40 -0
  960. package/node_modules/crypto-js/pad-nopadding.js +30 -0
  961. package/node_modules/crypto-js/pad-pkcs7.js +18 -0
  962. package/node_modules/crypto-js/pad-zeropadding.js +47 -0
  963. package/node_modules/crypto-js/pbkdf2.js +145 -0
  964. package/node_modules/crypto-js/rabbit-legacy.js +190 -0
  965. package/node_modules/crypto-js/rabbit.js +192 -0
  966. package/node_modules/crypto-js/rc4.js +139 -0
  967. package/node_modules/crypto-js/ripemd160.js +267 -0
  968. package/node_modules/crypto-js/sha1.js +150 -0
  969. package/node_modules/crypto-js/sha224.js +80 -0
  970. package/node_modules/crypto-js/sha256.js +199 -0
  971. package/node_modules/crypto-js/sha3.js +326 -0
  972. package/node_modules/crypto-js/sha384.js +83 -0
  973. package/node_modules/crypto-js/sha512.js +326 -0
  974. package/node_modules/crypto-js/tripledes.js +779 -0
  975. package/node_modules/crypto-js/x64-core.js +304 -0
  976. package/node_modules/delayed-stream/.npmignore +1 -0
  977. package/node_modules/delayed-stream/License +19 -0
  978. package/node_modules/delayed-stream/Makefile +7 -0
  979. package/node_modules/delayed-stream/Readme.md +141 -0
  980. package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  981. package/node_modules/delayed-stream/package.json +27 -0
  982. package/node_modules/dunder-proto/.eslintrc +5 -0
  983. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  984. package/node_modules/dunder-proto/.nycrc +13 -0
  985. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  986. package/node_modules/dunder-proto/LICENSE +21 -0
  987. package/node_modules/dunder-proto/README.md +54 -0
  988. package/node_modules/dunder-proto/get.d.ts +5 -0
  989. package/node_modules/dunder-proto/get.js +30 -0
  990. package/node_modules/dunder-proto/package.json +76 -0
  991. package/node_modules/dunder-proto/set.d.ts +5 -0
  992. package/node_modules/dunder-proto/set.js +35 -0
  993. package/node_modules/dunder-proto/test/get.js +34 -0
  994. package/node_modules/dunder-proto/test/index.js +4 -0
  995. package/node_modules/dunder-proto/test/set.js +50 -0
  996. package/node_modules/dunder-proto/tsconfig.json +9 -0
  997. package/node_modules/es-define-property/.eslintrc +13 -0
  998. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  999. package/node_modules/es-define-property/.nycrc +9 -0
  1000. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  1001. package/node_modules/es-define-property/LICENSE +21 -0
  1002. package/node_modules/es-define-property/README.md +49 -0
  1003. package/node_modules/es-define-property/index.d.ts +3 -0
  1004. package/node_modules/es-define-property/index.js +14 -0
  1005. package/node_modules/es-define-property/package.json +81 -0
  1006. package/node_modules/es-define-property/test/index.js +56 -0
  1007. package/node_modules/es-define-property/tsconfig.json +10 -0
  1008. package/node_modules/es-errors/.eslintrc +5 -0
  1009. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  1010. package/node_modules/es-errors/CHANGELOG.md +40 -0
  1011. package/node_modules/es-errors/LICENSE +21 -0
  1012. package/node_modules/es-errors/README.md +55 -0
  1013. package/node_modules/es-errors/eval.d.ts +3 -0
  1014. package/node_modules/es-errors/eval.js +4 -0
  1015. package/node_modules/es-errors/index.d.ts +3 -0
  1016. package/node_modules/es-errors/index.js +4 -0
  1017. package/node_modules/es-errors/package.json +80 -0
  1018. package/node_modules/es-errors/range.d.ts +3 -0
  1019. package/node_modules/es-errors/range.js +4 -0
  1020. package/node_modules/es-errors/ref.d.ts +3 -0
  1021. package/node_modules/es-errors/ref.js +4 -0
  1022. package/node_modules/es-errors/syntax.d.ts +3 -0
  1023. package/node_modules/es-errors/syntax.js +4 -0
  1024. package/node_modules/es-errors/test/index.js +19 -0
  1025. package/node_modules/es-errors/tsconfig.json +49 -0
  1026. package/node_modules/es-errors/type.d.ts +3 -0
  1027. package/node_modules/es-errors/type.js +4 -0
  1028. package/node_modules/es-errors/uri.d.ts +3 -0
  1029. package/node_modules/es-errors/uri.js +4 -0
  1030. package/node_modules/es-object-atoms/.eslintrc +16 -0
  1031. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  1032. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  1033. package/node_modules/es-object-atoms/LICENSE +21 -0
  1034. package/node_modules/es-object-atoms/README.md +63 -0
  1035. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  1036. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  1037. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  1038. package/node_modules/es-object-atoms/ToObject.js +10 -0
  1039. package/node_modules/es-object-atoms/index.d.ts +3 -0
  1040. package/node_modules/es-object-atoms/index.js +4 -0
  1041. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  1042. package/node_modules/es-object-atoms/isObject.js +6 -0
  1043. package/node_modules/es-object-atoms/package.json +80 -0
  1044. package/node_modules/es-object-atoms/test/index.js +38 -0
  1045. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  1046. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  1047. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  1048. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  1049. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  1050. package/node_modules/es-set-tostringtag/README.md +53 -0
  1051. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  1052. package/node_modules/es-set-tostringtag/index.js +35 -0
  1053. package/node_modules/es-set-tostringtag/package.json +78 -0
  1054. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  1055. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  1056. package/node_modules/es6-promisify/LICENSE +19 -0
  1057. package/node_modules/es6-promisify/README.md +99 -0
  1058. package/node_modules/es6-promisify/dist/promisify.js +76 -0
  1059. package/node_modules/es6-promisify/package.json +41 -0
  1060. package/node_modules/fast-base64-decode/index.d.ts +2 -0
  1061. package/node_modules/fast-base64-decode/index.js +33 -0
  1062. package/node_modules/fast-base64-decode/package.json +21 -0
  1063. package/node_modules/fast-base64-decode/readme.md +21 -0
  1064. package/node_modules/fflate/CHANGELOG.md +115 -0
  1065. package/node_modules/fflate/LICENSE +21 -0
  1066. package/node_modules/fflate/README.md +558 -0
  1067. package/node_modules/fflate/esm/browser.d.ts +1501 -0
  1068. package/node_modules/fflate/esm/browser.js +2665 -0
  1069. package/node_modules/fflate/esm/index.d.mts +1501 -0
  1070. package/node_modules/fflate/esm/index.mjs +2679 -0
  1071. package/node_modules/fflate/lib/browser.cjs +2688 -0
  1072. package/node_modules/fflate/lib/browser.d.cts +1501 -0
  1073. package/node_modules/fflate/lib/index.cjs +2668 -0
  1074. package/node_modules/fflate/lib/index.d.ts +1501 -0
  1075. package/node_modules/fflate/lib/node-worker.cjs +32 -0
  1076. package/node_modules/fflate/lib/node.cjs +2700 -0
  1077. package/node_modules/fflate/lib/node.d.cts +1501 -0
  1078. package/node_modules/fflate/lib/worker.cjs +20 -0
  1079. package/node_modules/fflate/package.json +127 -0
  1080. package/node_modules/fflate/umd/index.js +1 -0
  1081. package/node_modules/form-data/CHANGELOG.md +601 -0
  1082. package/node_modules/form-data/License +19 -0
  1083. package/node_modules/form-data/README.md +355 -0
  1084. package/node_modules/form-data/index.d.ts +62 -0
  1085. package/node_modules/form-data/lib/browser.js +4 -0
  1086. package/node_modules/form-data/lib/form_data.js +494 -0
  1087. package/node_modules/form-data/lib/populate.js +10 -0
  1088. package/node_modules/form-data/package.json +82 -0
  1089. package/node_modules/function-bind/.eslintrc +21 -0
  1090. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  1091. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  1092. package/node_modules/function-bind/.nycrc +13 -0
  1093. package/node_modules/function-bind/CHANGELOG.md +136 -0
  1094. package/node_modules/function-bind/LICENSE +20 -0
  1095. package/node_modules/function-bind/README.md +46 -0
  1096. package/node_modules/function-bind/implementation.js +84 -0
  1097. package/node_modules/function-bind/index.js +5 -0
  1098. package/node_modules/function-bind/package.json +87 -0
  1099. package/node_modules/function-bind/test/.eslintrc +9 -0
  1100. package/node_modules/function-bind/test/index.js +252 -0
  1101. package/node_modules/get-intrinsic/.eslintrc +42 -0
  1102. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  1103. package/node_modules/get-intrinsic/.nycrc +9 -0
  1104. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  1105. package/node_modules/get-intrinsic/LICENSE +21 -0
  1106. package/node_modules/get-intrinsic/README.md +71 -0
  1107. package/node_modules/get-intrinsic/index.js +378 -0
  1108. package/node_modules/get-intrinsic/package.json +97 -0
  1109. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  1110. package/node_modules/get-proto/.eslintrc +10 -0
  1111. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  1112. package/node_modules/get-proto/.nycrc +9 -0
  1113. package/node_modules/get-proto/CHANGELOG.md +21 -0
  1114. package/node_modules/get-proto/LICENSE +21 -0
  1115. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  1116. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  1117. package/node_modules/get-proto/README.md +50 -0
  1118. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  1119. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  1120. package/node_modules/get-proto/index.d.ts +5 -0
  1121. package/node_modules/get-proto/index.js +27 -0
  1122. package/node_modules/get-proto/package.json +81 -0
  1123. package/node_modules/get-proto/test/index.js +68 -0
  1124. package/node_modules/get-proto/tsconfig.json +9 -0
  1125. package/node_modules/gopd/.eslintrc +16 -0
  1126. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  1127. package/node_modules/gopd/CHANGELOG.md +45 -0
  1128. package/node_modules/gopd/LICENSE +21 -0
  1129. package/node_modules/gopd/README.md +40 -0
  1130. package/node_modules/gopd/gOPD.d.ts +1 -0
  1131. package/node_modules/gopd/gOPD.js +4 -0
  1132. package/node_modules/gopd/index.d.ts +5 -0
  1133. package/node_modules/gopd/index.js +15 -0
  1134. package/node_modules/gopd/package.json +77 -0
  1135. package/node_modules/gopd/test/index.js +36 -0
  1136. package/node_modules/gopd/tsconfig.json +9 -0
  1137. package/node_modules/has-symbols/.eslintrc +11 -0
  1138. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  1139. package/node_modules/has-symbols/.nycrc +9 -0
  1140. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  1141. package/node_modules/has-symbols/LICENSE +21 -0
  1142. package/node_modules/has-symbols/README.md +46 -0
  1143. package/node_modules/has-symbols/index.d.ts +3 -0
  1144. package/node_modules/has-symbols/index.js +14 -0
  1145. package/node_modules/has-symbols/package.json +111 -0
  1146. package/node_modules/has-symbols/shams.d.ts +3 -0
  1147. package/node_modules/has-symbols/shams.js +45 -0
  1148. package/node_modules/has-symbols/test/index.js +22 -0
  1149. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  1150. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  1151. package/node_modules/has-symbols/test/tests.js +58 -0
  1152. package/node_modules/has-symbols/tsconfig.json +10 -0
  1153. package/node_modules/has-tostringtag/.eslintrc +5 -0
  1154. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  1155. package/node_modules/has-tostringtag/.nycrc +13 -0
  1156. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  1157. package/node_modules/has-tostringtag/LICENSE +21 -0
  1158. package/node_modules/has-tostringtag/README.md +46 -0
  1159. package/node_modules/has-tostringtag/index.d.ts +3 -0
  1160. package/node_modules/has-tostringtag/index.js +8 -0
  1161. package/node_modules/has-tostringtag/package.json +108 -0
  1162. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  1163. package/node_modules/has-tostringtag/shams.js +8 -0
  1164. package/node_modules/has-tostringtag/test/index.js +21 -0
  1165. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  1166. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  1167. package/node_modules/has-tostringtag/test/tests.js +15 -0
  1168. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  1169. package/node_modules/hasown/.eslintrc +5 -0
  1170. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  1171. package/node_modules/hasown/.nycrc +13 -0
  1172. package/node_modules/hasown/CHANGELOG.md +40 -0
  1173. package/node_modules/hasown/LICENSE +21 -0
  1174. package/node_modules/hasown/README.md +40 -0
  1175. package/node_modules/hasown/index.d.ts +3 -0
  1176. package/node_modules/hasown/index.js +8 -0
  1177. package/node_modules/hasown/package.json +92 -0
  1178. package/node_modules/hasown/tsconfig.json +6 -0
  1179. package/node_modules/ieee754/LICENSE +11 -0
  1180. package/node_modules/ieee754/README.md +53 -0
  1181. package/node_modules/ieee754/index.js +84 -0
  1182. package/node_modules/ieee754/package.json +37 -0
  1183. package/node_modules/isarray/.npmignore +1 -0
  1184. package/node_modules/isarray/.travis.yml +4 -0
  1185. package/node_modules/isarray/Makefile +6 -0
  1186. package/node_modules/isarray/README.md +60 -0
  1187. package/node_modules/isarray/component.json +19 -0
  1188. package/node_modules/isarray/index.js +5 -0
  1189. package/node_modules/isarray/package.json +45 -0
  1190. package/node_modules/isarray/test.js +20 -0
  1191. package/node_modules/isomorphic-unfetch/browser.js +1 -0
  1192. package/node_modules/isomorphic-unfetch/index.d.ts +19 -0
  1193. package/node_modules/isomorphic-unfetch/index.js +6 -0
  1194. package/node_modules/isomorphic-unfetch/package.json +19 -0
  1195. package/node_modules/isomorphic-unfetch/readme.md +53 -0
  1196. package/node_modules/js-cookie/CONTRIBUTING.md +79 -0
  1197. package/node_modules/js-cookie/LICENSE +21 -0
  1198. package/node_modules/js-cookie/README.md +327 -0
  1199. package/node_modules/js-cookie/SERVER_SIDE.md +107 -0
  1200. package/node_modules/js-cookie/package.json +47 -0
  1201. package/node_modules/js-cookie/src/js.cookie.js +163 -0
  1202. package/node_modules/jsurl/.npmignore +2 -0
  1203. package/node_modules/jsurl/.travis.yml +6 -0
  1204. package/node_modules/jsurl/AUTHORS +3 -0
  1205. package/node_modules/jsurl/README.md +76 -0
  1206. package/node_modules/jsurl/bower.json +18 -0
  1207. package/node_modules/jsurl/examples/demo.css +40 -0
  1208. package/node_modules/jsurl/examples/demo.html +52 -0
  1209. package/node_modules/jsurl/examples/simple.js +12 -0
  1210. package/node_modules/jsurl/index.js +1 -0
  1211. package/node_modules/jsurl/lib/jsurl.js +169 -0
  1212. package/node_modules/jsurl/package.json +22 -0
  1213. package/node_modules/jsurl/test/common/jsurlTest.js +83 -0
  1214. package/node_modules/jsurl/test/index.js +25 -0
  1215. package/node_modules/lodash/LICENSE +47 -0
  1216. package/node_modules/lodash/README.md +39 -0
  1217. package/node_modules/lodash/_DataView.js +7 -0
  1218. package/node_modules/lodash/_Hash.js +32 -0
  1219. package/node_modules/lodash/_LazyWrapper.js +28 -0
  1220. package/node_modules/lodash/_ListCache.js +32 -0
  1221. package/node_modules/lodash/_LodashWrapper.js +22 -0
  1222. package/node_modules/lodash/_Map.js +7 -0
  1223. package/node_modules/lodash/_MapCache.js +32 -0
  1224. package/node_modules/lodash/_Promise.js +7 -0
  1225. package/node_modules/lodash/_Set.js +7 -0
  1226. package/node_modules/lodash/_SetCache.js +27 -0
  1227. package/node_modules/lodash/_Stack.js +27 -0
  1228. package/node_modules/lodash/_Symbol.js +6 -0
  1229. package/node_modules/lodash/_Uint8Array.js +6 -0
  1230. package/node_modules/lodash/_WeakMap.js +7 -0
  1231. package/node_modules/lodash/_apply.js +21 -0
  1232. package/node_modules/lodash/_arrayAggregator.js +22 -0
  1233. package/node_modules/lodash/_arrayEach.js +22 -0
  1234. package/node_modules/lodash/_arrayEachRight.js +21 -0
  1235. package/node_modules/lodash/_arrayEvery.js +23 -0
  1236. package/node_modules/lodash/_arrayFilter.js +25 -0
  1237. package/node_modules/lodash/_arrayIncludes.js +17 -0
  1238. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  1239. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  1240. package/node_modules/lodash/_arrayMap.js +21 -0
  1241. package/node_modules/lodash/_arrayPush.js +20 -0
  1242. package/node_modules/lodash/_arrayReduce.js +26 -0
  1243. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  1244. package/node_modules/lodash/_arraySample.js +15 -0
  1245. package/node_modules/lodash/_arraySampleSize.js +17 -0
  1246. package/node_modules/lodash/_arrayShuffle.js +15 -0
  1247. package/node_modules/lodash/_arraySome.js +23 -0
  1248. package/node_modules/lodash/_asciiSize.js +12 -0
  1249. package/node_modules/lodash/_asciiToArray.js +12 -0
  1250. package/node_modules/lodash/_asciiWords.js +15 -0
  1251. package/node_modules/lodash/_assignMergeValue.js +20 -0
  1252. package/node_modules/lodash/_assignValue.js +28 -0
  1253. package/node_modules/lodash/_assocIndexOf.js +21 -0
  1254. package/node_modules/lodash/_baseAggregator.js +21 -0
  1255. package/node_modules/lodash/_baseAssign.js +17 -0
  1256. package/node_modules/lodash/_baseAssignIn.js +17 -0
  1257. package/node_modules/lodash/_baseAssignValue.js +25 -0
  1258. package/node_modules/lodash/_baseAt.js +23 -0
  1259. package/node_modules/lodash/_baseClamp.js +22 -0
  1260. package/node_modules/lodash/_baseClone.js +166 -0
  1261. package/node_modules/lodash/_baseConforms.js +18 -0
  1262. package/node_modules/lodash/_baseConformsTo.js +27 -0
  1263. package/node_modules/lodash/_baseCreate.js +30 -0
  1264. package/node_modules/lodash/_baseDelay.js +21 -0
  1265. package/node_modules/lodash/_baseDifference.js +67 -0
  1266. package/node_modules/lodash/_baseEach.js +14 -0
  1267. package/node_modules/lodash/_baseEachRight.js +14 -0
  1268. package/node_modules/lodash/_baseEvery.js +21 -0
  1269. package/node_modules/lodash/_baseExtremum.js +32 -0
  1270. package/node_modules/lodash/_baseFill.js +32 -0
  1271. package/node_modules/lodash/_baseFilter.js +21 -0
  1272. package/node_modules/lodash/_baseFindIndex.js +24 -0
  1273. package/node_modules/lodash/_baseFindKey.js +23 -0
  1274. package/node_modules/lodash/_baseFlatten.js +38 -0
  1275. package/node_modules/lodash/_baseFor.js +16 -0
  1276. package/node_modules/lodash/_baseForOwn.js +16 -0
  1277. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  1278. package/node_modules/lodash/_baseForRight.js +15 -0
  1279. package/node_modules/lodash/_baseFunctions.js +19 -0
  1280. package/node_modules/lodash/_baseGet.js +24 -0
  1281. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  1282. package/node_modules/lodash/_baseGetTag.js +28 -0
  1283. package/node_modules/lodash/_baseGt.js +14 -0
  1284. package/node_modules/lodash/_baseHas.js +19 -0
  1285. package/node_modules/lodash/_baseHasIn.js +13 -0
  1286. package/node_modules/lodash/_baseInRange.js +18 -0
  1287. package/node_modules/lodash/_baseIndexOf.js +20 -0
  1288. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  1289. package/node_modules/lodash/_baseIntersection.js +74 -0
  1290. package/node_modules/lodash/_baseInverter.js +21 -0
  1291. package/node_modules/lodash/_baseInvoke.js +24 -0
  1292. package/node_modules/lodash/_baseIsArguments.js +18 -0
  1293. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  1294. package/node_modules/lodash/_baseIsDate.js +18 -0
  1295. package/node_modules/lodash/_baseIsEqual.js +28 -0
  1296. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  1297. package/node_modules/lodash/_baseIsMap.js +18 -0
  1298. package/node_modules/lodash/_baseIsMatch.js +62 -0
  1299. package/node_modules/lodash/_baseIsNaN.js +12 -0
  1300. package/node_modules/lodash/_baseIsNative.js +47 -0
  1301. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  1302. package/node_modules/lodash/_baseIsSet.js +18 -0
  1303. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  1304. package/node_modules/lodash/_baseIteratee.js +31 -0
  1305. package/node_modules/lodash/_baseKeys.js +30 -0
  1306. package/node_modules/lodash/_baseKeysIn.js +33 -0
  1307. package/node_modules/lodash/_baseLodash.js +10 -0
  1308. package/node_modules/lodash/_baseLt.js +14 -0
  1309. package/node_modules/lodash/_baseMap.js +22 -0
  1310. package/node_modules/lodash/_baseMatches.js +22 -0
  1311. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  1312. package/node_modules/lodash/_baseMean.js +20 -0
  1313. package/node_modules/lodash/_baseMerge.js +42 -0
  1314. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  1315. package/node_modules/lodash/_baseNth.js +20 -0
  1316. package/node_modules/lodash/_baseOrderBy.js +49 -0
  1317. package/node_modules/lodash/_basePick.js +19 -0
  1318. package/node_modules/lodash/_basePickBy.js +30 -0
  1319. package/node_modules/lodash/_baseProperty.js +14 -0
  1320. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  1321. package/node_modules/lodash/_basePropertyOf.js +14 -0
  1322. package/node_modules/lodash/_basePullAll.js +51 -0
  1323. package/node_modules/lodash/_basePullAt.js +37 -0
  1324. package/node_modules/lodash/_baseRandom.js +18 -0
  1325. package/node_modules/lodash/_baseRange.js +28 -0
  1326. package/node_modules/lodash/_baseReduce.js +23 -0
  1327. package/node_modules/lodash/_baseRepeat.js +35 -0
  1328. package/node_modules/lodash/_baseRest.js +17 -0
  1329. package/node_modules/lodash/_baseSample.js +15 -0
  1330. package/node_modules/lodash/_baseSampleSize.js +18 -0
  1331. package/node_modules/lodash/_baseSet.js +51 -0
  1332. package/node_modules/lodash/_baseSetData.js +17 -0
  1333. package/node_modules/lodash/_baseSetToString.js +22 -0
  1334. package/node_modules/lodash/_baseShuffle.js +15 -0
  1335. package/node_modules/lodash/_baseSlice.js +31 -0
  1336. package/node_modules/lodash/_baseSome.js +22 -0
  1337. package/node_modules/lodash/_baseSortBy.js +21 -0
  1338. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  1339. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  1340. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  1341. package/node_modules/lodash/_baseSum.js +24 -0
  1342. package/node_modules/lodash/_baseTimes.js +20 -0
  1343. package/node_modules/lodash/_baseToNumber.js +24 -0
  1344. package/node_modules/lodash/_baseToPairs.js +18 -0
  1345. package/node_modules/lodash/_baseToString.js +37 -0
  1346. package/node_modules/lodash/_baseTrim.js +19 -0
  1347. package/node_modules/lodash/_baseUnary.js +14 -0
  1348. package/node_modules/lodash/_baseUniq.js +72 -0
  1349. package/node_modules/lodash/_baseUnset.js +20 -0
  1350. package/node_modules/lodash/_baseUpdate.js +18 -0
  1351. package/node_modules/lodash/_baseValues.js +19 -0
  1352. package/node_modules/lodash/_baseWhile.js +26 -0
  1353. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  1354. package/node_modules/lodash/_baseXor.js +36 -0
  1355. package/node_modules/lodash/_baseZipObject.js +23 -0
  1356. package/node_modules/lodash/_cacheHas.js +13 -0
  1357. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  1358. package/node_modules/lodash/_castFunction.js +14 -0
  1359. package/node_modules/lodash/_castPath.js +21 -0
  1360. package/node_modules/lodash/_castRest.js +14 -0
  1361. package/node_modules/lodash/_castSlice.js +18 -0
  1362. package/node_modules/lodash/_charsEndIndex.js +19 -0
  1363. package/node_modules/lodash/_charsStartIndex.js +20 -0
  1364. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  1365. package/node_modules/lodash/_cloneBuffer.js +35 -0
  1366. package/node_modules/lodash/_cloneDataView.js +16 -0
  1367. package/node_modules/lodash/_cloneRegExp.js +17 -0
  1368. package/node_modules/lodash/_cloneSymbol.js +18 -0
  1369. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  1370. package/node_modules/lodash/_compareAscending.js +41 -0
  1371. package/node_modules/lodash/_compareMultiple.js +44 -0
  1372. package/node_modules/lodash/_composeArgs.js +39 -0
  1373. package/node_modules/lodash/_composeArgsRight.js +41 -0
  1374. package/node_modules/lodash/_copyArray.js +20 -0
  1375. package/node_modules/lodash/_copyObject.js +40 -0
  1376. package/node_modules/lodash/_copySymbols.js +16 -0
  1377. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  1378. package/node_modules/lodash/_coreJsData.js +6 -0
  1379. package/node_modules/lodash/_countHolders.js +21 -0
  1380. package/node_modules/lodash/_createAggregator.js +23 -0
  1381. package/node_modules/lodash/_createAssigner.js +37 -0
  1382. package/node_modules/lodash/_createBaseEach.js +32 -0
  1383. package/node_modules/lodash/_createBaseFor.js +25 -0
  1384. package/node_modules/lodash/_createBind.js +28 -0
  1385. package/node_modules/lodash/_createCaseFirst.js +33 -0
  1386. package/node_modules/lodash/_createCompounder.js +24 -0
  1387. package/node_modules/lodash/_createCtor.js +37 -0
  1388. package/node_modules/lodash/_createCurry.js +46 -0
  1389. package/node_modules/lodash/_createFind.js +25 -0
  1390. package/node_modules/lodash/_createFlow.js +78 -0
  1391. package/node_modules/lodash/_createHybrid.js +92 -0
  1392. package/node_modules/lodash/_createInverter.js +17 -0
  1393. package/node_modules/lodash/_createMathOperation.js +38 -0
  1394. package/node_modules/lodash/_createOver.js +27 -0
  1395. package/node_modules/lodash/_createPadding.js +33 -0
  1396. package/node_modules/lodash/_createPartial.js +43 -0
  1397. package/node_modules/lodash/_createRange.js +30 -0
  1398. package/node_modules/lodash/_createRecurry.js +56 -0
  1399. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  1400. package/node_modules/lodash/_createRound.js +35 -0
  1401. package/node_modules/lodash/_createSet.js +19 -0
  1402. package/node_modules/lodash/_createToPairs.js +30 -0
  1403. package/node_modules/lodash/_createWrap.js +106 -0
  1404. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  1405. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  1406. package/node_modules/lodash/_customOmitClone.js +16 -0
  1407. package/node_modules/lodash/_deburrLetter.js +71 -0
  1408. package/node_modules/lodash/_defineProperty.js +11 -0
  1409. package/node_modules/lodash/_equalArrays.js +84 -0
  1410. package/node_modules/lodash/_equalByTag.js +112 -0
  1411. package/node_modules/lodash/_equalObjects.js +90 -0
  1412. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  1413. package/node_modules/lodash/_escapeStringChar.js +22 -0
  1414. package/node_modules/lodash/_flatRest.js +16 -0
  1415. package/node_modules/lodash/_freeGlobal.js +4 -0
  1416. package/node_modules/lodash/_getAllKeys.js +16 -0
  1417. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  1418. package/node_modules/lodash/_getData.js +15 -0
  1419. package/node_modules/lodash/_getFuncName.js +31 -0
  1420. package/node_modules/lodash/_getHolder.js +13 -0
  1421. package/node_modules/lodash/_getMapData.js +18 -0
  1422. package/node_modules/lodash/_getMatchData.js +24 -0
  1423. package/node_modules/lodash/_getNative.js +17 -0
  1424. package/node_modules/lodash/_getPrototype.js +6 -0
  1425. package/node_modules/lodash/_getRawTag.js +46 -0
  1426. package/node_modules/lodash/_getSymbols.js +30 -0
  1427. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  1428. package/node_modules/lodash/_getTag.js +58 -0
  1429. package/node_modules/lodash/_getValue.js +13 -0
  1430. package/node_modules/lodash/_getView.js +33 -0
  1431. package/node_modules/lodash/_getWrapDetails.js +17 -0
  1432. package/node_modules/lodash/_hasPath.js +39 -0
  1433. package/node_modules/lodash/_hasUnicode.js +26 -0
  1434. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  1435. package/node_modules/lodash/_hashClear.js +15 -0
  1436. package/node_modules/lodash/_hashDelete.js +17 -0
  1437. package/node_modules/lodash/_hashGet.js +30 -0
  1438. package/node_modules/lodash/_hashHas.js +23 -0
  1439. package/node_modules/lodash/_hashSet.js +23 -0
  1440. package/node_modules/lodash/_initCloneArray.js +26 -0
  1441. package/node_modules/lodash/_initCloneByTag.js +77 -0
  1442. package/node_modules/lodash/_initCloneObject.js +18 -0
  1443. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  1444. package/node_modules/lodash/_isFlattenable.js +20 -0
  1445. package/node_modules/lodash/_isIndex.js +25 -0
  1446. package/node_modules/lodash/_isIterateeCall.js +30 -0
  1447. package/node_modules/lodash/_isKey.js +29 -0
  1448. package/node_modules/lodash/_isKeyable.js +15 -0
  1449. package/node_modules/lodash/_isLaziable.js +28 -0
  1450. package/node_modules/lodash/_isMaskable.js +14 -0
  1451. package/node_modules/lodash/_isMasked.js +20 -0
  1452. package/node_modules/lodash/_isPrototype.js +18 -0
  1453. package/node_modules/lodash/_isStrictComparable.js +15 -0
  1454. package/node_modules/lodash/_iteratorToArray.js +18 -0
  1455. package/node_modules/lodash/_lazyClone.js +23 -0
  1456. package/node_modules/lodash/_lazyReverse.js +23 -0
  1457. package/node_modules/lodash/_lazyValue.js +69 -0
  1458. package/node_modules/lodash/_listCacheClear.js +13 -0
  1459. package/node_modules/lodash/_listCacheDelete.js +35 -0
  1460. package/node_modules/lodash/_listCacheGet.js +19 -0
  1461. package/node_modules/lodash/_listCacheHas.js +16 -0
  1462. package/node_modules/lodash/_listCacheSet.js +26 -0
  1463. package/node_modules/lodash/_mapCacheClear.js +21 -0
  1464. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  1465. package/node_modules/lodash/_mapCacheGet.js +16 -0
  1466. package/node_modules/lodash/_mapCacheHas.js +16 -0
  1467. package/node_modules/lodash/_mapCacheSet.js +22 -0
  1468. package/node_modules/lodash/_mapToArray.js +18 -0
  1469. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  1470. package/node_modules/lodash/_memoizeCapped.js +26 -0
  1471. package/node_modules/lodash/_mergeData.js +90 -0
  1472. package/node_modules/lodash/_metaMap.js +6 -0
  1473. package/node_modules/lodash/_nativeCreate.js +6 -0
  1474. package/node_modules/lodash/_nativeKeys.js +6 -0
  1475. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  1476. package/node_modules/lodash/_nodeUtil.js +30 -0
  1477. package/node_modules/lodash/_objectToString.js +22 -0
  1478. package/node_modules/lodash/_overArg.js +15 -0
  1479. package/node_modules/lodash/_overRest.js +36 -0
  1480. package/node_modules/lodash/_parent.js +16 -0
  1481. package/node_modules/lodash/_reEscape.js +4 -0
  1482. package/node_modules/lodash/_reEvaluate.js +4 -0
  1483. package/node_modules/lodash/_reInterpolate.js +4 -0
  1484. package/node_modules/lodash/_realNames.js +4 -0
  1485. package/node_modules/lodash/_reorder.js +29 -0
  1486. package/node_modules/lodash/_replaceHolders.js +29 -0
  1487. package/node_modules/lodash/_root.js +9 -0
  1488. package/node_modules/lodash/_safeGet.js +21 -0
  1489. package/node_modules/lodash/_setCacheAdd.js +19 -0
  1490. package/node_modules/lodash/_setCacheHas.js +14 -0
  1491. package/node_modules/lodash/_setData.js +20 -0
  1492. package/node_modules/lodash/_setToArray.js +18 -0
  1493. package/node_modules/lodash/_setToPairs.js +18 -0
  1494. package/node_modules/lodash/_setToString.js +14 -0
  1495. package/node_modules/lodash/_setWrapToString.js +21 -0
  1496. package/node_modules/lodash/_shortOut.js +37 -0
  1497. package/node_modules/lodash/_shuffleSelf.js +28 -0
  1498. package/node_modules/lodash/_stackClear.js +15 -0
  1499. package/node_modules/lodash/_stackDelete.js +18 -0
  1500. package/node_modules/lodash/_stackGet.js +14 -0
  1501. package/node_modules/lodash/_stackHas.js +14 -0
  1502. package/node_modules/lodash/_stackSet.js +34 -0
  1503. package/node_modules/lodash/_strictIndexOf.js +23 -0
  1504. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  1505. package/node_modules/lodash/_stringSize.js +18 -0
  1506. package/node_modules/lodash/_stringToArray.js +18 -0
  1507. package/node_modules/lodash/_stringToPath.js +27 -0
  1508. package/node_modules/lodash/_toKey.js +21 -0
  1509. package/node_modules/lodash/_toSource.js +26 -0
  1510. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  1511. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  1512. package/node_modules/lodash/_unicodeSize.js +44 -0
  1513. package/node_modules/lodash/_unicodeToArray.js +40 -0
  1514. package/node_modules/lodash/_unicodeWords.js +69 -0
  1515. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  1516. package/node_modules/lodash/_wrapperClone.js +23 -0
  1517. package/node_modules/lodash/add.js +22 -0
  1518. package/node_modules/lodash/after.js +42 -0
  1519. package/node_modules/lodash/array.js +67 -0
  1520. package/node_modules/lodash/ary.js +29 -0
  1521. package/node_modules/lodash/assign.js +58 -0
  1522. package/node_modules/lodash/assignIn.js +40 -0
  1523. package/node_modules/lodash/assignInWith.js +38 -0
  1524. package/node_modules/lodash/assignWith.js +37 -0
  1525. package/node_modules/lodash/at.js +23 -0
  1526. package/node_modules/lodash/attempt.js +35 -0
  1527. package/node_modules/lodash/before.js +40 -0
  1528. package/node_modules/lodash/bind.js +57 -0
  1529. package/node_modules/lodash/bindAll.js +41 -0
  1530. package/node_modules/lodash/bindKey.js +68 -0
  1531. package/node_modules/lodash/camelCase.js +29 -0
  1532. package/node_modules/lodash/capitalize.js +23 -0
  1533. package/node_modules/lodash/castArray.js +44 -0
  1534. package/node_modules/lodash/ceil.js +26 -0
  1535. package/node_modules/lodash/chain.js +38 -0
  1536. package/node_modules/lodash/chunk.js +50 -0
  1537. package/node_modules/lodash/clamp.js +39 -0
  1538. package/node_modules/lodash/clone.js +36 -0
  1539. package/node_modules/lodash/cloneDeep.js +29 -0
  1540. package/node_modules/lodash/cloneDeepWith.js +40 -0
  1541. package/node_modules/lodash/cloneWith.js +42 -0
  1542. package/node_modules/lodash/collection.js +30 -0
  1543. package/node_modules/lodash/commit.js +33 -0
  1544. package/node_modules/lodash/compact.js +31 -0
  1545. package/node_modules/lodash/concat.js +43 -0
  1546. package/node_modules/lodash/cond.js +60 -0
  1547. package/node_modules/lodash/conforms.js +35 -0
  1548. package/node_modules/lodash/conformsTo.js +32 -0
  1549. package/node_modules/lodash/constant.js +26 -0
  1550. package/node_modules/lodash/core.js +3877 -0
  1551. package/node_modules/lodash/core.min.js +29 -0
  1552. package/node_modules/lodash/countBy.js +40 -0
  1553. package/node_modules/lodash/create.js +43 -0
  1554. package/node_modules/lodash/curry.js +57 -0
  1555. package/node_modules/lodash/curryRight.js +54 -0
  1556. package/node_modules/lodash/date.js +3 -0
  1557. package/node_modules/lodash/debounce.js +191 -0
  1558. package/node_modules/lodash/deburr.js +45 -0
  1559. package/node_modules/lodash/defaultTo.js +25 -0
  1560. package/node_modules/lodash/defaults.js +64 -0
  1561. package/node_modules/lodash/defaultsDeep.js +30 -0
  1562. package/node_modules/lodash/defer.js +26 -0
  1563. package/node_modules/lodash/delay.js +28 -0
  1564. package/node_modules/lodash/difference.js +33 -0
  1565. package/node_modules/lodash/differenceBy.js +44 -0
  1566. package/node_modules/lodash/differenceWith.js +40 -0
  1567. package/node_modules/lodash/divide.js +22 -0
  1568. package/node_modules/lodash/drop.js +38 -0
  1569. package/node_modules/lodash/dropRight.js +39 -0
  1570. package/node_modules/lodash/dropRightWhile.js +45 -0
  1571. package/node_modules/lodash/dropWhile.js +45 -0
  1572. package/node_modules/lodash/each.js +1 -0
  1573. package/node_modules/lodash/eachRight.js +1 -0
  1574. package/node_modules/lodash/endsWith.js +43 -0
  1575. package/node_modules/lodash/entries.js +1 -0
  1576. package/node_modules/lodash/entriesIn.js +1 -0
  1577. package/node_modules/lodash/eq.js +37 -0
  1578. package/node_modules/lodash/escape.js +43 -0
  1579. package/node_modules/lodash/escapeRegExp.js +32 -0
  1580. package/node_modules/lodash/every.js +56 -0
  1581. package/node_modules/lodash/extend.js +1 -0
  1582. package/node_modules/lodash/extendWith.js +1 -0
  1583. package/node_modules/lodash/fill.js +45 -0
  1584. package/node_modules/lodash/filter.js +52 -0
  1585. package/node_modules/lodash/find.js +42 -0
  1586. package/node_modules/lodash/findIndex.js +55 -0
  1587. package/node_modules/lodash/findKey.js +44 -0
  1588. package/node_modules/lodash/findLast.js +25 -0
  1589. package/node_modules/lodash/findLastIndex.js +59 -0
  1590. package/node_modules/lodash/findLastKey.js +44 -0
  1591. package/node_modules/lodash/first.js +1 -0
  1592. package/node_modules/lodash/flake.lock +40 -0
  1593. package/node_modules/lodash/flake.nix +20 -0
  1594. package/node_modules/lodash/flatMap.js +29 -0
  1595. package/node_modules/lodash/flatMapDeep.js +31 -0
  1596. package/node_modules/lodash/flatMapDepth.js +31 -0
  1597. package/node_modules/lodash/flatten.js +22 -0
  1598. package/node_modules/lodash/flattenDeep.js +25 -0
  1599. package/node_modules/lodash/flattenDepth.js +33 -0
  1600. package/node_modules/lodash/flip.js +28 -0
  1601. package/node_modules/lodash/floor.js +26 -0
  1602. package/node_modules/lodash/flow.js +27 -0
  1603. package/node_modules/lodash/flowRight.js +26 -0
  1604. package/node_modules/lodash/forEach.js +41 -0
  1605. package/node_modules/lodash/forEachRight.js +31 -0
  1606. package/node_modules/lodash/forIn.js +39 -0
  1607. package/node_modules/lodash/forInRight.js +37 -0
  1608. package/node_modules/lodash/forOwn.js +36 -0
  1609. package/node_modules/lodash/forOwnRight.js +34 -0
  1610. package/node_modules/lodash/fp/F.js +1 -0
  1611. package/node_modules/lodash/fp/T.js +1 -0
  1612. package/node_modules/lodash/fp/__.js +1 -0
  1613. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  1614. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  1615. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  1616. package/node_modules/lodash/fp/_mapping.js +358 -0
  1617. package/node_modules/lodash/fp/_util.js +16 -0
  1618. package/node_modules/lodash/fp/add.js +5 -0
  1619. package/node_modules/lodash/fp/after.js +5 -0
  1620. package/node_modules/lodash/fp/all.js +1 -0
  1621. package/node_modules/lodash/fp/allPass.js +1 -0
  1622. package/node_modules/lodash/fp/always.js +1 -0
  1623. package/node_modules/lodash/fp/any.js +1 -0
  1624. package/node_modules/lodash/fp/anyPass.js +1 -0
  1625. package/node_modules/lodash/fp/apply.js +1 -0
  1626. package/node_modules/lodash/fp/array.js +2 -0
  1627. package/node_modules/lodash/fp/ary.js +5 -0
  1628. package/node_modules/lodash/fp/assign.js +5 -0
  1629. package/node_modules/lodash/fp/assignAll.js +5 -0
  1630. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  1631. package/node_modules/lodash/fp/assignIn.js +5 -0
  1632. package/node_modules/lodash/fp/assignInAll.js +5 -0
  1633. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  1634. package/node_modules/lodash/fp/assignInWith.js +5 -0
  1635. package/node_modules/lodash/fp/assignWith.js +5 -0
  1636. package/node_modules/lodash/fp/assoc.js +1 -0
  1637. package/node_modules/lodash/fp/assocPath.js +1 -0
  1638. package/node_modules/lodash/fp/at.js +5 -0
  1639. package/node_modules/lodash/fp/attempt.js +5 -0
  1640. package/node_modules/lodash/fp/before.js +5 -0
  1641. package/node_modules/lodash/fp/bind.js +5 -0
  1642. package/node_modules/lodash/fp/bindAll.js +5 -0
  1643. package/node_modules/lodash/fp/bindKey.js +5 -0
  1644. package/node_modules/lodash/fp/camelCase.js +5 -0
  1645. package/node_modules/lodash/fp/capitalize.js +5 -0
  1646. package/node_modules/lodash/fp/castArray.js +5 -0
  1647. package/node_modules/lodash/fp/ceil.js +5 -0
  1648. package/node_modules/lodash/fp/chain.js +5 -0
  1649. package/node_modules/lodash/fp/chunk.js +5 -0
  1650. package/node_modules/lodash/fp/clamp.js +5 -0
  1651. package/node_modules/lodash/fp/clone.js +5 -0
  1652. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  1653. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  1654. package/node_modules/lodash/fp/cloneWith.js +5 -0
  1655. package/node_modules/lodash/fp/collection.js +2 -0
  1656. package/node_modules/lodash/fp/commit.js +5 -0
  1657. package/node_modules/lodash/fp/compact.js +5 -0
  1658. package/node_modules/lodash/fp/complement.js +1 -0
  1659. package/node_modules/lodash/fp/compose.js +1 -0
  1660. package/node_modules/lodash/fp/concat.js +5 -0
  1661. package/node_modules/lodash/fp/cond.js +5 -0
  1662. package/node_modules/lodash/fp/conforms.js +1 -0
  1663. package/node_modules/lodash/fp/conformsTo.js +5 -0
  1664. package/node_modules/lodash/fp/constant.js +5 -0
  1665. package/node_modules/lodash/fp/contains.js +1 -0
  1666. package/node_modules/lodash/fp/convert.js +18 -0
  1667. package/node_modules/lodash/fp/countBy.js +5 -0
  1668. package/node_modules/lodash/fp/create.js +5 -0
  1669. package/node_modules/lodash/fp/curry.js +5 -0
  1670. package/node_modules/lodash/fp/curryN.js +5 -0
  1671. package/node_modules/lodash/fp/curryRight.js +5 -0
  1672. package/node_modules/lodash/fp/curryRightN.js +5 -0
  1673. package/node_modules/lodash/fp/date.js +2 -0
  1674. package/node_modules/lodash/fp/debounce.js +5 -0
  1675. package/node_modules/lodash/fp/deburr.js +5 -0
  1676. package/node_modules/lodash/fp/defaultTo.js +5 -0
  1677. package/node_modules/lodash/fp/defaults.js +5 -0
  1678. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  1679. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  1680. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  1681. package/node_modules/lodash/fp/defer.js +5 -0
  1682. package/node_modules/lodash/fp/delay.js +5 -0
  1683. package/node_modules/lodash/fp/difference.js +5 -0
  1684. package/node_modules/lodash/fp/differenceBy.js +5 -0
  1685. package/node_modules/lodash/fp/differenceWith.js +5 -0
  1686. package/node_modules/lodash/fp/dissoc.js +1 -0
  1687. package/node_modules/lodash/fp/dissocPath.js +1 -0
  1688. package/node_modules/lodash/fp/divide.js +5 -0
  1689. package/node_modules/lodash/fp/drop.js +5 -0
  1690. package/node_modules/lodash/fp/dropLast.js +1 -0
  1691. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  1692. package/node_modules/lodash/fp/dropRight.js +5 -0
  1693. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  1694. package/node_modules/lodash/fp/dropWhile.js +5 -0
  1695. package/node_modules/lodash/fp/each.js +1 -0
  1696. package/node_modules/lodash/fp/eachRight.js +1 -0
  1697. package/node_modules/lodash/fp/endsWith.js +5 -0
  1698. package/node_modules/lodash/fp/entries.js +1 -0
  1699. package/node_modules/lodash/fp/entriesIn.js +1 -0
  1700. package/node_modules/lodash/fp/eq.js +5 -0
  1701. package/node_modules/lodash/fp/equals.js +1 -0
  1702. package/node_modules/lodash/fp/escape.js +5 -0
  1703. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  1704. package/node_modules/lodash/fp/every.js +5 -0
  1705. package/node_modules/lodash/fp/extend.js +1 -0
  1706. package/node_modules/lodash/fp/extendAll.js +1 -0
  1707. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  1708. package/node_modules/lodash/fp/extendWith.js +1 -0
  1709. package/node_modules/lodash/fp/fill.js +5 -0
  1710. package/node_modules/lodash/fp/filter.js +5 -0
  1711. package/node_modules/lodash/fp/find.js +5 -0
  1712. package/node_modules/lodash/fp/findFrom.js +5 -0
  1713. package/node_modules/lodash/fp/findIndex.js +5 -0
  1714. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  1715. package/node_modules/lodash/fp/findKey.js +5 -0
  1716. package/node_modules/lodash/fp/findLast.js +5 -0
  1717. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  1718. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  1719. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  1720. package/node_modules/lodash/fp/findLastKey.js +5 -0
  1721. package/node_modules/lodash/fp/first.js +1 -0
  1722. package/node_modules/lodash/fp/flatMap.js +5 -0
  1723. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  1724. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  1725. package/node_modules/lodash/fp/flatten.js +5 -0
  1726. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  1727. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  1728. package/node_modules/lodash/fp/flip.js +5 -0
  1729. package/node_modules/lodash/fp/floor.js +5 -0
  1730. package/node_modules/lodash/fp/flow.js +5 -0
  1731. package/node_modules/lodash/fp/flowRight.js +5 -0
  1732. package/node_modules/lodash/fp/forEach.js +5 -0
  1733. package/node_modules/lodash/fp/forEachRight.js +5 -0
  1734. package/node_modules/lodash/fp/forIn.js +5 -0
  1735. package/node_modules/lodash/fp/forInRight.js +5 -0
  1736. package/node_modules/lodash/fp/forOwn.js +5 -0
  1737. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  1738. package/node_modules/lodash/fp/fromPairs.js +5 -0
  1739. package/node_modules/lodash/fp/function.js +2 -0
  1740. package/node_modules/lodash/fp/functions.js +5 -0
  1741. package/node_modules/lodash/fp/functionsIn.js +5 -0
  1742. package/node_modules/lodash/fp/get.js +5 -0
  1743. package/node_modules/lodash/fp/getOr.js +5 -0
  1744. package/node_modules/lodash/fp/groupBy.js +5 -0
  1745. package/node_modules/lodash/fp/gt.js +5 -0
  1746. package/node_modules/lodash/fp/gte.js +5 -0
  1747. package/node_modules/lodash/fp/has.js +5 -0
  1748. package/node_modules/lodash/fp/hasIn.js +5 -0
  1749. package/node_modules/lodash/fp/head.js +5 -0
  1750. package/node_modules/lodash/fp/identical.js +1 -0
  1751. package/node_modules/lodash/fp/identity.js +5 -0
  1752. package/node_modules/lodash/fp/inRange.js +5 -0
  1753. package/node_modules/lodash/fp/includes.js +5 -0
  1754. package/node_modules/lodash/fp/includesFrom.js +5 -0
  1755. package/node_modules/lodash/fp/indexBy.js +1 -0
  1756. package/node_modules/lodash/fp/indexOf.js +5 -0
  1757. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  1758. package/node_modules/lodash/fp/init.js +1 -0
  1759. package/node_modules/lodash/fp/initial.js +5 -0
  1760. package/node_modules/lodash/fp/intersection.js +5 -0
  1761. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  1762. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  1763. package/node_modules/lodash/fp/invert.js +5 -0
  1764. package/node_modules/lodash/fp/invertBy.js +5 -0
  1765. package/node_modules/lodash/fp/invertObj.js +1 -0
  1766. package/node_modules/lodash/fp/invoke.js +5 -0
  1767. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  1768. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1769. package/node_modules/lodash/fp/invokeMap.js +5 -0
  1770. package/node_modules/lodash/fp/isArguments.js +5 -0
  1771. package/node_modules/lodash/fp/isArray.js +5 -0
  1772. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1773. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  1774. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1775. package/node_modules/lodash/fp/isBoolean.js +5 -0
  1776. package/node_modules/lodash/fp/isBuffer.js +5 -0
  1777. package/node_modules/lodash/fp/isDate.js +5 -0
  1778. package/node_modules/lodash/fp/isElement.js +5 -0
  1779. package/node_modules/lodash/fp/isEmpty.js +5 -0
  1780. package/node_modules/lodash/fp/isEqual.js +5 -0
  1781. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  1782. package/node_modules/lodash/fp/isError.js +5 -0
  1783. package/node_modules/lodash/fp/isFinite.js +5 -0
  1784. package/node_modules/lodash/fp/isFunction.js +5 -0
  1785. package/node_modules/lodash/fp/isInteger.js +5 -0
  1786. package/node_modules/lodash/fp/isLength.js +5 -0
  1787. package/node_modules/lodash/fp/isMap.js +5 -0
  1788. package/node_modules/lodash/fp/isMatch.js +5 -0
  1789. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  1790. package/node_modules/lodash/fp/isNaN.js +5 -0
  1791. package/node_modules/lodash/fp/isNative.js +5 -0
  1792. package/node_modules/lodash/fp/isNil.js +5 -0
  1793. package/node_modules/lodash/fp/isNull.js +5 -0
  1794. package/node_modules/lodash/fp/isNumber.js +5 -0
  1795. package/node_modules/lodash/fp/isObject.js +5 -0
  1796. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  1797. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  1798. package/node_modules/lodash/fp/isRegExp.js +5 -0
  1799. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1800. package/node_modules/lodash/fp/isSet.js +5 -0
  1801. package/node_modules/lodash/fp/isString.js +5 -0
  1802. package/node_modules/lodash/fp/isSymbol.js +5 -0
  1803. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  1804. package/node_modules/lodash/fp/isUndefined.js +5 -0
  1805. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  1806. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  1807. package/node_modules/lodash/fp/iteratee.js +5 -0
  1808. package/node_modules/lodash/fp/join.js +5 -0
  1809. package/node_modules/lodash/fp/juxt.js +1 -0
  1810. package/node_modules/lodash/fp/kebabCase.js +5 -0
  1811. package/node_modules/lodash/fp/keyBy.js +5 -0
  1812. package/node_modules/lodash/fp/keys.js +5 -0
  1813. package/node_modules/lodash/fp/keysIn.js +5 -0
  1814. package/node_modules/lodash/fp/lang.js +2 -0
  1815. package/node_modules/lodash/fp/last.js +5 -0
  1816. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1817. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1818. package/node_modules/lodash/fp/lowerCase.js +5 -0
  1819. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  1820. package/node_modules/lodash/fp/lt.js +5 -0
  1821. package/node_modules/lodash/fp/lte.js +5 -0
  1822. package/node_modules/lodash/fp/map.js +5 -0
  1823. package/node_modules/lodash/fp/mapKeys.js +5 -0
  1824. package/node_modules/lodash/fp/mapValues.js +5 -0
  1825. package/node_modules/lodash/fp/matches.js +1 -0
  1826. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  1827. package/node_modules/lodash/fp/math.js +2 -0
  1828. package/node_modules/lodash/fp/max.js +5 -0
  1829. package/node_modules/lodash/fp/maxBy.js +5 -0
  1830. package/node_modules/lodash/fp/mean.js +5 -0
  1831. package/node_modules/lodash/fp/meanBy.js +5 -0
  1832. package/node_modules/lodash/fp/memoize.js +5 -0
  1833. package/node_modules/lodash/fp/merge.js +5 -0
  1834. package/node_modules/lodash/fp/mergeAll.js +5 -0
  1835. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1836. package/node_modules/lodash/fp/mergeWith.js +5 -0
  1837. package/node_modules/lodash/fp/method.js +5 -0
  1838. package/node_modules/lodash/fp/methodOf.js +5 -0
  1839. package/node_modules/lodash/fp/min.js +5 -0
  1840. package/node_modules/lodash/fp/minBy.js +5 -0
  1841. package/node_modules/lodash/fp/mixin.js +5 -0
  1842. package/node_modules/lodash/fp/multiply.js +5 -0
  1843. package/node_modules/lodash/fp/nAry.js +1 -0
  1844. package/node_modules/lodash/fp/negate.js +5 -0
  1845. package/node_modules/lodash/fp/next.js +5 -0
  1846. package/node_modules/lodash/fp/noop.js +5 -0
  1847. package/node_modules/lodash/fp/now.js +5 -0
  1848. package/node_modules/lodash/fp/nth.js +5 -0
  1849. package/node_modules/lodash/fp/nthArg.js +5 -0
  1850. package/node_modules/lodash/fp/number.js +2 -0
  1851. package/node_modules/lodash/fp/object.js +2 -0
  1852. package/node_modules/lodash/fp/omit.js +5 -0
  1853. package/node_modules/lodash/fp/omitAll.js +1 -0
  1854. package/node_modules/lodash/fp/omitBy.js +5 -0
  1855. package/node_modules/lodash/fp/once.js +5 -0
  1856. package/node_modules/lodash/fp/orderBy.js +5 -0
  1857. package/node_modules/lodash/fp/over.js +5 -0
  1858. package/node_modules/lodash/fp/overArgs.js +5 -0
  1859. package/node_modules/lodash/fp/overEvery.js +5 -0
  1860. package/node_modules/lodash/fp/overSome.js +5 -0
  1861. package/node_modules/lodash/fp/pad.js +5 -0
  1862. package/node_modules/lodash/fp/padChars.js +5 -0
  1863. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1864. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  1865. package/node_modules/lodash/fp/padEnd.js +5 -0
  1866. package/node_modules/lodash/fp/padStart.js +5 -0
  1867. package/node_modules/lodash/fp/parseInt.js +5 -0
  1868. package/node_modules/lodash/fp/partial.js +5 -0
  1869. package/node_modules/lodash/fp/partialRight.js +5 -0
  1870. package/node_modules/lodash/fp/partition.js +5 -0
  1871. package/node_modules/lodash/fp/path.js +1 -0
  1872. package/node_modules/lodash/fp/pathEq.js +1 -0
  1873. package/node_modules/lodash/fp/pathOr.js +1 -0
  1874. package/node_modules/lodash/fp/paths.js +1 -0
  1875. package/node_modules/lodash/fp/pick.js +5 -0
  1876. package/node_modules/lodash/fp/pickAll.js +1 -0
  1877. package/node_modules/lodash/fp/pickBy.js +5 -0
  1878. package/node_modules/lodash/fp/pipe.js +1 -0
  1879. package/node_modules/lodash/fp/placeholder.js +6 -0
  1880. package/node_modules/lodash/fp/plant.js +5 -0
  1881. package/node_modules/lodash/fp/pluck.js +1 -0
  1882. package/node_modules/lodash/fp/prop.js +1 -0
  1883. package/node_modules/lodash/fp/propEq.js +1 -0
  1884. package/node_modules/lodash/fp/propOr.js +1 -0
  1885. package/node_modules/lodash/fp/property.js +1 -0
  1886. package/node_modules/lodash/fp/propertyOf.js +5 -0
  1887. package/node_modules/lodash/fp/props.js +1 -0
  1888. package/node_modules/lodash/fp/pull.js +5 -0
  1889. package/node_modules/lodash/fp/pullAll.js +5 -0
  1890. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  1891. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  1892. package/node_modules/lodash/fp/pullAt.js +5 -0
  1893. package/node_modules/lodash/fp/random.js +5 -0
  1894. package/node_modules/lodash/fp/range.js +5 -0
  1895. package/node_modules/lodash/fp/rangeRight.js +5 -0
  1896. package/node_modules/lodash/fp/rangeStep.js +5 -0
  1897. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1898. package/node_modules/lodash/fp/rearg.js +5 -0
  1899. package/node_modules/lodash/fp/reduce.js +5 -0
  1900. package/node_modules/lodash/fp/reduceRight.js +5 -0
  1901. package/node_modules/lodash/fp/reject.js +5 -0
  1902. package/node_modules/lodash/fp/remove.js +5 -0
  1903. package/node_modules/lodash/fp/repeat.js +5 -0
  1904. package/node_modules/lodash/fp/replace.js +5 -0
  1905. package/node_modules/lodash/fp/rest.js +5 -0
  1906. package/node_modules/lodash/fp/restFrom.js +5 -0
  1907. package/node_modules/lodash/fp/result.js +5 -0
  1908. package/node_modules/lodash/fp/reverse.js +5 -0
  1909. package/node_modules/lodash/fp/round.js +5 -0
  1910. package/node_modules/lodash/fp/sample.js +5 -0
  1911. package/node_modules/lodash/fp/sampleSize.js +5 -0
  1912. package/node_modules/lodash/fp/seq.js +2 -0
  1913. package/node_modules/lodash/fp/set.js +5 -0
  1914. package/node_modules/lodash/fp/setWith.js +5 -0
  1915. package/node_modules/lodash/fp/shuffle.js +5 -0
  1916. package/node_modules/lodash/fp/size.js +5 -0
  1917. package/node_modules/lodash/fp/slice.js +5 -0
  1918. package/node_modules/lodash/fp/snakeCase.js +5 -0
  1919. package/node_modules/lodash/fp/some.js +5 -0
  1920. package/node_modules/lodash/fp/sortBy.js +5 -0
  1921. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  1922. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1923. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1924. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1925. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1926. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1927. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  1928. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1929. package/node_modules/lodash/fp/split.js +5 -0
  1930. package/node_modules/lodash/fp/spread.js +5 -0
  1931. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  1932. package/node_modules/lodash/fp/startCase.js +5 -0
  1933. package/node_modules/lodash/fp/startsWith.js +5 -0
  1934. package/node_modules/lodash/fp/string.js +2 -0
  1935. package/node_modules/lodash/fp/stubArray.js +5 -0
  1936. package/node_modules/lodash/fp/stubFalse.js +5 -0
  1937. package/node_modules/lodash/fp/stubObject.js +5 -0
  1938. package/node_modules/lodash/fp/stubString.js +5 -0
  1939. package/node_modules/lodash/fp/stubTrue.js +5 -0
  1940. package/node_modules/lodash/fp/subtract.js +5 -0
  1941. package/node_modules/lodash/fp/sum.js +5 -0
  1942. package/node_modules/lodash/fp/sumBy.js +5 -0
  1943. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1944. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1945. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1946. package/node_modules/lodash/fp/tail.js +5 -0
  1947. package/node_modules/lodash/fp/take.js +5 -0
  1948. package/node_modules/lodash/fp/takeLast.js +1 -0
  1949. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1950. package/node_modules/lodash/fp/takeRight.js +5 -0
  1951. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1952. package/node_modules/lodash/fp/takeWhile.js +5 -0
  1953. package/node_modules/lodash/fp/tap.js +5 -0
  1954. package/node_modules/lodash/fp/template.js +5 -0
  1955. package/node_modules/lodash/fp/templateSettings.js +5 -0
  1956. package/node_modules/lodash/fp/throttle.js +5 -0
  1957. package/node_modules/lodash/fp/thru.js +5 -0
  1958. package/node_modules/lodash/fp/times.js +5 -0
  1959. package/node_modules/lodash/fp/toArray.js +5 -0
  1960. package/node_modules/lodash/fp/toFinite.js +5 -0
  1961. package/node_modules/lodash/fp/toInteger.js +5 -0
  1962. package/node_modules/lodash/fp/toIterator.js +5 -0
  1963. package/node_modules/lodash/fp/toJSON.js +5 -0
  1964. package/node_modules/lodash/fp/toLength.js +5 -0
  1965. package/node_modules/lodash/fp/toLower.js +5 -0
  1966. package/node_modules/lodash/fp/toNumber.js +5 -0
  1967. package/node_modules/lodash/fp/toPairs.js +5 -0
  1968. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  1969. package/node_modules/lodash/fp/toPath.js +5 -0
  1970. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  1971. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1972. package/node_modules/lodash/fp/toString.js +5 -0
  1973. package/node_modules/lodash/fp/toUpper.js +5 -0
  1974. package/node_modules/lodash/fp/transform.js +5 -0
  1975. package/node_modules/lodash/fp/trim.js +5 -0
  1976. package/node_modules/lodash/fp/trimChars.js +5 -0
  1977. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1978. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1979. package/node_modules/lodash/fp/trimEnd.js +5 -0
  1980. package/node_modules/lodash/fp/trimStart.js +5 -0
  1981. package/node_modules/lodash/fp/truncate.js +5 -0
  1982. package/node_modules/lodash/fp/unapply.js +1 -0
  1983. package/node_modules/lodash/fp/unary.js +5 -0
  1984. package/node_modules/lodash/fp/unescape.js +5 -0
  1985. package/node_modules/lodash/fp/union.js +5 -0
  1986. package/node_modules/lodash/fp/unionBy.js +5 -0
  1987. package/node_modules/lodash/fp/unionWith.js +5 -0
  1988. package/node_modules/lodash/fp/uniq.js +5 -0
  1989. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1990. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1991. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1992. package/node_modules/lodash/fp/unnest.js +1 -0
  1993. package/node_modules/lodash/fp/unset.js +5 -0
  1994. package/node_modules/lodash/fp/unzip.js +5 -0
  1995. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1996. package/node_modules/lodash/fp/update.js +5 -0
  1997. package/node_modules/lodash/fp/updateWith.js +5 -0
  1998. package/node_modules/lodash/fp/upperCase.js +5 -0
  1999. package/node_modules/lodash/fp/upperFirst.js +5 -0
  2000. package/node_modules/lodash/fp/useWith.js +1 -0
  2001. package/node_modules/lodash/fp/util.js +2 -0
  2002. package/node_modules/lodash/fp/value.js +5 -0
  2003. package/node_modules/lodash/fp/valueOf.js +5 -0
  2004. package/node_modules/lodash/fp/values.js +5 -0
  2005. package/node_modules/lodash/fp/valuesIn.js +5 -0
  2006. package/node_modules/lodash/fp/where.js +1 -0
  2007. package/node_modules/lodash/fp/whereEq.js +1 -0
  2008. package/node_modules/lodash/fp/without.js +5 -0
  2009. package/node_modules/lodash/fp/words.js +5 -0
  2010. package/node_modules/lodash/fp/wrap.js +5 -0
  2011. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  2012. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  2013. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  2014. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  2015. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  2016. package/node_modules/lodash/fp/xor.js +5 -0
  2017. package/node_modules/lodash/fp/xorBy.js +5 -0
  2018. package/node_modules/lodash/fp/xorWith.js +5 -0
  2019. package/node_modules/lodash/fp/zip.js +5 -0
  2020. package/node_modules/lodash/fp/zipAll.js +5 -0
  2021. package/node_modules/lodash/fp/zipObj.js +1 -0
  2022. package/node_modules/lodash/fp/zipObject.js +5 -0
  2023. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  2024. package/node_modules/lodash/fp/zipWith.js +5 -0
  2025. package/node_modules/lodash/fp.js +2 -0
  2026. package/node_modules/lodash/fromPairs.js +28 -0
  2027. package/node_modules/lodash/function.js +25 -0
  2028. package/node_modules/lodash/functions.js +31 -0
  2029. package/node_modules/lodash/functionsIn.js +31 -0
  2030. package/node_modules/lodash/get.js +33 -0
  2031. package/node_modules/lodash/groupBy.js +41 -0
  2032. package/node_modules/lodash/gt.js +29 -0
  2033. package/node_modules/lodash/gte.js +30 -0
  2034. package/node_modules/lodash/has.js +35 -0
  2035. package/node_modules/lodash/hasIn.js +34 -0
  2036. package/node_modules/lodash/head.js +23 -0
  2037. package/node_modules/lodash/identity.js +21 -0
  2038. package/node_modules/lodash/inRange.js +55 -0
  2039. package/node_modules/lodash/includes.js +53 -0
  2040. package/node_modules/lodash/index.js +1 -0
  2041. package/node_modules/lodash/indexOf.js +42 -0
  2042. package/node_modules/lodash/initial.js +22 -0
  2043. package/node_modules/lodash/intersection.js +30 -0
  2044. package/node_modules/lodash/intersectionBy.js +45 -0
  2045. package/node_modules/lodash/intersectionWith.js +41 -0
  2046. package/node_modules/lodash/invert.js +42 -0
  2047. package/node_modules/lodash/invertBy.js +56 -0
  2048. package/node_modules/lodash/invoke.js +24 -0
  2049. package/node_modules/lodash/invokeMap.js +41 -0
  2050. package/node_modules/lodash/isArguments.js +36 -0
  2051. package/node_modules/lodash/isArray.js +26 -0
  2052. package/node_modules/lodash/isArrayBuffer.js +27 -0
  2053. package/node_modules/lodash/isArrayLike.js +33 -0
  2054. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  2055. package/node_modules/lodash/isBoolean.js +29 -0
  2056. package/node_modules/lodash/isBuffer.js +38 -0
  2057. package/node_modules/lodash/isDate.js +27 -0
  2058. package/node_modules/lodash/isElement.js +25 -0
  2059. package/node_modules/lodash/isEmpty.js +77 -0
  2060. package/node_modules/lodash/isEqual.js +35 -0
  2061. package/node_modules/lodash/isEqualWith.js +41 -0
  2062. package/node_modules/lodash/isError.js +36 -0
  2063. package/node_modules/lodash/isFinite.js +36 -0
  2064. package/node_modules/lodash/isFunction.js +37 -0
  2065. package/node_modules/lodash/isInteger.js +33 -0
  2066. package/node_modules/lodash/isLength.js +35 -0
  2067. package/node_modules/lodash/isMap.js +27 -0
  2068. package/node_modules/lodash/isMatch.js +36 -0
  2069. package/node_modules/lodash/isMatchWith.js +41 -0
  2070. package/node_modules/lodash/isNaN.js +38 -0
  2071. package/node_modules/lodash/isNative.js +40 -0
  2072. package/node_modules/lodash/isNil.js +25 -0
  2073. package/node_modules/lodash/isNull.js +22 -0
  2074. package/node_modules/lodash/isNumber.js +38 -0
  2075. package/node_modules/lodash/isObject.js +31 -0
  2076. package/node_modules/lodash/isObjectLike.js +29 -0
  2077. package/node_modules/lodash/isPlainObject.js +62 -0
  2078. package/node_modules/lodash/isRegExp.js +27 -0
  2079. package/node_modules/lodash/isSafeInteger.js +37 -0
  2080. package/node_modules/lodash/isSet.js +27 -0
  2081. package/node_modules/lodash/isString.js +30 -0
  2082. package/node_modules/lodash/isSymbol.js +29 -0
  2083. package/node_modules/lodash/isTypedArray.js +27 -0
  2084. package/node_modules/lodash/isUndefined.js +22 -0
  2085. package/node_modules/lodash/isWeakMap.js +28 -0
  2086. package/node_modules/lodash/isWeakSet.js +28 -0
  2087. package/node_modules/lodash/iteratee.js +53 -0
  2088. package/node_modules/lodash/join.js +26 -0
  2089. package/node_modules/lodash/kebabCase.js +28 -0
  2090. package/node_modules/lodash/keyBy.js +36 -0
  2091. package/node_modules/lodash/keys.js +37 -0
  2092. package/node_modules/lodash/keysIn.js +32 -0
  2093. package/node_modules/lodash/lang.js +58 -0
  2094. package/node_modules/lodash/last.js +20 -0
  2095. package/node_modules/lodash/lastIndexOf.js +46 -0
  2096. package/node_modules/lodash/lodash.js +17209 -0
  2097. package/node_modules/lodash/lodash.min.js +140 -0
  2098. package/node_modules/lodash/lowerCase.js +27 -0
  2099. package/node_modules/lodash/lowerFirst.js +22 -0
  2100. package/node_modules/lodash/lt.js +29 -0
  2101. package/node_modules/lodash/lte.js +30 -0
  2102. package/node_modules/lodash/map.js +53 -0
  2103. package/node_modules/lodash/mapKeys.js +36 -0
  2104. package/node_modules/lodash/mapValues.js +43 -0
  2105. package/node_modules/lodash/matches.js +46 -0
  2106. package/node_modules/lodash/matchesProperty.js +44 -0
  2107. package/node_modules/lodash/math.js +17 -0
  2108. package/node_modules/lodash/max.js +29 -0
  2109. package/node_modules/lodash/maxBy.js +34 -0
  2110. package/node_modules/lodash/mean.js +22 -0
  2111. package/node_modules/lodash/meanBy.js +31 -0
  2112. package/node_modules/lodash/memoize.js +73 -0
  2113. package/node_modules/lodash/merge.js +39 -0
  2114. package/node_modules/lodash/mergeWith.js +39 -0
  2115. package/node_modules/lodash/method.js +34 -0
  2116. package/node_modules/lodash/methodOf.js +33 -0
  2117. package/node_modules/lodash/min.js +29 -0
  2118. package/node_modules/lodash/minBy.js +34 -0
  2119. package/node_modules/lodash/mixin.js +74 -0
  2120. package/node_modules/lodash/multiply.js +22 -0
  2121. package/node_modules/lodash/negate.js +40 -0
  2122. package/node_modules/lodash/next.js +35 -0
  2123. package/node_modules/lodash/noop.js +17 -0
  2124. package/node_modules/lodash/now.js +23 -0
  2125. package/node_modules/lodash/nth.js +29 -0
  2126. package/node_modules/lodash/nthArg.js +32 -0
  2127. package/node_modules/lodash/number.js +5 -0
  2128. package/node_modules/lodash/object.js +49 -0
  2129. package/node_modules/lodash/omit.js +57 -0
  2130. package/node_modules/lodash/omitBy.js +29 -0
  2131. package/node_modules/lodash/once.js +25 -0
  2132. package/node_modules/lodash/orderBy.js +47 -0
  2133. package/node_modules/lodash/over.js +24 -0
  2134. package/node_modules/lodash/overArgs.js +61 -0
  2135. package/node_modules/lodash/overEvery.js +34 -0
  2136. package/node_modules/lodash/overSome.js +37 -0
  2137. package/node_modules/lodash/package.json +17 -0
  2138. package/node_modules/lodash/pad.js +49 -0
  2139. package/node_modules/lodash/padEnd.js +39 -0
  2140. package/node_modules/lodash/padStart.js +39 -0
  2141. package/node_modules/lodash/parseInt.js +43 -0
  2142. package/node_modules/lodash/partial.js +50 -0
  2143. package/node_modules/lodash/partialRight.js +49 -0
  2144. package/node_modules/lodash/partition.js +43 -0
  2145. package/node_modules/lodash/pick.js +25 -0
  2146. package/node_modules/lodash/pickBy.js +37 -0
  2147. package/node_modules/lodash/plant.js +48 -0
  2148. package/node_modules/lodash/property.js +32 -0
  2149. package/node_modules/lodash/propertyOf.js +30 -0
  2150. package/node_modules/lodash/pull.js +29 -0
  2151. package/node_modules/lodash/pullAll.js +29 -0
  2152. package/node_modules/lodash/pullAllBy.js +33 -0
  2153. package/node_modules/lodash/pullAllWith.js +32 -0
  2154. package/node_modules/lodash/pullAt.js +43 -0
  2155. package/node_modules/lodash/random.js +82 -0
  2156. package/node_modules/lodash/range.js +46 -0
  2157. package/node_modules/lodash/rangeRight.js +41 -0
  2158. package/node_modules/lodash/rearg.js +33 -0
  2159. package/node_modules/lodash/reduce.js +51 -0
  2160. package/node_modules/lodash/reduceRight.js +36 -0
  2161. package/node_modules/lodash/reject.js +46 -0
  2162. package/node_modules/lodash/release.md +48 -0
  2163. package/node_modules/lodash/remove.js +53 -0
  2164. package/node_modules/lodash/repeat.js +37 -0
  2165. package/node_modules/lodash/replace.js +29 -0
  2166. package/node_modules/lodash/rest.js +40 -0
  2167. package/node_modules/lodash/result.js +56 -0
  2168. package/node_modules/lodash/reverse.js +34 -0
  2169. package/node_modules/lodash/round.js +26 -0
  2170. package/node_modules/lodash/sample.js +24 -0
  2171. package/node_modules/lodash/sampleSize.js +37 -0
  2172. package/node_modules/lodash/seq.js +16 -0
  2173. package/node_modules/lodash/set.js +35 -0
  2174. package/node_modules/lodash/setWith.js +32 -0
  2175. package/node_modules/lodash/shuffle.js +25 -0
  2176. package/node_modules/lodash/size.js +46 -0
  2177. package/node_modules/lodash/slice.js +37 -0
  2178. package/node_modules/lodash/snakeCase.js +28 -0
  2179. package/node_modules/lodash/some.js +51 -0
  2180. package/node_modules/lodash/sortBy.js +48 -0
  2181. package/node_modules/lodash/sortedIndex.js +24 -0
  2182. package/node_modules/lodash/sortedIndexBy.js +33 -0
  2183. package/node_modules/lodash/sortedIndexOf.js +31 -0
  2184. package/node_modules/lodash/sortedLastIndex.js +25 -0
  2185. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  2186. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  2187. package/node_modules/lodash/sortedUniq.js +24 -0
  2188. package/node_modules/lodash/sortedUniqBy.js +26 -0
  2189. package/node_modules/lodash/split.js +52 -0
  2190. package/node_modules/lodash/spread.js +63 -0
  2191. package/node_modules/lodash/startCase.js +29 -0
  2192. package/node_modules/lodash/startsWith.js +39 -0
  2193. package/node_modules/lodash/string.js +33 -0
  2194. package/node_modules/lodash/stubArray.js +23 -0
  2195. package/node_modules/lodash/stubFalse.js +18 -0
  2196. package/node_modules/lodash/stubObject.js +23 -0
  2197. package/node_modules/lodash/stubString.js +18 -0
  2198. package/node_modules/lodash/stubTrue.js +18 -0
  2199. package/node_modules/lodash/subtract.js +22 -0
  2200. package/node_modules/lodash/sum.js +24 -0
  2201. package/node_modules/lodash/sumBy.js +33 -0
  2202. package/node_modules/lodash/tail.js +22 -0
  2203. package/node_modules/lodash/take.js +37 -0
  2204. package/node_modules/lodash/takeRight.js +39 -0
  2205. package/node_modules/lodash/takeRightWhile.js +45 -0
  2206. package/node_modules/lodash/takeWhile.js +45 -0
  2207. package/node_modules/lodash/tap.js +29 -0
  2208. package/node_modules/lodash/template.js +272 -0
  2209. package/node_modules/lodash/templateSettings.js +67 -0
  2210. package/node_modules/lodash/throttle.js +69 -0
  2211. package/node_modules/lodash/thru.js +28 -0
  2212. package/node_modules/lodash/times.js +51 -0
  2213. package/node_modules/lodash/toArray.js +58 -0
  2214. package/node_modules/lodash/toFinite.js +42 -0
  2215. package/node_modules/lodash/toInteger.js +36 -0
  2216. package/node_modules/lodash/toIterator.js +23 -0
  2217. package/node_modules/lodash/toJSON.js +1 -0
  2218. package/node_modules/lodash/toLength.js +38 -0
  2219. package/node_modules/lodash/toLower.js +28 -0
  2220. package/node_modules/lodash/toNumber.js +64 -0
  2221. package/node_modules/lodash/toPairs.js +30 -0
  2222. package/node_modules/lodash/toPairsIn.js +30 -0
  2223. package/node_modules/lodash/toPath.js +33 -0
  2224. package/node_modules/lodash/toPlainObject.js +32 -0
  2225. package/node_modules/lodash/toSafeInteger.js +37 -0
  2226. package/node_modules/lodash/toString.js +28 -0
  2227. package/node_modules/lodash/toUpper.js +28 -0
  2228. package/node_modules/lodash/transform.js +65 -0
  2229. package/node_modules/lodash/trim.js +47 -0
  2230. package/node_modules/lodash/trimEnd.js +41 -0
  2231. package/node_modules/lodash/trimStart.js +43 -0
  2232. package/node_modules/lodash/truncate.js +111 -0
  2233. package/node_modules/lodash/unary.js +22 -0
  2234. package/node_modules/lodash/unescape.js +34 -0
  2235. package/node_modules/lodash/union.js +26 -0
  2236. package/node_modules/lodash/unionBy.js +39 -0
  2237. package/node_modules/lodash/unionWith.js +34 -0
  2238. package/node_modules/lodash/uniq.js +25 -0
  2239. package/node_modules/lodash/uniqBy.js +31 -0
  2240. package/node_modules/lodash/uniqWith.js +28 -0
  2241. package/node_modules/lodash/uniqueId.js +28 -0
  2242. package/node_modules/lodash/unset.js +34 -0
  2243. package/node_modules/lodash/unzip.js +45 -0
  2244. package/node_modules/lodash/unzipWith.js +39 -0
  2245. package/node_modules/lodash/update.js +35 -0
  2246. package/node_modules/lodash/updateWith.js +33 -0
  2247. package/node_modules/lodash/upperCase.js +27 -0
  2248. package/node_modules/lodash/upperFirst.js +22 -0
  2249. package/node_modules/lodash/util.js +34 -0
  2250. package/node_modules/lodash/value.js +1 -0
  2251. package/node_modules/lodash/valueOf.js +1 -0
  2252. package/node_modules/lodash/values.js +34 -0
  2253. package/node_modules/lodash/valuesIn.js +32 -0
  2254. package/node_modules/lodash/without.js +31 -0
  2255. package/node_modules/lodash/words.js +35 -0
  2256. package/node_modules/lodash/wrap.js +30 -0
  2257. package/node_modules/lodash/wrapperAt.js +48 -0
  2258. package/node_modules/lodash/wrapperChain.js +34 -0
  2259. package/node_modules/lodash/wrapperLodash.js +147 -0
  2260. package/node_modules/lodash/wrapperReverse.js +44 -0
  2261. package/node_modules/lodash/wrapperValue.js +21 -0
  2262. package/node_modules/lodash/xor.js +28 -0
  2263. package/node_modules/lodash/xorBy.js +39 -0
  2264. package/node_modules/lodash/xorWith.js +34 -0
  2265. package/node_modules/lodash/zip.js +22 -0
  2266. package/node_modules/lodash/zipObject.js +24 -0
  2267. package/node_modules/lodash/zipObjectDeep.js +23 -0
  2268. package/node_modules/lodash/zipWith.js +32 -0
  2269. package/node_modules/lodash.get/LICENSE +47 -0
  2270. package/node_modules/lodash.get/README.md +18 -0
  2271. package/node_modules/lodash.get/index.js +931 -0
  2272. package/node_modules/lodash.get/package.json +17 -0
  2273. package/node_modules/math-intrinsics/.eslintrc +16 -0
  2274. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  2275. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  2276. package/node_modules/math-intrinsics/LICENSE +21 -0
  2277. package/node_modules/math-intrinsics/README.md +50 -0
  2278. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  2279. package/node_modules/math-intrinsics/abs.js +4 -0
  2280. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  2281. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  2282. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  2283. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  2284. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  2285. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  2286. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  2287. package/node_modules/math-intrinsics/floor.js +4 -0
  2288. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  2289. package/node_modules/math-intrinsics/isFinite.js +12 -0
  2290. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  2291. package/node_modules/math-intrinsics/isInteger.js +16 -0
  2292. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  2293. package/node_modules/math-intrinsics/isNaN.js +6 -0
  2294. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  2295. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  2296. package/node_modules/math-intrinsics/max.d.ts +1 -0
  2297. package/node_modules/math-intrinsics/max.js +4 -0
  2298. package/node_modules/math-intrinsics/min.d.ts +1 -0
  2299. package/node_modules/math-intrinsics/min.js +4 -0
  2300. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  2301. package/node_modules/math-intrinsics/mod.js +9 -0
  2302. package/node_modules/math-intrinsics/package.json +86 -0
  2303. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  2304. package/node_modules/math-intrinsics/pow.js +4 -0
  2305. package/node_modules/math-intrinsics/round.d.ts +1 -0
  2306. package/node_modules/math-intrinsics/round.js +4 -0
  2307. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  2308. package/node_modules/math-intrinsics/sign.js +11 -0
  2309. package/node_modules/math-intrinsics/test/index.js +192 -0
  2310. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  2311. package/node_modules/mime-db/HISTORY.md +507 -0
  2312. package/node_modules/mime-db/LICENSE +23 -0
  2313. package/node_modules/mime-db/README.md +100 -0
  2314. package/node_modules/mime-db/db.json +8519 -0
  2315. package/node_modules/mime-db/index.js +12 -0
  2316. package/node_modules/mime-db/package.json +60 -0
  2317. package/node_modules/mime-types/HISTORY.md +397 -0
  2318. package/node_modules/mime-types/LICENSE +23 -0
  2319. package/node_modules/mime-types/README.md +113 -0
  2320. package/node_modules/mime-types/index.js +188 -0
  2321. package/node_modules/mime-types/package.json +44 -0
  2322. package/node_modules/node-fetch/LICENSE.md +22 -0
  2323. package/node_modules/node-fetch/README.md +590 -0
  2324. package/node_modules/node-fetch/browser.js +25 -0
  2325. package/node_modules/node-fetch/lib/index.es.js +1688 -0
  2326. package/node_modules/node-fetch/lib/index.js +1697 -0
  2327. package/node_modules/node-fetch/lib/index.mjs +1686 -0
  2328. package/node_modules/node-fetch/package.json +76 -0
  2329. package/node_modules/p-limit/index.d.ts +42 -0
  2330. package/node_modules/p-limit/index.js +71 -0
  2331. package/node_modules/p-limit/license +9 -0
  2332. package/node_modules/p-limit/package.json +52 -0
  2333. package/node_modules/p-limit/readme.md +101 -0
  2334. package/node_modules/tr46/.npmignore +4 -0
  2335. package/node_modules/tr46/index.js +193 -0
  2336. package/node_modules/tr46/lib/.gitkeep +0 -0
  2337. package/node_modules/tr46/lib/mappingTable.json +1 -0
  2338. package/node_modules/tr46/package.json +31 -0
  2339. package/node_modules/unfetch/LICENSE.md +21 -0
  2340. package/node_modules/unfetch/README.md +247 -0
  2341. package/node_modules/unfetch/dist/unfetch.es.js +2 -0
  2342. package/node_modules/unfetch/dist/unfetch.js +2 -0
  2343. package/node_modules/unfetch/dist/unfetch.js.map +1 -0
  2344. package/node_modules/unfetch/dist/unfetch.module.js +2 -0
  2345. package/node_modules/unfetch/dist/unfetch.module.js.map +1 -0
  2346. package/node_modules/unfetch/dist/unfetch.umd.js +2 -0
  2347. package/node_modules/unfetch/dist/unfetch.umd.js.map +1 -0
  2348. package/node_modules/unfetch/package.json +67 -0
  2349. package/node_modules/unfetch/polyfill/index.js +1 -0
  2350. package/node_modules/unfetch/polyfill/package.json +5 -0
  2351. package/node_modules/unfetch/polyfill/polyfill.mjs +2 -0
  2352. package/node_modules/unfetch/src/index.d.ts +46 -0
  2353. package/node_modules/unfetch/src/index.mjs +47 -0
  2354. package/node_modules/webidl-conversions/LICENSE.md +12 -0
  2355. package/node_modules/webidl-conversions/README.md +53 -0
  2356. package/node_modules/webidl-conversions/lib/index.js +189 -0
  2357. package/node_modules/webidl-conversions/package.json +23 -0
  2358. package/node_modules/whatwg-url/LICENSE.txt +21 -0
  2359. package/node_modules/whatwg-url/README.md +67 -0
  2360. package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  2361. package/node_modules/whatwg-url/lib/URL.js +196 -0
  2362. package/node_modules/whatwg-url/lib/public-api.js +11 -0
  2363. package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  2364. package/node_modules/whatwg-url/lib/utils.js +20 -0
  2365. package/node_modules/whatwg-url/package.json +32 -0
  2366. package/node_modules/yocto-queue/index.d.ts +56 -0
  2367. package/node_modules/yocto-queue/index.js +68 -0
  2368. package/node_modules/yocto-queue/license +9 -0
  2369. package/node_modules/yocto-queue/package.json +43 -0
  2370. package/node_modules/yocto-queue/readme.md +64 -0
  2371. package/oclif.manifest.json +1 -1
  2372. package/package.json +9 -2
@@ -0,0 +1,2668 @@
1
+ "use strict";
2
+ // DEFLATE is a complex format; to read this code, you should probably check the RFC first:
3
+ // https://tools.ietf.org/html/rfc1951
4
+ // You may also wish to take a look at the guide I made about this program:
5
+ // https://gist.github.com/101arrowz/253f31eb5abc3d9275ab943003ffecad
6
+ // Some of the following code is similar to that of UZIP.js:
7
+ // https://github.com/photopea/UZIP.js
8
+ // However, the vast majority of the codebase has diverged from UZIP.js to increase performance and reduce bundle size.
9
+ // Sometimes 0 will appear where -1 would be more appropriate. This is because using a uint
10
+ // is better for memory in most engines (I *think*).
11
+ var node_worker_1 = require("./node-worker.cjs");
12
+ // aliases for shorter compressed code (most minifers don't do this)
13
+ var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array;
14
+ // fixed length extra bits
15
+ var fleb = new u8([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, /* unused */ 0, 0, /* impossible */ 0]);
16
+ // fixed distance extra bits
17
+ var fdeb = new u8([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, /* unused */ 0, 0]);
18
+ // code length index map
19
+ var clim = new u8([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]);
20
+ // get base, reverse index map from extra bits
21
+ var freb = function (eb, start) {
22
+ var b = new u16(31);
23
+ for (var i = 0; i < 31; ++i) {
24
+ b[i] = start += 1 << eb[i - 1];
25
+ }
26
+ // numbers here are at max 18 bits
27
+ var r = new i32(b[30]);
28
+ for (var i = 1; i < 30; ++i) {
29
+ for (var j = b[i]; j < b[i + 1]; ++j) {
30
+ r[j] = ((j - b[i]) << 5) | i;
31
+ }
32
+ }
33
+ return { b: b, r: r };
34
+ };
35
+ var _a = freb(fleb, 2), fl = _a.b, revfl = _a.r;
36
+ // we can ignore the fact that the other numbers are wrong; they never happen anyway
37
+ fl[28] = 258, revfl[258] = 28;
38
+ var _b = freb(fdeb, 0), fd = _b.b, revfd = _b.r;
39
+ // map of value to reverse (assuming 16 bits)
40
+ var rev = new u16(32768);
41
+ for (var i = 0; i < 32768; ++i) {
42
+ // reverse table algorithm from SO
43
+ var x = ((i & 0xAAAA) >> 1) | ((i & 0x5555) << 1);
44
+ x = ((x & 0xCCCC) >> 2) | ((x & 0x3333) << 2);
45
+ x = ((x & 0xF0F0) >> 4) | ((x & 0x0F0F) << 4);
46
+ rev[i] = (((x & 0xFF00) >> 8) | ((x & 0x00FF) << 8)) >> 1;
47
+ }
48
+ // create huffman tree from u8 "map": index -> code length for code index
49
+ // mb (max bits) must be at most 15
50
+ // TODO: optimize/split up?
51
+ var hMap = (function (cd, mb, r) {
52
+ var s = cd.length;
53
+ // index
54
+ var i = 0;
55
+ // u16 "map": index -> # of codes with bit length = index
56
+ var l = new u16(mb);
57
+ // length of cd must be 288 (total # of codes)
58
+ for (; i < s; ++i) {
59
+ if (cd[i])
60
+ ++l[cd[i] - 1];
61
+ }
62
+ // u16 "map": index -> minimum code for bit length = index
63
+ var le = new u16(mb);
64
+ for (i = 1; i < mb; ++i) {
65
+ le[i] = (le[i - 1] + l[i - 1]) << 1;
66
+ }
67
+ var co;
68
+ if (r) {
69
+ // u16 "map": index -> number of actual bits, symbol for code
70
+ co = new u16(1 << mb);
71
+ // bits to remove for reverser
72
+ var rvb = 15 - mb;
73
+ for (i = 0; i < s; ++i) {
74
+ // ignore 0 lengths
75
+ if (cd[i]) {
76
+ // num encoding both symbol and bits read
77
+ var sv = (i << 4) | cd[i];
78
+ // free bits
79
+ var r_1 = mb - cd[i];
80
+ // start value
81
+ var v = le[cd[i] - 1]++ << r_1;
82
+ // m is end value
83
+ for (var m = v | ((1 << r_1) - 1); v <= m; ++v) {
84
+ // every 16 bit value starting with the code yields the same result
85
+ co[rev[v] >> rvb] = sv;
86
+ }
87
+ }
88
+ }
89
+ }
90
+ else {
91
+ co = new u16(s);
92
+ for (i = 0; i < s; ++i) {
93
+ if (cd[i]) {
94
+ co[i] = rev[le[cd[i] - 1]++] >> (15 - cd[i]);
95
+ }
96
+ }
97
+ }
98
+ return co;
99
+ });
100
+ // fixed length tree
101
+ var flt = new u8(288);
102
+ for (var i = 0; i < 144; ++i)
103
+ flt[i] = 8;
104
+ for (var i = 144; i < 256; ++i)
105
+ flt[i] = 9;
106
+ for (var i = 256; i < 280; ++i)
107
+ flt[i] = 7;
108
+ for (var i = 280; i < 288; ++i)
109
+ flt[i] = 8;
110
+ // fixed distance tree
111
+ var fdt = new u8(32);
112
+ for (var i = 0; i < 32; ++i)
113
+ fdt[i] = 5;
114
+ // fixed length map
115
+ var flm = /*#__PURE__*/ hMap(flt, 9, 0), flrm = /*#__PURE__*/ hMap(flt, 9, 1);
116
+ // fixed distance map
117
+ var fdm = /*#__PURE__*/ hMap(fdt, 5, 0), fdrm = /*#__PURE__*/ hMap(fdt, 5, 1);
118
+ // find max of array
119
+ var max = function (a) {
120
+ var m = a[0];
121
+ for (var i = 1; i < a.length; ++i) {
122
+ if (a[i] > m)
123
+ m = a[i];
124
+ }
125
+ return m;
126
+ };
127
+ // read d, starting at bit p and mask with m
128
+ var bits = function (d, p, m) {
129
+ var o = (p / 8) | 0;
130
+ return ((d[o] | (d[o + 1] << 8)) >> (p & 7)) & m;
131
+ };
132
+ // read d, starting at bit p continuing for at least 16 bits
133
+ var bits16 = function (d, p) {
134
+ var o = (p / 8) | 0;
135
+ return ((d[o] | (d[o + 1] << 8) | (d[o + 2] << 16)) >> (p & 7));
136
+ };
137
+ // get end of byte
138
+ var shft = function (p) { return ((p + 7) / 8) | 0; };
139
+ // typed array slice - allows garbage collector to free original reference,
140
+ // while being more compatible than .slice
141
+ var slc = function (v, s, e) {
142
+ if (s == null || s < 0)
143
+ s = 0;
144
+ if (e == null || e > v.length)
145
+ e = v.length;
146
+ // can't use .constructor in case user-supplied
147
+ return new u8(v.subarray(s, e));
148
+ };
149
+ /**
150
+ * Codes for errors generated within this library
151
+ */
152
+ exports.FlateErrorCode = {
153
+ UnexpectedEOF: 0,
154
+ InvalidBlockType: 1,
155
+ InvalidLengthLiteral: 2,
156
+ InvalidDistance: 3,
157
+ StreamFinished: 4,
158
+ NoStreamHandler: 5,
159
+ InvalidHeader: 6,
160
+ NoCallback: 7,
161
+ InvalidUTF8: 8,
162
+ ExtraFieldTooLong: 9,
163
+ InvalidDate: 10,
164
+ FilenameTooLong: 11,
165
+ StreamFinishing: 12,
166
+ InvalidZipData: 13,
167
+ UnknownCompressionMethod: 14
168
+ };
169
+ // error codes
170
+ var ec = [
171
+ 'unexpected EOF',
172
+ 'invalid block type',
173
+ 'invalid length/literal',
174
+ 'invalid distance',
175
+ 'stream finished',
176
+ 'no stream handler',
177
+ ,
178
+ 'no callback',
179
+ 'invalid UTF-8 data',
180
+ 'extra field too long',
181
+ 'date not in range 1980-2099',
182
+ 'filename too long',
183
+ 'stream finishing',
184
+ 'invalid zip data'
185
+ // determined by unknown compression method
186
+ ];
187
+ ;
188
+ var err = function (ind, msg, nt) {
189
+ var e = new Error(msg || ec[ind]);
190
+ e.code = ind;
191
+ if (Error.captureStackTrace)
192
+ Error.captureStackTrace(e, err);
193
+ if (!nt)
194
+ throw e;
195
+ return e;
196
+ };
197
+ // expands raw DEFLATE data
198
+ var inflt = function (dat, st, buf, dict) {
199
+ // source length dict length
200
+ var sl = dat.length, dl = dict ? dict.length : 0;
201
+ if (!sl || st.f && !st.l)
202
+ return buf || new u8(0);
203
+ var noBuf = !buf;
204
+ // have to estimate size
205
+ var resize = noBuf || st.i != 2;
206
+ // no state
207
+ var noSt = st.i;
208
+ // Assumes roughly 33% compression ratio average
209
+ if (noBuf)
210
+ buf = new u8(sl * 3);
211
+ // ensure buffer can fit at least l elements
212
+ var cbuf = function (l) {
213
+ var bl = buf.length;
214
+ // need to increase size to fit
215
+ if (l > bl) {
216
+ // Double or set to necessary, whichever is greater
217
+ var nbuf = new u8(Math.max(bl * 2, l));
218
+ nbuf.set(buf);
219
+ buf = nbuf;
220
+ }
221
+ };
222
+ // last chunk bitpos bytes
223
+ var final = st.f || 0, pos = st.p || 0, bt = st.b || 0, lm = st.l, dm = st.d, lbt = st.m, dbt = st.n;
224
+ // total bits
225
+ var tbts = sl * 8;
226
+ do {
227
+ if (!lm) {
228
+ // BFINAL - this is only 1 when last chunk is next
229
+ final = bits(dat, pos, 1);
230
+ // type: 0 = no compression, 1 = fixed huffman, 2 = dynamic huffman
231
+ var type = bits(dat, pos + 1, 3);
232
+ pos += 3;
233
+ if (!type) {
234
+ // go to end of byte boundary
235
+ var s = shft(pos) + 4, l = dat[s - 4] | (dat[s - 3] << 8), t = s + l;
236
+ if (t > sl) {
237
+ if (noSt)
238
+ err(0);
239
+ break;
240
+ }
241
+ // ensure size
242
+ if (resize)
243
+ cbuf(bt + l);
244
+ // Copy over uncompressed data
245
+ buf.set(dat.subarray(s, t), bt);
246
+ // Get new bitpos, update byte count
247
+ st.b = bt += l, st.p = pos = t * 8, st.f = final;
248
+ continue;
249
+ }
250
+ else if (type == 1)
251
+ lm = flrm, dm = fdrm, lbt = 9, dbt = 5;
252
+ else if (type == 2) {
253
+ // literal lengths
254
+ var hLit = bits(dat, pos, 31) + 257, hcLen = bits(dat, pos + 10, 15) + 4;
255
+ var tl = hLit + bits(dat, pos + 5, 31) + 1;
256
+ pos += 14;
257
+ // length+distance tree
258
+ var ldt = new u8(tl);
259
+ // code length tree
260
+ var clt = new u8(19);
261
+ for (var i = 0; i < hcLen; ++i) {
262
+ // use index map to get real code
263
+ clt[clim[i]] = bits(dat, pos + i * 3, 7);
264
+ }
265
+ pos += hcLen * 3;
266
+ // code lengths bits
267
+ var clb = max(clt), clbmsk = (1 << clb) - 1;
268
+ // code lengths map
269
+ var clm = hMap(clt, clb, 1);
270
+ for (var i = 0; i < tl;) {
271
+ var r = clm[bits(dat, pos, clbmsk)];
272
+ // bits read
273
+ pos += r & 15;
274
+ // symbol
275
+ var s = r >> 4;
276
+ // code length to copy
277
+ if (s < 16) {
278
+ ldt[i++] = s;
279
+ }
280
+ else {
281
+ // copy count
282
+ var c = 0, n = 0;
283
+ if (s == 16)
284
+ n = 3 + bits(dat, pos, 3), pos += 2, c = ldt[i - 1];
285
+ else if (s == 17)
286
+ n = 3 + bits(dat, pos, 7), pos += 3;
287
+ else if (s == 18)
288
+ n = 11 + bits(dat, pos, 127), pos += 7;
289
+ while (n--)
290
+ ldt[i++] = c;
291
+ }
292
+ }
293
+ // length tree distance tree
294
+ var lt = ldt.subarray(0, hLit), dt = ldt.subarray(hLit);
295
+ // max length bits
296
+ lbt = max(lt);
297
+ // max dist bits
298
+ dbt = max(dt);
299
+ lm = hMap(lt, lbt, 1);
300
+ dm = hMap(dt, dbt, 1);
301
+ }
302
+ else
303
+ err(1);
304
+ if (pos > tbts) {
305
+ if (noSt)
306
+ err(0);
307
+ break;
308
+ }
309
+ }
310
+ // Make sure the buffer can hold this + the largest possible addition
311
+ // Maximum chunk size (practically, theoretically infinite) is 2^17
312
+ if (resize)
313
+ cbuf(bt + 131072);
314
+ var lms = (1 << lbt) - 1, dms = (1 << dbt) - 1;
315
+ var lpos = pos;
316
+ for (;; lpos = pos) {
317
+ // bits read, code
318
+ var c = lm[bits16(dat, pos) & lms], sym = c >> 4;
319
+ pos += c & 15;
320
+ if (pos > tbts) {
321
+ if (noSt)
322
+ err(0);
323
+ break;
324
+ }
325
+ if (!c)
326
+ err(2);
327
+ if (sym < 256)
328
+ buf[bt++] = sym;
329
+ else if (sym == 256) {
330
+ lpos = pos, lm = null;
331
+ break;
332
+ }
333
+ else {
334
+ var add = sym - 254;
335
+ // no extra bits needed if less
336
+ if (sym > 264) {
337
+ // index
338
+ var i = sym - 257, b = fleb[i];
339
+ add = bits(dat, pos, (1 << b) - 1) + fl[i];
340
+ pos += b;
341
+ }
342
+ // dist
343
+ var d = dm[bits16(dat, pos) & dms], dsym = d >> 4;
344
+ if (!d)
345
+ err(3);
346
+ pos += d & 15;
347
+ var dt = fd[dsym];
348
+ if (dsym > 3) {
349
+ var b = fdeb[dsym];
350
+ dt += bits16(dat, pos) & (1 << b) - 1, pos += b;
351
+ }
352
+ if (pos > tbts) {
353
+ if (noSt)
354
+ err(0);
355
+ break;
356
+ }
357
+ if (resize)
358
+ cbuf(bt + 131072);
359
+ var end = bt + add;
360
+ if (bt < dt) {
361
+ var shift = dl - dt, dend = Math.min(dt, end);
362
+ if (shift + bt < 0)
363
+ err(3);
364
+ for (; bt < dend; ++bt)
365
+ buf[bt] = dict[shift + bt];
366
+ }
367
+ for (; bt < end; ++bt)
368
+ buf[bt] = buf[bt - dt];
369
+ }
370
+ }
371
+ st.l = lm, st.p = lpos, st.b = bt, st.f = final;
372
+ if (lm)
373
+ final = 1, st.m = lbt, st.d = dm, st.n = dbt;
374
+ } while (!final);
375
+ // don't reallocate for streams or user buffers
376
+ return bt != buf.length && noBuf ? slc(buf, 0, bt) : buf.subarray(0, bt);
377
+ };
378
+ // starting at p, write the minimum number of bits that can hold v to d
379
+ var wbits = function (d, p, v) {
380
+ v <<= p & 7;
381
+ var o = (p / 8) | 0;
382
+ d[o] |= v;
383
+ d[o + 1] |= v >> 8;
384
+ };
385
+ // starting at p, write the minimum number of bits (>8) that can hold v to d
386
+ var wbits16 = function (d, p, v) {
387
+ v <<= p & 7;
388
+ var o = (p / 8) | 0;
389
+ d[o] |= v;
390
+ d[o + 1] |= v >> 8;
391
+ d[o + 2] |= v >> 16;
392
+ };
393
+ // creates code lengths from a frequency table
394
+ var hTree = function (d, mb) {
395
+ // Need extra info to make a tree
396
+ var t = [];
397
+ for (var i = 0; i < d.length; ++i) {
398
+ if (d[i])
399
+ t.push({ s: i, f: d[i] });
400
+ }
401
+ var s = t.length;
402
+ var t2 = t.slice();
403
+ if (!s)
404
+ return { t: et, l: 0 };
405
+ if (s == 1) {
406
+ var v = new u8(t[0].s + 1);
407
+ v[t[0].s] = 1;
408
+ return { t: v, l: 1 };
409
+ }
410
+ t.sort(function (a, b) { return a.f - b.f; });
411
+ // after i2 reaches last ind, will be stopped
412
+ // freq must be greater than largest possible number of symbols
413
+ t.push({ s: -1, f: 25001 });
414
+ var l = t[0], r = t[1], i0 = 0, i1 = 1, i2 = 2;
415
+ t[0] = { s: -1, f: l.f + r.f, l: l, r: r };
416
+ // efficient algorithm from UZIP.js
417
+ // i0 is lookbehind, i2 is lookahead - after processing two low-freq
418
+ // symbols that combined have high freq, will start processing i2 (high-freq,
419
+ // non-composite) symbols instead
420
+ // see https://reddit.com/r/photopea/comments/ikekht/uzipjs_questions/
421
+ while (i1 != s - 1) {
422
+ l = t[t[i0].f < t[i2].f ? i0++ : i2++];
423
+ r = t[i0 != i1 && t[i0].f < t[i2].f ? i0++ : i2++];
424
+ t[i1++] = { s: -1, f: l.f + r.f, l: l, r: r };
425
+ }
426
+ var maxSym = t2[0].s;
427
+ for (var i = 1; i < s; ++i) {
428
+ if (t2[i].s > maxSym)
429
+ maxSym = t2[i].s;
430
+ }
431
+ // code lengths
432
+ var tr = new u16(maxSym + 1);
433
+ // max bits in tree
434
+ var mbt = ln(t[i1 - 1], tr, 0);
435
+ if (mbt > mb) {
436
+ // more algorithms from UZIP.js
437
+ // TODO: find out how this code works (debt)
438
+ // ind debt
439
+ var i = 0, dt = 0;
440
+ // left cost
441
+ var lft = mbt - mb, cst = 1 << lft;
442
+ t2.sort(function (a, b) { return tr[b.s] - tr[a.s] || a.f - b.f; });
443
+ for (; i < s; ++i) {
444
+ var i2_1 = t2[i].s;
445
+ if (tr[i2_1] > mb) {
446
+ dt += cst - (1 << (mbt - tr[i2_1]));
447
+ tr[i2_1] = mb;
448
+ }
449
+ else
450
+ break;
451
+ }
452
+ dt >>= lft;
453
+ while (dt > 0) {
454
+ var i2_2 = t2[i].s;
455
+ if (tr[i2_2] < mb)
456
+ dt -= 1 << (mb - tr[i2_2]++ - 1);
457
+ else
458
+ ++i;
459
+ }
460
+ for (; i >= 0 && dt; --i) {
461
+ var i2_3 = t2[i].s;
462
+ if (tr[i2_3] == mb) {
463
+ --tr[i2_3];
464
+ ++dt;
465
+ }
466
+ }
467
+ mbt = mb;
468
+ }
469
+ return { t: new u8(tr), l: mbt };
470
+ };
471
+ // get the max length and assign length codes
472
+ var ln = function (n, l, d) {
473
+ return n.s == -1
474
+ ? Math.max(ln(n.l, l, d + 1), ln(n.r, l, d + 1))
475
+ : (l[n.s] = d);
476
+ };
477
+ // length codes generation
478
+ var lc = function (c) {
479
+ var s = c.length;
480
+ // Note that the semicolon was intentional
481
+ while (s && !c[--s])
482
+ ;
483
+ var cl = new u16(++s);
484
+ // ind num streak
485
+ var cli = 0, cln = c[0], cls = 1;
486
+ var w = function (v) { cl[cli++] = v; };
487
+ for (var i = 1; i <= s; ++i) {
488
+ if (c[i] == cln && i != s)
489
+ ++cls;
490
+ else {
491
+ if (!cln && cls > 2) {
492
+ for (; cls > 138; cls -= 138)
493
+ w(32754);
494
+ if (cls > 2) {
495
+ w(cls > 10 ? ((cls - 11) << 5) | 28690 : ((cls - 3) << 5) | 12305);
496
+ cls = 0;
497
+ }
498
+ }
499
+ else if (cls > 3) {
500
+ w(cln), --cls;
501
+ for (; cls > 6; cls -= 6)
502
+ w(8304);
503
+ if (cls > 2)
504
+ w(((cls - 3) << 5) | 8208), cls = 0;
505
+ }
506
+ while (cls--)
507
+ w(cln);
508
+ cls = 1;
509
+ cln = c[i];
510
+ }
511
+ }
512
+ return { c: cl.subarray(0, cli), n: s };
513
+ };
514
+ // calculate the length of output from tree, code lengths
515
+ var clen = function (cf, cl) {
516
+ var l = 0;
517
+ for (var i = 0; i < cl.length; ++i)
518
+ l += cf[i] * cl[i];
519
+ return l;
520
+ };
521
+ // writes a fixed block
522
+ // returns the new bit pos
523
+ var wfblk = function (out, pos, dat) {
524
+ // no need to write 00 as type: TypedArray defaults to 0
525
+ var s = dat.length;
526
+ var o = shft(pos + 2);
527
+ out[o] = s & 255;
528
+ out[o + 1] = s >> 8;
529
+ out[o + 2] = out[o] ^ 255;
530
+ out[o + 3] = out[o + 1] ^ 255;
531
+ for (var i = 0; i < s; ++i)
532
+ out[o + i + 4] = dat[i];
533
+ return (o + 4 + s) * 8;
534
+ };
535
+ // writes a block
536
+ var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) {
537
+ wbits(out, p++, final);
538
+ ++lf[256];
539
+ var _a = hTree(lf, 15), dlt = _a.t, mlb = _a.l;
540
+ var _b = hTree(df, 15), ddt = _b.t, mdb = _b.l;
541
+ var _c = lc(dlt), lclt = _c.c, nlc = _c.n;
542
+ var _d = lc(ddt), lcdt = _d.c, ndc = _d.n;
543
+ var lcfreq = new u16(19);
544
+ for (var i = 0; i < lclt.length; ++i)
545
+ ++lcfreq[lclt[i] & 31];
546
+ for (var i = 0; i < lcdt.length; ++i)
547
+ ++lcfreq[lcdt[i] & 31];
548
+ var _e = hTree(lcfreq, 7), lct = _e.t, mlcb = _e.l;
549
+ var nlcc = 19;
550
+ for (; nlcc > 4 && !lct[clim[nlcc - 1]]; --nlcc)
551
+ ;
552
+ var flen = (bl + 5) << 3;
553
+ var ftlen = clen(lf, flt) + clen(df, fdt) + eb;
554
+ var dtlen = clen(lf, dlt) + clen(df, ddt) + eb + 14 + 3 * nlcc + clen(lcfreq, lct) + 2 * lcfreq[16] + 3 * lcfreq[17] + 7 * lcfreq[18];
555
+ if (bs >= 0 && flen <= ftlen && flen <= dtlen)
556
+ return wfblk(out, p, dat.subarray(bs, bs + bl));
557
+ var lm, ll, dm, dl;
558
+ wbits(out, p, 1 + (dtlen < ftlen)), p += 2;
559
+ if (dtlen < ftlen) {
560
+ lm = hMap(dlt, mlb, 0), ll = dlt, dm = hMap(ddt, mdb, 0), dl = ddt;
561
+ var llm = hMap(lct, mlcb, 0);
562
+ wbits(out, p, nlc - 257);
563
+ wbits(out, p + 5, ndc - 1);
564
+ wbits(out, p + 10, nlcc - 4);
565
+ p += 14;
566
+ for (var i = 0; i < nlcc; ++i)
567
+ wbits(out, p + 3 * i, lct[clim[i]]);
568
+ p += 3 * nlcc;
569
+ var lcts = [lclt, lcdt];
570
+ for (var it = 0; it < 2; ++it) {
571
+ var clct = lcts[it];
572
+ for (var i = 0; i < clct.length; ++i) {
573
+ var len = clct[i] & 31;
574
+ wbits(out, p, llm[len]), p += lct[len];
575
+ if (len > 15)
576
+ wbits(out, p, (clct[i] >> 5) & 127), p += clct[i] >> 12;
577
+ }
578
+ }
579
+ }
580
+ else {
581
+ lm = flm, ll = flt, dm = fdm, dl = fdt;
582
+ }
583
+ for (var i = 0; i < li; ++i) {
584
+ var sym = syms[i];
585
+ if (sym > 255) {
586
+ var len = (sym >> 18) & 31;
587
+ wbits16(out, p, lm[len + 257]), p += ll[len + 257];
588
+ if (len > 7)
589
+ wbits(out, p, (sym >> 23) & 31), p += fleb[len];
590
+ var dst = sym & 31;
591
+ wbits16(out, p, dm[dst]), p += dl[dst];
592
+ if (dst > 3)
593
+ wbits16(out, p, (sym >> 5) & 8191), p += fdeb[dst];
594
+ }
595
+ else {
596
+ wbits16(out, p, lm[sym]), p += ll[sym];
597
+ }
598
+ }
599
+ wbits16(out, p, lm[256]);
600
+ return p + ll[256];
601
+ };
602
+ // deflate options (nice << 13) | chain
603
+ var deo = /*#__PURE__*/ new i32([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]);
604
+ // empty
605
+ var et = /*#__PURE__*/ new u8(0);
606
+ // compresses data into a raw DEFLATE buffer
607
+ var dflt = function (dat, lvl, plvl, pre, post, st) {
608
+ var s = st.z || dat.length;
609
+ var o = new u8(pre + s + 5 * (1 + Math.ceil(s / 7000)) + post);
610
+ // writing to this writes to the output buffer
611
+ var w = o.subarray(pre, o.length - post);
612
+ var lst = st.l;
613
+ var pos = (st.r || 0) & 7;
614
+ if (lvl) {
615
+ if (pos)
616
+ w[0] = st.r >> 3;
617
+ var opt = deo[lvl - 1];
618
+ var n = opt >> 13, c = opt & 8191;
619
+ var msk_1 = (1 << plvl) - 1;
620
+ // prev 2-byte val map curr 2-byte val map
621
+ var prev = st.p || new u16(32768), head = st.h || new u16(msk_1 + 1);
622
+ var bs1_1 = Math.ceil(plvl / 3), bs2_1 = 2 * bs1_1;
623
+ var hsh = function (i) { return (dat[i] ^ (dat[i + 1] << bs1_1) ^ (dat[i + 2] << bs2_1)) & msk_1; };
624
+ // 24576 is an arbitrary number of maximum symbols per block
625
+ // 424 buffer for last block
626
+ var syms = new i32(25000);
627
+ // length/literal freq distance freq
628
+ var lf = new u16(288), df = new u16(32);
629
+ // l/lcnt exbits index l/lind waitdx blkpos
630
+ var lc_1 = 0, eb = 0, i = st.i || 0, li = 0, wi = st.w || 0, bs = 0;
631
+ for (; i + 2 < s; ++i) {
632
+ // hash value
633
+ var hv = hsh(i);
634
+ // index mod 32768 previous index mod
635
+ var imod = i & 32767, pimod = head[hv];
636
+ prev[imod] = pimod;
637
+ head[hv] = imod;
638
+ // We always should modify head and prev, but only add symbols if
639
+ // this data is not yet processed ("wait" for wait index)
640
+ if (wi <= i) {
641
+ // bytes remaining
642
+ var rem = s - i;
643
+ if ((lc_1 > 7000 || li > 24576) && (rem > 423 || !lst)) {
644
+ pos = wblk(dat, w, 0, syms, lf, df, eb, li, bs, i - bs, pos);
645
+ li = lc_1 = eb = 0, bs = i;
646
+ for (var j = 0; j < 286; ++j)
647
+ lf[j] = 0;
648
+ for (var j = 0; j < 30; ++j)
649
+ df[j] = 0;
650
+ }
651
+ // len dist chain
652
+ var l = 2, d = 0, ch_1 = c, dif = imod - pimod & 32767;
653
+ if (rem > 2 && hv == hsh(i - dif)) {
654
+ var maxn = Math.min(n, rem) - 1;
655
+ var maxd = Math.min(32767, i);
656
+ // max possible length
657
+ // not capped at dif because decompressors implement "rolling" index population
658
+ var ml = Math.min(258, rem);
659
+ while (dif <= maxd && --ch_1 && imod != pimod) {
660
+ if (dat[i + l] == dat[i + l - dif]) {
661
+ var nl = 0;
662
+ for (; nl < ml && dat[i + nl] == dat[i + nl - dif]; ++nl)
663
+ ;
664
+ if (nl > l) {
665
+ l = nl, d = dif;
666
+ // break out early when we reach "nice" (we are satisfied enough)
667
+ if (nl > maxn)
668
+ break;
669
+ // now, find the rarest 2-byte sequence within this
670
+ // length of literals and search for that instead.
671
+ // Much faster than just using the start
672
+ var mmd = Math.min(dif, nl - 2);
673
+ var md = 0;
674
+ for (var j = 0; j < mmd; ++j) {
675
+ var ti = i - dif + j & 32767;
676
+ var pti = prev[ti];
677
+ var cd = ti - pti & 32767;
678
+ if (cd > md)
679
+ md = cd, pimod = ti;
680
+ }
681
+ }
682
+ }
683
+ // check the previous match
684
+ imod = pimod, pimod = prev[imod];
685
+ dif += imod - pimod & 32767;
686
+ }
687
+ }
688
+ // d will be nonzero only when a match was found
689
+ if (d) {
690
+ // store both dist and len data in one int32
691
+ // Make sure this is recognized as a len/dist with 28th bit (2^28)
692
+ syms[li++] = 268435456 | (revfl[l] << 18) | revfd[d];
693
+ var lin = revfl[l] & 31, din = revfd[d] & 31;
694
+ eb += fleb[lin] + fdeb[din];
695
+ ++lf[257 + lin];
696
+ ++df[din];
697
+ wi = i + l;
698
+ ++lc_1;
699
+ }
700
+ else {
701
+ syms[li++] = dat[i];
702
+ ++lf[dat[i]];
703
+ }
704
+ }
705
+ }
706
+ for (i = Math.max(i, wi); i < s; ++i) {
707
+ syms[li++] = dat[i];
708
+ ++lf[dat[i]];
709
+ }
710
+ pos = wblk(dat, w, lst, syms, lf, df, eb, li, bs, i - bs, pos);
711
+ if (!lst) {
712
+ st.r = (pos & 7) | w[(pos / 8) | 0] << 3;
713
+ // shft(pos) now 1 less if pos & 7 != 0
714
+ pos -= 7;
715
+ st.h = head, st.p = prev, st.i = i, st.w = wi;
716
+ }
717
+ }
718
+ else {
719
+ for (var i = st.w || 0; i < s + lst; i += 65535) {
720
+ // end
721
+ var e = i + 65535;
722
+ if (e >= s) {
723
+ // write final block
724
+ w[(pos / 8) | 0] = lst;
725
+ e = s;
726
+ }
727
+ pos = wfblk(w, pos + 1, dat.subarray(i, e));
728
+ }
729
+ st.i = s;
730
+ }
731
+ return slc(o, 0, pre + shft(pos) + post);
732
+ };
733
+ // CRC32 table
734
+ var crct = /*#__PURE__*/ (function () {
735
+ var t = new Int32Array(256);
736
+ for (var i = 0; i < 256; ++i) {
737
+ var c = i, k = 9;
738
+ while (--k)
739
+ c = ((c & 1) && -306674912) ^ (c >>> 1);
740
+ t[i] = c;
741
+ }
742
+ return t;
743
+ })();
744
+ // CRC32
745
+ var crc = function () {
746
+ var c = -1;
747
+ return {
748
+ p: function (d) {
749
+ // closures have awful performance
750
+ var cr = c;
751
+ for (var i = 0; i < d.length; ++i)
752
+ cr = crct[(cr & 255) ^ d[i]] ^ (cr >>> 8);
753
+ c = cr;
754
+ },
755
+ d: function () { return ~c; }
756
+ };
757
+ };
758
+ // Adler32
759
+ var adler = function () {
760
+ var a = 1, b = 0;
761
+ return {
762
+ p: function (d) {
763
+ // closures have awful performance
764
+ var n = a, m = b;
765
+ var l = d.length | 0;
766
+ for (var i = 0; i != l;) {
767
+ var e = Math.min(i + 2655, l);
768
+ for (; i < e; ++i)
769
+ m += n += d[i];
770
+ n = (n & 65535) + 15 * (n >> 16), m = (m & 65535) + 15 * (m >> 16);
771
+ }
772
+ a = n, b = m;
773
+ },
774
+ d: function () {
775
+ a %= 65521, b %= 65521;
776
+ return (a & 255) << 24 | (a & 0xFF00) << 8 | (b & 255) << 8 | (b >> 8);
777
+ }
778
+ };
779
+ };
780
+ ;
781
+ // deflate with opts
782
+ var dopt = function (dat, opt, pre, post, st) {
783
+ if (!st) {
784
+ st = { l: 1 };
785
+ if (opt.dictionary) {
786
+ var dict = opt.dictionary.subarray(-32768);
787
+ var newDat = new u8(dict.length + dat.length);
788
+ newDat.set(dict);
789
+ newDat.set(dat, dict.length);
790
+ dat = newDat;
791
+ st.w = dict.length;
792
+ }
793
+ }
794
+ return dflt(dat, opt.level == null ? 6 : opt.level, opt.mem == null ? (st.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(dat.length))) * 1.5) : 20) : (12 + opt.mem), pre, post, st);
795
+ };
796
+ // Walmart object spread
797
+ var mrg = function (a, b) {
798
+ var o = {};
799
+ for (var k in a)
800
+ o[k] = a[k];
801
+ for (var k in b)
802
+ o[k] = b[k];
803
+ return o;
804
+ };
805
+ // worker clone
806
+ // This is possibly the craziest part of the entire codebase, despite how simple it may seem.
807
+ // The only parameter to this function is a closure that returns an array of variables outside of the function scope.
808
+ // We're going to try to figure out the variable names used in the closure as strings because that is crucial for workerization.
809
+ // We will return an object mapping of true variable name to value (basically, the current scope as a JS object).
810
+ // The reason we can't just use the original variable names is minifiers mangling the toplevel scope.
811
+ // This took me three weeks to figure out how to do.
812
+ var wcln = function (fn, fnStr, td) {
813
+ var dt = fn();
814
+ var st = fn.toString();
815
+ var ks = st.slice(st.indexOf('[') + 1, st.lastIndexOf(']')).replace(/\s+/g, '').split(',');
816
+ for (var i = 0; i < dt.length; ++i) {
817
+ var v = dt[i], k = ks[i];
818
+ if (typeof v == 'function') {
819
+ fnStr += ';' + k + '=';
820
+ var st_1 = v.toString();
821
+ if (v.prototype) {
822
+ // for global objects
823
+ if (st_1.indexOf('[native code]') != -1) {
824
+ var spInd = st_1.indexOf(' ', 8) + 1;
825
+ fnStr += st_1.slice(spInd, st_1.indexOf('(', spInd));
826
+ }
827
+ else {
828
+ fnStr += st_1;
829
+ for (var t in v.prototype)
830
+ fnStr += ';' + k + '.prototype.' + t + '=' + v.prototype[t].toString();
831
+ }
832
+ }
833
+ else
834
+ fnStr += st_1;
835
+ }
836
+ else
837
+ td[k] = v;
838
+ }
839
+ return fnStr;
840
+ };
841
+ var ch = [];
842
+ // clone bufs
843
+ var cbfs = function (v) {
844
+ var tl = [];
845
+ for (var k in v) {
846
+ if (v[k].buffer) {
847
+ tl.push((v[k] = new v[k].constructor(v[k])).buffer);
848
+ }
849
+ }
850
+ return tl;
851
+ };
852
+ // use a worker to execute code
853
+ var wrkr = function (fns, init, id, cb) {
854
+ if (!ch[id]) {
855
+ var fnStr = '', td_1 = {}, m = fns.length - 1;
856
+ for (var i = 0; i < m; ++i)
857
+ fnStr = wcln(fns[i], fnStr, td_1);
858
+ ch[id] = { c: wcln(fns[m], fnStr, td_1), e: td_1 };
859
+ }
860
+ var td = mrg({}, ch[id].e);
861
+ return (0, node_worker_1.default)(ch[id].c + ';onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=' + init.toString() + '}', id, td, cbfs(td), cb);
862
+ };
863
+ // base async inflate fn
864
+ var bInflt = function () { return [u8, u16, i32, fleb, fdeb, clim, fl, fd, flrm, fdrm, rev, ec, hMap, max, bits, bits16, shft, slc, err, inflt, inflateSync, pbf, gopt]; };
865
+ var bDflt = function () { return [u8, u16, i32, fleb, fdeb, clim, revfl, revfd, flm, flt, fdm, fdt, rev, deo, et, hMap, wbits, wbits16, hTree, ln, lc, clen, wfblk, wblk, shft, slc, dflt, dopt, deflateSync, pbf]; };
866
+ // gzip extra
867
+ var gze = function () { return [gzh, gzhl, wbytes, crc, crct]; };
868
+ // gunzip extra
869
+ var guze = function () { return [gzs, gzl]; };
870
+ // zlib extra
871
+ var zle = function () { return [zlh, wbytes, adler]; };
872
+ // unzlib extra
873
+ var zule = function () { return [zls]; };
874
+ // post buf
875
+ var pbf = function (msg) { return postMessage(msg, [msg.buffer]); };
876
+ // get opts
877
+ var gopt = function (o) { return o && {
878
+ out: o.size && new u8(o.size),
879
+ dictionary: o.dictionary
880
+ }; };
881
+ // async helper
882
+ var cbify = function (dat, opts, fns, init, id, cb) {
883
+ var w = wrkr(fns, init, id, function (err, dat) {
884
+ w.terminate();
885
+ cb(err, dat);
886
+ });
887
+ w.postMessage([dat, opts], opts.consume ? [dat.buffer] : []);
888
+ return function () { w.terminate(); };
889
+ };
890
+ // auto stream
891
+ var astrm = function (strm) {
892
+ strm.ondata = function (dat, final) { return postMessage([dat, final], [dat.buffer]); };
893
+ return function (ev) {
894
+ if (ev.data.length) {
895
+ strm.push(ev.data[0], ev.data[1]);
896
+ postMessage([ev.data[0].length]);
897
+ }
898
+ else
899
+ strm.flush();
900
+ };
901
+ };
902
+ // async stream attach
903
+ var astrmify = function (fns, strm, opts, init, id, flush, ext) {
904
+ var t;
905
+ var w = wrkr(fns, init, id, function (err, dat) {
906
+ if (err)
907
+ w.terminate(), strm.ondata.call(strm, err);
908
+ else if (!Array.isArray(dat))
909
+ ext(dat);
910
+ else if (dat.length == 1) {
911
+ strm.queuedSize -= dat[0];
912
+ if (strm.ondrain)
913
+ strm.ondrain(dat[0]);
914
+ }
915
+ else {
916
+ if (dat[1])
917
+ w.terminate();
918
+ strm.ondata.call(strm, err, dat[0], dat[1]);
919
+ }
920
+ });
921
+ w.postMessage(opts);
922
+ strm.queuedSize = 0;
923
+ strm.push = function (d, f) {
924
+ if (!strm.ondata)
925
+ err(5);
926
+ if (t)
927
+ strm.ondata(err(4, 0, 1), null, !!f);
928
+ strm.queuedSize += d.length;
929
+ w.postMessage([d, t = f], [d.buffer]);
930
+ };
931
+ strm.terminate = function () { w.terminate(); };
932
+ if (flush) {
933
+ strm.flush = function () { w.postMessage([]); };
934
+ }
935
+ };
936
+ // read 2 bytes
937
+ var b2 = function (d, b) { return d[b] | (d[b + 1] << 8); };
938
+ // read 4 bytes
939
+ var b4 = function (d, b) { return (d[b] | (d[b + 1] << 8) | (d[b + 2] << 16) | (d[b + 3] << 24)) >>> 0; };
940
+ var b8 = function (d, b) { return b4(d, b) + (b4(d, b + 4) * 4294967296); };
941
+ // write bytes
942
+ var wbytes = function (d, b, v) {
943
+ for (; v; ++b)
944
+ d[b] = v, v >>>= 8;
945
+ };
946
+ // gzip header
947
+ var gzh = function (c, o) {
948
+ var fn = o.filename;
949
+ c[0] = 31, c[1] = 139, c[2] = 8, c[8] = o.level < 2 ? 4 : o.level == 9 ? 2 : 0, c[9] = 3; // assume Unix
950
+ if (o.mtime != 0)
951
+ wbytes(c, 4, Math.floor(new Date(o.mtime || Date.now()) / 1000));
952
+ if (fn) {
953
+ c[3] = 8;
954
+ for (var i = 0; i <= fn.length; ++i)
955
+ c[i + 10] = fn.charCodeAt(i);
956
+ }
957
+ };
958
+ // gzip footer: -8 to -4 = CRC, -4 to -0 is length
959
+ // gzip start
960
+ var gzs = function (d) {
961
+ if (d[0] != 31 || d[1] != 139 || d[2] != 8)
962
+ err(6, 'invalid gzip data');
963
+ var flg = d[3];
964
+ var st = 10;
965
+ if (flg & 4)
966
+ st += (d[10] | d[11] << 8) + 2;
967
+ for (var zs = (flg >> 3 & 1) + (flg >> 4 & 1); zs > 0; zs -= !d[st++])
968
+ ;
969
+ return st + (flg & 2);
970
+ };
971
+ // gzip length
972
+ var gzl = function (d) {
973
+ var l = d.length;
974
+ return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16 | d[l - 1] << 24) >>> 0;
975
+ };
976
+ // gzip header length
977
+ var gzhl = function (o) { return 10 + (o.filename ? o.filename.length + 1 : 0); };
978
+ // zlib header
979
+ var zlh = function (c, o) {
980
+ var lv = o.level, fl = lv == 0 ? 0 : lv < 6 ? 1 : lv == 9 ? 3 : 2;
981
+ c[0] = 120, c[1] = (fl << 6) | (o.dictionary && 32);
982
+ c[1] |= 31 - ((c[0] << 8) | c[1]) % 31;
983
+ if (o.dictionary) {
984
+ var h = adler();
985
+ h.p(o.dictionary);
986
+ wbytes(c, 2, h.d());
987
+ }
988
+ };
989
+ // zlib start
990
+ var zls = function (d, dict) {
991
+ if ((d[0] & 15) != 8 || (d[0] >> 4) > 7 || ((d[0] << 8 | d[1]) % 31))
992
+ err(6, 'invalid zlib data');
993
+ if ((d[1] >> 5 & 1) == +!dict)
994
+ err(6, 'invalid zlib data: ' + (d[1] & 32 ? 'need' : 'unexpected') + ' dictionary');
995
+ return (d[1] >> 3 & 4) + 2;
996
+ };
997
+ function StrmOpt(opts, cb) {
998
+ if (typeof opts == 'function')
999
+ cb = opts, opts = {};
1000
+ this.ondata = cb;
1001
+ return opts;
1002
+ }
1003
+ /**
1004
+ * Streaming DEFLATE compression
1005
+ */
1006
+ var Deflate = /*#__PURE__*/ (function () {
1007
+ function Deflate(opts, cb) {
1008
+ if (typeof opts == 'function')
1009
+ cb = opts, opts = {};
1010
+ this.ondata = cb;
1011
+ this.o = opts || {};
1012
+ this.s = { l: 0, i: 32768, w: 32768, z: 32768 };
1013
+ // Buffer length must always be 0 mod 32768 for index calculations to be correct when modifying head and prev
1014
+ // 98304 = 32768 (lookback) + 65536 (common chunk size)
1015
+ this.b = new u8(98304);
1016
+ if (this.o.dictionary) {
1017
+ var dict = this.o.dictionary.subarray(-32768);
1018
+ this.b.set(dict, 32768 - dict.length);
1019
+ this.s.i = 32768 - dict.length;
1020
+ }
1021
+ }
1022
+ Deflate.prototype.p = function (c, f) {
1023
+ this.ondata(dopt(c, this.o, 0, 0, this.s), f);
1024
+ };
1025
+ /**
1026
+ * Pushes a chunk to be deflated
1027
+ * @param chunk The chunk to push
1028
+ * @param final Whether this is the last chunk
1029
+ */
1030
+ Deflate.prototype.push = function (chunk, final) {
1031
+ if (!this.ondata)
1032
+ err(5);
1033
+ if (this.s.l)
1034
+ err(4);
1035
+ var endLen = chunk.length + this.s.z;
1036
+ if (endLen > this.b.length) {
1037
+ if (endLen > 2 * this.b.length - 32768) {
1038
+ var newBuf = new u8(endLen & -32768);
1039
+ newBuf.set(this.b.subarray(0, this.s.z));
1040
+ this.b = newBuf;
1041
+ }
1042
+ var split = this.b.length - this.s.z;
1043
+ this.b.set(chunk.subarray(0, split), this.s.z);
1044
+ this.s.z = this.b.length;
1045
+ this.p(this.b, false);
1046
+ this.b.set(this.b.subarray(-32768));
1047
+ this.b.set(chunk.subarray(split), 32768);
1048
+ this.s.z = chunk.length - split + 32768;
1049
+ this.s.i = 32766, this.s.w = 32768;
1050
+ }
1051
+ else {
1052
+ this.b.set(chunk, this.s.z);
1053
+ this.s.z += chunk.length;
1054
+ }
1055
+ this.s.l = final & 1;
1056
+ if (this.s.z > this.s.w + 8191 || final) {
1057
+ this.p(this.b, final || false);
1058
+ this.s.w = this.s.i, this.s.i -= 2;
1059
+ }
1060
+ };
1061
+ /**
1062
+ * Flushes buffered uncompressed data. Useful to immediately retrieve the
1063
+ * deflated output for small inputs.
1064
+ */
1065
+ Deflate.prototype.flush = function () {
1066
+ if (!this.ondata)
1067
+ err(5);
1068
+ if (this.s.l)
1069
+ err(4);
1070
+ this.p(this.b, false);
1071
+ this.s.w = this.s.i, this.s.i -= 2;
1072
+ };
1073
+ return Deflate;
1074
+ }());
1075
+ exports.Deflate = Deflate;
1076
+ /**
1077
+ * Asynchronous streaming DEFLATE compression
1078
+ */
1079
+ var AsyncDeflate = /*#__PURE__*/ (function () {
1080
+ function AsyncDeflate(opts, cb) {
1081
+ astrmify([
1082
+ bDflt,
1083
+ function () { return [astrm, Deflate]; }
1084
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1085
+ var strm = new Deflate(ev.data);
1086
+ onmessage = astrm(strm);
1087
+ }, 6, 1);
1088
+ }
1089
+ return AsyncDeflate;
1090
+ }());
1091
+ exports.AsyncDeflate = AsyncDeflate;
1092
+ function deflate(data, opts, cb) {
1093
+ if (!cb)
1094
+ cb = opts, opts = {};
1095
+ if (typeof cb != 'function')
1096
+ err(7);
1097
+ return cbify(data, opts, [
1098
+ bDflt,
1099
+ ], function (ev) { return pbf(deflateSync(ev.data[0], ev.data[1])); }, 0, cb);
1100
+ }
1101
+ exports.deflate = deflate;
1102
+ /**
1103
+ * Compresses data with DEFLATE without any wrapper
1104
+ * @param data The data to compress
1105
+ * @param opts The compression options
1106
+ * @returns The deflated version of the data
1107
+ */
1108
+ function deflateSync(data, opts) {
1109
+ return dopt(data, opts || {}, 0, 0);
1110
+ }
1111
+ exports.deflateSync = deflateSync;
1112
+ /**
1113
+ * Streaming DEFLATE decompression
1114
+ */
1115
+ var Inflate = /*#__PURE__*/ (function () {
1116
+ function Inflate(opts, cb) {
1117
+ // no StrmOpt here to avoid adding to workerizer
1118
+ if (typeof opts == 'function')
1119
+ cb = opts, opts = {};
1120
+ this.ondata = cb;
1121
+ var dict = opts && opts.dictionary && opts.dictionary.subarray(-32768);
1122
+ this.s = { i: 0, b: dict ? dict.length : 0 };
1123
+ this.o = new u8(32768);
1124
+ this.p = new u8(0);
1125
+ if (dict)
1126
+ this.o.set(dict);
1127
+ }
1128
+ Inflate.prototype.e = function (c) {
1129
+ if (!this.ondata)
1130
+ err(5);
1131
+ if (this.d)
1132
+ err(4);
1133
+ if (!this.p.length)
1134
+ this.p = c;
1135
+ else if (c.length) {
1136
+ var n = new u8(this.p.length + c.length);
1137
+ n.set(this.p), n.set(c, this.p.length), this.p = n;
1138
+ }
1139
+ };
1140
+ Inflate.prototype.c = function (final) {
1141
+ this.s.i = +(this.d = final || false);
1142
+ var bts = this.s.b;
1143
+ var dt = inflt(this.p, this.s, this.o);
1144
+ this.ondata(slc(dt, bts, this.s.b), this.d);
1145
+ this.o = slc(dt, this.s.b - 32768), this.s.b = this.o.length;
1146
+ this.p = slc(this.p, (this.s.p / 8) | 0), this.s.p &= 7;
1147
+ };
1148
+ /**
1149
+ * Pushes a chunk to be inflated
1150
+ * @param chunk The chunk to push
1151
+ * @param final Whether this is the final chunk
1152
+ */
1153
+ Inflate.prototype.push = function (chunk, final) {
1154
+ this.e(chunk), this.c(final);
1155
+ };
1156
+ return Inflate;
1157
+ }());
1158
+ exports.Inflate = Inflate;
1159
+ /**
1160
+ * Asynchronous streaming DEFLATE decompression
1161
+ */
1162
+ var AsyncInflate = /*#__PURE__*/ (function () {
1163
+ function AsyncInflate(opts, cb) {
1164
+ astrmify([
1165
+ bInflt,
1166
+ function () { return [astrm, Inflate]; }
1167
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1168
+ var strm = new Inflate(ev.data);
1169
+ onmessage = astrm(strm);
1170
+ }, 7, 0);
1171
+ }
1172
+ return AsyncInflate;
1173
+ }());
1174
+ exports.AsyncInflate = AsyncInflate;
1175
+ function inflate(data, opts, cb) {
1176
+ if (!cb)
1177
+ cb = opts, opts = {};
1178
+ if (typeof cb != 'function')
1179
+ err(7);
1180
+ return cbify(data, opts, [
1181
+ bInflt
1182
+ ], function (ev) { return pbf(inflateSync(ev.data[0], gopt(ev.data[1]))); }, 1, cb);
1183
+ }
1184
+ exports.inflate = inflate;
1185
+ /**
1186
+ * Expands DEFLATE data with no wrapper
1187
+ * @param data The data to decompress
1188
+ * @param opts The decompression options
1189
+ * @returns The decompressed version of the data
1190
+ */
1191
+ function inflateSync(data, opts) {
1192
+ return inflt(data, { i: 2 }, opts && opts.out, opts && opts.dictionary);
1193
+ }
1194
+ exports.inflateSync = inflateSync;
1195
+ // before you yell at me for not just using extends, my reason is that TS inheritance is hard to workerize.
1196
+ /**
1197
+ * Streaming GZIP compression
1198
+ */
1199
+ var Gzip = /*#__PURE__*/ (function () {
1200
+ function Gzip(opts, cb) {
1201
+ this.c = crc();
1202
+ this.l = 0;
1203
+ this.v = 1;
1204
+ Deflate.call(this, opts, cb);
1205
+ }
1206
+ /**
1207
+ * Pushes a chunk to be GZIPped
1208
+ * @param chunk The chunk to push
1209
+ * @param final Whether this is the last chunk
1210
+ */
1211
+ Gzip.prototype.push = function (chunk, final) {
1212
+ this.c.p(chunk);
1213
+ this.l += chunk.length;
1214
+ Deflate.prototype.push.call(this, chunk, final);
1215
+ };
1216
+ Gzip.prototype.p = function (c, f) {
1217
+ var raw = dopt(c, this.o, this.v && gzhl(this.o), f && 8, this.s);
1218
+ if (this.v)
1219
+ gzh(raw, this.o), this.v = 0;
1220
+ if (f)
1221
+ wbytes(raw, raw.length - 8, this.c.d()), wbytes(raw, raw.length - 4, this.l);
1222
+ this.ondata(raw, f);
1223
+ };
1224
+ /**
1225
+ * Flushes buffered uncompressed data. Useful to immediately retrieve the
1226
+ * GZIPped output for small inputs.
1227
+ */
1228
+ Gzip.prototype.flush = function () {
1229
+ Deflate.prototype.flush.call(this);
1230
+ };
1231
+ return Gzip;
1232
+ }());
1233
+ exports.Gzip = Gzip;
1234
+ exports.Compress = Gzip;
1235
+ /**
1236
+ * Asynchronous streaming GZIP compression
1237
+ */
1238
+ var AsyncGzip = /*#__PURE__*/ (function () {
1239
+ function AsyncGzip(opts, cb) {
1240
+ astrmify([
1241
+ bDflt,
1242
+ gze,
1243
+ function () { return [astrm, Deflate, Gzip]; }
1244
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1245
+ var strm = new Gzip(ev.data);
1246
+ onmessage = astrm(strm);
1247
+ }, 8, 1);
1248
+ }
1249
+ return AsyncGzip;
1250
+ }());
1251
+ exports.AsyncGzip = AsyncGzip;
1252
+ exports.AsyncCompress = AsyncGzip;
1253
+ function gzip(data, opts, cb) {
1254
+ if (!cb)
1255
+ cb = opts, opts = {};
1256
+ if (typeof cb != 'function')
1257
+ err(7);
1258
+ return cbify(data, opts, [
1259
+ bDflt,
1260
+ gze,
1261
+ function () { return [gzipSync]; }
1262
+ ], function (ev) { return pbf(gzipSync(ev.data[0], ev.data[1])); }, 2, cb);
1263
+ }
1264
+ exports.gzip = gzip;
1265
+ exports.compress = gzip;
1266
+ /**
1267
+ * Compresses data with GZIP
1268
+ * @param data The data to compress
1269
+ * @param opts The compression options
1270
+ * @returns The gzipped version of the data
1271
+ */
1272
+ function gzipSync(data, opts) {
1273
+ if (!opts)
1274
+ opts = {};
1275
+ var c = crc(), l = data.length;
1276
+ c.p(data);
1277
+ var d = dopt(data, opts, gzhl(opts), 8), s = d.length;
1278
+ return gzh(d, opts), wbytes(d, s - 8, c.d()), wbytes(d, s - 4, l), d;
1279
+ }
1280
+ exports.gzipSync = gzipSync;
1281
+ exports.compressSync = gzipSync;
1282
+ /**
1283
+ * Streaming single or multi-member GZIP decompression
1284
+ */
1285
+ var Gunzip = /*#__PURE__*/ (function () {
1286
+ function Gunzip(opts, cb) {
1287
+ this.v = 1;
1288
+ this.r = 0;
1289
+ Inflate.call(this, opts, cb);
1290
+ }
1291
+ /**
1292
+ * Pushes a chunk to be GUNZIPped
1293
+ * @param chunk The chunk to push
1294
+ * @param final Whether this is the last chunk
1295
+ */
1296
+ Gunzip.prototype.push = function (chunk, final) {
1297
+ Inflate.prototype.e.call(this, chunk);
1298
+ this.r += chunk.length;
1299
+ if (this.v) {
1300
+ var p = this.p.subarray(this.v - 1);
1301
+ var s = p.length > 3 ? gzs(p) : 4;
1302
+ if (s > p.length) {
1303
+ if (!final)
1304
+ return;
1305
+ }
1306
+ else if (this.v > 1 && this.onmember) {
1307
+ this.onmember(this.r - p.length);
1308
+ }
1309
+ this.p = p.subarray(s), this.v = 0;
1310
+ }
1311
+ // necessary to prevent TS from using the closure value
1312
+ // This allows for workerization to function correctly
1313
+ Inflate.prototype.c.call(this, final);
1314
+ // process concatenated GZIP
1315
+ if (this.s.f && !this.s.l && !final) {
1316
+ this.v = shft(this.s.p) + 9;
1317
+ this.s = { i: 0 };
1318
+ this.o = new u8(0);
1319
+ this.push(new u8(0), final);
1320
+ }
1321
+ };
1322
+ return Gunzip;
1323
+ }());
1324
+ exports.Gunzip = Gunzip;
1325
+ /**
1326
+ * Asynchronous streaming single or multi-member GZIP decompression
1327
+ */
1328
+ var AsyncGunzip = /*#__PURE__*/ (function () {
1329
+ function AsyncGunzip(opts, cb) {
1330
+ var _this = this;
1331
+ astrmify([
1332
+ bInflt,
1333
+ guze,
1334
+ function () { return [astrm, Inflate, Gunzip]; }
1335
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1336
+ var strm = new Gunzip(ev.data);
1337
+ strm.onmember = function (offset) { return postMessage(offset); };
1338
+ onmessage = astrm(strm);
1339
+ }, 9, 0, function (offset) { return _this.onmember && _this.onmember(offset); });
1340
+ }
1341
+ return AsyncGunzip;
1342
+ }());
1343
+ exports.AsyncGunzip = AsyncGunzip;
1344
+ function gunzip(data, opts, cb) {
1345
+ if (!cb)
1346
+ cb = opts, opts = {};
1347
+ if (typeof cb != 'function')
1348
+ err(7);
1349
+ return cbify(data, opts, [
1350
+ bInflt,
1351
+ guze,
1352
+ function () { return [gunzipSync]; }
1353
+ ], function (ev) { return pbf(gunzipSync(ev.data[0], ev.data[1])); }, 3, cb);
1354
+ }
1355
+ exports.gunzip = gunzip;
1356
+ /**
1357
+ * Expands GZIP data
1358
+ * @param data The data to decompress
1359
+ * @param opts The decompression options
1360
+ * @returns The decompressed version of the data
1361
+ */
1362
+ function gunzipSync(data, opts) {
1363
+ var st = gzs(data);
1364
+ if (st + 8 > data.length)
1365
+ err(6, 'invalid gzip data');
1366
+ return inflt(data.subarray(st, -8), { i: 2 }, opts && opts.out || new u8(gzl(data)), opts && opts.dictionary);
1367
+ }
1368
+ exports.gunzipSync = gunzipSync;
1369
+ /**
1370
+ * Streaming Zlib compression
1371
+ */
1372
+ var Zlib = /*#__PURE__*/ (function () {
1373
+ function Zlib(opts, cb) {
1374
+ this.c = adler();
1375
+ this.v = 1;
1376
+ Deflate.call(this, opts, cb);
1377
+ }
1378
+ /**
1379
+ * Pushes a chunk to be zlibbed
1380
+ * @param chunk The chunk to push
1381
+ * @param final Whether this is the last chunk
1382
+ */
1383
+ Zlib.prototype.push = function (chunk, final) {
1384
+ this.c.p(chunk);
1385
+ Deflate.prototype.push.call(this, chunk, final);
1386
+ };
1387
+ Zlib.prototype.p = function (c, f) {
1388
+ var raw = dopt(c, this.o, this.v && (this.o.dictionary ? 6 : 2), f && 4, this.s);
1389
+ if (this.v)
1390
+ zlh(raw, this.o), this.v = 0;
1391
+ if (f)
1392
+ wbytes(raw, raw.length - 4, this.c.d());
1393
+ this.ondata(raw, f);
1394
+ };
1395
+ /**
1396
+ * Flushes buffered uncompressed data. Useful to immediately retrieve the
1397
+ * zlibbed output for small inputs.
1398
+ */
1399
+ Zlib.prototype.flush = function () {
1400
+ Deflate.prototype.flush.call(this);
1401
+ };
1402
+ return Zlib;
1403
+ }());
1404
+ exports.Zlib = Zlib;
1405
+ /**
1406
+ * Asynchronous streaming Zlib compression
1407
+ */
1408
+ var AsyncZlib = /*#__PURE__*/ (function () {
1409
+ function AsyncZlib(opts, cb) {
1410
+ astrmify([
1411
+ bDflt,
1412
+ zle,
1413
+ function () { return [astrm, Deflate, Zlib]; }
1414
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1415
+ var strm = new Zlib(ev.data);
1416
+ onmessage = astrm(strm);
1417
+ }, 10, 1);
1418
+ }
1419
+ return AsyncZlib;
1420
+ }());
1421
+ exports.AsyncZlib = AsyncZlib;
1422
+ function zlib(data, opts, cb) {
1423
+ if (!cb)
1424
+ cb = opts, opts = {};
1425
+ if (typeof cb != 'function')
1426
+ err(7);
1427
+ return cbify(data, opts, [
1428
+ bDflt,
1429
+ zle,
1430
+ function () { return [zlibSync]; }
1431
+ ], function (ev) { return pbf(zlibSync(ev.data[0], ev.data[1])); }, 4, cb);
1432
+ }
1433
+ exports.zlib = zlib;
1434
+ /**
1435
+ * Compress data with Zlib
1436
+ * @param data The data to compress
1437
+ * @param opts The compression options
1438
+ * @returns The zlib-compressed version of the data
1439
+ */
1440
+ function zlibSync(data, opts) {
1441
+ if (!opts)
1442
+ opts = {};
1443
+ var a = adler();
1444
+ a.p(data);
1445
+ var d = dopt(data, opts, opts.dictionary ? 6 : 2, 4);
1446
+ return zlh(d, opts), wbytes(d, d.length - 4, a.d()), d;
1447
+ }
1448
+ exports.zlibSync = zlibSync;
1449
+ /**
1450
+ * Streaming Zlib decompression
1451
+ */
1452
+ var Unzlib = /*#__PURE__*/ (function () {
1453
+ function Unzlib(opts, cb) {
1454
+ Inflate.call(this, opts, cb);
1455
+ this.v = opts && opts.dictionary ? 2 : 1;
1456
+ }
1457
+ /**
1458
+ * Pushes a chunk to be unzlibbed
1459
+ * @param chunk The chunk to push
1460
+ * @param final Whether this is the last chunk
1461
+ */
1462
+ Unzlib.prototype.push = function (chunk, final) {
1463
+ Inflate.prototype.e.call(this, chunk);
1464
+ if (this.v) {
1465
+ if (this.p.length < 6 && !final)
1466
+ return;
1467
+ this.p = this.p.subarray(zls(this.p, this.v - 1)), this.v = 0;
1468
+ }
1469
+ if (final) {
1470
+ if (this.p.length < 4)
1471
+ err(6, 'invalid zlib data');
1472
+ this.p = this.p.subarray(0, -4);
1473
+ }
1474
+ // necessary to prevent TS from using the closure value
1475
+ // This allows for workerization to function correctly
1476
+ Inflate.prototype.c.call(this, final);
1477
+ };
1478
+ return Unzlib;
1479
+ }());
1480
+ exports.Unzlib = Unzlib;
1481
+ /**
1482
+ * Asynchronous streaming Zlib decompression
1483
+ */
1484
+ var AsyncUnzlib = /*#__PURE__*/ (function () {
1485
+ function AsyncUnzlib(opts, cb) {
1486
+ astrmify([
1487
+ bInflt,
1488
+ zule,
1489
+ function () { return [astrm, Inflate, Unzlib]; }
1490
+ ], this, StrmOpt.call(this, opts, cb), function (ev) {
1491
+ var strm = new Unzlib(ev.data);
1492
+ onmessage = astrm(strm);
1493
+ }, 11, 0);
1494
+ }
1495
+ return AsyncUnzlib;
1496
+ }());
1497
+ exports.AsyncUnzlib = AsyncUnzlib;
1498
+ function unzlib(data, opts, cb) {
1499
+ if (!cb)
1500
+ cb = opts, opts = {};
1501
+ if (typeof cb != 'function')
1502
+ err(7);
1503
+ return cbify(data, opts, [
1504
+ bInflt,
1505
+ zule,
1506
+ function () { return [unzlibSync]; }
1507
+ ], function (ev) { return pbf(unzlibSync(ev.data[0], gopt(ev.data[1]))); }, 5, cb);
1508
+ }
1509
+ exports.unzlib = unzlib;
1510
+ /**
1511
+ * Expands Zlib data
1512
+ * @param data The data to decompress
1513
+ * @param opts The decompression options
1514
+ * @returns The decompressed version of the data
1515
+ */
1516
+ function unzlibSync(data, opts) {
1517
+ return inflt(data.subarray(zls(data, opts && opts.dictionary), -4), { i: 2 }, opts && opts.out, opts && opts.dictionary);
1518
+ }
1519
+ exports.unzlibSync = unzlibSync;
1520
+ /**
1521
+ * Streaming GZIP, Zlib, or raw DEFLATE decompression
1522
+ */
1523
+ var Decompress = /*#__PURE__*/ (function () {
1524
+ function Decompress(opts, cb) {
1525
+ this.o = StrmOpt.call(this, opts, cb) || {};
1526
+ this.G = Gunzip;
1527
+ this.I = Inflate;
1528
+ this.Z = Unzlib;
1529
+ }
1530
+ // init substream
1531
+ // overriden by AsyncDecompress
1532
+ Decompress.prototype.i = function () {
1533
+ var _this = this;
1534
+ this.s.ondata = function (dat, final) {
1535
+ _this.ondata(dat, final);
1536
+ };
1537
+ };
1538
+ /**
1539
+ * Pushes a chunk to be decompressed
1540
+ * @param chunk The chunk to push
1541
+ * @param final Whether this is the last chunk
1542
+ */
1543
+ Decompress.prototype.push = function (chunk, final) {
1544
+ if (!this.ondata)
1545
+ err(5);
1546
+ if (!this.s) {
1547
+ if (this.p && this.p.length) {
1548
+ var n = new u8(this.p.length + chunk.length);
1549
+ n.set(this.p), n.set(chunk, this.p.length);
1550
+ }
1551
+ else
1552
+ this.p = chunk;
1553
+ if (this.p.length > 2) {
1554
+ this.s = (this.p[0] == 31 && this.p[1] == 139 && this.p[2] == 8)
1555
+ ? new this.G(this.o)
1556
+ : ((this.p[0] & 15) != 8 || (this.p[0] >> 4) > 7 || ((this.p[0] << 8 | this.p[1]) % 31))
1557
+ ? new this.I(this.o)
1558
+ : new this.Z(this.o);
1559
+ this.i();
1560
+ this.s.push(this.p, final);
1561
+ this.p = null;
1562
+ }
1563
+ }
1564
+ else
1565
+ this.s.push(chunk, final);
1566
+ };
1567
+ return Decompress;
1568
+ }());
1569
+ exports.Decompress = Decompress;
1570
+ /**
1571
+ * Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression
1572
+ */
1573
+ var AsyncDecompress = /*#__PURE__*/ (function () {
1574
+ function AsyncDecompress(opts, cb) {
1575
+ Decompress.call(this, opts, cb);
1576
+ this.queuedSize = 0;
1577
+ this.G = AsyncGunzip;
1578
+ this.I = AsyncInflate;
1579
+ this.Z = AsyncUnzlib;
1580
+ }
1581
+ AsyncDecompress.prototype.i = function () {
1582
+ var _this = this;
1583
+ this.s.ondata = function (err, dat, final) {
1584
+ _this.ondata(err, dat, final);
1585
+ };
1586
+ this.s.ondrain = function (size) {
1587
+ _this.queuedSize -= size;
1588
+ if (_this.ondrain)
1589
+ _this.ondrain(size);
1590
+ };
1591
+ };
1592
+ /**
1593
+ * Pushes a chunk to be decompressed
1594
+ * @param chunk The chunk to push
1595
+ * @param final Whether this is the last chunk
1596
+ */
1597
+ AsyncDecompress.prototype.push = function (chunk, final) {
1598
+ this.queuedSize += chunk.length;
1599
+ Decompress.prototype.push.call(this, chunk, final);
1600
+ };
1601
+ return AsyncDecompress;
1602
+ }());
1603
+ exports.AsyncDecompress = AsyncDecompress;
1604
+ function decompress(data, opts, cb) {
1605
+ if (!cb)
1606
+ cb = opts, opts = {};
1607
+ if (typeof cb != 'function')
1608
+ err(7);
1609
+ return (data[0] == 31 && data[1] == 139 && data[2] == 8)
1610
+ ? gunzip(data, opts, cb)
1611
+ : ((data[0] & 15) != 8 || (data[0] >> 4) > 7 || ((data[0] << 8 | data[1]) % 31))
1612
+ ? inflate(data, opts, cb)
1613
+ : unzlib(data, opts, cb);
1614
+ }
1615
+ exports.decompress = decompress;
1616
+ /**
1617
+ * Expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format
1618
+ * @param data The data to decompress
1619
+ * @param opts The decompression options
1620
+ * @returns The decompressed version of the data
1621
+ */
1622
+ function decompressSync(data, opts) {
1623
+ return (data[0] == 31 && data[1] == 139 && data[2] == 8)
1624
+ ? gunzipSync(data, opts)
1625
+ : ((data[0] & 15) != 8 || (data[0] >> 4) > 7 || ((data[0] << 8 | data[1]) % 31))
1626
+ ? inflateSync(data, opts)
1627
+ : unzlibSync(data, opts);
1628
+ }
1629
+ exports.decompressSync = decompressSync;
1630
+ // flatten a directory structure
1631
+ var fltn = function (d, p, t, o) {
1632
+ for (var k in d) {
1633
+ var val = d[k], n = p + k, op = o;
1634
+ if (Array.isArray(val))
1635
+ op = mrg(o, val[1]), val = val[0];
1636
+ if (val instanceof u8)
1637
+ t[n] = [val, op];
1638
+ else {
1639
+ t[n += '/'] = [new u8(0), op];
1640
+ fltn(val, n, t, o);
1641
+ }
1642
+ }
1643
+ };
1644
+ // text encoder
1645
+ var te = typeof TextEncoder != 'undefined' && /*#__PURE__*/ new TextEncoder();
1646
+ // text decoder
1647
+ var td = typeof TextDecoder != 'undefined' && /*#__PURE__*/ new TextDecoder();
1648
+ // text decoder stream
1649
+ var tds = 0;
1650
+ try {
1651
+ td.decode(et, { stream: true });
1652
+ tds = 1;
1653
+ }
1654
+ catch (e) { }
1655
+ // decode UTF8
1656
+ var dutf8 = function (d) {
1657
+ for (var r = '', i = 0;;) {
1658
+ var c = d[i++];
1659
+ var eb = (c > 127) + (c > 223) + (c > 239);
1660
+ if (i + eb > d.length)
1661
+ return { s: r, r: slc(d, i - 1) };
1662
+ if (!eb)
1663
+ r += String.fromCharCode(c);
1664
+ else if (eb == 3) {
1665
+ c = ((c & 15) << 18 | (d[i++] & 63) << 12 | (d[i++] & 63) << 6 | (d[i++] & 63)) - 65536,
1666
+ r += String.fromCharCode(55296 | (c >> 10), 56320 | (c & 1023));
1667
+ }
1668
+ else if (eb & 1)
1669
+ r += String.fromCharCode((c & 31) << 6 | (d[i++] & 63));
1670
+ else
1671
+ r += String.fromCharCode((c & 15) << 12 | (d[i++] & 63) << 6 | (d[i++] & 63));
1672
+ }
1673
+ };
1674
+ /**
1675
+ * Streaming UTF-8 decoding
1676
+ */
1677
+ var DecodeUTF8 = /*#__PURE__*/ (function () {
1678
+ /**
1679
+ * Creates a UTF-8 decoding stream
1680
+ * @param cb The callback to call whenever data is decoded
1681
+ */
1682
+ function DecodeUTF8(cb) {
1683
+ this.ondata = cb;
1684
+ if (tds)
1685
+ this.t = new TextDecoder();
1686
+ else
1687
+ this.p = et;
1688
+ }
1689
+ /**
1690
+ * Pushes a chunk to be decoded from UTF-8 binary
1691
+ * @param chunk The chunk to push
1692
+ * @param final Whether this is the last chunk
1693
+ */
1694
+ DecodeUTF8.prototype.push = function (chunk, final) {
1695
+ if (!this.ondata)
1696
+ err(5);
1697
+ final = !!final;
1698
+ if (this.t) {
1699
+ this.ondata(this.t.decode(chunk, { stream: true }), final);
1700
+ if (final) {
1701
+ if (this.t.decode().length)
1702
+ err(8);
1703
+ this.t = null;
1704
+ }
1705
+ return;
1706
+ }
1707
+ if (!this.p)
1708
+ err(4);
1709
+ var dat = new u8(this.p.length + chunk.length);
1710
+ dat.set(this.p);
1711
+ dat.set(chunk, this.p.length);
1712
+ var _a = dutf8(dat), s = _a.s, r = _a.r;
1713
+ if (final) {
1714
+ if (r.length)
1715
+ err(8);
1716
+ this.p = null;
1717
+ }
1718
+ else
1719
+ this.p = r;
1720
+ this.ondata(s, final);
1721
+ };
1722
+ return DecodeUTF8;
1723
+ }());
1724
+ exports.DecodeUTF8 = DecodeUTF8;
1725
+ /**
1726
+ * Streaming UTF-8 encoding
1727
+ */
1728
+ var EncodeUTF8 = /*#__PURE__*/ (function () {
1729
+ /**
1730
+ * Creates a UTF-8 decoding stream
1731
+ * @param cb The callback to call whenever data is encoded
1732
+ */
1733
+ function EncodeUTF8(cb) {
1734
+ this.ondata = cb;
1735
+ }
1736
+ /**
1737
+ * Pushes a chunk to be encoded to UTF-8
1738
+ * @param chunk The string data to push
1739
+ * @param final Whether this is the last chunk
1740
+ */
1741
+ EncodeUTF8.prototype.push = function (chunk, final) {
1742
+ if (!this.ondata)
1743
+ err(5);
1744
+ if (this.d)
1745
+ err(4);
1746
+ this.ondata(strToU8(chunk), this.d = final || false);
1747
+ };
1748
+ return EncodeUTF8;
1749
+ }());
1750
+ exports.EncodeUTF8 = EncodeUTF8;
1751
+ /**
1752
+ * Converts a string into a Uint8Array for use with compression/decompression methods
1753
+ * @param str The string to encode
1754
+ * @param latin1 Whether or not to interpret the data as Latin-1. This should
1755
+ * not need to be true unless decoding a binary string.
1756
+ * @returns The string encoded in UTF-8/Latin-1 binary
1757
+ */
1758
+ function strToU8(str, latin1) {
1759
+ if (latin1) {
1760
+ var ar_1 = new u8(str.length);
1761
+ for (var i = 0; i < str.length; ++i)
1762
+ ar_1[i] = str.charCodeAt(i);
1763
+ return ar_1;
1764
+ }
1765
+ if (te)
1766
+ return te.encode(str);
1767
+ var l = str.length;
1768
+ var ar = new u8(str.length + (str.length >> 1));
1769
+ var ai = 0;
1770
+ var w = function (v) { ar[ai++] = v; };
1771
+ for (var i = 0; i < l; ++i) {
1772
+ if (ai + 5 > ar.length) {
1773
+ var n = new u8(ai + 8 + ((l - i) << 1));
1774
+ n.set(ar);
1775
+ ar = n;
1776
+ }
1777
+ var c = str.charCodeAt(i);
1778
+ if (c < 128 || latin1)
1779
+ w(c);
1780
+ else if (c < 2048)
1781
+ w(192 | (c >> 6)), w(128 | (c & 63));
1782
+ else if (c > 55295 && c < 57344)
1783
+ c = 65536 + (c & 1023 << 10) | (str.charCodeAt(++i) & 1023),
1784
+ w(240 | (c >> 18)), w(128 | ((c >> 12) & 63)), w(128 | ((c >> 6) & 63)), w(128 | (c & 63));
1785
+ else
1786
+ w(224 | (c >> 12)), w(128 | ((c >> 6) & 63)), w(128 | (c & 63));
1787
+ }
1788
+ return slc(ar, 0, ai);
1789
+ }
1790
+ exports.strToU8 = strToU8;
1791
+ /**
1792
+ * Converts a Uint8Array to a string
1793
+ * @param dat The data to decode to string
1794
+ * @param latin1 Whether or not to interpret the data as Latin-1. This should
1795
+ * not need to be true unless encoding to binary string.
1796
+ * @returns The original UTF-8/Latin-1 string
1797
+ */
1798
+ function strFromU8(dat, latin1) {
1799
+ if (latin1) {
1800
+ var r = '';
1801
+ for (var i = 0; i < dat.length; i += 16384)
1802
+ r += String.fromCharCode.apply(null, dat.subarray(i, i + 16384));
1803
+ return r;
1804
+ }
1805
+ else if (td) {
1806
+ return td.decode(dat);
1807
+ }
1808
+ else {
1809
+ var _a = dutf8(dat), s = _a.s, r = _a.r;
1810
+ if (r.length)
1811
+ err(8);
1812
+ return s;
1813
+ }
1814
+ }
1815
+ exports.strFromU8 = strFromU8;
1816
+ ;
1817
+ // deflate bit flag
1818
+ var dbf = function (l) { return l == 1 ? 3 : l < 6 ? 2 : l == 9 ? 1 : 0; };
1819
+ // skip local zip header
1820
+ var slzh = function (d, b) { return b + 30 + b2(d, b + 26) + b2(d, b + 28); };
1821
+ // read zip header
1822
+ var zh = function (d, b, z) {
1823
+ var fnl = b2(d, b + 28), fn = strFromU8(d.subarray(b + 46, b + 46 + fnl), !(b2(d, b + 8) & 2048)), es = b + 46 + fnl, bs = b4(d, b + 20);
1824
+ var _a = z && bs == 4294967295 ? z64e(d, es) : [bs, b4(d, b + 24), b4(d, b + 42)], sc = _a[0], su = _a[1], off = _a[2];
1825
+ return [b2(d, b + 10), sc, su, fn, es + b2(d, b + 30) + b2(d, b + 32), off];
1826
+ };
1827
+ // read zip64 extra field
1828
+ var z64e = function (d, b) {
1829
+ for (; b2(d, b) != 1; b += 4 + b2(d, b + 2))
1830
+ ;
1831
+ return [b8(d, b + 12), b8(d, b + 4), b8(d, b + 20)];
1832
+ };
1833
+ // extra field length
1834
+ var exfl = function (ex) {
1835
+ var le = 0;
1836
+ if (ex) {
1837
+ for (var k in ex) {
1838
+ var l = ex[k].length;
1839
+ if (l > 65535)
1840
+ err(9);
1841
+ le += l + 4;
1842
+ }
1843
+ }
1844
+ return le;
1845
+ };
1846
+ // write zip header
1847
+ var wzh = function (d, b, f, fn, u, c, ce, co) {
1848
+ var fl = fn.length, ex = f.extra, col = co && co.length;
1849
+ var exl = exfl(ex);
1850
+ wbytes(d, b, ce != null ? 0x2014B50 : 0x4034B50), b += 4;
1851
+ if (ce != null)
1852
+ d[b++] = 20, d[b++] = f.os;
1853
+ d[b] = 20, b += 2; // spec compliance? what's that?
1854
+ d[b++] = (f.flag << 1) | (c < 0 && 8), d[b++] = u && 8;
1855
+ d[b++] = f.compression & 255, d[b++] = f.compression >> 8;
1856
+ var dt = new Date(f.mtime == null ? Date.now() : f.mtime), y = dt.getFullYear() - 1980;
1857
+ if (y < 0 || y > 119)
1858
+ err(10);
1859
+ wbytes(d, b, (y << 25) | ((dt.getMonth() + 1) << 21) | (dt.getDate() << 16) | (dt.getHours() << 11) | (dt.getMinutes() << 5) | (dt.getSeconds() >> 1)), b += 4;
1860
+ if (c != -1) {
1861
+ wbytes(d, b, f.crc);
1862
+ wbytes(d, b + 4, c < 0 ? -c - 2 : c);
1863
+ wbytes(d, b + 8, f.size);
1864
+ }
1865
+ wbytes(d, b + 12, fl);
1866
+ wbytes(d, b + 14, exl), b += 16;
1867
+ if (ce != null) {
1868
+ wbytes(d, b, col);
1869
+ wbytes(d, b + 6, f.attrs);
1870
+ wbytes(d, b + 10, ce), b += 14;
1871
+ }
1872
+ d.set(fn, b);
1873
+ b += fl;
1874
+ if (exl) {
1875
+ for (var k in ex) {
1876
+ var exf = ex[k], l = exf.length;
1877
+ wbytes(d, b, +k);
1878
+ wbytes(d, b + 2, l);
1879
+ d.set(exf, b + 4), b += 4 + l;
1880
+ }
1881
+ }
1882
+ if (col)
1883
+ d.set(co, b), b += col;
1884
+ return b;
1885
+ };
1886
+ // write zip footer (end of central directory)
1887
+ var wzf = function (o, b, c, d, e) {
1888
+ wbytes(o, b, 0x6054B50); // skip disk
1889
+ wbytes(o, b + 8, c);
1890
+ wbytes(o, b + 10, c);
1891
+ wbytes(o, b + 12, d);
1892
+ wbytes(o, b + 16, e);
1893
+ };
1894
+ /**
1895
+ * A pass-through stream to keep data uncompressed in a ZIP archive.
1896
+ */
1897
+ var ZipPassThrough = /*#__PURE__*/ (function () {
1898
+ /**
1899
+ * Creates a pass-through stream that can be added to ZIP archives
1900
+ * @param filename The filename to associate with this data stream
1901
+ */
1902
+ function ZipPassThrough(filename) {
1903
+ this.filename = filename;
1904
+ this.c = crc();
1905
+ this.size = 0;
1906
+ this.compression = 0;
1907
+ }
1908
+ /**
1909
+ * Processes a chunk and pushes to the output stream. You can override this
1910
+ * method in a subclass for custom behavior, but by default this passes
1911
+ * the data through. You must call this.ondata(err, chunk, final) at some
1912
+ * point in this method.
1913
+ * @param chunk The chunk to process
1914
+ * @param final Whether this is the last chunk
1915
+ */
1916
+ ZipPassThrough.prototype.process = function (chunk, final) {
1917
+ this.ondata(null, chunk, final);
1918
+ };
1919
+ /**
1920
+ * Pushes a chunk to be added. If you are subclassing this with a custom
1921
+ * compression algorithm, note that you must push data from the source
1922
+ * file only, pre-compression.
1923
+ * @param chunk The chunk to push
1924
+ * @param final Whether this is the last chunk
1925
+ */
1926
+ ZipPassThrough.prototype.push = function (chunk, final) {
1927
+ if (!this.ondata)
1928
+ err(5);
1929
+ this.c.p(chunk);
1930
+ this.size += chunk.length;
1931
+ if (final)
1932
+ this.crc = this.c.d();
1933
+ this.process(chunk, final || false);
1934
+ };
1935
+ return ZipPassThrough;
1936
+ }());
1937
+ exports.ZipPassThrough = ZipPassThrough;
1938
+ // I don't extend because TypeScript extension adds 1kB of runtime bloat
1939
+ /**
1940
+ * Streaming DEFLATE compression for ZIP archives. Prefer using AsyncZipDeflate
1941
+ * for better performance
1942
+ */
1943
+ var ZipDeflate = /*#__PURE__*/ (function () {
1944
+ /**
1945
+ * Creates a DEFLATE stream that can be added to ZIP archives
1946
+ * @param filename The filename to associate with this data stream
1947
+ * @param opts The compression options
1948
+ */
1949
+ function ZipDeflate(filename, opts) {
1950
+ var _this = this;
1951
+ if (!opts)
1952
+ opts = {};
1953
+ ZipPassThrough.call(this, filename);
1954
+ this.d = new Deflate(opts, function (dat, final) {
1955
+ _this.ondata(null, dat, final);
1956
+ });
1957
+ this.compression = 8;
1958
+ this.flag = dbf(opts.level);
1959
+ }
1960
+ ZipDeflate.prototype.process = function (chunk, final) {
1961
+ try {
1962
+ this.d.push(chunk, final);
1963
+ }
1964
+ catch (e) {
1965
+ this.ondata(e, null, final);
1966
+ }
1967
+ };
1968
+ /**
1969
+ * Pushes a chunk to be deflated
1970
+ * @param chunk The chunk to push
1971
+ * @param final Whether this is the last chunk
1972
+ */
1973
+ ZipDeflate.prototype.push = function (chunk, final) {
1974
+ ZipPassThrough.prototype.push.call(this, chunk, final);
1975
+ };
1976
+ return ZipDeflate;
1977
+ }());
1978
+ exports.ZipDeflate = ZipDeflate;
1979
+ /**
1980
+ * Asynchronous streaming DEFLATE compression for ZIP archives
1981
+ */
1982
+ var AsyncZipDeflate = /*#__PURE__*/ (function () {
1983
+ /**
1984
+ * Creates an asynchronous DEFLATE stream that can be added to ZIP archives
1985
+ * @param filename The filename to associate with this data stream
1986
+ * @param opts The compression options
1987
+ */
1988
+ function AsyncZipDeflate(filename, opts) {
1989
+ var _this = this;
1990
+ if (!opts)
1991
+ opts = {};
1992
+ ZipPassThrough.call(this, filename);
1993
+ this.d = new AsyncDeflate(opts, function (err, dat, final) {
1994
+ _this.ondata(err, dat, final);
1995
+ });
1996
+ this.compression = 8;
1997
+ this.flag = dbf(opts.level);
1998
+ this.terminate = this.d.terminate;
1999
+ }
2000
+ AsyncZipDeflate.prototype.process = function (chunk, final) {
2001
+ this.d.push(chunk, final);
2002
+ };
2003
+ /**
2004
+ * Pushes a chunk to be deflated
2005
+ * @param chunk The chunk to push
2006
+ * @param final Whether this is the last chunk
2007
+ */
2008
+ AsyncZipDeflate.prototype.push = function (chunk, final) {
2009
+ ZipPassThrough.prototype.push.call(this, chunk, final);
2010
+ };
2011
+ return AsyncZipDeflate;
2012
+ }());
2013
+ exports.AsyncZipDeflate = AsyncZipDeflate;
2014
+ // TODO: Better tree shaking
2015
+ /**
2016
+ * A zippable archive to which files can incrementally be added
2017
+ */
2018
+ var Zip = /*#__PURE__*/ (function () {
2019
+ /**
2020
+ * Creates an empty ZIP archive to which files can be added
2021
+ * @param cb The callback to call whenever data for the generated ZIP archive
2022
+ * is available
2023
+ */
2024
+ function Zip(cb) {
2025
+ this.ondata = cb;
2026
+ this.u = [];
2027
+ this.d = 1;
2028
+ }
2029
+ /**
2030
+ * Adds a file to the ZIP archive
2031
+ * @param file The file stream to add
2032
+ */
2033
+ Zip.prototype.add = function (file) {
2034
+ var _this = this;
2035
+ if (!this.ondata)
2036
+ err(5);
2037
+ // finishing or finished
2038
+ if (this.d & 2)
2039
+ this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, false);
2040
+ else {
2041
+ var f = strToU8(file.filename), fl_1 = f.length;
2042
+ var com = file.comment, o = com && strToU8(com);
2043
+ var u = fl_1 != file.filename.length || (o && (com.length != o.length));
2044
+ var hl_1 = fl_1 + exfl(file.extra) + 30;
2045
+ if (fl_1 > 65535)
2046
+ this.ondata(err(11, 0, 1), null, false);
2047
+ var header = new u8(hl_1);
2048
+ wzh(header, 0, file, f, u, -1);
2049
+ var chks_1 = [header];
2050
+ var pAll_1 = function () {
2051
+ for (var _i = 0, chks_2 = chks_1; _i < chks_2.length; _i++) {
2052
+ var chk = chks_2[_i];
2053
+ _this.ondata(null, chk, false);
2054
+ }
2055
+ chks_1 = [];
2056
+ };
2057
+ var tr_1 = this.d;
2058
+ this.d = 0;
2059
+ var ind_1 = this.u.length;
2060
+ var uf_1 = mrg(file, {
2061
+ f: f,
2062
+ u: u,
2063
+ o: o,
2064
+ t: function () {
2065
+ if (file.terminate)
2066
+ file.terminate();
2067
+ },
2068
+ r: function () {
2069
+ pAll_1();
2070
+ if (tr_1) {
2071
+ var nxt = _this.u[ind_1 + 1];
2072
+ if (nxt)
2073
+ nxt.r();
2074
+ else
2075
+ _this.d = 1;
2076
+ }
2077
+ tr_1 = 1;
2078
+ }
2079
+ });
2080
+ var cl_1 = 0;
2081
+ file.ondata = function (err, dat, final) {
2082
+ if (err) {
2083
+ _this.ondata(err, dat, final);
2084
+ _this.terminate();
2085
+ }
2086
+ else {
2087
+ cl_1 += dat.length;
2088
+ chks_1.push(dat);
2089
+ if (final) {
2090
+ var dd = new u8(16);
2091
+ wbytes(dd, 0, 0x8074B50);
2092
+ wbytes(dd, 4, file.crc);
2093
+ wbytes(dd, 8, cl_1);
2094
+ wbytes(dd, 12, file.size);
2095
+ chks_1.push(dd);
2096
+ uf_1.c = cl_1, uf_1.b = hl_1 + cl_1 + 16, uf_1.crc = file.crc, uf_1.size = file.size;
2097
+ if (tr_1)
2098
+ uf_1.r();
2099
+ tr_1 = 1;
2100
+ }
2101
+ else if (tr_1)
2102
+ pAll_1();
2103
+ }
2104
+ };
2105
+ this.u.push(uf_1);
2106
+ }
2107
+ };
2108
+ /**
2109
+ * Ends the process of adding files and prepares to emit the final chunks.
2110
+ * This *must* be called after adding all desired files for the resulting
2111
+ * ZIP file to work properly.
2112
+ */
2113
+ Zip.prototype.end = function () {
2114
+ var _this = this;
2115
+ if (this.d & 2) {
2116
+ this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, true);
2117
+ return;
2118
+ }
2119
+ if (this.d)
2120
+ this.e();
2121
+ else
2122
+ this.u.push({
2123
+ r: function () {
2124
+ if (!(_this.d & 1))
2125
+ return;
2126
+ _this.u.splice(-1, 1);
2127
+ _this.e();
2128
+ },
2129
+ t: function () { }
2130
+ });
2131
+ this.d = 3;
2132
+ };
2133
+ Zip.prototype.e = function () {
2134
+ var bt = 0, l = 0, tl = 0;
2135
+ for (var _i = 0, _a = this.u; _i < _a.length; _i++) {
2136
+ var f = _a[_i];
2137
+ tl += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0);
2138
+ }
2139
+ var out = new u8(tl + 22);
2140
+ for (var _b = 0, _c = this.u; _b < _c.length; _b++) {
2141
+ var f = _c[_b];
2142
+ wzh(out, bt, f, f.f, f.u, -f.c - 2, l, f.o);
2143
+ bt += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0), l += f.b;
2144
+ }
2145
+ wzf(out, bt, this.u.length, tl, l);
2146
+ this.ondata(null, out, true);
2147
+ this.d = 2;
2148
+ };
2149
+ /**
2150
+ * A method to terminate any internal workers used by the stream. Subsequent
2151
+ * calls to add() will fail.
2152
+ */
2153
+ Zip.prototype.terminate = function () {
2154
+ for (var _i = 0, _a = this.u; _i < _a.length; _i++) {
2155
+ var f = _a[_i];
2156
+ f.t();
2157
+ }
2158
+ this.d = 2;
2159
+ };
2160
+ return Zip;
2161
+ }());
2162
+ exports.Zip = Zip;
2163
+ function zip(data, opts, cb) {
2164
+ if (!cb)
2165
+ cb = opts, opts = {};
2166
+ if (typeof cb != 'function')
2167
+ err(7);
2168
+ var r = {};
2169
+ fltn(data, '', r, opts);
2170
+ var k = Object.keys(r);
2171
+ var lft = k.length, o = 0, tot = 0;
2172
+ var slft = lft, files = new Array(lft);
2173
+ var term = [];
2174
+ var tAll = function () {
2175
+ for (var i = 0; i < term.length; ++i)
2176
+ term[i]();
2177
+ };
2178
+ var cbd = function (a, b) {
2179
+ mt(function () { cb(a, b); });
2180
+ };
2181
+ mt(function () { cbd = cb; });
2182
+ var cbf = function () {
2183
+ var out = new u8(tot + 22), oe = o, cdl = tot - o;
2184
+ tot = 0;
2185
+ for (var i = 0; i < slft; ++i) {
2186
+ var f = files[i];
2187
+ try {
2188
+ var l = f.c.length;
2189
+ wzh(out, tot, f, f.f, f.u, l);
2190
+ var badd = 30 + f.f.length + exfl(f.extra);
2191
+ var loc = tot + badd;
2192
+ out.set(f.c, loc);
2193
+ wzh(out, o, f, f.f, f.u, l, tot, f.m), o += 16 + badd + (f.m ? f.m.length : 0), tot = loc + l;
2194
+ }
2195
+ catch (e) {
2196
+ return cbd(e, null);
2197
+ }
2198
+ }
2199
+ wzf(out, o, files.length, cdl, oe);
2200
+ cbd(null, out);
2201
+ };
2202
+ if (!lft)
2203
+ cbf();
2204
+ var _loop_1 = function (i) {
2205
+ var fn = k[i];
2206
+ var _a = r[fn], file = _a[0], p = _a[1];
2207
+ var c = crc(), size = file.length;
2208
+ c.p(file);
2209
+ var f = strToU8(fn), s = f.length;
2210
+ var com = p.comment, m = com && strToU8(com), ms = m && m.length;
2211
+ var exl = exfl(p.extra);
2212
+ var compression = p.level == 0 ? 0 : 8;
2213
+ var cbl = function (e, d) {
2214
+ if (e) {
2215
+ tAll();
2216
+ cbd(e, null);
2217
+ }
2218
+ else {
2219
+ var l = d.length;
2220
+ files[i] = mrg(p, {
2221
+ size: size,
2222
+ crc: c.d(),
2223
+ c: d,
2224
+ f: f,
2225
+ m: m,
2226
+ u: s != fn.length || (m && (com.length != ms)),
2227
+ compression: compression
2228
+ });
2229
+ o += 30 + s + exl + l;
2230
+ tot += 76 + 2 * (s + exl) + (ms || 0) + l;
2231
+ if (!--lft)
2232
+ cbf();
2233
+ }
2234
+ };
2235
+ if (s > 65535)
2236
+ cbl(err(11, 0, 1), null);
2237
+ if (!compression)
2238
+ cbl(null, file);
2239
+ else if (size < 160000) {
2240
+ try {
2241
+ cbl(null, deflateSync(file, p));
2242
+ }
2243
+ catch (e) {
2244
+ cbl(e, null);
2245
+ }
2246
+ }
2247
+ else
2248
+ term.push(deflate(file, p, cbl));
2249
+ };
2250
+ // Cannot use lft because it can decrease
2251
+ for (var i = 0; i < slft; ++i) {
2252
+ _loop_1(i);
2253
+ }
2254
+ return tAll;
2255
+ }
2256
+ exports.zip = zip;
2257
+ /**
2258
+ * Synchronously creates a ZIP file. Prefer using `zip` for better performance
2259
+ * with more than one file.
2260
+ * @param data The directory structure for the ZIP archive
2261
+ * @param opts The main options, merged with per-file options
2262
+ * @returns The generated ZIP archive
2263
+ */
2264
+ function zipSync(data, opts) {
2265
+ if (!opts)
2266
+ opts = {};
2267
+ var r = {};
2268
+ var files = [];
2269
+ fltn(data, '', r, opts);
2270
+ var o = 0;
2271
+ var tot = 0;
2272
+ for (var fn in r) {
2273
+ var _a = r[fn], file = _a[0], p = _a[1];
2274
+ var compression = p.level == 0 ? 0 : 8;
2275
+ var f = strToU8(fn), s = f.length;
2276
+ var com = p.comment, m = com && strToU8(com), ms = m && m.length;
2277
+ var exl = exfl(p.extra);
2278
+ if (s > 65535)
2279
+ err(11);
2280
+ var d = compression ? deflateSync(file, p) : file, l = d.length;
2281
+ var c = crc();
2282
+ c.p(file);
2283
+ files.push(mrg(p, {
2284
+ size: file.length,
2285
+ crc: c.d(),
2286
+ c: d,
2287
+ f: f,
2288
+ m: m,
2289
+ u: s != fn.length || (m && (com.length != ms)),
2290
+ o: o,
2291
+ compression: compression
2292
+ }));
2293
+ o += 30 + s + exl + l;
2294
+ tot += 76 + 2 * (s + exl) + (ms || 0) + l;
2295
+ }
2296
+ var out = new u8(tot + 22), oe = o, cdl = tot - o;
2297
+ for (var i = 0; i < files.length; ++i) {
2298
+ var f = files[i];
2299
+ wzh(out, f.o, f, f.f, f.u, f.c.length);
2300
+ var badd = 30 + f.f.length + exfl(f.extra);
2301
+ out.set(f.c, f.o + badd);
2302
+ wzh(out, o, f, f.f, f.u, f.c.length, f.o, f.m), o += 16 + badd + (f.m ? f.m.length : 0);
2303
+ }
2304
+ wzf(out, o, files.length, cdl, oe);
2305
+ return out;
2306
+ }
2307
+ exports.zipSync = zipSync;
2308
+ /**
2309
+ * Streaming pass-through decompression for ZIP archives
2310
+ */
2311
+ var UnzipPassThrough = /*#__PURE__*/ (function () {
2312
+ function UnzipPassThrough() {
2313
+ }
2314
+ UnzipPassThrough.prototype.push = function (data, final) {
2315
+ this.ondata(null, data, final);
2316
+ };
2317
+ UnzipPassThrough.compression = 0;
2318
+ return UnzipPassThrough;
2319
+ }());
2320
+ exports.UnzipPassThrough = UnzipPassThrough;
2321
+ /**
2322
+ * Streaming DEFLATE decompression for ZIP archives. Prefer AsyncZipInflate for
2323
+ * better performance.
2324
+ */
2325
+ var UnzipInflate = /*#__PURE__*/ (function () {
2326
+ /**
2327
+ * Creates a DEFLATE decompression that can be used in ZIP archives
2328
+ */
2329
+ function UnzipInflate() {
2330
+ var _this = this;
2331
+ this.i = new Inflate(function (dat, final) {
2332
+ _this.ondata(null, dat, final);
2333
+ });
2334
+ }
2335
+ UnzipInflate.prototype.push = function (data, final) {
2336
+ try {
2337
+ this.i.push(data, final);
2338
+ }
2339
+ catch (e) {
2340
+ this.ondata(e, null, final);
2341
+ }
2342
+ };
2343
+ UnzipInflate.compression = 8;
2344
+ return UnzipInflate;
2345
+ }());
2346
+ exports.UnzipInflate = UnzipInflate;
2347
+ /**
2348
+ * Asynchronous streaming DEFLATE decompression for ZIP archives
2349
+ */
2350
+ var AsyncUnzipInflate = /*#__PURE__*/ (function () {
2351
+ /**
2352
+ * Creates a DEFLATE decompression that can be used in ZIP archives
2353
+ */
2354
+ function AsyncUnzipInflate(_, sz) {
2355
+ var _this = this;
2356
+ if (sz < 320000) {
2357
+ this.i = new Inflate(function (dat, final) {
2358
+ _this.ondata(null, dat, final);
2359
+ });
2360
+ }
2361
+ else {
2362
+ this.i = new AsyncInflate(function (err, dat, final) {
2363
+ _this.ondata(err, dat, final);
2364
+ });
2365
+ this.terminate = this.i.terminate;
2366
+ }
2367
+ }
2368
+ AsyncUnzipInflate.prototype.push = function (data, final) {
2369
+ if (this.i.terminate)
2370
+ data = slc(data, 0);
2371
+ this.i.push(data, final);
2372
+ };
2373
+ AsyncUnzipInflate.compression = 8;
2374
+ return AsyncUnzipInflate;
2375
+ }());
2376
+ exports.AsyncUnzipInflate = AsyncUnzipInflate;
2377
+ /**
2378
+ * A ZIP archive decompression stream that emits files as they are discovered
2379
+ */
2380
+ var Unzip = /*#__PURE__*/ (function () {
2381
+ /**
2382
+ * Creates a ZIP decompression stream
2383
+ * @param cb The callback to call whenever a file in the ZIP archive is found
2384
+ */
2385
+ function Unzip(cb) {
2386
+ this.onfile = cb;
2387
+ this.k = [];
2388
+ this.o = {
2389
+ 0: UnzipPassThrough
2390
+ };
2391
+ this.p = et;
2392
+ }
2393
+ /**
2394
+ * Pushes a chunk to be unzipped
2395
+ * @param chunk The chunk to push
2396
+ * @param final Whether this is the last chunk
2397
+ */
2398
+ Unzip.prototype.push = function (chunk, final) {
2399
+ var _this = this;
2400
+ if (!this.onfile)
2401
+ err(5);
2402
+ if (!this.p)
2403
+ err(4);
2404
+ if (this.c > 0) {
2405
+ var len = Math.min(this.c, chunk.length);
2406
+ var toAdd = chunk.subarray(0, len);
2407
+ this.c -= len;
2408
+ if (this.d)
2409
+ this.d.push(toAdd, !this.c);
2410
+ else
2411
+ this.k[0].push(toAdd);
2412
+ chunk = chunk.subarray(len);
2413
+ if (chunk.length)
2414
+ return this.push(chunk, final);
2415
+ }
2416
+ else {
2417
+ var f = 0, i = 0, is = void 0, buf = void 0;
2418
+ if (!this.p.length)
2419
+ buf = chunk;
2420
+ else if (!chunk.length)
2421
+ buf = this.p;
2422
+ else {
2423
+ buf = new u8(this.p.length + chunk.length);
2424
+ buf.set(this.p), buf.set(chunk, this.p.length);
2425
+ }
2426
+ var l = buf.length, oc = this.c, add = oc && this.d;
2427
+ var _loop_2 = function () {
2428
+ var _a;
2429
+ var sig = b4(buf, i);
2430
+ if (sig == 0x4034B50) {
2431
+ f = 1, is = i;
2432
+ this_1.d = null;
2433
+ this_1.c = 0;
2434
+ var bf = b2(buf, i + 6), cmp_1 = b2(buf, i + 8), u = bf & 2048, dd = bf & 8, fnl = b2(buf, i + 26), es = b2(buf, i + 28);
2435
+ if (l > i + 30 + fnl + es) {
2436
+ var chks_3 = [];
2437
+ this_1.k.unshift(chks_3);
2438
+ f = 2;
2439
+ var sc_1 = b4(buf, i + 18), su_1 = b4(buf, i + 22);
2440
+ var fn_1 = strFromU8(buf.subarray(i + 30, i += 30 + fnl), !u);
2441
+ if (sc_1 == 4294967295) {
2442
+ _a = dd ? [-2] : z64e(buf, i), sc_1 = _a[0], su_1 = _a[1];
2443
+ }
2444
+ else if (dd)
2445
+ sc_1 = -1;
2446
+ i += es;
2447
+ this_1.c = sc_1;
2448
+ var d_1;
2449
+ var file_1 = {
2450
+ name: fn_1,
2451
+ compression: cmp_1,
2452
+ start: function () {
2453
+ if (!file_1.ondata)
2454
+ err(5);
2455
+ if (!sc_1)
2456
+ file_1.ondata(null, et, true);
2457
+ else {
2458
+ var ctr = _this.o[cmp_1];
2459
+ if (!ctr)
2460
+ file_1.ondata(err(14, 'unknown compression type ' + cmp_1, 1), null, false);
2461
+ d_1 = sc_1 < 0 ? new ctr(fn_1) : new ctr(fn_1, sc_1, su_1);
2462
+ d_1.ondata = function (err, dat, final) { file_1.ondata(err, dat, final); };
2463
+ for (var _i = 0, chks_4 = chks_3; _i < chks_4.length; _i++) {
2464
+ var dat = chks_4[_i];
2465
+ d_1.push(dat, false);
2466
+ }
2467
+ if (_this.k[0] == chks_3 && _this.c)
2468
+ _this.d = d_1;
2469
+ else
2470
+ d_1.push(et, true);
2471
+ }
2472
+ },
2473
+ terminate: function () {
2474
+ if (d_1 && d_1.terminate)
2475
+ d_1.terminate();
2476
+ }
2477
+ };
2478
+ if (sc_1 >= 0)
2479
+ file_1.size = sc_1, file_1.originalSize = su_1;
2480
+ this_1.onfile(file_1);
2481
+ }
2482
+ return "break";
2483
+ }
2484
+ else if (oc) {
2485
+ if (sig == 0x8074B50) {
2486
+ is = i += 12 + (oc == -2 && 8), f = 3, this_1.c = 0;
2487
+ return "break";
2488
+ }
2489
+ else if (sig == 0x2014B50) {
2490
+ is = i -= 4, f = 3, this_1.c = 0;
2491
+ return "break";
2492
+ }
2493
+ }
2494
+ };
2495
+ var this_1 = this;
2496
+ for (; i < l - 4; ++i) {
2497
+ var state_1 = _loop_2();
2498
+ if (state_1 === "break")
2499
+ break;
2500
+ }
2501
+ this.p = et;
2502
+ if (oc < 0) {
2503
+ var dat = f ? buf.subarray(0, is - 12 - (oc == -2 && 8) - (b4(buf, is - 16) == 0x8074B50 && 4)) : buf.subarray(0, i);
2504
+ if (add)
2505
+ add.push(dat, !!f);
2506
+ else
2507
+ this.k[+(f == 2)].push(dat);
2508
+ }
2509
+ if (f & 2)
2510
+ return this.push(buf.subarray(i), final);
2511
+ this.p = buf.subarray(i);
2512
+ }
2513
+ if (final) {
2514
+ if (this.c)
2515
+ err(13);
2516
+ this.p = null;
2517
+ }
2518
+ };
2519
+ /**
2520
+ * Registers a decoder with the stream, allowing for files compressed with
2521
+ * the compression type provided to be expanded correctly
2522
+ * @param decoder The decoder constructor
2523
+ */
2524
+ Unzip.prototype.register = function (decoder) {
2525
+ this.o[decoder.compression] = decoder;
2526
+ };
2527
+ return Unzip;
2528
+ }());
2529
+ exports.Unzip = Unzip;
2530
+ var mt = typeof queueMicrotask == 'function' ? queueMicrotask : typeof setTimeout == 'function' ? setTimeout : function (fn) { fn(); };
2531
+ function unzip(data, opts, cb) {
2532
+ if (!cb)
2533
+ cb = opts, opts = {};
2534
+ if (typeof cb != 'function')
2535
+ err(7);
2536
+ var term = [];
2537
+ var tAll = function () {
2538
+ for (var i = 0; i < term.length; ++i)
2539
+ term[i]();
2540
+ };
2541
+ var files = {};
2542
+ var cbd = function (a, b) {
2543
+ mt(function () { cb(a, b); });
2544
+ };
2545
+ mt(function () { cbd = cb; });
2546
+ var e = data.length - 22;
2547
+ for (; b4(data, e) != 0x6054B50; --e) {
2548
+ if (!e || data.length - e > 65558) {
2549
+ cbd(err(13, 0, 1), null);
2550
+ return tAll;
2551
+ }
2552
+ }
2553
+ ;
2554
+ var lft = b2(data, e + 8);
2555
+ if (lft) {
2556
+ var c = lft;
2557
+ var o = b4(data, e + 16);
2558
+ var z = o == 4294967295 || c == 65535;
2559
+ if (z) {
2560
+ var ze = b4(data, e - 12);
2561
+ z = b4(data, ze) == 0x6064B50;
2562
+ if (z) {
2563
+ c = lft = b4(data, ze + 32);
2564
+ o = b4(data, ze + 48);
2565
+ }
2566
+ }
2567
+ var fltr = opts && opts.filter;
2568
+ var _loop_3 = function (i) {
2569
+ var _a = zh(data, o, z), c_1 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off);
2570
+ o = no;
2571
+ var cbl = function (e, d) {
2572
+ if (e) {
2573
+ tAll();
2574
+ cbd(e, null);
2575
+ }
2576
+ else {
2577
+ if (d)
2578
+ files[fn] = d;
2579
+ if (!--lft)
2580
+ cbd(null, files);
2581
+ }
2582
+ };
2583
+ if (!fltr || fltr({
2584
+ name: fn,
2585
+ size: sc,
2586
+ originalSize: su,
2587
+ compression: c_1
2588
+ })) {
2589
+ if (!c_1)
2590
+ cbl(null, slc(data, b, b + sc));
2591
+ else if (c_1 == 8) {
2592
+ var infl = data.subarray(b, b + sc);
2593
+ // Synchronously decompress under 512KB, or barely-compressed data
2594
+ if (su < 524288 || sc > 0.8 * su) {
2595
+ try {
2596
+ cbl(null, inflateSync(infl, { out: new u8(su) }));
2597
+ }
2598
+ catch (e) {
2599
+ cbl(e, null);
2600
+ }
2601
+ }
2602
+ else
2603
+ term.push(inflate(infl, { size: su }, cbl));
2604
+ }
2605
+ else
2606
+ cbl(err(14, 'unknown compression type ' + c_1, 1), null);
2607
+ }
2608
+ else
2609
+ cbl(null, null);
2610
+ };
2611
+ for (var i = 0; i < c; ++i) {
2612
+ _loop_3(i);
2613
+ }
2614
+ }
2615
+ else
2616
+ cbd(null, {});
2617
+ return tAll;
2618
+ }
2619
+ exports.unzip = unzip;
2620
+ /**
2621
+ * Synchronously decompresses a ZIP archive. Prefer using `unzip` for better
2622
+ * performance with more than one file.
2623
+ * @param data The raw compressed ZIP file
2624
+ * @param opts The ZIP extraction options
2625
+ * @returns The decompressed files
2626
+ */
2627
+ function unzipSync(data, opts) {
2628
+ var files = {};
2629
+ var e = data.length - 22;
2630
+ for (; b4(data, e) != 0x6054B50; --e) {
2631
+ if (!e || data.length - e > 65558)
2632
+ err(13);
2633
+ }
2634
+ ;
2635
+ var c = b2(data, e + 8);
2636
+ if (!c)
2637
+ return {};
2638
+ var o = b4(data, e + 16);
2639
+ var z = o == 4294967295 || c == 65535;
2640
+ if (z) {
2641
+ var ze = b4(data, e - 12);
2642
+ z = b4(data, ze) == 0x6064B50;
2643
+ if (z) {
2644
+ c = b4(data, ze + 32);
2645
+ o = b4(data, ze + 48);
2646
+ }
2647
+ }
2648
+ var fltr = opts && opts.filter;
2649
+ for (var i = 0; i < c; ++i) {
2650
+ var _a = zh(data, o, z), c_2 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off);
2651
+ o = no;
2652
+ if (!fltr || fltr({
2653
+ name: fn,
2654
+ size: sc,
2655
+ originalSize: su,
2656
+ compression: c_2
2657
+ })) {
2658
+ if (!c_2)
2659
+ files[fn] = slc(data, b, b + sc);
2660
+ else if (c_2 == 8)
2661
+ files[fn] = inflateSync(data.subarray(b, b + sc), { out: new u8(su) });
2662
+ else
2663
+ err(14, 'unknown compression type ' + c_2);
2664
+ }
2665
+ }
2666
+ return files;
2667
+ }
2668
+ exports.unzipSync = unzipSync;