appmap 0.62.1 → 0.65.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2281) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/ARCHITECTURE.md +4 -4
  4. data/CHANGELOG.md +39 -0
  5. data/README.md +2 -2
  6. data/Rakefile +8 -8
  7. data/lib/appmap/command/agent_setup/init.rb +1 -0
  8. data/lib/appmap/config.rb +2 -2
  9. data/lib/appmap/cucumber.rb +1 -0
  10. data/lib/appmap/depends/util.rb +2 -0
  11. data/lib/appmap/event.rb +38 -14
  12. data/lib/appmap/handler/rails/sql_handler.rb +0 -28
  13. data/lib/appmap/minitest.rb +1 -0
  14. data/lib/appmap/node_cli.rb +1 -1
  15. data/lib/appmap/rspec.rb +1 -0
  16. data/lib/appmap/service/validator/config_validator.rb +8 -4
  17. data/lib/appmap/swagger/rake_tasks.rb +1 -0
  18. data/lib/appmap/util.rb +1 -1
  19. data/lib/appmap/version.rb +2 -3
  20. data/node_modules/@appland/appmap/CHANGELOG.md +136 -0
  21. data/node_modules/@appland/appmap/package.json +50 -0
  22. data/node_modules/@appland/appmap/src/agentInstaller/buildToolInstallerBase.js +28 -0
  23. data/node_modules/@appland/appmap/src/agentInstaller/commandStruct.js +17 -0
  24. data/node_modules/@appland/appmap/src/agentInstaller/installAgentStep.js +30 -0
  25. data/node_modules/@appland/appmap/src/agentInstaller/javaAgentInstaller.js +321 -0
  26. data/node_modules/@appland/appmap/src/agentInstaller/pythonAgentInstaller.js +174 -0
  27. data/node_modules/@appland/appmap/src/agentInstaller/rubyAgentInstaller.js +129 -0
  28. data/node_modules/@appland/appmap/src/agentInstaller/types.d.ts +76 -0
  29. data/node_modules/@appland/{cli → appmap}/src/appMapCatalog.js +0 -0
  30. data/node_modules/@appland/{cli → appmap}/src/appland/getAppMap.js +0 -0
  31. data/node_modules/@appland/appmap/src/appland/listAppMaps.js +58 -0
  32. data/node_modules/@appland/{cli → appmap}/src/appland/settings.js +0 -0
  33. data/node_modules/@appland/appmap/src/appland/types.d.ts +16 -0
  34. data/node_modules/@appland/appmap/src/cli.js +729 -0
  35. data/node_modules/@appland/{cli → appmap}/src/database.js +0 -0
  36. data/node_modules/@appland/{cli → appmap}/src/depends.js +0 -0
  37. data/node_modules/@appland/appmap/src/errors/abortError.js +5 -0
  38. data/node_modules/@appland/appmap/src/errors/validationError.js +5 -0
  39. data/node_modules/@appland/{cli → appmap}/src/fingerprint/algorithms.js +0 -0
  40. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/base.js +0 -0
  41. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/classDependencies.js +0 -0
  42. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/classes.js +0 -0
  43. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/eventTree.js +0 -0
  44. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/httpClientRequests.js +0 -0
  45. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/httpServerRequests.js +0 -0
  46. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/info.js +0 -0
  47. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/labels.js +0 -0
  48. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/packageDependencies.js +0 -0
  49. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/packages.js +0 -0
  50. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/sqlNormalized.js +0 -0
  51. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/sqlTables.js +0 -0
  52. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/trace.js +0 -0
  53. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/unique.js +0 -0
  54. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize/update.js +0 -0
  55. data/node_modules/@appland/{cli → appmap}/src/fingerprint/canonicalize.js +0 -0
  56. data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintDirectoryCommand.js +0 -0
  57. data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintQueue.js +0 -0
  58. data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprintWatchCommand.js +0 -0
  59. data/node_modules/@appland/{cli → appmap}/src/fingerprint/fingerprinter.js +0 -0
  60. data/node_modules/@appland/{cli → appmap}/src/fingerprint/index.js +0 -0
  61. data/node_modules/@appland/{cli → appmap}/src/functionStats.js +0 -0
  62. data/node_modules/@appland/{cli → appmap}/src/inspect/fields.js +0 -0
  63. data/node_modules/@appland/{cli → appmap}/src/inspect/filter.js +0 -0
  64. data/node_modules/@appland/{cli → appmap}/src/inspect/home.js +0 -0
  65. data/node_modules/@appland/{cli → appmap}/src/inspect/print.js +0 -0
  66. data/node_modules/@appland/{cli → appmap}/src/inspect/reset.js +0 -0
  67. data/node_modules/@appland/{cli → appmap}/src/inspect/types.d.ts +0 -0
  68. data/node_modules/@appland/{cli → appmap}/src/inspect/undoFilter.js +0 -0
  69. data/node_modules/@appland/{cli → appmap}/src/inspect.js +0 -0
  70. data/node_modules/@appland/{cli → appmap}/src/inventoryCommand.js +0 -0
  71. data/node_modules/@appland/{cli → appmap}/src/search/codeObjectMatcher.js +0 -0
  72. data/node_modules/@appland/{cli → appmap}/src/search/constants.js +0 -0
  73. data/node_modules/@appland/{cli → appmap}/src/search/findCodeObjects.js +0 -0
  74. data/node_modules/@appland/{cli → appmap}/src/search/findEvents.js +0 -0
  75. data/node_modules/@appland/{cli → appmap}/src/search/matchFilter.js +0 -0
  76. data/node_modules/@appland/{cli → appmap}/src/search/matchSpec.js +0 -0
  77. data/node_modules/@appland/{cli → appmap}/src/search/trigram.js +0 -0
  78. data/node_modules/@appland/{cli → appmap}/src/search/types.d.ts +0 -0
  79. data/node_modules/@appland/{cli → appmap}/src/search/utils.js +0 -0
  80. data/node_modules/@appland/{cli → appmap}/src/swagger/README.md +0 -0
  81. data/node_modules/@appland/{cli → appmap}/src/swagger/command.js +0 -0
  82. data/node_modules/@appland/{cli → appmap}/src/swagger/method.js +0 -0
  83. data/node_modules/@appland/{cli → appmap}/src/swagger/model.js +0 -0
  84. data/node_modules/@appland/{cli → appmap}/src/swagger/path.js +0 -0
  85. data/node_modules/@appland/{cli → appmap}/src/swagger/response.js +0 -0
  86. data/node_modules/@appland/{cli → appmap}/src/swagger/schema.js +0 -0
  87. data/node_modules/@appland/{cli → appmap}/src/swagger/securitySchemes.js +0 -0
  88. data/node_modules/@appland/{cli → appmap}/src/swagger/settings.js +0 -0
  89. data/node_modules/@appland/{cli → appmap}/src/swagger/util.js +0 -0
  90. data/node_modules/@appland/appmap/src/utils.js +165 -0
  91. data/node_modules/@appland/appmap/tests/unit/agentInstall/python.js +0 -0
  92. data/node_modules/@appland/appmap/tests/unit/agentInstall/python.spec.js +109 -0
  93. data/node_modules/@appland/appmap/tests/unit/depends.spec.js +63 -0
  94. data/node_modules/@appland/appmap/tests/unit/fingerprint/canonicalize.spec.js +42 -0
  95. data/node_modules/@appland/{cli → appmap}/tests/unit/fingerprint/sql.spec.js +0 -0
  96. data/node_modules/@appland/appmap/tests/unit/fixtures/python/pip/requirements.txt +2 -0
  97. data/node_modules/@appland/appmap/tests/unit/fixtures/python/poetry/poetry.lock +2 -0
  98. data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/controllers/organizations_controller.rb +0 -0
  99. data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/configuration.rb +0 -0
  100. data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/show.rb +0 -0
  101. data/node_modules/@appland/{cli/tests/unit/fixtures → appmap/tests/unit/fixtures/ruby}/app/models/user.rb +0 -0
  102. data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.info.json +170 -0
  103. data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.trace.json +213 -0
  104. data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.update.json +54 -0
  105. data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/revoke_api_key.appmap.json +884 -0
  106. data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/user_page_scenario.appmap.json +1750 -0
  107. data/node_modules/@appland/appmap/tests/unit/inspect.spec.js +105 -0
  108. data/node_modules/@appland/models/CHANGELOG.md +7 -0
  109. data/node_modules/@appland/models/package.json +2 -2
  110. data/node_modules/@tootallnate/once/dist/index.d.ts +14 -0
  111. data/node_modules/@tootallnate/once/dist/index.js +39 -0
  112. data/node_modules/@tootallnate/once/dist/index.js.map +1 -0
  113. data/node_modules/@tootallnate/once/package.json +45 -0
  114. data/node_modules/abab/CHANGELOG.md +45 -0
  115. data/node_modules/abab/LICENSE.md +13 -0
  116. data/node_modules/abab/README.md +51 -0
  117. data/node_modules/abab/index.d.ts +2 -0
  118. data/node_modules/abab/index.js +9 -0
  119. data/node_modules/abab/lib/atob.js +97 -0
  120. data/node_modules/abab/lib/btoa.js +58 -0
  121. data/node_modules/abab/package.json +42 -0
  122. data/node_modules/acorn/CHANGELOG.md +744 -0
  123. data/node_modules/acorn/LICENSE +21 -0
  124. data/node_modules/acorn/README.md +280 -0
  125. data/node_modules/acorn/bin/acorn +4 -0
  126. data/node_modules/acorn/dist/acorn.d.ts +211 -0
  127. data/node_modules/acorn/dist/acorn.js +5525 -0
  128. data/node_modules/acorn/dist/acorn.mjs +5494 -0
  129. data/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  130. data/node_modules/acorn/dist/bin.js +65 -0
  131. data/node_modules/acorn/package.json +46 -0
  132. data/node_modules/acorn-globals/LICENSE +19 -0
  133. data/node_modules/acorn-globals/README.md +81 -0
  134. data/node_modules/acorn-globals/index.js +179 -0
  135. data/node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md +620 -0
  136. data/node_modules/acorn-globals/node_modules/acorn/LICENSE +21 -0
  137. data/node_modules/acorn-globals/node_modules/acorn/README.md +269 -0
  138. data/node_modules/acorn-globals/node_modules/acorn/bin/acorn +4 -0
  139. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts +209 -0
  140. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js +5186 -0
  141. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map +1 -0
  142. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs +5155 -0
  143. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  144. data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +1 -0
  145. data/node_modules/acorn-globals/node_modules/acorn/dist/bin.js +64 -0
  146. data/node_modules/acorn-globals/node_modules/acorn/package.json +35 -0
  147. data/node_modules/acorn-globals/package.json +35 -0
  148. data/node_modules/acorn-walk/CHANGELOG.md +131 -0
  149. data/node_modules/acorn-walk/LICENSE +19 -0
  150. data/node_modules/acorn-walk/README.md +126 -0
  151. data/node_modules/acorn-walk/dist/walk.d.ts +112 -0
  152. data/node_modules/acorn-walk/dist/walk.js +463 -0
  153. data/node_modules/acorn-walk/dist/walk.js.map +1 -0
  154. data/node_modules/acorn-walk/dist/walk.mjs +443 -0
  155. data/node_modules/acorn-walk/dist/walk.mjs.map +1 -0
  156. data/node_modules/acorn-walk/package.json +34 -0
  157. data/node_modules/agent-base/README.md +145 -0
  158. data/node_modules/agent-base/dist/src/index.d.ts +78 -0
  159. data/node_modules/agent-base/dist/src/index.js +203 -0
  160. data/node_modules/agent-base/dist/src/index.js.map +1 -0
  161. data/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  162. data/node_modules/agent-base/dist/src/promisify.js +18 -0
  163. data/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  164. data/node_modules/agent-base/package.json +64 -0
  165. data/node_modules/agent-base/src/index.ts +345 -0
  166. data/node_modules/agent-base/src/promisify.ts +33 -0
  167. data/node_modules/asynckit/LICENSE +21 -0
  168. data/node_modules/asynckit/README.md +233 -0
  169. data/node_modules/asynckit/bench.js +76 -0
  170. data/node_modules/asynckit/index.js +6 -0
  171. data/node_modules/asynckit/lib/abort.js +29 -0
  172. data/node_modules/asynckit/lib/async.js +34 -0
  173. data/node_modules/asynckit/lib/defer.js +26 -0
  174. data/node_modules/asynckit/lib/iterate.js +75 -0
  175. data/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  176. data/node_modules/asynckit/lib/readable_parallel.js +25 -0
  177. data/node_modules/asynckit/lib/readable_serial.js +25 -0
  178. data/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  179. data/node_modules/asynckit/lib/state.js +37 -0
  180. data/node_modules/asynckit/lib/streamify.js +141 -0
  181. data/node_modules/asynckit/lib/terminator.js +29 -0
  182. data/node_modules/asynckit/package.json +63 -0
  183. data/node_modules/asynckit/parallel.js +43 -0
  184. data/node_modules/asynckit/serial.js +17 -0
  185. data/node_modules/asynckit/serialOrdered.js +75 -0
  186. data/node_modules/asynckit/stream.js +21 -0
  187. data/node_modules/browser-process-hrtime/LICENSE +9 -0
  188. data/node_modules/browser-process-hrtime/README.md +27 -0
  189. data/node_modules/browser-process-hrtime/index.d.ts +4 -0
  190. data/node_modules/browser-process-hrtime/index.js +28 -0
  191. data/node_modules/browser-process-hrtime/package.json +15 -0
  192. data/node_modules/combined-stream/License +19 -0
  193. data/node_modules/combined-stream/Readme.md +138 -0
  194. data/node_modules/combined-stream/lib/combined_stream.js +208 -0
  195. data/node_modules/combined-stream/package.json +25 -0
  196. data/node_modules/combined-stream/yarn.lock +17 -0
  197. data/node_modules/cssom/LICENSE.txt +20 -0
  198. data/node_modules/cssom/README.mdown +67 -0
  199. data/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
  200. data/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
  201. data/node_modules/cssom/lib/CSSHostRule.js +37 -0
  202. data/node_modules/cssom/lib/CSSImportRule.js +132 -0
  203. data/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
  204. data/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
  205. data/node_modules/cssom/lib/CSSMediaRule.js +41 -0
  206. data/node_modules/cssom/lib/CSSOM.js +3 -0
  207. data/node_modules/cssom/lib/CSSRule.js +43 -0
  208. data/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
  209. data/node_modules/cssom/lib/CSSStyleRule.js +190 -0
  210. data/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
  211. data/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
  212. data/node_modules/cssom/lib/CSSValue.js +43 -0
  213. data/node_modules/cssom/lib/CSSValueExpression.js +344 -0
  214. data/node_modules/cssom/lib/MatcherList.js +62 -0
  215. data/node_modules/cssom/lib/MediaList.js +61 -0
  216. data/node_modules/cssom/lib/StyleSheet.js +17 -0
  217. data/node_modules/cssom/lib/clone.js +71 -0
  218. data/node_modules/cssom/lib/index.js +21 -0
  219. data/node_modules/cssom/lib/parse.js +463 -0
  220. data/node_modules/cssom/package.json +18 -0
  221. data/node_modules/cssstyle/LICENSE +20 -0
  222. data/node_modules/cssstyle/README.md +15 -0
  223. data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +260 -0
  224. data/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js +556 -0
  225. data/node_modules/cssstyle/lib/allExtraProperties.js +67 -0
  226. data/node_modules/cssstyle/lib/allProperties.js +462 -0
  227. data/node_modules/cssstyle/lib/allWebkitProperties.js +194 -0
  228. data/node_modules/cssstyle/lib/constants.js +6 -0
  229. data/node_modules/cssstyle/lib/implementedProperties.js +90 -0
  230. data/node_modules/cssstyle/lib/named_colors.json +152 -0
  231. data/node_modules/cssstyle/lib/parsers.js +722 -0
  232. data/node_modules/cssstyle/lib/parsers.test.js +139 -0
  233. data/node_modules/cssstyle/lib/properties/azimuth.js +67 -0
  234. data/node_modules/cssstyle/lib/properties/background.js +19 -0
  235. data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +24 -0
  236. data/node_modules/cssstyle/lib/properties/backgroundColor.js +36 -0
  237. data/node_modules/cssstyle/lib/properties/backgroundImage.js +32 -0
  238. data/node_modules/cssstyle/lib/properties/backgroundPosition.js +58 -0
  239. data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +32 -0
  240. data/node_modules/cssstyle/lib/properties/border.js +33 -0
  241. data/node_modules/cssstyle/lib/properties/borderBottom.js +17 -0
  242. data/node_modules/cssstyle/lib/properties/borderBottomColor.js +16 -0
  243. data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +21 -0
  244. data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +16 -0
  245. data/node_modules/cssstyle/lib/properties/borderCollapse.js +26 -0
  246. data/node_modules/cssstyle/lib/properties/borderColor.js +30 -0
  247. data/node_modules/cssstyle/lib/properties/borderLeft.js +17 -0
  248. data/node_modules/cssstyle/lib/properties/borderLeftColor.js +16 -0
  249. data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +21 -0
  250. data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +16 -0
  251. data/node_modules/cssstyle/lib/properties/borderRight.js +17 -0
  252. data/node_modules/cssstyle/lib/properties/borderRightColor.js +16 -0
  253. data/node_modules/cssstyle/lib/properties/borderRightStyle.js +21 -0
  254. data/node_modules/cssstyle/lib/properties/borderRightWidth.js +16 -0
  255. data/node_modules/cssstyle/lib/properties/borderSpacing.js +41 -0
  256. data/node_modules/cssstyle/lib/properties/borderStyle.js +38 -0
  257. data/node_modules/cssstyle/lib/properties/borderTop.js +17 -0
  258. data/node_modules/cssstyle/lib/properties/borderTopColor.js +16 -0
  259. data/node_modules/cssstyle/lib/properties/borderTopStyle.js +21 -0
  260. data/node_modules/cssstyle/lib/properties/borderTopWidth.js +17 -0
  261. data/node_modules/cssstyle/lib/properties/borderWidth.js +46 -0
  262. data/node_modules/cssstyle/lib/properties/bottom.js +14 -0
  263. data/node_modules/cssstyle/lib/properties/clear.js +16 -0
  264. data/node_modules/cssstyle/lib/properties/clip.js +47 -0
  265. data/node_modules/cssstyle/lib/properties/color.js +14 -0
  266. data/node_modules/cssstyle/lib/properties/cssFloat.js +12 -0
  267. data/node_modules/cssstyle/lib/properties/flex.js +45 -0
  268. data/node_modules/cssstyle/lib/properties/flexBasis.js +28 -0
  269. data/node_modules/cssstyle/lib/properties/flexGrow.js +19 -0
  270. data/node_modules/cssstyle/lib/properties/flexShrink.js +19 -0
  271. data/node_modules/cssstyle/lib/properties/float.js +12 -0
  272. data/node_modules/cssstyle/lib/properties/floodColor.js +14 -0
  273. data/node_modules/cssstyle/lib/properties/font.js +43 -0
  274. data/node_modules/cssstyle/lib/properties/fontFamily.js +33 -0
  275. data/node_modules/cssstyle/lib/properties/fontSize.js +38 -0
  276. data/node_modules/cssstyle/lib/properties/fontStyle.js +18 -0
  277. data/node_modules/cssstyle/lib/properties/fontVariant.js +18 -0
  278. data/node_modules/cssstyle/lib/properties/fontWeight.js +33 -0
  279. data/node_modules/cssstyle/lib/properties/height.js +24 -0
  280. data/node_modules/cssstyle/lib/properties/left.js +14 -0
  281. data/node_modules/cssstyle/lib/properties/lightingColor.js +14 -0
  282. data/node_modules/cssstyle/lib/properties/lineHeight.js +26 -0
  283. data/node_modules/cssstyle/lib/properties/margin.js +68 -0
  284. data/node_modules/cssstyle/lib/properties/marginBottom.js +13 -0
  285. data/node_modules/cssstyle/lib/properties/marginLeft.js +13 -0
  286. data/node_modules/cssstyle/lib/properties/marginRight.js +13 -0
  287. data/node_modules/cssstyle/lib/properties/marginTop.js +13 -0
  288. data/node_modules/cssstyle/lib/properties/opacity.js +14 -0
  289. data/node_modules/cssstyle/lib/properties/outlineColor.js +14 -0
  290. data/node_modules/cssstyle/lib/properties/padding.js +61 -0
  291. data/node_modules/cssstyle/lib/properties/paddingBottom.js +13 -0
  292. data/node_modules/cssstyle/lib/properties/paddingLeft.js +13 -0
  293. data/node_modules/cssstyle/lib/properties/paddingRight.js +13 -0
  294. data/node_modules/cssstyle/lib/properties/paddingTop.js +13 -0
  295. data/node_modules/cssstyle/lib/properties/right.js +14 -0
  296. data/node_modules/cssstyle/lib/properties/stopColor.js +14 -0
  297. data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +14 -0
  298. data/node_modules/cssstyle/lib/properties/textOverlineColor.js +14 -0
  299. data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +14 -0
  300. data/node_modules/cssstyle/lib/properties/top.js +14 -0
  301. data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
  302. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
  303. data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
  304. data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
  305. data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
  306. data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
  307. data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
  308. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
  309. data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
  310. data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
  311. data/node_modules/cssstyle/lib/properties/width.js +24 -0
  312. data/node_modules/cssstyle/lib/properties.js +1833 -0
  313. data/node_modules/cssstyle/lib/utils/colorSpace.js +21 -0
  314. data/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js +14 -0
  315. data/node_modules/cssstyle/node_modules/cssom/LICENSE.txt +20 -0
  316. data/node_modules/cssstyle/node_modules/cssom/README.mdown +67 -0
  317. data/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
  318. data/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
  319. data/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js +37 -0
  320. data/node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js +132 -0
  321. data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
  322. data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
  323. data/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +41 -0
  324. data/node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js +3 -0
  325. data/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js +43 -0
  326. data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
  327. data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +190 -0
  328. data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
  329. data/node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
  330. data/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js +43 -0
  331. data/node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +344 -0
  332. data/node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js +62 -0
  333. data/node_modules/cssstyle/node_modules/cssom/lib/MediaList.js +61 -0
  334. data/node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js +17 -0
  335. data/node_modules/cssstyle/node_modules/cssom/lib/clone.js +82 -0
  336. data/node_modules/cssstyle/node_modules/cssom/lib/index.js +21 -0
  337. data/node_modules/cssstyle/node_modules/cssom/lib/parse.js +464 -0
  338. data/node_modules/cssstyle/node_modules/cssom/package.json +18 -0
  339. data/node_modules/cssstyle/package.json +72 -0
  340. data/node_modules/data-urls/LICENSE.txt +7 -0
  341. data/node_modules/data-urls/README.md +64 -0
  342. data/node_modules/data-urls/lib/parser.js +74 -0
  343. data/node_modules/data-urls/lib/utils.js +23 -0
  344. data/node_modules/data-urls/package.json +53 -0
  345. data/node_modules/debug/LICENSE +19 -0
  346. data/node_modules/debug/README.md +455 -0
  347. data/node_modules/debug/package.json +59 -0
  348. data/node_modules/debug/src/browser.js +269 -0
  349. data/node_modules/debug/src/common.js +274 -0
  350. data/node_modules/debug/src/index.js +10 -0
  351. data/node_modules/debug/src/node.js +263 -0
  352. data/node_modules/decimal.js/CHANGELOG.md +231 -0
  353. data/node_modules/decimal.js/LICENCE.md +23 -0
  354. data/node_modules/decimal.js/README.md +246 -0
  355. data/node_modules/decimal.js/decimal.d.ts +300 -0
  356. data/node_modules/decimal.js/decimal.js +4934 -0
  357. data/node_modules/decimal.js/decimal.mjs +4898 -0
  358. data/node_modules/decimal.js/package.json +40 -0
  359. data/node_modules/deep-is/LICENSE +22 -0
  360. data/node_modules/deep-is/README.markdown +70 -0
  361. data/node_modules/deep-is/example/cmp.js +11 -0
  362. data/node_modules/deep-is/index.js +102 -0
  363. data/node_modules/deep-is/package.json +61 -0
  364. data/node_modules/deep-is/test/NaN.js +16 -0
  365. data/node_modules/deep-is/test/cmp.js +23 -0
  366. data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
  367. data/node_modules/delayed-stream/License +19 -0
  368. data/node_modules/delayed-stream/Makefile +7 -0
  369. data/node_modules/delayed-stream/Readme.md +141 -0
  370. data/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  371. data/node_modules/delayed-stream/package.json +27 -0
  372. data/node_modules/domexception/LICENSE.txt +21 -0
  373. data/node_modules/domexception/README.md +31 -0
  374. data/node_modules/domexception/index.js +7 -0
  375. data/node_modules/domexception/lib/DOMException-impl.js +22 -0
  376. data/node_modules/domexception/lib/DOMException.js +205 -0
  377. data/node_modules/domexception/lib/legacy-error-codes.json +27 -0
  378. data/node_modules/domexception/lib/utils.js +115 -0
  379. data/node_modules/domexception/node_modules/webidl-conversions/LICENSE.md +12 -0
  380. data/node_modules/domexception/node_modules/webidl-conversions/README.md +79 -0
  381. data/node_modules/domexception/node_modules/webidl-conversions/lib/index.js +361 -0
  382. data/node_modules/domexception/node_modules/webidl-conversions/package.json +30 -0
  383. data/node_modules/domexception/package.json +42 -0
  384. data/node_modules/domexception/webidl2js-wrapper.js +15 -0
  385. data/node_modules/escodegen/LICENSE.BSD +21 -0
  386. data/node_modules/escodegen/README.md +84 -0
  387. data/node_modules/escodegen/bin/escodegen.js +77 -0
  388. data/node_modules/escodegen/bin/esgenerate.js +64 -0
  389. data/node_modules/escodegen/escodegen.js +2647 -0
  390. data/node_modules/escodegen/package.json +62 -0
  391. data/node_modules/estraverse/LICENSE.BSD +19 -0
  392. data/node_modules/estraverse/README.md +153 -0
  393. data/node_modules/estraverse/estraverse.js +801 -0
  394. data/node_modules/estraverse/gulpfile.js +70 -0
  395. data/node_modules/estraverse/package.json +40 -0
  396. data/node_modules/esutils/LICENSE.BSD +19 -0
  397. data/node_modules/esutils/README.md +174 -0
  398. data/node_modules/esutils/lib/ast.js +144 -0
  399. data/node_modules/esutils/lib/code.js +135 -0
  400. data/node_modules/esutils/lib/keyword.js +165 -0
  401. data/node_modules/esutils/lib/utils.js +33 -0
  402. data/node_modules/esutils/package.json +44 -0
  403. data/node_modules/fast-levenshtein/LICENSE.md +25 -0
  404. data/node_modules/fast-levenshtein/README.md +104 -0
  405. data/node_modules/fast-levenshtein/levenshtein.js +136 -0
  406. data/node_modules/fast-levenshtein/package.json +39 -0
  407. data/node_modules/form-data/License +19 -0
  408. data/node_modules/form-data/README.md.bak +356 -0
  409. data/node_modules/form-data/Readme.md +356 -0
  410. data/node_modules/form-data/index.d.ts +62 -0
  411. data/node_modules/form-data/lib/browser.js +2 -0
  412. data/node_modules/form-data/lib/form_data.js +498 -0
  413. data/node_modules/form-data/lib/populate.js +10 -0
  414. data/node_modules/form-data/package.json +68 -0
  415. data/node_modules/html-encoding-sniffer/LICENSE.txt +7 -0
  416. data/node_modules/html-encoding-sniffer/README.md +38 -0
  417. data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
  418. data/node_modules/html-encoding-sniffer/package.json +30 -0
  419. data/node_modules/http-proxy-agent/README.md +74 -0
  420. data/node_modules/http-proxy-agent/dist/agent.d.ts +32 -0
  421. data/node_modules/http-proxy-agent/dist/agent.js +145 -0
  422. data/node_modules/http-proxy-agent/dist/agent.js.map +1 -0
  423. data/node_modules/http-proxy-agent/dist/index.d.ts +21 -0
  424. data/node_modules/http-proxy-agent/dist/index.js +14 -0
  425. data/node_modules/http-proxy-agent/dist/index.js.map +1 -0
  426. data/node_modules/http-proxy-agent/package.json +57 -0
  427. data/node_modules/https-proxy-agent/README.md +137 -0
  428. data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  429. data/node_modules/https-proxy-agent/dist/agent.js +180 -0
  430. data/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  431. data/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  432. data/node_modules/https-proxy-agent/dist/index.js +14 -0
  433. data/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  434. data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  435. data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  436. data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  437. data/node_modules/https-proxy-agent/package.json +56 -0
  438. data/node_modules/iconv-lite/Changelog.md +162 -0
  439. data/node_modules/iconv-lite/LICENSE +21 -0
  440. data/node_modules/iconv-lite/README.md +156 -0
  441. data/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  442. data/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  443. data/node_modules/iconv-lite/encodings/index.js +22 -0
  444. data/node_modules/iconv-lite/encodings/internal.js +188 -0
  445. data/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  446. data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  447. data/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  448. data/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  449. data/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  450. data/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  451. data/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  452. data/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  453. data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  454. data/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  455. data/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  456. data/node_modules/iconv-lite/encodings/utf16.js +177 -0
  457. data/node_modules/iconv-lite/encodings/utf7.js +290 -0
  458. data/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  459. data/node_modules/iconv-lite/lib/extend-node.js +217 -0
  460. data/node_modules/iconv-lite/lib/index.d.ts +24 -0
  461. data/node_modules/iconv-lite/lib/index.js +153 -0
  462. data/node_modules/iconv-lite/lib/streams.js +121 -0
  463. data/node_modules/iconv-lite/package.json +46 -0
  464. data/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
  465. data/node_modules/is-potential-custom-element-name/README.md +40 -0
  466. data/node_modules/is-potential-custom-element-name/index.js +9 -0
  467. data/node_modules/is-potential-custom-element-name/package.json +35 -0
  468. data/node_modules/jsdom/LICENSE.txt +22 -0
  469. data/node_modules/jsdom/README.md +522 -0
  470. data/node_modules/jsdom/lib/api.js +333 -0
  471. data/node_modules/jsdom/lib/jsdom/browser/Window.js +933 -0
  472. data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +789 -0
  473. data/node_modules/jsdom/lib/jsdom/browser/js-globals.json +307 -0
  474. data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
  475. data/node_modules/jsdom/lib/jsdom/browser/parser/html.js +223 -0
  476. data/node_modules/jsdom/lib/jsdom/browser/parser/index.js +37 -0
  477. data/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
  478. data/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
  479. data/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
  480. data/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +95 -0
  481. data/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
  482. data/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
  483. data/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
  484. data/node_modules/jsdom/lib/jsdom/level2/style.js +57 -0
  485. data/node_modules/jsdom/lib/jsdom/level3/xpath.js +1874 -0
  486. data/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
  487. data/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +55 -0
  488. data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
  489. data/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
  490. data/node_modules/jsdom/lib/jsdom/living/attributes.js +312 -0
  491. data/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
  492. data/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
  493. data/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
  494. data/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +265 -0
  495. data/node_modules/jsdom/lib/jsdom/living/documents.js +15 -0
  496. data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +58 -0
  497. data/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +29 -0
  498. data/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
  499. data/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
  500. data/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +45 -0
  501. data/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
  502. data/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
  503. data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
  504. data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
  505. data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +197 -0
  506. data/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +18 -0
  507. data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +403 -0
  508. data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
  509. data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
  510. data/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
  511. data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
  512. data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
  513. data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +49 -0
  514. data/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
  515. data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
  516. data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
  517. data/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
  518. data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
  519. data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +59 -0
  520. data/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
  521. data/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +165 -0
  522. data/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +54 -0
  523. data/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
  524. data/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
  525. data/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
  526. data/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
  527. data/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
  528. data/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +130 -0
  529. data/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +159 -0
  530. data/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +162 -0
  531. data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +44 -0
  532. data/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
  533. data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +215 -0
  534. data/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +118 -0
  535. data/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
  536. data/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +198 -0
  537. data/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +34 -0
  538. data/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
  539. data/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +114 -0
  540. data/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
  541. data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +436 -0
  542. data/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +164 -0
  543. data/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +56 -0
  544. data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +122 -0
  545. data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +217 -0
  546. data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
  547. data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +38 -0
  548. data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +242 -0
  549. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +200 -0
  550. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
  551. data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +232 -0
  552. data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
  553. data/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +322 -0
  554. data/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +531 -0
  555. data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +3322 -0
  556. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +325 -0
  557. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
  558. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +246 -0
  559. data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +1609 -0
  560. data/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
  561. data/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +26 -0
  562. data/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
  563. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +186 -0
  564. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +80 -0
  565. data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +390 -0
  566. data/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +40 -0
  567. data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +52 -0
  568. data/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
  569. data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
  570. data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +188 -0
  571. data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +252 -0
  572. data/node_modules/jsdom/lib/jsdom/living/generated/External.js +129 -0
  573. data/node_modules/jsdom/lib/jsdom/living/generated/File.js +176 -0
  574. data/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +305 -0
  575. data/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +30 -0
  576. data/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +440 -0
  577. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +142 -0
  578. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
  579. data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +421 -0
  580. data/node_modules/jsdom/lib/jsdom/living/generated/Function.js +46 -0
  581. data/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +28 -0
  582. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +915 -0
  583. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +739 -0
  584. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +115 -0
  585. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
  586. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +188 -0
  587. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +808 -0
  588. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +487 -0
  589. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +291 -0
  590. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +358 -0
  591. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
  592. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
  593. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +128 -0
  594. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
  595. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
  596. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
  597. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
  598. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +2269 -0
  599. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +346 -0
  600. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +315 -0
  601. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +226 -0
  602. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +457 -0
  603. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +459 -0
  604. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +683 -0
  605. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +300 -0
  606. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +115 -0
  607. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
  608. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
  609. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +621 -0
  610. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +789 -0
  611. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1696 -0
  612. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +194 -0
  613. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +175 -0
  614. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +164 -0
  615. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +496 -0
  616. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +166 -0
  617. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +509 -0
  618. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +802 -0
  619. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
  620. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +261 -0
  621. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +338 -0
  622. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +202 -0
  623. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +266 -0
  624. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +839 -0
  625. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +192 -0
  626. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +351 -0
  627. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +533 -0
  628. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +371 -0
  629. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
  630. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +261 -0
  631. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +115 -0
  632. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +158 -0
  633. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +209 -0
  634. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +166 -0
  635. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +424 -0
  636. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +957 -0
  637. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +188 -0
  638. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +310 -0
  639. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +115 -0
  640. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +200 -0
  641. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
  642. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +635 -0
  643. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +339 -0
  644. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +725 -0
  645. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +386 -0
  646. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +329 -0
  647. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +126 -0
  648. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1088 -0
  649. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
  650. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
  651. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +334 -0
  652. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +192 -0
  653. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +114 -0
  654. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +310 -0
  655. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +153 -0
  656. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +44 -0
  657. data/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +379 -0
  658. data/node_modules/jsdom/lib/jsdom/living/generated/History.js +256 -0
  659. data/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +164 -0
  660. data/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +59 -0
  661. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +413 -0
  662. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +104 -0
  663. data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +370 -0
  664. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +301 -0
  665. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +94 -0
  666. data/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +151 -0
  667. data/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +330 -0
  668. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +463 -0
  669. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +108 -0
  670. data/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +38 -0
  671. data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +171 -0
  672. data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +103 -0
  673. data/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +216 -0
  674. data/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +522 -0
  675. data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +297 -0
  676. data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +736 -0
  677. data/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +74 -0
  678. data/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +196 -0
  679. data/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +309 -0
  680. data/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +46 -0
  681. data/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +60 -0
  682. data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +146 -0
  683. data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +32 -0
  684. data/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +145 -0
  685. data/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +361 -0
  686. data/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +340 -0
  687. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +142 -0
  688. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
  689. data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +125 -0
  690. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +166 -0
  691. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +56 -0
  692. data/node_modules/jsdom/lib/jsdom/living/generated/Range.js +619 -0
  693. data/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +143 -0
  694. data/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
  695. data/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +1986 -0
  696. data/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +144 -0
  697. data/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +130 -0
  698. data/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +681 -0
  699. data/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +504 -0
  700. data/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +114 -0
  701. data/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +173 -0
  702. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
  703. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
  704. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +12 -0
  705. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
  706. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
  707. data/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +527 -0
  708. data/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
  709. data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +185 -0
  710. data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
  711. data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
  712. data/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +126 -0
  713. data/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +66 -0
  714. data/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +389 -0
  715. data/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +305 -0
  716. data/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +93 -0
  717. data/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +307 -0
  718. data/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
  719. data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +169 -0
  720. data/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
  721. data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +208 -0
  722. data/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
  723. data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +236 -0
  724. data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
  725. data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +59 -0
  726. data/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +228 -0
  727. data/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
  728. data/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +30 -0
  729. data/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +444 -0
  730. data/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +183 -0
  731. data/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +68 -0
  732. data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +114 -0
  733. data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +617 -0
  734. data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +341 -0
  735. data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +12 -0
  736. data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +114 -0
  737. data/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +133 -0
  738. data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +141 -0
  739. data/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +15 -0
  740. data/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
  741. data/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +320 -0
  742. data/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
  743. data/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +270 -0
  744. data/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
  745. data/node_modules/jsdom/lib/jsdom/living/helpers/details.js +15 -0
  746. data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +54 -0
  747. data/node_modules/jsdom/lib/jsdom/living/helpers/events.js +24 -0
  748. data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
  749. data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +306 -0
  750. data/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
  751. data/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +254 -0
  752. data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
  753. data/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
  754. data/node_modules/jsdom/lib/jsdom/living/helpers/json.js +12 -0
  755. data/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
  756. data/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +15 -0
  757. data/node_modules/jsdom/lib/jsdom/living/helpers/node.js +68 -0
  758. data/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
  759. data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
  760. data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +76 -0
  761. data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +47 -0
  762. data/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
  763. data/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +148 -0
  764. data/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +114 -0
  765. data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +113 -0
  766. data/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
  767. data/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
  768. data/node_modules/jsdom/lib/jsdom/living/helpers/text.js +19 -0
  769. data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
  770. data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +75 -0
  771. data/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +25 -0
  772. data/node_modules/jsdom/lib/jsdom/living/interfaces.js +217 -0
  773. data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
  774. data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
  775. data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +141 -0
  776. data/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
  777. data/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
  778. data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
  779. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
  780. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
  781. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
  782. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
  783. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
  784. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
  785. data/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
  786. data/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
  787. data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +10 -0
  788. data/node_modules/jsdom/lib/jsdom/living/node-type.js +16 -0
  789. data/node_modules/jsdom/lib/jsdom/living/node.js +331 -0
  790. data/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
  791. data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
  792. data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
  793. data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
  794. data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
  795. data/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
  796. data/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
  797. data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +946 -0
  798. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
  799. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
  800. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
  801. data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +578 -0
  802. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +25 -0
  803. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
  804. data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +95 -0
  805. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
  806. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
  807. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
  808. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
  809. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
  810. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
  811. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
  812. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +130 -0
  813. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
  814. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
  815. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
  816. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
  817. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
  818. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
  819. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
  820. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
  821. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +160 -0
  822. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
  823. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
  824. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
  825. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +226 -0
  826. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +261 -0
  827. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
  828. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
  829. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
  830. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
  831. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
  832. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +371 -0
  833. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
  834. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +132 -0
  835. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1128 -0
  836. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
  837. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
  838. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
  839. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +101 -0
  840. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
  841. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
  842. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
  843. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
  844. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
  845. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
  846. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
  847. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
  848. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
  849. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
  850. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
  851. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
  852. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +85 -0
  853. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
  854. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
  855. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
  856. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
  857. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
  858. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +74 -0
  859. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
  860. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +265 -0
  861. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
  862. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
  863. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
  864. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
  865. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +74 -0
  866. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
  867. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
  868. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
  869. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
  870. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
  871. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
  872. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
  873. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +272 -0
  874. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
  875. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
  876. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
  877. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
  878. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
  879. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
  880. data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
  881. data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +1165 -0
  882. data/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
  883. data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
  884. data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
  885. data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
  886. data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
  887. data/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
  888. data/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
  889. data/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +42 -0
  890. data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
  891. data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
  892. data/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +40 -0
  893. data/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
  894. data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
  895. data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
  896. data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
  897. data/node_modules/jsdom/lib/jsdom/living/post-message.js +39 -0
  898. data/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
  899. data/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +889 -0
  900. data/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
  901. data/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
  902. data/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +342 -0
  903. data/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +38 -0
  904. data/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
  905. data/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
  906. data/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
  907. data/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +127 -0
  908. data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
  909. data/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
  910. data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +175 -0
  911. data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
  912. data/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
  913. data/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
  914. data/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
  915. data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +134 -0
  916. data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +238 -0
  917. data/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
  918. data/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
  919. data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +84 -0
  920. data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +171 -0
  921. data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1023 -0
  922. data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
  923. data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
  924. data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +60 -0
  925. data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +438 -0
  926. data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +158 -0
  927. data/node_modules/jsdom/lib/jsdom/utils.js +165 -0
  928. data/node_modules/jsdom/lib/jsdom/virtual-console.js +34 -0
  929. data/node_modules/jsdom/lib/jsdom/vm-shim.js +106 -0
  930. data/node_modules/jsdom/package.json +116 -0
  931. data/node_modules/levn/LICENSE +22 -0
  932. data/node_modules/levn/README.md +196 -0
  933. data/node_modules/levn/lib/cast.js +298 -0
  934. data/node_modules/levn/lib/coerce.js +285 -0
  935. data/node_modules/levn/lib/index.js +22 -0
  936. data/node_modules/levn/lib/parse-string.js +113 -0
  937. data/node_modules/levn/lib/parse.js +102 -0
  938. data/node_modules/levn/package.json +47 -0
  939. data/node_modules/lodash/LICENSE +47 -0
  940. data/node_modules/lodash/README.md +39 -0
  941. data/node_modules/lodash/_DataView.js +7 -0
  942. data/node_modules/lodash/_Hash.js +32 -0
  943. data/node_modules/lodash/_LazyWrapper.js +28 -0
  944. data/node_modules/lodash/_ListCache.js +32 -0
  945. data/node_modules/lodash/_LodashWrapper.js +22 -0
  946. data/node_modules/lodash/_Map.js +7 -0
  947. data/node_modules/lodash/_MapCache.js +32 -0
  948. data/node_modules/lodash/_Promise.js +7 -0
  949. data/node_modules/lodash/_Set.js +7 -0
  950. data/node_modules/lodash/_SetCache.js +27 -0
  951. data/node_modules/lodash/_Stack.js +27 -0
  952. data/node_modules/lodash/_Symbol.js +6 -0
  953. data/node_modules/lodash/_Uint8Array.js +6 -0
  954. data/node_modules/lodash/_WeakMap.js +7 -0
  955. data/node_modules/lodash/_apply.js +21 -0
  956. data/node_modules/lodash/_arrayAggregator.js +22 -0
  957. data/node_modules/lodash/_arrayEach.js +22 -0
  958. data/node_modules/lodash/_arrayEachRight.js +21 -0
  959. data/node_modules/lodash/_arrayEvery.js +23 -0
  960. data/node_modules/lodash/_arrayFilter.js +25 -0
  961. data/node_modules/lodash/_arrayIncludes.js +17 -0
  962. data/node_modules/lodash/_arrayIncludesWith.js +22 -0
  963. data/node_modules/lodash/_arrayLikeKeys.js +49 -0
  964. data/node_modules/lodash/_arrayMap.js +21 -0
  965. data/node_modules/lodash/_arrayPush.js +20 -0
  966. data/node_modules/lodash/_arrayReduce.js +26 -0
  967. data/node_modules/lodash/_arrayReduceRight.js +24 -0
  968. data/node_modules/lodash/_arraySample.js +15 -0
  969. data/node_modules/lodash/_arraySampleSize.js +17 -0
  970. data/node_modules/lodash/_arrayShuffle.js +15 -0
  971. data/node_modules/lodash/_arraySome.js +23 -0
  972. data/node_modules/lodash/_asciiSize.js +12 -0
  973. data/node_modules/lodash/_asciiToArray.js +12 -0
  974. data/node_modules/lodash/_asciiWords.js +15 -0
  975. data/node_modules/lodash/_assignMergeValue.js +20 -0
  976. data/node_modules/lodash/_assignValue.js +28 -0
  977. data/node_modules/lodash/_assocIndexOf.js +21 -0
  978. data/node_modules/lodash/_baseAggregator.js +21 -0
  979. data/node_modules/lodash/_baseAssign.js +17 -0
  980. data/node_modules/lodash/_baseAssignIn.js +17 -0
  981. data/node_modules/lodash/_baseAssignValue.js +25 -0
  982. data/node_modules/lodash/_baseAt.js +23 -0
  983. data/node_modules/lodash/_baseClamp.js +22 -0
  984. data/node_modules/lodash/_baseClone.js +166 -0
  985. data/node_modules/lodash/_baseConforms.js +18 -0
  986. data/node_modules/lodash/_baseConformsTo.js +27 -0
  987. data/node_modules/lodash/_baseCreate.js +30 -0
  988. data/node_modules/lodash/_baseDelay.js +21 -0
  989. data/node_modules/lodash/_baseDifference.js +67 -0
  990. data/node_modules/lodash/_baseEach.js +14 -0
  991. data/node_modules/lodash/_baseEachRight.js +14 -0
  992. data/node_modules/lodash/_baseEvery.js +21 -0
  993. data/node_modules/lodash/_baseExtremum.js +32 -0
  994. data/node_modules/lodash/_baseFill.js +32 -0
  995. data/node_modules/lodash/_baseFilter.js +21 -0
  996. data/node_modules/lodash/_baseFindIndex.js +24 -0
  997. data/node_modules/lodash/_baseFindKey.js +23 -0
  998. data/node_modules/lodash/_baseFlatten.js +38 -0
  999. data/node_modules/lodash/_baseFor.js +16 -0
  1000. data/node_modules/lodash/_baseForOwn.js +16 -0
  1001. data/node_modules/lodash/_baseForOwnRight.js +16 -0
  1002. data/node_modules/lodash/_baseForRight.js +15 -0
  1003. data/node_modules/lodash/_baseFunctions.js +19 -0
  1004. data/node_modules/lodash/_baseGet.js +24 -0
  1005. data/node_modules/lodash/_baseGetAllKeys.js +20 -0
  1006. data/node_modules/lodash/_baseGetTag.js +28 -0
  1007. data/node_modules/lodash/_baseGt.js +14 -0
  1008. data/node_modules/lodash/_baseHas.js +19 -0
  1009. data/node_modules/lodash/_baseHasIn.js +13 -0
  1010. data/node_modules/lodash/_baseInRange.js +18 -0
  1011. data/node_modules/lodash/_baseIndexOf.js +20 -0
  1012. data/node_modules/lodash/_baseIndexOfWith.js +23 -0
  1013. data/node_modules/lodash/_baseIntersection.js +74 -0
  1014. data/node_modules/lodash/_baseInverter.js +21 -0
  1015. data/node_modules/lodash/_baseInvoke.js +24 -0
  1016. data/node_modules/lodash/_baseIsArguments.js +18 -0
  1017. data/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  1018. data/node_modules/lodash/_baseIsDate.js +18 -0
  1019. data/node_modules/lodash/_baseIsEqual.js +28 -0
  1020. data/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  1021. data/node_modules/lodash/_baseIsMap.js +18 -0
  1022. data/node_modules/lodash/_baseIsMatch.js +62 -0
  1023. data/node_modules/lodash/_baseIsNaN.js +12 -0
  1024. data/node_modules/lodash/_baseIsNative.js +47 -0
  1025. data/node_modules/lodash/_baseIsRegExp.js +18 -0
  1026. data/node_modules/lodash/_baseIsSet.js +18 -0
  1027. data/node_modules/lodash/_baseIsTypedArray.js +60 -0
  1028. data/node_modules/lodash/_baseIteratee.js +31 -0
  1029. data/node_modules/lodash/_baseKeys.js +30 -0
  1030. data/node_modules/lodash/_baseKeysIn.js +33 -0
  1031. data/node_modules/lodash/_baseLodash.js +10 -0
  1032. data/node_modules/lodash/_baseLt.js +14 -0
  1033. data/node_modules/lodash/_baseMap.js +22 -0
  1034. data/node_modules/lodash/_baseMatches.js +22 -0
  1035. data/node_modules/lodash/_baseMatchesProperty.js +33 -0
  1036. data/node_modules/lodash/_baseMean.js +20 -0
  1037. data/node_modules/lodash/_baseMerge.js +42 -0
  1038. data/node_modules/lodash/_baseMergeDeep.js +94 -0
  1039. data/node_modules/lodash/_baseNth.js +20 -0
  1040. data/node_modules/lodash/_baseOrderBy.js +49 -0
  1041. data/node_modules/lodash/_basePick.js +19 -0
  1042. data/node_modules/lodash/_basePickBy.js +30 -0
  1043. data/node_modules/lodash/_baseProperty.js +14 -0
  1044. data/node_modules/lodash/_basePropertyDeep.js +16 -0
  1045. data/node_modules/lodash/_basePropertyOf.js +14 -0
  1046. data/node_modules/lodash/_basePullAll.js +51 -0
  1047. data/node_modules/lodash/_basePullAt.js +37 -0
  1048. data/node_modules/lodash/_baseRandom.js +18 -0
  1049. data/node_modules/lodash/_baseRange.js +28 -0
  1050. data/node_modules/lodash/_baseReduce.js +23 -0
  1051. data/node_modules/lodash/_baseRepeat.js +35 -0
  1052. data/node_modules/lodash/_baseRest.js +17 -0
  1053. data/node_modules/lodash/_baseSample.js +15 -0
  1054. data/node_modules/lodash/_baseSampleSize.js +18 -0
  1055. data/node_modules/lodash/_baseSet.js +51 -0
  1056. data/node_modules/lodash/_baseSetData.js +17 -0
  1057. data/node_modules/lodash/_baseSetToString.js +22 -0
  1058. data/node_modules/lodash/_baseShuffle.js +15 -0
  1059. data/node_modules/lodash/_baseSlice.js +31 -0
  1060. data/node_modules/lodash/_baseSome.js +22 -0
  1061. data/node_modules/lodash/_baseSortBy.js +21 -0
  1062. data/node_modules/lodash/_baseSortedIndex.js +42 -0
  1063. data/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  1064. data/node_modules/lodash/_baseSortedUniq.js +30 -0
  1065. data/node_modules/lodash/_baseSum.js +24 -0
  1066. data/node_modules/lodash/_baseTimes.js +20 -0
  1067. data/node_modules/lodash/_baseToNumber.js +24 -0
  1068. data/node_modules/lodash/_baseToPairs.js +18 -0
  1069. data/node_modules/lodash/_baseToString.js +37 -0
  1070. data/node_modules/lodash/_baseTrim.js +19 -0
  1071. data/node_modules/lodash/_baseUnary.js +14 -0
  1072. data/node_modules/lodash/_baseUniq.js +72 -0
  1073. data/node_modules/lodash/_baseUnset.js +20 -0
  1074. data/node_modules/lodash/_baseUpdate.js +18 -0
  1075. data/node_modules/lodash/_baseValues.js +19 -0
  1076. data/node_modules/lodash/_baseWhile.js +26 -0
  1077. data/node_modules/lodash/_baseWrapperValue.js +25 -0
  1078. data/node_modules/lodash/_baseXor.js +36 -0
  1079. data/node_modules/lodash/_baseZipObject.js +23 -0
  1080. data/node_modules/lodash/_cacheHas.js +13 -0
  1081. data/node_modules/lodash/_castArrayLikeObject.js +14 -0
  1082. data/node_modules/lodash/_castFunction.js +14 -0
  1083. data/node_modules/lodash/_castPath.js +21 -0
  1084. data/node_modules/lodash/_castRest.js +14 -0
  1085. data/node_modules/lodash/_castSlice.js +18 -0
  1086. data/node_modules/lodash/_charsEndIndex.js +19 -0
  1087. data/node_modules/lodash/_charsStartIndex.js +20 -0
  1088. data/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  1089. data/node_modules/lodash/_cloneBuffer.js +35 -0
  1090. data/node_modules/lodash/_cloneDataView.js +16 -0
  1091. data/node_modules/lodash/_cloneRegExp.js +17 -0
  1092. data/node_modules/lodash/_cloneSymbol.js +18 -0
  1093. data/node_modules/lodash/_cloneTypedArray.js +16 -0
  1094. data/node_modules/lodash/_compareAscending.js +41 -0
  1095. data/node_modules/lodash/_compareMultiple.js +44 -0
  1096. data/node_modules/lodash/_composeArgs.js +39 -0
  1097. data/node_modules/lodash/_composeArgsRight.js +41 -0
  1098. data/node_modules/lodash/_copyArray.js +20 -0
  1099. data/node_modules/lodash/_copyObject.js +40 -0
  1100. data/node_modules/lodash/_copySymbols.js +16 -0
  1101. data/node_modules/lodash/_copySymbolsIn.js +16 -0
  1102. data/node_modules/lodash/_coreJsData.js +6 -0
  1103. data/node_modules/lodash/_countHolders.js +21 -0
  1104. data/node_modules/lodash/_createAggregator.js +23 -0
  1105. data/node_modules/lodash/_createAssigner.js +37 -0
  1106. data/node_modules/lodash/_createBaseEach.js +32 -0
  1107. data/node_modules/lodash/_createBaseFor.js +25 -0
  1108. data/node_modules/lodash/_createBind.js +28 -0
  1109. data/node_modules/lodash/_createCaseFirst.js +33 -0
  1110. data/node_modules/lodash/_createCompounder.js +24 -0
  1111. data/node_modules/lodash/_createCtor.js +37 -0
  1112. data/node_modules/lodash/_createCurry.js +46 -0
  1113. data/node_modules/lodash/_createFind.js +25 -0
  1114. data/node_modules/lodash/_createFlow.js +78 -0
  1115. data/node_modules/lodash/_createHybrid.js +92 -0
  1116. data/node_modules/lodash/_createInverter.js +17 -0
  1117. data/node_modules/lodash/_createMathOperation.js +38 -0
  1118. data/node_modules/lodash/_createOver.js +27 -0
  1119. data/node_modules/lodash/_createPadding.js +33 -0
  1120. data/node_modules/lodash/_createPartial.js +43 -0
  1121. data/node_modules/lodash/_createRange.js +30 -0
  1122. data/node_modules/lodash/_createRecurry.js +56 -0
  1123. data/node_modules/lodash/_createRelationalOperation.js +20 -0
  1124. data/node_modules/lodash/_createRound.js +35 -0
  1125. data/node_modules/lodash/_createSet.js +19 -0
  1126. data/node_modules/lodash/_createToPairs.js +30 -0
  1127. data/node_modules/lodash/_createWrap.js +106 -0
  1128. data/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  1129. data/node_modules/lodash/_customDefaultsMerge.js +28 -0
  1130. data/node_modules/lodash/_customOmitClone.js +16 -0
  1131. data/node_modules/lodash/_deburrLetter.js +71 -0
  1132. data/node_modules/lodash/_defineProperty.js +11 -0
  1133. data/node_modules/lodash/_equalArrays.js +84 -0
  1134. data/node_modules/lodash/_equalByTag.js +112 -0
  1135. data/node_modules/lodash/_equalObjects.js +90 -0
  1136. data/node_modules/lodash/_escapeHtmlChar.js +21 -0
  1137. data/node_modules/lodash/_escapeStringChar.js +22 -0
  1138. data/node_modules/lodash/_flatRest.js +16 -0
  1139. data/node_modules/lodash/_freeGlobal.js +4 -0
  1140. data/node_modules/lodash/_getAllKeys.js +16 -0
  1141. data/node_modules/lodash/_getAllKeysIn.js +17 -0
  1142. data/node_modules/lodash/_getData.js +15 -0
  1143. data/node_modules/lodash/_getFuncName.js +31 -0
  1144. data/node_modules/lodash/_getHolder.js +13 -0
  1145. data/node_modules/lodash/_getMapData.js +18 -0
  1146. data/node_modules/lodash/_getMatchData.js +24 -0
  1147. data/node_modules/lodash/_getNative.js +17 -0
  1148. data/node_modules/lodash/_getPrototype.js +6 -0
  1149. data/node_modules/lodash/_getRawTag.js +46 -0
  1150. data/node_modules/lodash/_getSymbols.js +30 -0
  1151. data/node_modules/lodash/_getSymbolsIn.js +25 -0
  1152. data/node_modules/lodash/_getTag.js +58 -0
  1153. data/node_modules/lodash/_getValue.js +13 -0
  1154. data/node_modules/lodash/_getView.js +33 -0
  1155. data/node_modules/lodash/_getWrapDetails.js +17 -0
  1156. data/node_modules/lodash/_hasPath.js +39 -0
  1157. data/node_modules/lodash/_hasUnicode.js +26 -0
  1158. data/node_modules/lodash/_hasUnicodeWord.js +15 -0
  1159. data/node_modules/lodash/_hashClear.js +15 -0
  1160. data/node_modules/lodash/_hashDelete.js +17 -0
  1161. data/node_modules/lodash/_hashGet.js +30 -0
  1162. data/node_modules/lodash/_hashHas.js +23 -0
  1163. data/node_modules/lodash/_hashSet.js +23 -0
  1164. data/node_modules/lodash/_initCloneArray.js +26 -0
  1165. data/node_modules/lodash/_initCloneByTag.js +77 -0
  1166. data/node_modules/lodash/_initCloneObject.js +18 -0
  1167. data/node_modules/lodash/_insertWrapDetails.js +23 -0
  1168. data/node_modules/lodash/_isFlattenable.js +20 -0
  1169. data/node_modules/lodash/_isIndex.js +25 -0
  1170. data/node_modules/lodash/_isIterateeCall.js +30 -0
  1171. data/node_modules/lodash/_isKey.js +29 -0
  1172. data/node_modules/lodash/_isKeyable.js +15 -0
  1173. data/node_modules/lodash/_isLaziable.js +28 -0
  1174. data/node_modules/lodash/_isMaskable.js +14 -0
  1175. data/node_modules/lodash/_isMasked.js +20 -0
  1176. data/node_modules/lodash/_isPrototype.js +18 -0
  1177. data/node_modules/lodash/_isStrictComparable.js +15 -0
  1178. data/node_modules/lodash/_iteratorToArray.js +18 -0
  1179. data/node_modules/lodash/_lazyClone.js +23 -0
  1180. data/node_modules/lodash/_lazyReverse.js +23 -0
  1181. data/node_modules/lodash/_lazyValue.js +69 -0
  1182. data/node_modules/lodash/_listCacheClear.js +13 -0
  1183. data/node_modules/lodash/_listCacheDelete.js +35 -0
  1184. data/node_modules/lodash/_listCacheGet.js +19 -0
  1185. data/node_modules/lodash/_listCacheHas.js +16 -0
  1186. data/node_modules/lodash/_listCacheSet.js +26 -0
  1187. data/node_modules/lodash/_mapCacheClear.js +21 -0
  1188. data/node_modules/lodash/_mapCacheDelete.js +18 -0
  1189. data/node_modules/lodash/_mapCacheGet.js +16 -0
  1190. data/node_modules/lodash/_mapCacheHas.js +16 -0
  1191. data/node_modules/lodash/_mapCacheSet.js +22 -0
  1192. data/node_modules/lodash/_mapToArray.js +18 -0
  1193. data/node_modules/lodash/_matchesStrictComparable.js +20 -0
  1194. data/node_modules/lodash/_memoizeCapped.js +26 -0
  1195. data/node_modules/lodash/_mergeData.js +90 -0
  1196. data/node_modules/lodash/_metaMap.js +6 -0
  1197. data/node_modules/lodash/_nativeCreate.js +6 -0
  1198. data/node_modules/lodash/_nativeKeys.js +6 -0
  1199. data/node_modules/lodash/_nativeKeysIn.js +20 -0
  1200. data/node_modules/lodash/_nodeUtil.js +30 -0
  1201. data/node_modules/lodash/_objectToString.js +22 -0
  1202. data/node_modules/lodash/_overArg.js +15 -0
  1203. data/node_modules/lodash/_overRest.js +36 -0
  1204. data/node_modules/lodash/_parent.js +16 -0
  1205. data/node_modules/lodash/_reEscape.js +4 -0
  1206. data/node_modules/lodash/_reEvaluate.js +4 -0
  1207. data/node_modules/lodash/_reInterpolate.js +4 -0
  1208. data/node_modules/lodash/_realNames.js +4 -0
  1209. data/node_modules/lodash/_reorder.js +29 -0
  1210. data/node_modules/lodash/_replaceHolders.js +29 -0
  1211. data/node_modules/lodash/_root.js +9 -0
  1212. data/node_modules/lodash/_safeGet.js +21 -0
  1213. data/node_modules/lodash/_setCacheAdd.js +19 -0
  1214. data/node_modules/lodash/_setCacheHas.js +14 -0
  1215. data/node_modules/lodash/_setData.js +20 -0
  1216. data/node_modules/lodash/_setToArray.js +18 -0
  1217. data/node_modules/lodash/_setToPairs.js +18 -0
  1218. data/node_modules/lodash/_setToString.js +14 -0
  1219. data/node_modules/lodash/_setWrapToString.js +21 -0
  1220. data/node_modules/lodash/_shortOut.js +37 -0
  1221. data/node_modules/lodash/_shuffleSelf.js +28 -0
  1222. data/node_modules/lodash/_stackClear.js +15 -0
  1223. data/node_modules/lodash/_stackDelete.js +18 -0
  1224. data/node_modules/lodash/_stackGet.js +14 -0
  1225. data/node_modules/lodash/_stackHas.js +14 -0
  1226. data/node_modules/lodash/_stackSet.js +34 -0
  1227. data/node_modules/lodash/_strictIndexOf.js +23 -0
  1228. data/node_modules/lodash/_strictLastIndexOf.js +21 -0
  1229. data/node_modules/lodash/_stringSize.js +18 -0
  1230. data/node_modules/lodash/_stringToArray.js +18 -0
  1231. data/node_modules/lodash/_stringToPath.js +27 -0
  1232. data/node_modules/lodash/_toKey.js +21 -0
  1233. data/node_modules/lodash/_toSource.js +26 -0
  1234. data/node_modules/lodash/_trimmedEndIndex.js +19 -0
  1235. data/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  1236. data/node_modules/lodash/_unicodeSize.js +44 -0
  1237. data/node_modules/lodash/_unicodeToArray.js +40 -0
  1238. data/node_modules/lodash/_unicodeWords.js +69 -0
  1239. data/node_modules/lodash/_updateWrapDetails.js +46 -0
  1240. data/node_modules/lodash/_wrapperClone.js +23 -0
  1241. data/node_modules/lodash/add.js +22 -0
  1242. data/node_modules/lodash/after.js +42 -0
  1243. data/node_modules/lodash/array.js +67 -0
  1244. data/node_modules/lodash/ary.js +29 -0
  1245. data/node_modules/lodash/assign.js +58 -0
  1246. data/node_modules/lodash/assignIn.js +40 -0
  1247. data/node_modules/lodash/assignInWith.js +38 -0
  1248. data/node_modules/lodash/assignWith.js +37 -0
  1249. data/node_modules/lodash/at.js +23 -0
  1250. data/node_modules/lodash/attempt.js +35 -0
  1251. data/node_modules/lodash/before.js +40 -0
  1252. data/node_modules/lodash/bind.js +57 -0
  1253. data/node_modules/lodash/bindAll.js +41 -0
  1254. data/node_modules/lodash/bindKey.js +68 -0
  1255. data/node_modules/lodash/camelCase.js +29 -0
  1256. data/node_modules/lodash/capitalize.js +23 -0
  1257. data/node_modules/lodash/castArray.js +44 -0
  1258. data/node_modules/lodash/ceil.js +26 -0
  1259. data/node_modules/lodash/chain.js +38 -0
  1260. data/node_modules/lodash/chunk.js +50 -0
  1261. data/node_modules/lodash/clamp.js +39 -0
  1262. data/node_modules/lodash/clone.js +36 -0
  1263. data/node_modules/lodash/cloneDeep.js +29 -0
  1264. data/node_modules/lodash/cloneDeepWith.js +40 -0
  1265. data/node_modules/lodash/cloneWith.js +42 -0
  1266. data/node_modules/lodash/collection.js +30 -0
  1267. data/node_modules/lodash/commit.js +33 -0
  1268. data/node_modules/lodash/compact.js +31 -0
  1269. data/node_modules/lodash/concat.js +43 -0
  1270. data/node_modules/lodash/cond.js +60 -0
  1271. data/node_modules/lodash/conforms.js +35 -0
  1272. data/node_modules/lodash/conformsTo.js +32 -0
  1273. data/node_modules/lodash/constant.js +26 -0
  1274. data/node_modules/lodash/core.js +3877 -0
  1275. data/node_modules/lodash/core.min.js +29 -0
  1276. data/node_modules/lodash/countBy.js +40 -0
  1277. data/node_modules/lodash/create.js +43 -0
  1278. data/node_modules/lodash/curry.js +57 -0
  1279. data/node_modules/lodash/curryRight.js +54 -0
  1280. data/node_modules/lodash/date.js +3 -0
  1281. data/node_modules/lodash/debounce.js +191 -0
  1282. data/node_modules/lodash/deburr.js +45 -0
  1283. data/node_modules/lodash/defaultTo.js +25 -0
  1284. data/node_modules/lodash/defaults.js +64 -0
  1285. data/node_modules/lodash/defaultsDeep.js +30 -0
  1286. data/node_modules/lodash/defer.js +26 -0
  1287. data/node_modules/lodash/delay.js +28 -0
  1288. data/node_modules/lodash/difference.js +33 -0
  1289. data/node_modules/lodash/differenceBy.js +44 -0
  1290. data/node_modules/lodash/differenceWith.js +40 -0
  1291. data/node_modules/lodash/divide.js +22 -0
  1292. data/node_modules/lodash/drop.js +38 -0
  1293. data/node_modules/lodash/dropRight.js +39 -0
  1294. data/node_modules/lodash/dropRightWhile.js +45 -0
  1295. data/node_modules/lodash/dropWhile.js +45 -0
  1296. data/node_modules/lodash/each.js +1 -0
  1297. data/node_modules/lodash/eachRight.js +1 -0
  1298. data/node_modules/lodash/endsWith.js +43 -0
  1299. data/node_modules/lodash/entries.js +1 -0
  1300. data/node_modules/lodash/entriesIn.js +1 -0
  1301. data/node_modules/lodash/eq.js +37 -0
  1302. data/node_modules/lodash/escape.js +43 -0
  1303. data/node_modules/lodash/escapeRegExp.js +32 -0
  1304. data/node_modules/lodash/every.js +56 -0
  1305. data/node_modules/lodash/extend.js +1 -0
  1306. data/node_modules/lodash/extendWith.js +1 -0
  1307. data/node_modules/lodash/fill.js +45 -0
  1308. data/node_modules/lodash/filter.js +52 -0
  1309. data/node_modules/lodash/find.js +42 -0
  1310. data/node_modules/lodash/findIndex.js +55 -0
  1311. data/node_modules/lodash/findKey.js +44 -0
  1312. data/node_modules/lodash/findLast.js +25 -0
  1313. data/node_modules/lodash/findLastIndex.js +59 -0
  1314. data/node_modules/lodash/findLastKey.js +44 -0
  1315. data/node_modules/lodash/first.js +1 -0
  1316. data/node_modules/lodash/flake.lock +40 -0
  1317. data/node_modules/lodash/flake.nix +20 -0
  1318. data/node_modules/lodash/flatMap.js +29 -0
  1319. data/node_modules/lodash/flatMapDeep.js +31 -0
  1320. data/node_modules/lodash/flatMapDepth.js +31 -0
  1321. data/node_modules/lodash/flatten.js +22 -0
  1322. data/node_modules/lodash/flattenDeep.js +25 -0
  1323. data/node_modules/lodash/flattenDepth.js +33 -0
  1324. data/node_modules/lodash/flip.js +28 -0
  1325. data/node_modules/lodash/floor.js +26 -0
  1326. data/node_modules/lodash/flow.js +27 -0
  1327. data/node_modules/lodash/flowRight.js +26 -0
  1328. data/node_modules/lodash/forEach.js +41 -0
  1329. data/node_modules/lodash/forEachRight.js +31 -0
  1330. data/node_modules/lodash/forIn.js +39 -0
  1331. data/node_modules/lodash/forInRight.js +37 -0
  1332. data/node_modules/lodash/forOwn.js +36 -0
  1333. data/node_modules/lodash/forOwnRight.js +34 -0
  1334. data/node_modules/lodash/fp/F.js +1 -0
  1335. data/node_modules/lodash/fp/T.js +1 -0
  1336. data/node_modules/lodash/fp/__.js +1 -0
  1337. data/node_modules/lodash/fp/_baseConvert.js +569 -0
  1338. data/node_modules/lodash/fp/_convertBrowser.js +18 -0
  1339. data/node_modules/lodash/fp/_falseOptions.js +7 -0
  1340. data/node_modules/lodash/fp/_mapping.js +358 -0
  1341. data/node_modules/lodash/fp/_util.js +16 -0
  1342. data/node_modules/lodash/fp/add.js +5 -0
  1343. data/node_modules/lodash/fp/after.js +5 -0
  1344. data/node_modules/lodash/fp/all.js +1 -0
  1345. data/node_modules/lodash/fp/allPass.js +1 -0
  1346. data/node_modules/lodash/fp/always.js +1 -0
  1347. data/node_modules/lodash/fp/any.js +1 -0
  1348. data/node_modules/lodash/fp/anyPass.js +1 -0
  1349. data/node_modules/lodash/fp/apply.js +1 -0
  1350. data/node_modules/lodash/fp/array.js +2 -0
  1351. data/node_modules/lodash/fp/ary.js +5 -0
  1352. data/node_modules/lodash/fp/assign.js +5 -0
  1353. data/node_modules/lodash/fp/assignAll.js +5 -0
  1354. data/node_modules/lodash/fp/assignAllWith.js +5 -0
  1355. data/node_modules/lodash/fp/assignIn.js +5 -0
  1356. data/node_modules/lodash/fp/assignInAll.js +5 -0
  1357. data/node_modules/lodash/fp/assignInAllWith.js +5 -0
  1358. data/node_modules/lodash/fp/assignInWith.js +5 -0
  1359. data/node_modules/lodash/fp/assignWith.js +5 -0
  1360. data/node_modules/lodash/fp/assoc.js +1 -0
  1361. data/node_modules/lodash/fp/assocPath.js +1 -0
  1362. data/node_modules/lodash/fp/at.js +5 -0
  1363. data/node_modules/lodash/fp/attempt.js +5 -0
  1364. data/node_modules/lodash/fp/before.js +5 -0
  1365. data/node_modules/lodash/fp/bind.js +5 -0
  1366. data/node_modules/lodash/fp/bindAll.js +5 -0
  1367. data/node_modules/lodash/fp/bindKey.js +5 -0
  1368. data/node_modules/lodash/fp/camelCase.js +5 -0
  1369. data/node_modules/lodash/fp/capitalize.js +5 -0
  1370. data/node_modules/lodash/fp/castArray.js +5 -0
  1371. data/node_modules/lodash/fp/ceil.js +5 -0
  1372. data/node_modules/lodash/fp/chain.js +5 -0
  1373. data/node_modules/lodash/fp/chunk.js +5 -0
  1374. data/node_modules/lodash/fp/clamp.js +5 -0
  1375. data/node_modules/lodash/fp/clone.js +5 -0
  1376. data/node_modules/lodash/fp/cloneDeep.js +5 -0
  1377. data/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  1378. data/node_modules/lodash/fp/cloneWith.js +5 -0
  1379. data/node_modules/lodash/fp/collection.js +2 -0
  1380. data/node_modules/lodash/fp/commit.js +5 -0
  1381. data/node_modules/lodash/fp/compact.js +5 -0
  1382. data/node_modules/lodash/fp/complement.js +1 -0
  1383. data/node_modules/lodash/fp/compose.js +1 -0
  1384. data/node_modules/lodash/fp/concat.js +5 -0
  1385. data/node_modules/lodash/fp/cond.js +5 -0
  1386. data/node_modules/lodash/fp/conforms.js +1 -0
  1387. data/node_modules/lodash/fp/conformsTo.js +5 -0
  1388. data/node_modules/lodash/fp/constant.js +5 -0
  1389. data/node_modules/lodash/fp/contains.js +1 -0
  1390. data/node_modules/lodash/fp/convert.js +18 -0
  1391. data/node_modules/lodash/fp/countBy.js +5 -0
  1392. data/node_modules/lodash/fp/create.js +5 -0
  1393. data/node_modules/lodash/fp/curry.js +5 -0
  1394. data/node_modules/lodash/fp/curryN.js +5 -0
  1395. data/node_modules/lodash/fp/curryRight.js +5 -0
  1396. data/node_modules/lodash/fp/curryRightN.js +5 -0
  1397. data/node_modules/lodash/fp/date.js +2 -0
  1398. data/node_modules/lodash/fp/debounce.js +5 -0
  1399. data/node_modules/lodash/fp/deburr.js +5 -0
  1400. data/node_modules/lodash/fp/defaultTo.js +5 -0
  1401. data/node_modules/lodash/fp/defaults.js +5 -0
  1402. data/node_modules/lodash/fp/defaultsAll.js +5 -0
  1403. data/node_modules/lodash/fp/defaultsDeep.js +5 -0
  1404. data/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  1405. data/node_modules/lodash/fp/defer.js +5 -0
  1406. data/node_modules/lodash/fp/delay.js +5 -0
  1407. data/node_modules/lodash/fp/difference.js +5 -0
  1408. data/node_modules/lodash/fp/differenceBy.js +5 -0
  1409. data/node_modules/lodash/fp/differenceWith.js +5 -0
  1410. data/node_modules/lodash/fp/dissoc.js +1 -0
  1411. data/node_modules/lodash/fp/dissocPath.js +1 -0
  1412. data/node_modules/lodash/fp/divide.js +5 -0
  1413. data/node_modules/lodash/fp/drop.js +5 -0
  1414. data/node_modules/lodash/fp/dropLast.js +1 -0
  1415. data/node_modules/lodash/fp/dropLastWhile.js +1 -0
  1416. data/node_modules/lodash/fp/dropRight.js +5 -0
  1417. data/node_modules/lodash/fp/dropRightWhile.js +5 -0
  1418. data/node_modules/lodash/fp/dropWhile.js +5 -0
  1419. data/node_modules/lodash/fp/each.js +1 -0
  1420. data/node_modules/lodash/fp/eachRight.js +1 -0
  1421. data/node_modules/lodash/fp/endsWith.js +5 -0
  1422. data/node_modules/lodash/fp/entries.js +1 -0
  1423. data/node_modules/lodash/fp/entriesIn.js +1 -0
  1424. data/node_modules/lodash/fp/eq.js +5 -0
  1425. data/node_modules/lodash/fp/equals.js +1 -0
  1426. data/node_modules/lodash/fp/escape.js +5 -0
  1427. data/node_modules/lodash/fp/escapeRegExp.js +5 -0
  1428. data/node_modules/lodash/fp/every.js +5 -0
  1429. data/node_modules/lodash/fp/extend.js +1 -0
  1430. data/node_modules/lodash/fp/extendAll.js +1 -0
  1431. data/node_modules/lodash/fp/extendAllWith.js +1 -0
  1432. data/node_modules/lodash/fp/extendWith.js +1 -0
  1433. data/node_modules/lodash/fp/fill.js +5 -0
  1434. data/node_modules/lodash/fp/filter.js +5 -0
  1435. data/node_modules/lodash/fp/find.js +5 -0
  1436. data/node_modules/lodash/fp/findFrom.js +5 -0
  1437. data/node_modules/lodash/fp/findIndex.js +5 -0
  1438. data/node_modules/lodash/fp/findIndexFrom.js +5 -0
  1439. data/node_modules/lodash/fp/findKey.js +5 -0
  1440. data/node_modules/lodash/fp/findLast.js +5 -0
  1441. data/node_modules/lodash/fp/findLastFrom.js +5 -0
  1442. data/node_modules/lodash/fp/findLastIndex.js +5 -0
  1443. data/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  1444. data/node_modules/lodash/fp/findLastKey.js +5 -0
  1445. data/node_modules/lodash/fp/first.js +1 -0
  1446. data/node_modules/lodash/fp/flatMap.js +5 -0
  1447. data/node_modules/lodash/fp/flatMapDeep.js +5 -0
  1448. data/node_modules/lodash/fp/flatMapDepth.js +5 -0
  1449. data/node_modules/lodash/fp/flatten.js +5 -0
  1450. data/node_modules/lodash/fp/flattenDeep.js +5 -0
  1451. data/node_modules/lodash/fp/flattenDepth.js +5 -0
  1452. data/node_modules/lodash/fp/flip.js +5 -0
  1453. data/node_modules/lodash/fp/floor.js +5 -0
  1454. data/node_modules/lodash/fp/flow.js +5 -0
  1455. data/node_modules/lodash/fp/flowRight.js +5 -0
  1456. data/node_modules/lodash/fp/forEach.js +5 -0
  1457. data/node_modules/lodash/fp/forEachRight.js +5 -0
  1458. data/node_modules/lodash/fp/forIn.js +5 -0
  1459. data/node_modules/lodash/fp/forInRight.js +5 -0
  1460. data/node_modules/lodash/fp/forOwn.js +5 -0
  1461. data/node_modules/lodash/fp/forOwnRight.js +5 -0
  1462. data/node_modules/lodash/fp/fromPairs.js +5 -0
  1463. data/node_modules/lodash/fp/function.js +2 -0
  1464. data/node_modules/lodash/fp/functions.js +5 -0
  1465. data/node_modules/lodash/fp/functionsIn.js +5 -0
  1466. data/node_modules/lodash/fp/get.js +5 -0
  1467. data/node_modules/lodash/fp/getOr.js +5 -0
  1468. data/node_modules/lodash/fp/groupBy.js +5 -0
  1469. data/node_modules/lodash/fp/gt.js +5 -0
  1470. data/node_modules/lodash/fp/gte.js +5 -0
  1471. data/node_modules/lodash/fp/has.js +5 -0
  1472. data/node_modules/lodash/fp/hasIn.js +5 -0
  1473. data/node_modules/lodash/fp/head.js +5 -0
  1474. data/node_modules/lodash/fp/identical.js +1 -0
  1475. data/node_modules/lodash/fp/identity.js +5 -0
  1476. data/node_modules/lodash/fp/inRange.js +5 -0
  1477. data/node_modules/lodash/fp/includes.js +5 -0
  1478. data/node_modules/lodash/fp/includesFrom.js +5 -0
  1479. data/node_modules/lodash/fp/indexBy.js +1 -0
  1480. data/node_modules/lodash/fp/indexOf.js +5 -0
  1481. data/node_modules/lodash/fp/indexOfFrom.js +5 -0
  1482. data/node_modules/lodash/fp/init.js +1 -0
  1483. data/node_modules/lodash/fp/initial.js +5 -0
  1484. data/node_modules/lodash/fp/intersection.js +5 -0
  1485. data/node_modules/lodash/fp/intersectionBy.js +5 -0
  1486. data/node_modules/lodash/fp/intersectionWith.js +5 -0
  1487. data/node_modules/lodash/fp/invert.js +5 -0
  1488. data/node_modules/lodash/fp/invertBy.js +5 -0
  1489. data/node_modules/lodash/fp/invertObj.js +1 -0
  1490. data/node_modules/lodash/fp/invoke.js +5 -0
  1491. data/node_modules/lodash/fp/invokeArgs.js +5 -0
  1492. data/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1493. data/node_modules/lodash/fp/invokeMap.js +5 -0
  1494. data/node_modules/lodash/fp/isArguments.js +5 -0
  1495. data/node_modules/lodash/fp/isArray.js +5 -0
  1496. data/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1497. data/node_modules/lodash/fp/isArrayLike.js +5 -0
  1498. data/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1499. data/node_modules/lodash/fp/isBoolean.js +5 -0
  1500. data/node_modules/lodash/fp/isBuffer.js +5 -0
  1501. data/node_modules/lodash/fp/isDate.js +5 -0
  1502. data/node_modules/lodash/fp/isElement.js +5 -0
  1503. data/node_modules/lodash/fp/isEmpty.js +5 -0
  1504. data/node_modules/lodash/fp/isEqual.js +5 -0
  1505. data/node_modules/lodash/fp/isEqualWith.js +5 -0
  1506. data/node_modules/lodash/fp/isError.js +5 -0
  1507. data/node_modules/lodash/fp/isFinite.js +5 -0
  1508. data/node_modules/lodash/fp/isFunction.js +5 -0
  1509. data/node_modules/lodash/fp/isInteger.js +5 -0
  1510. data/node_modules/lodash/fp/isLength.js +5 -0
  1511. data/node_modules/lodash/fp/isMap.js +5 -0
  1512. data/node_modules/lodash/fp/isMatch.js +5 -0
  1513. data/node_modules/lodash/fp/isMatchWith.js +5 -0
  1514. data/node_modules/lodash/fp/isNaN.js +5 -0
  1515. data/node_modules/lodash/fp/isNative.js +5 -0
  1516. data/node_modules/lodash/fp/isNil.js +5 -0
  1517. data/node_modules/lodash/fp/isNull.js +5 -0
  1518. data/node_modules/lodash/fp/isNumber.js +5 -0
  1519. data/node_modules/lodash/fp/isObject.js +5 -0
  1520. data/node_modules/lodash/fp/isObjectLike.js +5 -0
  1521. data/node_modules/lodash/fp/isPlainObject.js +5 -0
  1522. data/node_modules/lodash/fp/isRegExp.js +5 -0
  1523. data/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1524. data/node_modules/lodash/fp/isSet.js +5 -0
  1525. data/node_modules/lodash/fp/isString.js +5 -0
  1526. data/node_modules/lodash/fp/isSymbol.js +5 -0
  1527. data/node_modules/lodash/fp/isTypedArray.js +5 -0
  1528. data/node_modules/lodash/fp/isUndefined.js +5 -0
  1529. data/node_modules/lodash/fp/isWeakMap.js +5 -0
  1530. data/node_modules/lodash/fp/isWeakSet.js +5 -0
  1531. data/node_modules/lodash/fp/iteratee.js +5 -0
  1532. data/node_modules/lodash/fp/join.js +5 -0
  1533. data/node_modules/lodash/fp/juxt.js +1 -0
  1534. data/node_modules/lodash/fp/kebabCase.js +5 -0
  1535. data/node_modules/lodash/fp/keyBy.js +5 -0
  1536. data/node_modules/lodash/fp/keys.js +5 -0
  1537. data/node_modules/lodash/fp/keysIn.js +5 -0
  1538. data/node_modules/lodash/fp/lang.js +2 -0
  1539. data/node_modules/lodash/fp/last.js +5 -0
  1540. data/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1541. data/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1542. data/node_modules/lodash/fp/lowerCase.js +5 -0
  1543. data/node_modules/lodash/fp/lowerFirst.js +5 -0
  1544. data/node_modules/lodash/fp/lt.js +5 -0
  1545. data/node_modules/lodash/fp/lte.js +5 -0
  1546. data/node_modules/lodash/fp/map.js +5 -0
  1547. data/node_modules/lodash/fp/mapKeys.js +5 -0
  1548. data/node_modules/lodash/fp/mapValues.js +5 -0
  1549. data/node_modules/lodash/fp/matches.js +1 -0
  1550. data/node_modules/lodash/fp/matchesProperty.js +5 -0
  1551. data/node_modules/lodash/fp/math.js +2 -0
  1552. data/node_modules/lodash/fp/max.js +5 -0
  1553. data/node_modules/lodash/fp/maxBy.js +5 -0
  1554. data/node_modules/lodash/fp/mean.js +5 -0
  1555. data/node_modules/lodash/fp/meanBy.js +5 -0
  1556. data/node_modules/lodash/fp/memoize.js +5 -0
  1557. data/node_modules/lodash/fp/merge.js +5 -0
  1558. data/node_modules/lodash/fp/mergeAll.js +5 -0
  1559. data/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1560. data/node_modules/lodash/fp/mergeWith.js +5 -0
  1561. data/node_modules/lodash/fp/method.js +5 -0
  1562. data/node_modules/lodash/fp/methodOf.js +5 -0
  1563. data/node_modules/lodash/fp/min.js +5 -0
  1564. data/node_modules/lodash/fp/minBy.js +5 -0
  1565. data/node_modules/lodash/fp/mixin.js +5 -0
  1566. data/node_modules/lodash/fp/multiply.js +5 -0
  1567. data/node_modules/lodash/fp/nAry.js +1 -0
  1568. data/node_modules/lodash/fp/negate.js +5 -0
  1569. data/node_modules/lodash/fp/next.js +5 -0
  1570. data/node_modules/lodash/fp/noop.js +5 -0
  1571. data/node_modules/lodash/fp/now.js +5 -0
  1572. data/node_modules/lodash/fp/nth.js +5 -0
  1573. data/node_modules/lodash/fp/nthArg.js +5 -0
  1574. data/node_modules/lodash/fp/number.js +2 -0
  1575. data/node_modules/lodash/fp/object.js +2 -0
  1576. data/node_modules/lodash/fp/omit.js +5 -0
  1577. data/node_modules/lodash/fp/omitAll.js +1 -0
  1578. data/node_modules/lodash/fp/omitBy.js +5 -0
  1579. data/node_modules/lodash/fp/once.js +5 -0
  1580. data/node_modules/lodash/fp/orderBy.js +5 -0
  1581. data/node_modules/lodash/fp/over.js +5 -0
  1582. data/node_modules/lodash/fp/overArgs.js +5 -0
  1583. data/node_modules/lodash/fp/overEvery.js +5 -0
  1584. data/node_modules/lodash/fp/overSome.js +5 -0
  1585. data/node_modules/lodash/fp/pad.js +5 -0
  1586. data/node_modules/lodash/fp/padChars.js +5 -0
  1587. data/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1588. data/node_modules/lodash/fp/padCharsStart.js +5 -0
  1589. data/node_modules/lodash/fp/padEnd.js +5 -0
  1590. data/node_modules/lodash/fp/padStart.js +5 -0
  1591. data/node_modules/lodash/fp/parseInt.js +5 -0
  1592. data/node_modules/lodash/fp/partial.js +5 -0
  1593. data/node_modules/lodash/fp/partialRight.js +5 -0
  1594. data/node_modules/lodash/fp/partition.js +5 -0
  1595. data/node_modules/lodash/fp/path.js +1 -0
  1596. data/node_modules/lodash/fp/pathEq.js +1 -0
  1597. data/node_modules/lodash/fp/pathOr.js +1 -0
  1598. data/node_modules/lodash/fp/paths.js +1 -0
  1599. data/node_modules/lodash/fp/pick.js +5 -0
  1600. data/node_modules/lodash/fp/pickAll.js +1 -0
  1601. data/node_modules/lodash/fp/pickBy.js +5 -0
  1602. data/node_modules/lodash/fp/pipe.js +1 -0
  1603. data/node_modules/lodash/fp/placeholder.js +6 -0
  1604. data/node_modules/lodash/fp/plant.js +5 -0
  1605. data/node_modules/lodash/fp/pluck.js +1 -0
  1606. data/node_modules/lodash/fp/prop.js +1 -0
  1607. data/node_modules/lodash/fp/propEq.js +1 -0
  1608. data/node_modules/lodash/fp/propOr.js +1 -0
  1609. data/node_modules/lodash/fp/property.js +1 -0
  1610. data/node_modules/lodash/fp/propertyOf.js +5 -0
  1611. data/node_modules/lodash/fp/props.js +1 -0
  1612. data/node_modules/lodash/fp/pull.js +5 -0
  1613. data/node_modules/lodash/fp/pullAll.js +5 -0
  1614. data/node_modules/lodash/fp/pullAllBy.js +5 -0
  1615. data/node_modules/lodash/fp/pullAllWith.js +5 -0
  1616. data/node_modules/lodash/fp/pullAt.js +5 -0
  1617. data/node_modules/lodash/fp/random.js +5 -0
  1618. data/node_modules/lodash/fp/range.js +5 -0
  1619. data/node_modules/lodash/fp/rangeRight.js +5 -0
  1620. data/node_modules/lodash/fp/rangeStep.js +5 -0
  1621. data/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1622. data/node_modules/lodash/fp/rearg.js +5 -0
  1623. data/node_modules/lodash/fp/reduce.js +5 -0
  1624. data/node_modules/lodash/fp/reduceRight.js +5 -0
  1625. data/node_modules/lodash/fp/reject.js +5 -0
  1626. data/node_modules/lodash/fp/remove.js +5 -0
  1627. data/node_modules/lodash/fp/repeat.js +5 -0
  1628. data/node_modules/lodash/fp/replace.js +5 -0
  1629. data/node_modules/lodash/fp/rest.js +5 -0
  1630. data/node_modules/lodash/fp/restFrom.js +5 -0
  1631. data/node_modules/lodash/fp/result.js +5 -0
  1632. data/node_modules/lodash/fp/reverse.js +5 -0
  1633. data/node_modules/lodash/fp/round.js +5 -0
  1634. data/node_modules/lodash/fp/sample.js +5 -0
  1635. data/node_modules/lodash/fp/sampleSize.js +5 -0
  1636. data/node_modules/lodash/fp/seq.js +2 -0
  1637. data/node_modules/lodash/fp/set.js +5 -0
  1638. data/node_modules/lodash/fp/setWith.js +5 -0
  1639. data/node_modules/lodash/fp/shuffle.js +5 -0
  1640. data/node_modules/lodash/fp/size.js +5 -0
  1641. data/node_modules/lodash/fp/slice.js +5 -0
  1642. data/node_modules/lodash/fp/snakeCase.js +5 -0
  1643. data/node_modules/lodash/fp/some.js +5 -0
  1644. data/node_modules/lodash/fp/sortBy.js +5 -0
  1645. data/node_modules/lodash/fp/sortedIndex.js +5 -0
  1646. data/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1647. data/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1648. data/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1649. data/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1650. data/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1651. data/node_modules/lodash/fp/sortedUniq.js +5 -0
  1652. data/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1653. data/node_modules/lodash/fp/split.js +5 -0
  1654. data/node_modules/lodash/fp/spread.js +5 -0
  1655. data/node_modules/lodash/fp/spreadFrom.js +5 -0
  1656. data/node_modules/lodash/fp/startCase.js +5 -0
  1657. data/node_modules/lodash/fp/startsWith.js +5 -0
  1658. data/node_modules/lodash/fp/string.js +2 -0
  1659. data/node_modules/lodash/fp/stubArray.js +5 -0
  1660. data/node_modules/lodash/fp/stubFalse.js +5 -0
  1661. data/node_modules/lodash/fp/stubObject.js +5 -0
  1662. data/node_modules/lodash/fp/stubString.js +5 -0
  1663. data/node_modules/lodash/fp/stubTrue.js +5 -0
  1664. data/node_modules/lodash/fp/subtract.js +5 -0
  1665. data/node_modules/lodash/fp/sum.js +5 -0
  1666. data/node_modules/lodash/fp/sumBy.js +5 -0
  1667. data/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1668. data/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1669. data/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1670. data/node_modules/lodash/fp/tail.js +5 -0
  1671. data/node_modules/lodash/fp/take.js +5 -0
  1672. data/node_modules/lodash/fp/takeLast.js +1 -0
  1673. data/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1674. data/node_modules/lodash/fp/takeRight.js +5 -0
  1675. data/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1676. data/node_modules/lodash/fp/takeWhile.js +5 -0
  1677. data/node_modules/lodash/fp/tap.js +5 -0
  1678. data/node_modules/lodash/fp/template.js +5 -0
  1679. data/node_modules/lodash/fp/templateSettings.js +5 -0
  1680. data/node_modules/lodash/fp/throttle.js +5 -0
  1681. data/node_modules/lodash/fp/thru.js +5 -0
  1682. data/node_modules/lodash/fp/times.js +5 -0
  1683. data/node_modules/lodash/fp/toArray.js +5 -0
  1684. data/node_modules/lodash/fp/toFinite.js +5 -0
  1685. data/node_modules/lodash/fp/toInteger.js +5 -0
  1686. data/node_modules/lodash/fp/toIterator.js +5 -0
  1687. data/node_modules/lodash/fp/toJSON.js +5 -0
  1688. data/node_modules/lodash/fp/toLength.js +5 -0
  1689. data/node_modules/lodash/fp/toLower.js +5 -0
  1690. data/node_modules/lodash/fp/toNumber.js +5 -0
  1691. data/node_modules/lodash/fp/toPairs.js +5 -0
  1692. data/node_modules/lodash/fp/toPairsIn.js +5 -0
  1693. data/node_modules/lodash/fp/toPath.js +5 -0
  1694. data/node_modules/lodash/fp/toPlainObject.js +5 -0
  1695. data/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1696. data/node_modules/lodash/fp/toString.js +5 -0
  1697. data/node_modules/lodash/fp/toUpper.js +5 -0
  1698. data/node_modules/lodash/fp/transform.js +5 -0
  1699. data/node_modules/lodash/fp/trim.js +5 -0
  1700. data/node_modules/lodash/fp/trimChars.js +5 -0
  1701. data/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1702. data/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1703. data/node_modules/lodash/fp/trimEnd.js +5 -0
  1704. data/node_modules/lodash/fp/trimStart.js +5 -0
  1705. data/node_modules/lodash/fp/truncate.js +5 -0
  1706. data/node_modules/lodash/fp/unapply.js +1 -0
  1707. data/node_modules/lodash/fp/unary.js +5 -0
  1708. data/node_modules/lodash/fp/unescape.js +5 -0
  1709. data/node_modules/lodash/fp/union.js +5 -0
  1710. data/node_modules/lodash/fp/unionBy.js +5 -0
  1711. data/node_modules/lodash/fp/unionWith.js +5 -0
  1712. data/node_modules/lodash/fp/uniq.js +5 -0
  1713. data/node_modules/lodash/fp/uniqBy.js +5 -0
  1714. data/node_modules/lodash/fp/uniqWith.js +5 -0
  1715. data/node_modules/lodash/fp/uniqueId.js +5 -0
  1716. data/node_modules/lodash/fp/unnest.js +1 -0
  1717. data/node_modules/lodash/fp/unset.js +5 -0
  1718. data/node_modules/lodash/fp/unzip.js +5 -0
  1719. data/node_modules/lodash/fp/unzipWith.js +5 -0
  1720. data/node_modules/lodash/fp/update.js +5 -0
  1721. data/node_modules/lodash/fp/updateWith.js +5 -0
  1722. data/node_modules/lodash/fp/upperCase.js +5 -0
  1723. data/node_modules/lodash/fp/upperFirst.js +5 -0
  1724. data/node_modules/lodash/fp/useWith.js +1 -0
  1725. data/node_modules/lodash/fp/util.js +2 -0
  1726. data/node_modules/lodash/fp/value.js +5 -0
  1727. data/node_modules/lodash/fp/valueOf.js +5 -0
  1728. data/node_modules/lodash/fp/values.js +5 -0
  1729. data/node_modules/lodash/fp/valuesIn.js +5 -0
  1730. data/node_modules/lodash/fp/where.js +1 -0
  1731. data/node_modules/lodash/fp/whereEq.js +1 -0
  1732. data/node_modules/lodash/fp/without.js +5 -0
  1733. data/node_modules/lodash/fp/words.js +5 -0
  1734. data/node_modules/lodash/fp/wrap.js +5 -0
  1735. data/node_modules/lodash/fp/wrapperAt.js +5 -0
  1736. data/node_modules/lodash/fp/wrapperChain.js +5 -0
  1737. data/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1738. data/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1739. data/node_modules/lodash/fp/wrapperValue.js +5 -0
  1740. data/node_modules/lodash/fp/xor.js +5 -0
  1741. data/node_modules/lodash/fp/xorBy.js +5 -0
  1742. data/node_modules/lodash/fp/xorWith.js +5 -0
  1743. data/node_modules/lodash/fp/zip.js +5 -0
  1744. data/node_modules/lodash/fp/zipAll.js +5 -0
  1745. data/node_modules/lodash/fp/zipObj.js +1 -0
  1746. data/node_modules/lodash/fp/zipObject.js +5 -0
  1747. data/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1748. data/node_modules/lodash/fp/zipWith.js +5 -0
  1749. data/node_modules/lodash/fp.js +2 -0
  1750. data/node_modules/lodash/fromPairs.js +28 -0
  1751. data/node_modules/lodash/function.js +25 -0
  1752. data/node_modules/lodash/functions.js +31 -0
  1753. data/node_modules/lodash/functionsIn.js +31 -0
  1754. data/node_modules/lodash/get.js +33 -0
  1755. data/node_modules/lodash/groupBy.js +41 -0
  1756. data/node_modules/lodash/gt.js +29 -0
  1757. data/node_modules/lodash/gte.js +30 -0
  1758. data/node_modules/lodash/has.js +35 -0
  1759. data/node_modules/lodash/hasIn.js +34 -0
  1760. data/node_modules/lodash/head.js +23 -0
  1761. data/node_modules/lodash/identity.js +21 -0
  1762. data/node_modules/lodash/inRange.js +55 -0
  1763. data/node_modules/lodash/includes.js +53 -0
  1764. data/node_modules/lodash/index.js +1 -0
  1765. data/node_modules/lodash/indexOf.js +42 -0
  1766. data/node_modules/lodash/initial.js +22 -0
  1767. data/node_modules/lodash/intersection.js +30 -0
  1768. data/node_modules/lodash/intersectionBy.js +45 -0
  1769. data/node_modules/lodash/intersectionWith.js +41 -0
  1770. data/node_modules/lodash/invert.js +42 -0
  1771. data/node_modules/lodash/invertBy.js +56 -0
  1772. data/node_modules/lodash/invoke.js +24 -0
  1773. data/node_modules/lodash/invokeMap.js +41 -0
  1774. data/node_modules/lodash/isArguments.js +36 -0
  1775. data/node_modules/lodash/isArray.js +26 -0
  1776. data/node_modules/lodash/isArrayBuffer.js +27 -0
  1777. data/node_modules/lodash/isArrayLike.js +33 -0
  1778. data/node_modules/lodash/isArrayLikeObject.js +33 -0
  1779. data/node_modules/lodash/isBoolean.js +29 -0
  1780. data/node_modules/lodash/isBuffer.js +38 -0
  1781. data/node_modules/lodash/isDate.js +27 -0
  1782. data/node_modules/lodash/isElement.js +25 -0
  1783. data/node_modules/lodash/isEmpty.js +77 -0
  1784. data/node_modules/lodash/isEqual.js +35 -0
  1785. data/node_modules/lodash/isEqualWith.js +41 -0
  1786. data/node_modules/lodash/isError.js +36 -0
  1787. data/node_modules/lodash/isFinite.js +36 -0
  1788. data/node_modules/lodash/isFunction.js +37 -0
  1789. data/node_modules/lodash/isInteger.js +33 -0
  1790. data/node_modules/lodash/isLength.js +35 -0
  1791. data/node_modules/lodash/isMap.js +27 -0
  1792. data/node_modules/lodash/isMatch.js +36 -0
  1793. data/node_modules/lodash/isMatchWith.js +41 -0
  1794. data/node_modules/lodash/isNaN.js +38 -0
  1795. data/node_modules/lodash/isNative.js +40 -0
  1796. data/node_modules/lodash/isNil.js +25 -0
  1797. data/node_modules/lodash/isNull.js +22 -0
  1798. data/node_modules/lodash/isNumber.js +38 -0
  1799. data/node_modules/lodash/isObject.js +31 -0
  1800. data/node_modules/lodash/isObjectLike.js +29 -0
  1801. data/node_modules/lodash/isPlainObject.js +62 -0
  1802. data/node_modules/lodash/isRegExp.js +27 -0
  1803. data/node_modules/lodash/isSafeInteger.js +37 -0
  1804. data/node_modules/lodash/isSet.js +27 -0
  1805. data/node_modules/lodash/isString.js +30 -0
  1806. data/node_modules/lodash/isSymbol.js +29 -0
  1807. data/node_modules/lodash/isTypedArray.js +27 -0
  1808. data/node_modules/lodash/isUndefined.js +22 -0
  1809. data/node_modules/lodash/isWeakMap.js +28 -0
  1810. data/node_modules/lodash/isWeakSet.js +28 -0
  1811. data/node_modules/lodash/iteratee.js +53 -0
  1812. data/node_modules/lodash/join.js +26 -0
  1813. data/node_modules/lodash/kebabCase.js +28 -0
  1814. data/node_modules/lodash/keyBy.js +36 -0
  1815. data/node_modules/lodash/keys.js +37 -0
  1816. data/node_modules/lodash/keysIn.js +32 -0
  1817. data/node_modules/lodash/lang.js +58 -0
  1818. data/node_modules/lodash/last.js +20 -0
  1819. data/node_modules/lodash/lastIndexOf.js +46 -0
  1820. data/node_modules/lodash/lodash.js +17209 -0
  1821. data/node_modules/lodash/lodash.min.js +140 -0
  1822. data/node_modules/lodash/lowerCase.js +27 -0
  1823. data/node_modules/lodash/lowerFirst.js +22 -0
  1824. data/node_modules/lodash/lt.js +29 -0
  1825. data/node_modules/lodash/lte.js +30 -0
  1826. data/node_modules/lodash/map.js +53 -0
  1827. data/node_modules/lodash/mapKeys.js +36 -0
  1828. data/node_modules/lodash/mapValues.js +43 -0
  1829. data/node_modules/lodash/matches.js +46 -0
  1830. data/node_modules/lodash/matchesProperty.js +44 -0
  1831. data/node_modules/lodash/math.js +17 -0
  1832. data/node_modules/lodash/max.js +29 -0
  1833. data/node_modules/lodash/maxBy.js +34 -0
  1834. data/node_modules/lodash/mean.js +22 -0
  1835. data/node_modules/lodash/meanBy.js +31 -0
  1836. data/node_modules/lodash/memoize.js +73 -0
  1837. data/node_modules/lodash/merge.js +39 -0
  1838. data/node_modules/lodash/mergeWith.js +39 -0
  1839. data/node_modules/lodash/method.js +34 -0
  1840. data/node_modules/lodash/methodOf.js +33 -0
  1841. data/node_modules/lodash/min.js +29 -0
  1842. data/node_modules/lodash/minBy.js +34 -0
  1843. data/node_modules/lodash/mixin.js +74 -0
  1844. data/node_modules/lodash/multiply.js +22 -0
  1845. data/node_modules/lodash/negate.js +40 -0
  1846. data/node_modules/lodash/next.js +35 -0
  1847. data/node_modules/lodash/noop.js +17 -0
  1848. data/node_modules/lodash/now.js +23 -0
  1849. data/node_modules/lodash/nth.js +29 -0
  1850. data/node_modules/lodash/nthArg.js +32 -0
  1851. data/node_modules/lodash/number.js +5 -0
  1852. data/node_modules/lodash/object.js +49 -0
  1853. data/node_modules/lodash/omit.js +57 -0
  1854. data/node_modules/lodash/omitBy.js +29 -0
  1855. data/node_modules/lodash/once.js +25 -0
  1856. data/node_modules/lodash/orderBy.js +47 -0
  1857. data/node_modules/lodash/over.js +24 -0
  1858. data/node_modules/lodash/overArgs.js +61 -0
  1859. data/node_modules/lodash/overEvery.js +34 -0
  1860. data/node_modules/lodash/overSome.js +37 -0
  1861. data/node_modules/lodash/package.json +17 -0
  1862. data/node_modules/lodash/pad.js +49 -0
  1863. data/node_modules/lodash/padEnd.js +39 -0
  1864. data/node_modules/lodash/padStart.js +39 -0
  1865. data/node_modules/lodash/parseInt.js +43 -0
  1866. data/node_modules/lodash/partial.js +50 -0
  1867. data/node_modules/lodash/partialRight.js +49 -0
  1868. data/node_modules/lodash/partition.js +43 -0
  1869. data/node_modules/lodash/pick.js +25 -0
  1870. data/node_modules/lodash/pickBy.js +37 -0
  1871. data/node_modules/lodash/plant.js +48 -0
  1872. data/node_modules/lodash/property.js +32 -0
  1873. data/node_modules/lodash/propertyOf.js +30 -0
  1874. data/node_modules/lodash/pull.js +29 -0
  1875. data/node_modules/lodash/pullAll.js +29 -0
  1876. data/node_modules/lodash/pullAllBy.js +33 -0
  1877. data/node_modules/lodash/pullAllWith.js +32 -0
  1878. data/node_modules/lodash/pullAt.js +43 -0
  1879. data/node_modules/lodash/random.js +82 -0
  1880. data/node_modules/lodash/range.js +46 -0
  1881. data/node_modules/lodash/rangeRight.js +41 -0
  1882. data/node_modules/lodash/rearg.js +33 -0
  1883. data/node_modules/lodash/reduce.js +51 -0
  1884. data/node_modules/lodash/reduceRight.js +36 -0
  1885. data/node_modules/lodash/reject.js +46 -0
  1886. data/node_modules/lodash/release.md +48 -0
  1887. data/node_modules/lodash/remove.js +53 -0
  1888. data/node_modules/lodash/repeat.js +37 -0
  1889. data/node_modules/lodash/replace.js +29 -0
  1890. data/node_modules/lodash/rest.js +40 -0
  1891. data/node_modules/lodash/result.js +56 -0
  1892. data/node_modules/lodash/reverse.js +34 -0
  1893. data/node_modules/lodash/round.js +26 -0
  1894. data/node_modules/lodash/sample.js +24 -0
  1895. data/node_modules/lodash/sampleSize.js +37 -0
  1896. data/node_modules/lodash/seq.js +16 -0
  1897. data/node_modules/lodash/set.js +35 -0
  1898. data/node_modules/lodash/setWith.js +32 -0
  1899. data/node_modules/lodash/shuffle.js +25 -0
  1900. data/node_modules/lodash/size.js +46 -0
  1901. data/node_modules/lodash/slice.js +37 -0
  1902. data/node_modules/lodash/snakeCase.js +28 -0
  1903. data/node_modules/lodash/some.js +51 -0
  1904. data/node_modules/lodash/sortBy.js +48 -0
  1905. data/node_modules/lodash/sortedIndex.js +24 -0
  1906. data/node_modules/lodash/sortedIndexBy.js +33 -0
  1907. data/node_modules/lodash/sortedIndexOf.js +31 -0
  1908. data/node_modules/lodash/sortedLastIndex.js +25 -0
  1909. data/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1910. data/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1911. data/node_modules/lodash/sortedUniq.js +24 -0
  1912. data/node_modules/lodash/sortedUniqBy.js +26 -0
  1913. data/node_modules/lodash/split.js +52 -0
  1914. data/node_modules/lodash/spread.js +63 -0
  1915. data/node_modules/lodash/startCase.js +29 -0
  1916. data/node_modules/lodash/startsWith.js +39 -0
  1917. data/node_modules/lodash/string.js +33 -0
  1918. data/node_modules/lodash/stubArray.js +23 -0
  1919. data/node_modules/lodash/stubFalse.js +18 -0
  1920. data/node_modules/lodash/stubObject.js +23 -0
  1921. data/node_modules/lodash/stubString.js +18 -0
  1922. data/node_modules/lodash/stubTrue.js +18 -0
  1923. data/node_modules/lodash/subtract.js +22 -0
  1924. data/node_modules/lodash/sum.js +24 -0
  1925. data/node_modules/lodash/sumBy.js +33 -0
  1926. data/node_modules/lodash/tail.js +22 -0
  1927. data/node_modules/lodash/take.js +37 -0
  1928. data/node_modules/lodash/takeRight.js +39 -0
  1929. data/node_modules/lodash/takeRightWhile.js +45 -0
  1930. data/node_modules/lodash/takeWhile.js +45 -0
  1931. data/node_modules/lodash/tap.js +29 -0
  1932. data/node_modules/lodash/template.js +272 -0
  1933. data/node_modules/lodash/templateSettings.js +67 -0
  1934. data/node_modules/lodash/throttle.js +69 -0
  1935. data/node_modules/lodash/thru.js +28 -0
  1936. data/node_modules/lodash/times.js +51 -0
  1937. data/node_modules/lodash/toArray.js +58 -0
  1938. data/node_modules/lodash/toFinite.js +42 -0
  1939. data/node_modules/lodash/toInteger.js +36 -0
  1940. data/node_modules/lodash/toIterator.js +23 -0
  1941. data/node_modules/lodash/toJSON.js +1 -0
  1942. data/node_modules/lodash/toLength.js +38 -0
  1943. data/node_modules/lodash/toLower.js +28 -0
  1944. data/node_modules/lodash/toNumber.js +64 -0
  1945. data/node_modules/lodash/toPairs.js +30 -0
  1946. data/node_modules/lodash/toPairsIn.js +30 -0
  1947. data/node_modules/lodash/toPath.js +33 -0
  1948. data/node_modules/lodash/toPlainObject.js +32 -0
  1949. data/node_modules/lodash/toSafeInteger.js +37 -0
  1950. data/node_modules/lodash/toString.js +28 -0
  1951. data/node_modules/lodash/toUpper.js +28 -0
  1952. data/node_modules/lodash/transform.js +65 -0
  1953. data/node_modules/lodash/trim.js +47 -0
  1954. data/node_modules/lodash/trimEnd.js +41 -0
  1955. data/node_modules/lodash/trimStart.js +43 -0
  1956. data/node_modules/lodash/truncate.js +111 -0
  1957. data/node_modules/lodash/unary.js +22 -0
  1958. data/node_modules/lodash/unescape.js +34 -0
  1959. data/node_modules/lodash/union.js +26 -0
  1960. data/node_modules/lodash/unionBy.js +39 -0
  1961. data/node_modules/lodash/unionWith.js +34 -0
  1962. data/node_modules/lodash/uniq.js +25 -0
  1963. data/node_modules/lodash/uniqBy.js +31 -0
  1964. data/node_modules/lodash/uniqWith.js +28 -0
  1965. data/node_modules/lodash/uniqueId.js +28 -0
  1966. data/node_modules/lodash/unset.js +34 -0
  1967. data/node_modules/lodash/unzip.js +45 -0
  1968. data/node_modules/lodash/unzipWith.js +39 -0
  1969. data/node_modules/lodash/update.js +35 -0
  1970. data/node_modules/lodash/updateWith.js +33 -0
  1971. data/node_modules/lodash/upperCase.js +27 -0
  1972. data/node_modules/lodash/upperFirst.js +22 -0
  1973. data/node_modules/lodash/util.js +34 -0
  1974. data/node_modules/lodash/value.js +1 -0
  1975. data/node_modules/lodash/valueOf.js +1 -0
  1976. data/node_modules/lodash/values.js +34 -0
  1977. data/node_modules/lodash/valuesIn.js +32 -0
  1978. data/node_modules/lodash/without.js +31 -0
  1979. data/node_modules/lodash/words.js +35 -0
  1980. data/node_modules/lodash/wrap.js +30 -0
  1981. data/node_modules/lodash/wrapperAt.js +48 -0
  1982. data/node_modules/lodash/wrapperChain.js +34 -0
  1983. data/node_modules/lodash/wrapperLodash.js +147 -0
  1984. data/node_modules/lodash/wrapperReverse.js +44 -0
  1985. data/node_modules/lodash/wrapperValue.js +21 -0
  1986. data/node_modules/lodash/xor.js +28 -0
  1987. data/node_modules/lodash/xorBy.js +39 -0
  1988. data/node_modules/lodash/xorWith.js +34 -0
  1989. data/node_modules/lodash/zip.js +22 -0
  1990. data/node_modules/lodash/zipObject.js +24 -0
  1991. data/node_modules/lodash/zipObjectDeep.js +23 -0
  1992. data/node_modules/lodash/zipWith.js +32 -0
  1993. data/node_modules/mime-db/HISTORY.md +486 -0
  1994. data/node_modules/mime-db/LICENSE +22 -0
  1995. data/node_modules/mime-db/README.md +100 -0
  1996. data/node_modules/mime-db/db.json +8417 -0
  1997. data/node_modules/mime-db/index.js +11 -0
  1998. data/node_modules/mime-db/package.json +59 -0
  1999. data/node_modules/mime-types/HISTORY.md +378 -0
  2000. data/node_modules/mime-types/LICENSE +23 -0
  2001. data/node_modules/mime-types/README.md +113 -0
  2002. data/node_modules/mime-types/index.js +188 -0
  2003. data/node_modules/mime-types/package.json +44 -0
  2004. data/node_modules/ms/index.js +162 -0
  2005. data/node_modules/ms/license.md +21 -0
  2006. data/node_modules/ms/package.json +37 -0
  2007. data/node_modules/ms/readme.md +60 -0
  2008. data/node_modules/nwsapi/LICENSE +22 -0
  2009. data/node_modules/nwsapi/README.md +132 -0
  2010. data/node_modules/nwsapi/dist/lint.log +0 -0
  2011. data/node_modules/nwsapi/package.json +38 -0
  2012. data/node_modules/nwsapi/src/modules/nwsapi-jquery.js +135 -0
  2013. data/node_modules/nwsapi/src/modules/nwsapi-traversal.js +90 -0
  2014. data/node_modules/nwsapi/src/nwsapi.js +1800 -0
  2015. data/node_modules/optionator/CHANGELOG.md +56 -0
  2016. data/node_modules/optionator/LICENSE +22 -0
  2017. data/node_modules/optionator/README.md +238 -0
  2018. data/node_modules/optionator/lib/help.js +260 -0
  2019. data/node_modules/optionator/lib/index.js +465 -0
  2020. data/node_modules/optionator/lib/util.js +54 -0
  2021. data/node_modules/optionator/package.json +44 -0
  2022. data/node_modules/parse5/LICENSE +19 -0
  2023. data/node_modules/parse5/README.md +38 -0
  2024. data/node_modules/parse5/lib/common/doctype.js +162 -0
  2025. data/node_modules/parse5/lib/common/error-codes.js +65 -0
  2026. data/node_modules/parse5/lib/common/foreign-content.js +265 -0
  2027. data/node_modules/parse5/lib/common/html.js +272 -0
  2028. data/node_modules/parse5/lib/common/unicode.js +109 -0
  2029. data/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +43 -0
  2030. data/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +52 -0
  2031. data/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +24 -0
  2032. data/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +17 -0
  2033. data/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +35 -0
  2034. data/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +223 -0
  2035. data/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +146 -0
  2036. data/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +64 -0
  2037. data/node_modules/parse5/lib/index.js +29 -0
  2038. data/node_modules/parse5/lib/parser/formatting-element-list.js +181 -0
  2039. data/node_modules/parse5/lib/parser/index.js +2956 -0
  2040. data/node_modules/parse5/lib/parser/open-element-stack.js +482 -0
  2041. data/node_modules/parse5/lib/serializer/index.js +176 -0
  2042. data/node_modules/parse5/lib/tokenizer/index.js +2196 -0
  2043. data/node_modules/parse5/lib/tokenizer/named-entity-data.js +5 -0
  2044. data/node_modules/parse5/lib/tokenizer/preprocessor.js +159 -0
  2045. data/node_modules/parse5/lib/tree-adapters/default.js +221 -0
  2046. data/node_modules/parse5/lib/utils/merge-options.js +13 -0
  2047. data/node_modules/parse5/lib/utils/mixin.js +39 -0
  2048. data/node_modules/parse5/package.json +35 -0
  2049. data/node_modules/prelude-ls/CHANGELOG.md +99 -0
  2050. data/node_modules/prelude-ls/LICENSE +22 -0
  2051. data/node_modules/prelude-ls/README.md +15 -0
  2052. data/node_modules/prelude-ls/lib/Func.js +65 -0
  2053. data/node_modules/prelude-ls/lib/List.js +686 -0
  2054. data/node_modules/prelude-ls/lib/Num.js +130 -0
  2055. data/node_modules/prelude-ls/lib/Obj.js +154 -0
  2056. data/node_modules/prelude-ls/lib/Str.js +92 -0
  2057. data/node_modules/prelude-ls/lib/index.js +178 -0
  2058. data/node_modules/prelude-ls/package.json +52 -0
  2059. data/node_modules/psl/LICENSE +9 -0
  2060. data/node_modules/psl/README.md +215 -0
  2061. data/node_modules/psl/browserstack-logo.svg +90 -0
  2062. data/node_modules/psl/data/rules.json +8834 -0
  2063. data/node_modules/psl/dist/psl.js +9645 -0
  2064. data/node_modules/psl/dist/psl.min.js +1 -0
  2065. data/node_modules/psl/index.js +269 -0
  2066. data/node_modules/psl/package.json +44 -0
  2067. data/node_modules/punycode/LICENSE-MIT.txt +20 -0
  2068. data/node_modules/punycode/README.md +122 -0
  2069. data/node_modules/punycode/package.json +58 -0
  2070. data/node_modules/punycode/punycode.es6.js +441 -0
  2071. data/node_modules/punycode/punycode.js +440 -0
  2072. data/node_modules/safer-buffer/LICENSE +21 -0
  2073. data/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  2074. data/node_modules/safer-buffer/Readme.md +156 -0
  2075. data/node_modules/safer-buffer/dangerous.js +58 -0
  2076. data/node_modules/safer-buffer/package.json +34 -0
  2077. data/node_modules/safer-buffer/safer.js +77 -0
  2078. data/node_modules/safer-buffer/tests.js +406 -0
  2079. data/node_modules/saxes/README.md +323 -0
  2080. data/node_modules/saxes/package.json +70 -0
  2081. data/node_modules/saxes/saxes.d.ts +635 -0
  2082. data/node_modules/saxes/saxes.js +2064 -0
  2083. data/node_modules/saxes/saxes.js.map +1 -0
  2084. data/node_modules/source-map/CHANGELOG.md +301 -0
  2085. data/node_modules/source-map/LICENSE +28 -0
  2086. data/node_modules/source-map/README.md +742 -0
  2087. data/node_modules/source-map/dist/source-map.debug.js +3234 -0
  2088. data/node_modules/source-map/dist/source-map.js +3233 -0
  2089. data/node_modules/source-map/dist/source-map.min.js +2 -0
  2090. data/node_modules/source-map/dist/source-map.min.js.map +1 -0
  2091. data/node_modules/source-map/lib/array-set.js +121 -0
  2092. data/node_modules/source-map/lib/base64-vlq.js +140 -0
  2093. data/node_modules/source-map/lib/base64.js +67 -0
  2094. data/node_modules/source-map/lib/binary-search.js +111 -0
  2095. data/node_modules/source-map/lib/mapping-list.js +79 -0
  2096. data/node_modules/source-map/lib/quick-sort.js +114 -0
  2097. data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  2098. data/node_modules/source-map/lib/source-map-generator.js +425 -0
  2099. data/node_modules/source-map/lib/source-node.js +413 -0
  2100. data/node_modules/source-map/lib/util.js +488 -0
  2101. data/node_modules/source-map/package.json +73 -0
  2102. data/node_modules/source-map/source-map.d.ts +98 -0
  2103. data/node_modules/source-map/source-map.js +8 -0
  2104. data/node_modules/symbol-tree/LICENSE +21 -0
  2105. data/node_modules/symbol-tree/README.md +545 -0
  2106. data/node_modules/symbol-tree/lib/SymbolTree.js +838 -0
  2107. data/node_modules/symbol-tree/lib/SymbolTreeNode.js +54 -0
  2108. data/node_modules/symbol-tree/lib/TreeIterator.js +69 -0
  2109. data/node_modules/symbol-tree/lib/TreePosition.js +11 -0
  2110. data/node_modules/symbol-tree/package.json +47 -0
  2111. data/node_modules/tough-cookie/LICENSE +12 -0
  2112. data/node_modules/tough-cookie/README.md +582 -0
  2113. data/node_modules/tough-cookie/lib/cookie.js +1671 -0
  2114. data/node_modules/tough-cookie/lib/memstore.js +190 -0
  2115. data/node_modules/tough-cookie/lib/pathMatch.js +61 -0
  2116. data/node_modules/tough-cookie/lib/permuteDomain.js +70 -0
  2117. data/node_modules/tough-cookie/lib/pubsuffix-psl.js +38 -0
  2118. data/node_modules/tough-cookie/lib/store.js +76 -0
  2119. data/node_modules/tough-cookie/lib/version.js +2 -0
  2120. data/node_modules/tough-cookie/node_modules/universalify/LICENSE +20 -0
  2121. data/node_modules/tough-cookie/node_modules/universalify/README.md +76 -0
  2122. data/node_modules/tough-cookie/node_modules/universalify/index.js +25 -0
  2123. data/node_modules/tough-cookie/node_modules/universalify/package.json +34 -0
  2124. data/node_modules/tough-cookie/package.json +109 -0
  2125. data/node_modules/tr46/LICENSE.md +21 -0
  2126. data/node_modules/tr46/README.md +72 -0
  2127. data/node_modules/tr46/index.js +297 -0
  2128. data/node_modules/tr46/lib/mappingTable.json +1 -0
  2129. data/node_modules/tr46/lib/regexes.js +29 -0
  2130. data/node_modules/tr46/lib/statusMapping.js +11 -0
  2131. data/node_modules/tr46/package.json +46 -0
  2132. data/node_modules/type-check/LICENSE +22 -0
  2133. data/node_modules/type-check/README.md +210 -0
  2134. data/node_modules/type-check/lib/check.js +126 -0
  2135. data/node_modules/type-check/lib/index.js +16 -0
  2136. data/node_modules/type-check/lib/parse-type.js +196 -0
  2137. data/node_modules/type-check/package.json +40 -0
  2138. data/node_modules/w3c-hr-time/CHANGELOG.md +19 -0
  2139. data/node_modules/w3c-hr-time/LICENSE.md +21 -0
  2140. data/node_modules/w3c-hr-time/README.md +130 -0
  2141. data/node_modules/w3c-hr-time/index.js +11 -0
  2142. data/node_modules/w3c-hr-time/lib/calculate-clock-offset.js +39 -0
  2143. data/node_modules/w3c-hr-time/lib/clock-is-accurate.js +61 -0
  2144. data/node_modules/w3c-hr-time/lib/global-monotonic-clock.js +10 -0
  2145. data/node_modules/w3c-hr-time/lib/performance.js +53 -0
  2146. data/node_modules/w3c-hr-time/lib/utils.js +11 -0
  2147. data/node_modules/w3c-hr-time/package.json +26 -0
  2148. data/node_modules/w3c-xmlserializer/LICENSE.md +25 -0
  2149. data/node_modules/w3c-xmlserializer/README.md +41 -0
  2150. data/node_modules/w3c-xmlserializer/lib/attributes.js +128 -0
  2151. data/node_modules/w3c-xmlserializer/lib/constants.js +44 -0
  2152. data/node_modules/w3c-xmlserializer/lib/serialize.js +371 -0
  2153. data/node_modules/w3c-xmlserializer/package.json +32 -0
  2154. data/node_modules/webidl-conversions/LICENSE.md +12 -0
  2155. data/node_modules/webidl-conversions/README.md +101 -0
  2156. data/node_modules/webidl-conversions/lib/index.js +489 -0
  2157. data/node_modules/webidl-conversions/package.json +30 -0
  2158. data/node_modules/whatwg-encoding/LICENSE.txt +7 -0
  2159. data/node_modules/whatwg-encoding/README.md +50 -0
  2160. data/node_modules/whatwg-encoding/lib/labels-to-names.json +207 -0
  2161. data/node_modules/whatwg-encoding/lib/supported-names.json +37 -0
  2162. data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +47 -0
  2163. data/node_modules/whatwg-encoding/package.json +29 -0
  2164. data/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
  2165. data/node_modules/whatwg-mimetype/README.md +101 -0
  2166. data/node_modules/whatwg-mimetype/lib/mime-type.js +191 -0
  2167. data/node_modules/whatwg-mimetype/lib/parser.js +124 -0
  2168. data/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
  2169. data/node_modules/whatwg-mimetype/lib/utils.js +25 -0
  2170. data/node_modules/whatwg-mimetype/package.json +43 -0
  2171. data/node_modules/whatwg-url/LICENSE.txt +21 -0
  2172. data/node_modules/whatwg-url/README.md +104 -0
  2173. data/node_modules/whatwg-url/dist/Function.js +46 -0
  2174. data/node_modules/whatwg-url/dist/URL-impl.js +217 -0
  2175. data/node_modules/whatwg-url/dist/URL.js +417 -0
  2176. data/node_modules/whatwg-url/dist/URLSearchParams-impl.js +122 -0
  2177. data/node_modules/whatwg-url/dist/URLSearchParams.js +457 -0
  2178. data/node_modules/whatwg-url/dist/VoidFunction.js +30 -0
  2179. data/node_modules/whatwg-url/dist/encoding.js +26 -0
  2180. data/node_modules/whatwg-url/dist/infra.js +26 -0
  2181. data/node_modules/whatwg-url/dist/percent-encoding.js +141 -0
  2182. data/node_modules/whatwg-url/dist/url-state-machine.js +1210 -0
  2183. data/node_modules/whatwg-url/dist/urlencoded.js +102 -0
  2184. data/node_modules/whatwg-url/dist/utils.js +141 -0
  2185. data/node_modules/whatwg-url/index.js +24 -0
  2186. data/node_modules/whatwg-url/package.json +60 -0
  2187. data/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
  2188. data/node_modules/word-wrap/LICENSE +21 -0
  2189. data/node_modules/word-wrap/README.md +182 -0
  2190. data/node_modules/word-wrap/index.d.ts +50 -0
  2191. data/node_modules/word-wrap/index.js +46 -0
  2192. data/node_modules/word-wrap/package.json +77 -0
  2193. data/node_modules/ws/LICENSE +21 -0
  2194. data/node_modules/ws/README.md +496 -0
  2195. data/node_modules/ws/browser.js +8 -0
  2196. data/node_modules/ws/index.js +10 -0
  2197. data/node_modules/ws/lib/buffer-util.js +129 -0
  2198. data/node_modules/ws/lib/constants.js +10 -0
  2199. data/node_modules/ws/lib/event-target.js +184 -0
  2200. data/node_modules/ws/lib/extension.js +223 -0
  2201. data/node_modules/ws/lib/limiter.js +55 -0
  2202. data/node_modules/ws/lib/permessage-deflate.js +518 -0
  2203. data/node_modules/ws/lib/receiver.js +607 -0
  2204. data/node_modules/ws/lib/sender.js +409 -0
  2205. data/node_modules/ws/lib/stream.js +177 -0
  2206. data/node_modules/ws/lib/validation.js +104 -0
  2207. data/node_modules/ws/lib/websocket-server.js +447 -0
  2208. data/node_modules/ws/lib/websocket.js +1078 -0
  2209. data/node_modules/ws/package.json +56 -0
  2210. data/node_modules/xml-name-validator/LICENSE.txt +176 -0
  2211. data/node_modules/xml-name-validator/README.md +36 -0
  2212. data/node_modules/xml-name-validator/lib/generated-parser.js +504 -0
  2213. data/node_modules/xml-name-validator/lib/grammar.pegjs +35 -0
  2214. data/node_modules/xml-name-validator/lib/xml-name-validator.js +17 -0
  2215. data/node_modules/xml-name-validator/package.json +28 -0
  2216. data/node_modules/xmlchars/LICENSE +18 -0
  2217. data/node_modules/xmlchars/README.md +33 -0
  2218. data/node_modules/xmlchars/package.json +51 -0
  2219. data/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
  2220. data/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
  2221. data/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
  2222. data/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
  2223. data/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
  2224. data/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
  2225. data/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
  2226. data/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
  2227. data/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
  2228. data/node_modules/xmlchars/xmlchars.d.ts +170 -0
  2229. data/node_modules/xmlchars/xmlchars.js +191 -0
  2230. data/node_modules/xmlchars/xmlchars.js.map +1 -0
  2231. data/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
  2232. data/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
  2233. data/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
  2234. data/package.json +1 -1
  2235. data/release.sh +2 -1
  2236. data/spec/depends/api_spec.rb +1 -1
  2237. data/spec/fixtures/depends/revoke_api_key.appmap.json +3 -3
  2238. data/spec/fixtures/depends/user_page_scenario.appmap.json +3 -3
  2239. data/spec/fixtures/rails6_users_app/Gemfile +1 -1
  2240. data/spec/fixtures/rails6_users_app/docker-compose.yml +1 -1
  2241. data/spec/hook_spec.rb +6 -4
  2242. data/spec/rails_recording_spec.rb +5 -2
  2243. data/spec/railtie_spec.rb +3 -3
  2244. data/spec/record_sql_rails_pg_spec.rb +1 -1
  2245. data/spec/remote_recording_spec.rb +3 -3
  2246. data/spec/spec_helper.rb +4 -0
  2247. data/test/agent_setup_validate_test.rb +3 -3
  2248. data/yarn.lock +408 -20
  2249. metadata +2219 -100
  2250. data/node_modules/@appland/cli/CHANGELOG.md +0 -96
  2251. data/node_modules/@appland/cli/package.json +0 -49
  2252. data/node_modules/@appland/cli/src/appland/listAppMaps.js +0 -58
  2253. data/node_modules/@appland/cli/src/appland/types.d.ts +0 -16
  2254. data/node_modules/@appland/cli/src/cli.js +0 -576
  2255. data/node_modules/@appland/cli/src/utils.js +0 -164
  2256. data/node_modules/@appland/cli/tests/unit/depends.spec.js +0 -55
  2257. data/node_modules/@appland/cli/tests/unit/fingerprint/canonicalize.spec.js +0 -42
  2258. data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.info.json +0 -246
  2259. data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.trace.json +0 -289
  2260. data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.update.json +0 -78
  2261. data/node_modules/@appland/cli/tests/unit/fixtures/revoke_api_key.appmap.json +0 -899
  2262. data/node_modules/@appland/cli/tests/unit/fixtures/user_page_scenario.appmap.json +0 -1774
  2263. data/node_modules/@appland/cli/tests/unit/inspect.spec.js +0 -94
  2264. data/node_modules/@rollup/plugin-alias/CHANGELOG.md +0 -92
  2265. data/node_modules/@rollup/plugin-alias/LICENSE +0 -21
  2266. data/node_modules/@rollup/plugin-alias/README.md +0 -174
  2267. data/node_modules/@rollup/plugin-alias/dist/index.es.js +0 -95
  2268. data/node_modules/@rollup/plugin-alias/dist/index.js +0 -101
  2269. data/node_modules/@rollup/plugin-alias/package.json +0 -78
  2270. data/node_modules/@rollup/plugin-alias/types/index.d.ts +0 -36
  2271. data/node_modules/fsevents/LICENSE +0 -22
  2272. data/node_modules/fsevents/README.md +0 -83
  2273. data/node_modules/fsevents/fsevents.d.ts +0 -46
  2274. data/node_modules/fsevents/fsevents.js +0 -82
  2275. data/node_modules/fsevents/fsevents.node +0 -0
  2276. data/node_modules/fsevents/package.json +0 -62
  2277. data/node_modules/slash/index.d.ts +0 -25
  2278. data/node_modules/slash/index.js +0 -11
  2279. data/node_modules/slash/license +0 -9
  2280. data/node_modules/slash/package.json +0 -35
  2281. data/node_modules/slash/readme.md +0 -44
@@ -0,0 +1,2064 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const ed5 = require("xmlchars/xml/1.0/ed5");
4
+ const ed2 = require("xmlchars/xml/1.1/ed2");
5
+ const NSed3 = require("xmlchars/xmlns/1.0/ed3");
6
+ var isS = ed5.isS;
7
+ var isChar10 = ed5.isChar;
8
+ var isNameStartChar = ed5.isNameStartChar;
9
+ var isNameChar = ed5.isNameChar;
10
+ var S_LIST = ed5.S_LIST;
11
+ var NAME_RE = ed5.NAME_RE;
12
+ var isChar11 = ed2.isChar;
13
+ var isNCNameStartChar = NSed3.isNCNameStartChar;
14
+ var isNCNameChar = NSed3.isNCNameChar;
15
+ var NC_NAME_RE = NSed3.NC_NAME_RE;
16
+ const XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
17
+ const XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/";
18
+ const rootNS = {
19
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
+ __proto__: null,
21
+ xml: XML_NAMESPACE,
22
+ xmlns: XMLNS_NAMESPACE,
23
+ };
24
+ const XML_ENTITIES = {
25
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
26
+ __proto__: null,
27
+ amp: "&",
28
+ gt: ">",
29
+ lt: "<",
30
+ quot: "\"",
31
+ apos: "'",
32
+ };
33
+ // EOC: end-of-chunk
34
+ const EOC = -1;
35
+ const NL_LIKE = -2;
36
+ const S_BEGIN = 0; // Initial state.
37
+ const S_BEGIN_WHITESPACE = 1; // leading whitespace
38
+ const S_DOCTYPE = 2; // <!DOCTYPE
39
+ const S_DOCTYPE_QUOTE = 3; // <!DOCTYPE "//blah
40
+ const S_DTD = 4; // <!DOCTYPE "//blah" [ ...
41
+ const S_DTD_QUOTED = 5; // <!DOCTYPE "//blah" [ "foo
42
+ const S_DTD_OPEN_WAKA = 6;
43
+ const S_DTD_OPEN_WAKA_BANG = 7;
44
+ const S_DTD_COMMENT = 8; // <!--
45
+ const S_DTD_COMMENT_ENDING = 9; // <!-- blah -
46
+ const S_DTD_COMMENT_ENDED = 10; // <!-- blah --
47
+ const S_DTD_PI = 11; // <?
48
+ const S_DTD_PI_ENDING = 12; // <?hi "there" ?
49
+ const S_TEXT = 13; // general stuff
50
+ const S_ENTITY = 14; // &amp and such
51
+ const S_OPEN_WAKA = 15; // <
52
+ const S_OPEN_WAKA_BANG = 16; // <!...
53
+ const S_COMMENT = 17; // <!--
54
+ const S_COMMENT_ENDING = 18; // <!-- blah -
55
+ const S_COMMENT_ENDED = 19; // <!-- blah --
56
+ const S_CDATA = 20; // <![CDATA[ something
57
+ const S_CDATA_ENDING = 21; // ]
58
+ const S_CDATA_ENDING_2 = 22; // ]]
59
+ const S_PI_FIRST_CHAR = 23; // <?hi, first char
60
+ const S_PI_REST = 24; // <?hi, rest of the name
61
+ const S_PI_BODY = 25; // <?hi there
62
+ const S_PI_ENDING = 26; // <?hi "there" ?
63
+ const S_XML_DECL_NAME_START = 27; // <?xml
64
+ const S_XML_DECL_NAME = 28; // <?xml foo
65
+ const S_XML_DECL_EQ = 29; // <?xml foo=
66
+ const S_XML_DECL_VALUE_START = 30; // <?xml foo=
67
+ const S_XML_DECL_VALUE = 31; // <?xml foo="bar"
68
+ const S_XML_DECL_SEPARATOR = 32; // <?xml foo="bar"
69
+ const S_XML_DECL_ENDING = 33; // <?xml ... ?
70
+ const S_OPEN_TAG = 34; // <strong
71
+ const S_OPEN_TAG_SLASH = 35; // <strong /
72
+ const S_ATTRIB = 36; // <a
73
+ const S_ATTRIB_NAME = 37; // <a foo
74
+ const S_ATTRIB_NAME_SAW_WHITE = 38; // <a foo _
75
+ const S_ATTRIB_VALUE = 39; // <a foo=
76
+ const S_ATTRIB_VALUE_QUOTED = 40; // <a foo="bar
77
+ const S_ATTRIB_VALUE_CLOSED = 41; // <a foo="bar"
78
+ const S_ATTRIB_VALUE_UNQUOTED = 42; // <a foo=bar
79
+ const S_CLOSE_TAG = 43; // </a
80
+ const S_CLOSE_TAG_SAW_WHITE = 44; // </a >
81
+ const TAB = 9;
82
+ const NL = 0xA;
83
+ const CR = 0xD;
84
+ const SPACE = 0x20;
85
+ const BANG = 0x21;
86
+ const DQUOTE = 0x22;
87
+ const AMP = 0x26;
88
+ const SQUOTE = 0x27;
89
+ const MINUS = 0x2D;
90
+ const FORWARD_SLASH = 0x2F;
91
+ const SEMICOLON = 0x3B;
92
+ const LESS = 0x3C;
93
+ const EQUAL = 0x3D;
94
+ const GREATER = 0x3E;
95
+ const QUESTION = 0x3F;
96
+ const OPEN_BRACKET = 0x5B;
97
+ const CLOSE_BRACKET = 0x5D;
98
+ const NEL = 0x85;
99
+ const LS = 0x2028; // Line Separator
100
+ const isQuote = (c) => c === DQUOTE || c === SQUOTE;
101
+ const QUOTES = [DQUOTE, SQUOTE];
102
+ const DOCTYPE_TERMINATOR = [...QUOTES, OPEN_BRACKET, GREATER];
103
+ const DTD_TERMINATOR = [...QUOTES, LESS, CLOSE_BRACKET];
104
+ const XML_DECL_NAME_TERMINATOR = [EQUAL, QUESTION, ...S_LIST];
105
+ const ATTRIB_VALUE_UNQUOTED_TERMINATOR = [...S_LIST, GREATER, AMP, LESS];
106
+ function nsPairCheck(parser, prefix, uri) {
107
+ switch (prefix) {
108
+ case "xml":
109
+ if (uri !== XML_NAMESPACE) {
110
+ parser.fail(`xml prefix must be bound to ${XML_NAMESPACE}.`);
111
+ }
112
+ break;
113
+ case "xmlns":
114
+ if (uri !== XMLNS_NAMESPACE) {
115
+ parser.fail(`xmlns prefix must be bound to ${XMLNS_NAMESPACE}.`);
116
+ }
117
+ break;
118
+ default:
119
+ }
120
+ switch (uri) {
121
+ case XMLNS_NAMESPACE:
122
+ parser.fail(prefix === "" ?
123
+ `the default namespace may not be set to ${uri}.` :
124
+ `may not assign a prefix (even "xmlns") to the URI \
125
+ ${XMLNS_NAMESPACE}.`);
126
+ break;
127
+ case XML_NAMESPACE:
128
+ switch (prefix) {
129
+ case "xml":
130
+ // Assinging the XML namespace to "xml" is fine.
131
+ break;
132
+ case "":
133
+ parser.fail(`the default namespace may not be set to ${uri}.`);
134
+ break;
135
+ default:
136
+ parser.fail("may not assign the xml namespace to another prefix.");
137
+ }
138
+ break;
139
+ default:
140
+ }
141
+ }
142
+ function nsMappingCheck(parser, mapping) {
143
+ for (const local of Object.keys(mapping)) {
144
+ nsPairCheck(parser, local, mapping[local]);
145
+ }
146
+ }
147
+ const isNCName = (name) => NC_NAME_RE.test(name);
148
+ const isName = (name) => NAME_RE.test(name);
149
+ const FORBIDDEN_START = 0;
150
+ const FORBIDDEN_BRACKET = 1;
151
+ const FORBIDDEN_BRACKET_BRACKET = 2;
152
+ /**
153
+ * The list of supported events.
154
+ */
155
+ exports.EVENTS = [
156
+ "xmldecl",
157
+ "text",
158
+ "processinginstruction",
159
+ "doctype",
160
+ "comment",
161
+ "opentagstart",
162
+ "attribute",
163
+ "opentag",
164
+ "closetag",
165
+ "cdata",
166
+ "error",
167
+ "end",
168
+ "ready",
169
+ ];
170
+ const EVENT_NAME_TO_HANDLER_NAME = {
171
+ xmldecl: "xmldeclHandler",
172
+ text: "textHandler",
173
+ processinginstruction: "piHandler",
174
+ doctype: "doctypeHandler",
175
+ comment: "commentHandler",
176
+ opentagstart: "openTagStartHandler",
177
+ attribute: "attributeHandler",
178
+ opentag: "openTagHandler",
179
+ closetag: "closeTagHandler",
180
+ cdata: "cdataHandler",
181
+ error: "errorHandler",
182
+ end: "endHandler",
183
+ ready: "readyHandler",
184
+ };
185
+ class SaxesParser {
186
+ /**
187
+ * @param opt The parser options.
188
+ */
189
+ constructor(opt) {
190
+ this.opt = opt !== null && opt !== void 0 ? opt : {};
191
+ this.fragmentOpt = !!this.opt.fragment;
192
+ const xmlnsOpt = this.xmlnsOpt = !!this.opt.xmlns;
193
+ this.trackPosition = this.opt.position !== false;
194
+ this.fileName = this.opt.fileName;
195
+ if (xmlnsOpt) {
196
+ // This is the function we use to perform name checks on PIs and entities.
197
+ // When namespaces are used, colons are not allowed in PI target names or
198
+ // entity names. So the check depends on whether namespaces are used. See:
199
+ //
200
+ // https://www.w3.org/XML/xml-names-19990114-errata.html
201
+ // NE08
202
+ //
203
+ this.nameStartCheck = isNCNameStartChar;
204
+ this.nameCheck = isNCNameChar;
205
+ this.isName = isNCName;
206
+ // eslint-disable-next-line @typescript-eslint/unbound-method
207
+ this.processAttribs = this.processAttribsNS;
208
+ // eslint-disable-next-line @typescript-eslint/unbound-method
209
+ this.pushAttrib = this.pushAttribNS;
210
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
211
+ this.ns = Object.assign({ __proto__: null }, rootNS);
212
+ const additional = this.opt.additionalNamespaces;
213
+ if (additional != null) {
214
+ nsMappingCheck(this, additional);
215
+ Object.assign(this.ns, additional);
216
+ }
217
+ }
218
+ else {
219
+ this.nameStartCheck = isNameStartChar;
220
+ this.nameCheck = isNameChar;
221
+ this.isName = isName;
222
+ // eslint-disable-next-line @typescript-eslint/unbound-method
223
+ this.processAttribs = this.processAttribsPlain;
224
+ // eslint-disable-next-line @typescript-eslint/unbound-method
225
+ this.pushAttrib = this.pushAttribPlain;
226
+ }
227
+ //
228
+ // The order of the members in this table needs to correspond to the state
229
+ // numbers given to the states that correspond to the methods being recorded
230
+ // here.
231
+ //
232
+ this.stateTable = [
233
+ /* eslint-disable @typescript-eslint/unbound-method */
234
+ this.sBegin,
235
+ this.sBeginWhitespace,
236
+ this.sDoctype,
237
+ this.sDoctypeQuote,
238
+ this.sDTD,
239
+ this.sDTDQuoted,
240
+ this.sDTDOpenWaka,
241
+ this.sDTDOpenWakaBang,
242
+ this.sDTDComment,
243
+ this.sDTDCommentEnding,
244
+ this.sDTDCommentEnded,
245
+ this.sDTDPI,
246
+ this.sDTDPIEnding,
247
+ this.sText,
248
+ this.sEntity,
249
+ this.sOpenWaka,
250
+ this.sOpenWakaBang,
251
+ this.sComment,
252
+ this.sCommentEnding,
253
+ this.sCommentEnded,
254
+ this.sCData,
255
+ this.sCDataEnding,
256
+ this.sCDataEnding2,
257
+ this.sPIFirstChar,
258
+ this.sPIRest,
259
+ this.sPIBody,
260
+ this.sPIEnding,
261
+ this.sXMLDeclNameStart,
262
+ this.sXMLDeclName,
263
+ this.sXMLDeclEq,
264
+ this.sXMLDeclValueStart,
265
+ this.sXMLDeclValue,
266
+ this.sXMLDeclSeparator,
267
+ this.sXMLDeclEnding,
268
+ this.sOpenTag,
269
+ this.sOpenTagSlash,
270
+ this.sAttrib,
271
+ this.sAttribName,
272
+ this.sAttribNameSawWhite,
273
+ this.sAttribValue,
274
+ this.sAttribValueQuoted,
275
+ this.sAttribValueClosed,
276
+ this.sAttribValueUnquoted,
277
+ this.sCloseTag,
278
+ this.sCloseTagSawWhite,
279
+ ];
280
+ this._init();
281
+ }
282
+ /**
283
+ * Indicates whether or not the parser is closed. If ``true``, wait for
284
+ * the ``ready`` event to write again.
285
+ */
286
+ get closed() {
287
+ return this._closed;
288
+ }
289
+ _init() {
290
+ var _a;
291
+ this.openWakaBang = "";
292
+ this.text = "";
293
+ this.name = "";
294
+ this.piTarget = "";
295
+ this.entity = "";
296
+ this.q = null;
297
+ this.tags = [];
298
+ this.tag = null;
299
+ this.topNS = null;
300
+ this.chunk = "";
301
+ this.chunkPosition = 0;
302
+ this.i = 0;
303
+ this.prevI = 0;
304
+ this.carriedFromPrevious = undefined;
305
+ this.forbiddenState = FORBIDDEN_START;
306
+ this.attribList = [];
307
+ // The logic is organized so as to minimize the need to check
308
+ // this.opt.fragment while parsing.
309
+ const { fragmentOpt } = this;
310
+ this.state = fragmentOpt ? S_TEXT : S_BEGIN;
311
+ // We want these to be all true if we are dealing with a fragment.
312
+ this.reportedTextBeforeRoot = this.reportedTextAfterRoot = this.closedRoot =
313
+ this.sawRoot = fragmentOpt;
314
+ // An XML declaration is intially possible only when parsing whole
315
+ // documents.
316
+ this.xmlDeclPossible = !fragmentOpt;
317
+ this.xmlDeclExpects = ["version"];
318
+ this.entityReturnState = undefined;
319
+ let { defaultXMLVersion } = this.opt;
320
+ if (defaultXMLVersion === undefined) {
321
+ if (this.opt.forceXMLVersion === true) {
322
+ throw new Error("forceXMLVersion set but defaultXMLVersion is not set");
323
+ }
324
+ defaultXMLVersion = "1.0";
325
+ }
326
+ this.setXMLVersion(defaultXMLVersion);
327
+ this.positionAtNewLine = 0;
328
+ this.doctype = false;
329
+ this._closed = false;
330
+ this.xmlDecl = {
331
+ version: undefined,
332
+ encoding: undefined,
333
+ standalone: undefined,
334
+ };
335
+ this.line = 1;
336
+ this.column = 0;
337
+ this.ENTITIES = Object.create(XML_ENTITIES);
338
+ // eslint-disable-next-line no-unused-expressions
339
+ (_a = this.readyHandler) === null || _a === void 0 ? void 0 : _a.call(this);
340
+ }
341
+ /**
342
+ * The stream position the parser is currently looking at. This field is
343
+ * zero-based.
344
+ *
345
+ * This field is not based on counting Unicode characters but is to be
346
+ * interpreted as a plain index into a JavaScript string.
347
+ */
348
+ get position() {
349
+ return this.chunkPosition + this.i;
350
+ }
351
+ /**
352
+ * The column number of the next character to be read by the parser. *
353
+ * This field is zero-based. (The first column in a line is 0.)
354
+ *
355
+ * This field reports the index at which the next character would be in the
356
+ * line if the line were represented as a JavaScript string. Note that this
357
+ * *can* be different to a count based on the number of *Unicode characters*
358
+ * due to how JavaScript handles astral plane characters.
359
+ *
360
+ * See [[column]] for a number that corresponds to a count of Unicode
361
+ * characters.
362
+ */
363
+ get columnIndex() {
364
+ return this.position - this.positionAtNewLine;
365
+ }
366
+ /**
367
+ * Set an event listener on an event. The parser supports one handler per
368
+ * event type. If you try to set an event handler over an existing handler,
369
+ * the old handler is silently overwritten.
370
+ *
371
+ * @param name The event to listen to.
372
+ *
373
+ * @param handler The handler to set.
374
+ */
375
+ on(name, handler) {
376
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
377
+ this[EVENT_NAME_TO_HANDLER_NAME[name]] = handler;
378
+ }
379
+ /**
380
+ * Unset an event handler.
381
+ *
382
+ * @parma name The event to stop listening to.
383
+ */
384
+ off(name) {
385
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
386
+ this[EVENT_NAME_TO_HANDLER_NAME[name]] = undefined;
387
+ }
388
+ /**
389
+ * Make an error object. The error object will have a message that contains
390
+ * the ``fileName`` option passed at the creation of the parser. If position
391
+ * tracking was turned on, it will also have line and column number
392
+ * information.
393
+ *
394
+ * @param message The message describing the error to report.
395
+ *
396
+ * @returns An error object with a properly formatted message.
397
+ */
398
+ makeError(message) {
399
+ var _a;
400
+ let msg = (_a = this.fileName) !== null && _a !== void 0 ? _a : "";
401
+ if (this.trackPosition) {
402
+ if (msg.length > 0) {
403
+ msg += ":";
404
+ }
405
+ msg += `${this.line}:${this.column}`;
406
+ }
407
+ if (msg.length > 0) {
408
+ msg += ": ";
409
+ }
410
+ return new Error(msg + message);
411
+ }
412
+ /**
413
+ * Report a parsing error. This method is made public so that client code may
414
+ * check for issues that are outside the scope of this project and can report
415
+ * errors.
416
+ *
417
+ * @param message The error to report.
418
+ *
419
+ * @returns this
420
+ */
421
+ fail(message) {
422
+ const err = this.makeError(message);
423
+ const handler = this.errorHandler;
424
+ if (handler === undefined) {
425
+ throw err;
426
+ }
427
+ else {
428
+ handler(err);
429
+ }
430
+ return this;
431
+ }
432
+ /**
433
+ * Write a XML data to the parser.
434
+ *
435
+ * @param chunk The XML data to write.
436
+ *
437
+ * @returns this
438
+ */
439
+ write(chunk) {
440
+ if (this.closed) {
441
+ return this.fail("cannot write after close; assign an onready handler.");
442
+ }
443
+ let end = false;
444
+ if (chunk === null) {
445
+ // We cannot return immediately because carriedFromPrevious may need
446
+ // processing.
447
+ end = true;
448
+ chunk = "";
449
+ }
450
+ else if (typeof chunk === "object") {
451
+ chunk = chunk.toString();
452
+ }
453
+ // We checked if performing a pre-decomposition of the string into an array
454
+ // of single complete characters (``Array.from(chunk)``) would be faster
455
+ // than the current repeated calls to ``charCodeAt``. As of August 2018, it
456
+ // isn't. (There may be Node-specific code that would perform faster than
457
+ // ``Array.from`` but don't want to be dependent on Node.)
458
+ if (this.carriedFromPrevious !== undefined) {
459
+ // The previous chunk had char we must carry over.
460
+ chunk = `${this.carriedFromPrevious}${chunk}`;
461
+ this.carriedFromPrevious = undefined;
462
+ }
463
+ let limit = chunk.length;
464
+ const lastCode = chunk.charCodeAt(limit - 1);
465
+ if (!end &&
466
+ // A trailing CR or surrogate must be carried over to the next
467
+ // chunk.
468
+ (lastCode === CR || (lastCode >= 0xD800 && lastCode <= 0xDBFF))) {
469
+ // The chunk ends with a character that must be carried over. We cannot
470
+ // know how to handle it until we get the next chunk or the end of the
471
+ // stream. So save it for later.
472
+ this.carriedFromPrevious = chunk[limit - 1];
473
+ limit--;
474
+ chunk = chunk.slice(0, limit);
475
+ }
476
+ const { stateTable } = this;
477
+ this.chunk = chunk;
478
+ this.i = 0;
479
+ while (this.i < limit) {
480
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
481
+ stateTable[this.state].call(this);
482
+ }
483
+ this.chunkPosition += limit;
484
+ return end ? this.end() : this;
485
+ }
486
+ /**
487
+ * Close the current stream. Perform final well-formedness checks and reset
488
+ * the parser tstate.
489
+ *
490
+ * @returns this
491
+ */
492
+ close() {
493
+ return this.write(null);
494
+ }
495
+ /**
496
+ * Get a single code point out of the current chunk. This updates the current
497
+ * position if we do position tracking.
498
+ *
499
+ * This is the algorithm to use for XML 1.0.
500
+ *
501
+ * @returns The character read.
502
+ */
503
+ getCode10() {
504
+ const { chunk, i } = this;
505
+ this.prevI = i;
506
+ // Yes, we do this instead of doing this.i++. Doing it this way, we do not
507
+ // read this.i again, which is a bit faster.
508
+ this.i = i + 1;
509
+ if (i >= chunk.length) {
510
+ return EOC;
511
+ }
512
+ // Using charCodeAt and handling the surrogates ourselves is faster
513
+ // than using codePointAt.
514
+ const code = chunk.charCodeAt(i);
515
+ this.column++;
516
+ if (code < 0xD800) {
517
+ if (code >= SPACE || code === TAB) {
518
+ return code;
519
+ }
520
+ switch (code) {
521
+ case NL:
522
+ this.line++;
523
+ this.column = 0;
524
+ this.positionAtNewLine = this.position;
525
+ return NL;
526
+ case CR:
527
+ // We may get NaN if we read past the end of the chunk, which is fine.
528
+ if (chunk.charCodeAt(i + 1) === NL) {
529
+ // A \r\n sequence is converted to \n so we have to skip over the
530
+ // next character. We already know it has a size of 1 so ++ is fine
531
+ // here.
532
+ this.i = i + 2;
533
+ }
534
+ // Otherwise, a \r is just converted to \n, so we don't have to skip
535
+ // ahead.
536
+ // In either case, \r becomes \n.
537
+ this.line++;
538
+ this.column = 0;
539
+ this.positionAtNewLine = this.position;
540
+ return NL_LIKE;
541
+ default:
542
+ // If we get here, then code < SPACE and it is not NL CR or TAB.
543
+ this.fail("disallowed character.");
544
+ return code;
545
+ }
546
+ }
547
+ if (code > 0xDBFF) {
548
+ // This is a specialized version of isChar10 that takes into account
549
+ // that in this context code > 0xDBFF and code <= 0xFFFF. So it does not
550
+ // test cases that don't need testing.
551
+ if (!(code >= 0xE000 && code <= 0xFFFD)) {
552
+ this.fail("disallowed character.");
553
+ }
554
+ return code;
555
+ }
556
+ const final = 0x10000 + ((code - 0xD800) * 0x400) +
557
+ (chunk.charCodeAt(i + 1) - 0xDC00);
558
+ this.i = i + 2;
559
+ // This is a specialized version of isChar10 that takes into account that in
560
+ // this context necessarily final >= 0x10000.
561
+ if (final > 0x10FFFF) {
562
+ this.fail("disallowed character.");
563
+ }
564
+ return final;
565
+ }
566
+ /**
567
+ * Get a single code point out of the current chunk. This updates the current
568
+ * position if we do position tracking.
569
+ *
570
+ * This is the algorithm to use for XML 1.1.
571
+ *
572
+ * @returns {number} The character read.
573
+ */
574
+ getCode11() {
575
+ const { chunk, i } = this;
576
+ this.prevI = i;
577
+ // Yes, we do this instead of doing this.i++. Doing it this way, we do not
578
+ // read this.i again, which is a bit faster.
579
+ this.i = i + 1;
580
+ if (i >= chunk.length) {
581
+ return EOC;
582
+ }
583
+ // Using charCodeAt and handling the surrogates ourselves is faster
584
+ // than using codePointAt.
585
+ const code = chunk.charCodeAt(i);
586
+ this.column++;
587
+ if (code < 0xD800) {
588
+ if ((code > 0x1F && code < 0x7F) || (code > 0x9F && code !== LS) ||
589
+ code === TAB) {
590
+ return code;
591
+ }
592
+ switch (code) {
593
+ case NL: // 0xA
594
+ this.line++;
595
+ this.column = 0;
596
+ this.positionAtNewLine = this.position;
597
+ return NL;
598
+ case CR: { // 0xD
599
+ // We may get NaN if we read past the end of the chunk, which is
600
+ // fine.
601
+ const next = chunk.charCodeAt(i + 1);
602
+ if (next === NL || next === NEL) {
603
+ // A CR NL or CR NEL sequence is converted to NL so we have to skip
604
+ // over the next character. We already know it has a size of 1.
605
+ this.i = i + 2;
606
+ }
607
+ // Otherwise, a CR is just converted to NL, no skip.
608
+ }
609
+ /* yes, fall through */
610
+ case NEL: // 0x85
611
+ case LS: // Ox2028
612
+ this.line++;
613
+ this.column = 0;
614
+ this.positionAtNewLine = this.position;
615
+ return NL_LIKE;
616
+ default:
617
+ this.fail("disallowed character.");
618
+ return code;
619
+ }
620
+ }
621
+ if (code > 0xDBFF) {
622
+ // This is a specialized version of isCharAndNotRestricted that takes into
623
+ // account that in this context code > 0xDBFF and code <= 0xFFFF. So it
624
+ // does not test cases that don't need testing.
625
+ if (!(code >= 0xE000 && code <= 0xFFFD)) {
626
+ this.fail("disallowed character.");
627
+ }
628
+ return code;
629
+ }
630
+ const final = 0x10000 + ((code - 0xD800) * 0x400) +
631
+ (chunk.charCodeAt(i + 1) - 0xDC00);
632
+ this.i = i + 2;
633
+ // This is a specialized version of isCharAndNotRestricted that takes into
634
+ // account that in this context necessarily final >= 0x10000.
635
+ if (final > 0x10FFFF) {
636
+ this.fail("disallowed character.");
637
+ }
638
+ return final;
639
+ }
640
+ /**
641
+ * Like ``getCode`` but with the return value normalized so that ``NL`` is
642
+ * returned for ``NL_LIKE``.
643
+ */
644
+ getCodeNorm() {
645
+ const c = this.getCode();
646
+ return c === NL_LIKE ? NL : c;
647
+ }
648
+ unget() {
649
+ this.i = this.prevI;
650
+ this.column--;
651
+ }
652
+ /**
653
+ * Capture characters into a buffer until encountering one of a set of
654
+ * characters.
655
+ *
656
+ * @param chars An array of codepoints. Encountering a character in the array
657
+ * ends the capture. (``chars`` may safely contain ``NL``.)
658
+ *
659
+ * @return The character code that made the capture end, or ``EOC`` if we hit
660
+ * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
661
+ * instead.
662
+ */
663
+ captureTo(chars) {
664
+ let { i: start } = this;
665
+ const { chunk } = this;
666
+ // eslint-disable-next-line no-constant-condition
667
+ while (true) {
668
+ const c = this.getCode();
669
+ const isNLLike = c === NL_LIKE;
670
+ const final = isNLLike ? NL : c;
671
+ if (final === EOC || chars.includes(final)) {
672
+ this.text += chunk.slice(start, this.prevI);
673
+ return final;
674
+ }
675
+ if (isNLLike) {
676
+ this.text += `${chunk.slice(start, this.prevI)}\n`;
677
+ start = this.i;
678
+ }
679
+ }
680
+ }
681
+ /**
682
+ * Capture characters into a buffer until encountering a character.
683
+ *
684
+ * @param char The codepoint that ends the capture. **NOTE ``char`` MAY NOT
685
+ * CONTAIN ``NL``.** Passing ``NL`` will result in buggy behavior.
686
+ *
687
+ * @return ``true`` if we ran into the character. Otherwise, we ran into the
688
+ * end of the current chunk.
689
+ */
690
+ captureToChar(char) {
691
+ let { i: start } = this;
692
+ const { chunk } = this;
693
+ // eslint-disable-next-line no-constant-condition
694
+ while (true) {
695
+ let c = this.getCode();
696
+ switch (c) {
697
+ case NL_LIKE:
698
+ this.text += `${chunk.slice(start, this.prevI)}\n`;
699
+ start = this.i;
700
+ c = NL;
701
+ break;
702
+ case EOC:
703
+ this.text += chunk.slice(start);
704
+ return false;
705
+ default:
706
+ }
707
+ if (c === char) {
708
+ this.text += chunk.slice(start, this.prevI);
709
+ return true;
710
+ }
711
+ }
712
+ }
713
+ /**
714
+ * Capture characters that satisfy ``isNameChar`` into the ``name`` field of
715
+ * this parser.
716
+ *
717
+ * @return The character code that made the test fail, or ``EOC`` if we hit
718
+ * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
719
+ * instead.
720
+ */
721
+ captureNameChars() {
722
+ const { chunk, i: start } = this;
723
+ // eslint-disable-next-line no-constant-condition
724
+ while (true) {
725
+ const c = this.getCode();
726
+ if (c === EOC) {
727
+ this.name += chunk.slice(start);
728
+ return EOC;
729
+ }
730
+ // NL is not a name char so we don't have to test specifically for it.
731
+ if (!isNameChar(c)) {
732
+ this.name += chunk.slice(start, this.prevI);
733
+ return c === NL_LIKE ? NL : c;
734
+ }
735
+ }
736
+ }
737
+ /**
738
+ * Skip white spaces.
739
+ *
740
+ * @return The character that ended the skip, or ``EOC`` if we hit
741
+ * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
742
+ * instead.
743
+ */
744
+ skipSpaces() {
745
+ // eslint-disable-next-line no-constant-condition
746
+ while (true) {
747
+ const c = this.getCodeNorm();
748
+ if (c === EOC || !isS(c)) {
749
+ return c;
750
+ }
751
+ }
752
+ }
753
+ setXMLVersion(version) {
754
+ this.currentXMLVersion = version;
755
+ /* eslint-disable @typescript-eslint/unbound-method */
756
+ if (version === "1.0") {
757
+ this.isChar = isChar10;
758
+ this.getCode = this.getCode10;
759
+ }
760
+ else {
761
+ this.isChar = isChar11;
762
+ this.getCode = this.getCode11;
763
+ }
764
+ /* eslint-enable @typescript-eslint/unbound-method */
765
+ }
766
+ // STATE ENGINE METHODS
767
+ // This needs to be a state separate from S_BEGIN_WHITESPACE because we want
768
+ // to be sure never to come back to this state later.
769
+ sBegin() {
770
+ // We are essentially peeking at the first character of the chunk. Since
771
+ // S_BEGIN can be in effect only when we start working on the first chunk,
772
+ // the index at which we must look is necessarily 0. Note also that the
773
+ // following test does not depend on decoding surrogates.
774
+ // If the initial character is 0xFEFF, ignore it.
775
+ if (this.chunk.charCodeAt(0) === 0xFEFF) {
776
+ this.i++;
777
+ this.column++;
778
+ }
779
+ this.state = S_BEGIN_WHITESPACE;
780
+ }
781
+ sBeginWhitespace() {
782
+ // We need to know whether we've encountered spaces or not because as soon
783
+ // as we run into a space, an XML declaration is no longer possible. Rather
784
+ // than slow down skipSpaces even in places where we don't care whether it
785
+ // skipped anything or not, we check whether prevI is equal to the value of
786
+ // i from before we skip spaces.
787
+ const iBefore = this.i;
788
+ const c = this.skipSpaces();
789
+ if (this.prevI !== iBefore) {
790
+ this.xmlDeclPossible = false;
791
+ }
792
+ switch (c) {
793
+ case LESS:
794
+ this.state = S_OPEN_WAKA;
795
+ // We could naively call closeText but in this state, it is not normal
796
+ // to have text be filled with any data.
797
+ if (this.text.length !== 0) {
798
+ throw new Error("no-empty text at start");
799
+ }
800
+ break;
801
+ case EOC:
802
+ break;
803
+ default:
804
+ this.unget();
805
+ this.state = S_TEXT;
806
+ this.xmlDeclPossible = false;
807
+ }
808
+ }
809
+ sDoctype() {
810
+ var _a;
811
+ const c = this.captureTo(DOCTYPE_TERMINATOR);
812
+ switch (c) {
813
+ case GREATER: {
814
+ // eslint-disable-next-line no-unused-expressions
815
+ (_a = this.doctypeHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
816
+ this.text = "";
817
+ this.state = S_TEXT;
818
+ this.doctype = true; // just remember that we saw it.
819
+ break;
820
+ }
821
+ case EOC:
822
+ break;
823
+ default:
824
+ this.text += String.fromCodePoint(c);
825
+ if (c === OPEN_BRACKET) {
826
+ this.state = S_DTD;
827
+ }
828
+ else if (isQuote(c)) {
829
+ this.state = S_DOCTYPE_QUOTE;
830
+ this.q = c;
831
+ }
832
+ }
833
+ }
834
+ sDoctypeQuote() {
835
+ const q = this.q;
836
+ if (this.captureToChar(q)) {
837
+ this.text += String.fromCodePoint(q);
838
+ this.q = null;
839
+ this.state = S_DOCTYPE;
840
+ }
841
+ }
842
+ sDTD() {
843
+ const c = this.captureTo(DTD_TERMINATOR);
844
+ if (c === EOC) {
845
+ return;
846
+ }
847
+ this.text += String.fromCodePoint(c);
848
+ if (c === CLOSE_BRACKET) {
849
+ this.state = S_DOCTYPE;
850
+ }
851
+ else if (c === LESS) {
852
+ this.state = S_DTD_OPEN_WAKA;
853
+ }
854
+ else if (isQuote(c)) {
855
+ this.state = S_DTD_QUOTED;
856
+ this.q = c;
857
+ }
858
+ }
859
+ sDTDQuoted() {
860
+ const q = this.q;
861
+ if (this.captureToChar(q)) {
862
+ this.text += String.fromCodePoint(q);
863
+ this.state = S_DTD;
864
+ this.q = null;
865
+ }
866
+ }
867
+ sDTDOpenWaka() {
868
+ const c = this.getCodeNorm();
869
+ this.text += String.fromCodePoint(c);
870
+ switch (c) {
871
+ case BANG:
872
+ this.state = S_DTD_OPEN_WAKA_BANG;
873
+ this.openWakaBang = "";
874
+ break;
875
+ case QUESTION:
876
+ this.state = S_DTD_PI;
877
+ break;
878
+ default:
879
+ this.state = S_DTD;
880
+ }
881
+ }
882
+ sDTDOpenWakaBang() {
883
+ const char = String.fromCodePoint(this.getCodeNorm());
884
+ const owb = this.openWakaBang += char;
885
+ this.text += char;
886
+ if (owb !== "-") {
887
+ this.state = owb === "--" ? S_DTD_COMMENT : S_DTD;
888
+ this.openWakaBang = "";
889
+ }
890
+ }
891
+ sDTDComment() {
892
+ if (this.captureToChar(MINUS)) {
893
+ this.text += "-";
894
+ this.state = S_DTD_COMMENT_ENDING;
895
+ }
896
+ }
897
+ sDTDCommentEnding() {
898
+ const c = this.getCodeNorm();
899
+ this.text += String.fromCodePoint(c);
900
+ this.state = c === MINUS ? S_DTD_COMMENT_ENDED : S_DTD_COMMENT;
901
+ }
902
+ sDTDCommentEnded() {
903
+ const c = this.getCodeNorm();
904
+ this.text += String.fromCodePoint(c);
905
+ if (c === GREATER) {
906
+ this.state = S_DTD;
907
+ }
908
+ else {
909
+ this.fail("malformed comment.");
910
+ // <!-- blah -- bloo --> will be recorded as
911
+ // a comment of " blah -- bloo "
912
+ this.state = S_DTD_COMMENT;
913
+ }
914
+ }
915
+ sDTDPI() {
916
+ if (this.captureToChar(QUESTION)) {
917
+ this.text += "?";
918
+ this.state = S_DTD_PI_ENDING;
919
+ }
920
+ }
921
+ sDTDPIEnding() {
922
+ const c = this.getCodeNorm();
923
+ this.text += String.fromCodePoint(c);
924
+ if (c === GREATER) {
925
+ this.state = S_DTD;
926
+ }
927
+ }
928
+ sText() {
929
+ //
930
+ // We did try a version of saxes where the S_TEXT state was split in two
931
+ // states: one for text inside the root element, and one for text
932
+ // outside. This was avoiding having to test this.tags.length to decide
933
+ // what implementation to actually use.
934
+ //
935
+ // Peformance testing on gigabyte-size files did not show any advantage to
936
+ // using the two states solution instead of the current one. Conversely, it
937
+ // made the code a bit more complicated elsewhere. For instance, a comment
938
+ // can appear before the root element so when a comment ended it was
939
+ // necessary to determine whether to return to the S_TEXT state or to the
940
+ // new text-outside-root state.
941
+ //
942
+ if (this.tags.length !== 0) {
943
+ this.handleTextInRoot();
944
+ }
945
+ else {
946
+ this.handleTextOutsideRoot();
947
+ }
948
+ }
949
+ sEntity() {
950
+ // This is essentially a specialized version of captureToChar(SEMICOLON...)
951
+ let { i: start } = this;
952
+ const { chunk } = this;
953
+ // eslint-disable-next-line no-labels, no-restricted-syntax
954
+ loop:
955
+ // eslint-disable-next-line no-constant-condition
956
+ while (true) {
957
+ switch (this.getCode()) {
958
+ case NL_LIKE:
959
+ this.entity += `${chunk.slice(start, this.prevI)}\n`;
960
+ start = this.i;
961
+ break;
962
+ case SEMICOLON: {
963
+ const { entityReturnState } = this;
964
+ const entity = this.entity + chunk.slice(start, this.prevI);
965
+ this.state = entityReturnState;
966
+ let parsed;
967
+ if (entity === "") {
968
+ this.fail("empty entity name.");
969
+ parsed = "&;";
970
+ }
971
+ else {
972
+ parsed = this.parseEntity(entity);
973
+ this.entity = "";
974
+ }
975
+ if (entityReturnState !== S_TEXT || this.textHandler !== undefined) {
976
+ this.text += parsed;
977
+ }
978
+ // eslint-disable-next-line no-labels
979
+ break loop;
980
+ }
981
+ case EOC:
982
+ this.entity += chunk.slice(start);
983
+ // eslint-disable-next-line no-labels
984
+ break loop;
985
+ default:
986
+ }
987
+ }
988
+ }
989
+ sOpenWaka() {
990
+ // Reminder: a state handler is called with at least one character
991
+ // available in the current chunk. So the first call to get code inside of
992
+ // a state handler cannot return ``EOC``. That's why we don't test
993
+ // for it.
994
+ const c = this.getCode();
995
+ // either a /, ?, !, or text is coming next.
996
+ if (isNameStartChar(c)) {
997
+ this.state = S_OPEN_TAG;
998
+ this.unget();
999
+ this.xmlDeclPossible = false;
1000
+ }
1001
+ else {
1002
+ switch (c) {
1003
+ case FORWARD_SLASH:
1004
+ this.state = S_CLOSE_TAG;
1005
+ this.xmlDeclPossible = false;
1006
+ break;
1007
+ case BANG:
1008
+ this.state = S_OPEN_WAKA_BANG;
1009
+ this.openWakaBang = "";
1010
+ this.xmlDeclPossible = false;
1011
+ break;
1012
+ case QUESTION:
1013
+ this.state = S_PI_FIRST_CHAR;
1014
+ break;
1015
+ default:
1016
+ this.fail("disallowed character in tag name");
1017
+ this.state = S_TEXT;
1018
+ this.xmlDeclPossible = false;
1019
+ }
1020
+ }
1021
+ }
1022
+ sOpenWakaBang() {
1023
+ this.openWakaBang += String.fromCodePoint(this.getCodeNorm());
1024
+ switch (this.openWakaBang) {
1025
+ case "[CDATA[":
1026
+ if (!this.sawRoot && !this.reportedTextBeforeRoot) {
1027
+ this.fail("text data outside of root node.");
1028
+ this.reportedTextBeforeRoot = true;
1029
+ }
1030
+ if (this.closedRoot && !this.reportedTextAfterRoot) {
1031
+ this.fail("text data outside of root node.");
1032
+ this.reportedTextAfterRoot = true;
1033
+ }
1034
+ this.state = S_CDATA;
1035
+ this.openWakaBang = "";
1036
+ break;
1037
+ case "--":
1038
+ this.state = S_COMMENT;
1039
+ this.openWakaBang = "";
1040
+ break;
1041
+ case "DOCTYPE":
1042
+ this.state = S_DOCTYPE;
1043
+ if (this.doctype || this.sawRoot) {
1044
+ this.fail("inappropriately located doctype declaration.");
1045
+ }
1046
+ this.openWakaBang = "";
1047
+ break;
1048
+ default:
1049
+ // 7 happens to be the maximum length of the string that can possibly
1050
+ // match one of the cases above.
1051
+ if (this.openWakaBang.length >= 7) {
1052
+ this.fail("incorrect syntax.");
1053
+ }
1054
+ }
1055
+ }
1056
+ sComment() {
1057
+ if (this.captureToChar(MINUS)) {
1058
+ this.state = S_COMMENT_ENDING;
1059
+ }
1060
+ }
1061
+ sCommentEnding() {
1062
+ var _a;
1063
+ const c = this.getCodeNorm();
1064
+ if (c === MINUS) {
1065
+ this.state = S_COMMENT_ENDED;
1066
+ // eslint-disable-next-line no-unused-expressions
1067
+ (_a = this.commentHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
1068
+ this.text = "";
1069
+ }
1070
+ else {
1071
+ this.text += `-${String.fromCodePoint(c)}`;
1072
+ this.state = S_COMMENT;
1073
+ }
1074
+ }
1075
+ sCommentEnded() {
1076
+ const c = this.getCodeNorm();
1077
+ if (c !== GREATER) {
1078
+ this.fail("malformed comment.");
1079
+ // <!-- blah -- bloo --> will be recorded as
1080
+ // a comment of " blah -- bloo "
1081
+ this.text += `--${String.fromCodePoint(c)}`;
1082
+ this.state = S_COMMENT;
1083
+ }
1084
+ else {
1085
+ this.state = S_TEXT;
1086
+ }
1087
+ }
1088
+ sCData() {
1089
+ if (this.captureToChar(CLOSE_BRACKET)) {
1090
+ this.state = S_CDATA_ENDING;
1091
+ }
1092
+ }
1093
+ sCDataEnding() {
1094
+ const c = this.getCodeNorm();
1095
+ if (c === CLOSE_BRACKET) {
1096
+ this.state = S_CDATA_ENDING_2;
1097
+ }
1098
+ else {
1099
+ this.text += `]${String.fromCodePoint(c)}`;
1100
+ this.state = S_CDATA;
1101
+ }
1102
+ }
1103
+ sCDataEnding2() {
1104
+ var _a;
1105
+ const c = this.getCodeNorm();
1106
+ switch (c) {
1107
+ case GREATER: {
1108
+ // eslint-disable-next-line no-unused-expressions
1109
+ (_a = this.cdataHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
1110
+ this.text = "";
1111
+ this.state = S_TEXT;
1112
+ break;
1113
+ }
1114
+ case CLOSE_BRACKET:
1115
+ this.text += "]";
1116
+ break;
1117
+ default:
1118
+ this.text += `]]${String.fromCodePoint(c)}`;
1119
+ this.state = S_CDATA;
1120
+ }
1121
+ }
1122
+ // We need this separate state to check the first character fo the pi target
1123
+ // with this.nameStartCheck which allows less characters than this.nameCheck.
1124
+ sPIFirstChar() {
1125
+ const c = this.getCodeNorm();
1126
+ // This is first because in the case where the file is well-formed this is
1127
+ // the branch taken. We optimize for well-formedness.
1128
+ if (this.nameStartCheck(c)) {
1129
+ this.piTarget += String.fromCodePoint(c);
1130
+ this.state = S_PI_REST;
1131
+ }
1132
+ else if (c === QUESTION || isS(c)) {
1133
+ this.fail("processing instruction without a target.");
1134
+ this.state = c === QUESTION ? S_PI_ENDING : S_PI_BODY;
1135
+ }
1136
+ else {
1137
+ this.fail("disallowed character in processing instruction name.");
1138
+ this.piTarget += String.fromCodePoint(c);
1139
+ this.state = S_PI_REST;
1140
+ }
1141
+ }
1142
+ sPIRest() {
1143
+ // Capture characters into a piTarget while ``this.nameCheck`` run on the
1144
+ // character read returns true.
1145
+ const { chunk, i: start } = this;
1146
+ // eslint-disable-next-line no-constant-condition
1147
+ while (true) {
1148
+ const c = this.getCodeNorm();
1149
+ if (c === EOC) {
1150
+ this.piTarget += chunk.slice(start);
1151
+ return;
1152
+ }
1153
+ // NL cannot satisfy this.nameCheck so we don't have to test specifically
1154
+ // for it.
1155
+ if (!this.nameCheck(c)) {
1156
+ this.piTarget += chunk.slice(start, this.prevI);
1157
+ const isQuestion = c === QUESTION;
1158
+ if (isQuestion || isS(c)) {
1159
+ if (this.piTarget === "xml") {
1160
+ if (!this.xmlDeclPossible) {
1161
+ this.fail("an XML declaration must be at the start of the document.");
1162
+ }
1163
+ this.state = isQuestion ? S_XML_DECL_ENDING : S_XML_DECL_NAME_START;
1164
+ }
1165
+ else {
1166
+ this.state = isQuestion ? S_PI_ENDING : S_PI_BODY;
1167
+ }
1168
+ }
1169
+ else {
1170
+ this.fail("disallowed character in processing instruction name.");
1171
+ this.piTarget += String.fromCodePoint(c);
1172
+ }
1173
+ break;
1174
+ }
1175
+ }
1176
+ }
1177
+ sPIBody() {
1178
+ if (this.text.length === 0) {
1179
+ const c = this.getCodeNorm();
1180
+ if (c === QUESTION) {
1181
+ this.state = S_PI_ENDING;
1182
+ }
1183
+ else if (!isS(c)) {
1184
+ this.text = String.fromCodePoint(c);
1185
+ }
1186
+ }
1187
+ // The question mark character is not valid inside any of the XML
1188
+ // declaration name/value pairs.
1189
+ else if (this.captureToChar(QUESTION)) {
1190
+ this.state = S_PI_ENDING;
1191
+ }
1192
+ }
1193
+ sPIEnding() {
1194
+ var _a;
1195
+ const c = this.getCodeNorm();
1196
+ if (c === GREATER) {
1197
+ const { piTarget } = this;
1198
+ if (piTarget.toLowerCase() === "xml") {
1199
+ this.fail("the XML declaration must appear at the start of the document.");
1200
+ }
1201
+ // eslint-disable-next-line no-unused-expressions
1202
+ (_a = this.piHandler) === null || _a === void 0 ? void 0 : _a.call(this, {
1203
+ target: piTarget,
1204
+ body: this.text,
1205
+ });
1206
+ this.piTarget = this.text = "";
1207
+ this.state = S_TEXT;
1208
+ }
1209
+ else if (c === QUESTION) {
1210
+ // We ran into ?? as part of a processing instruction. We initially took
1211
+ // the first ? as a sign that the PI was ending, but it is not. So we have
1212
+ // to add it to the body but we take the new ? as a sign that the PI is
1213
+ // ending.
1214
+ this.text += "?";
1215
+ }
1216
+ else {
1217
+ this.text += `?${String.fromCodePoint(c)}`;
1218
+ this.state = S_PI_BODY;
1219
+ }
1220
+ this.xmlDeclPossible = false;
1221
+ }
1222
+ sXMLDeclNameStart() {
1223
+ const c = this.skipSpaces();
1224
+ // The question mark character is not valid inside any of the XML
1225
+ // declaration name/value pairs.
1226
+ if (c === QUESTION) {
1227
+ // It is valid to go to S_XML_DECL_ENDING from this state.
1228
+ this.state = S_XML_DECL_ENDING;
1229
+ return;
1230
+ }
1231
+ if (c !== EOC) {
1232
+ this.state = S_XML_DECL_NAME;
1233
+ this.name = String.fromCodePoint(c);
1234
+ }
1235
+ }
1236
+ sXMLDeclName() {
1237
+ const c = this.captureTo(XML_DECL_NAME_TERMINATOR);
1238
+ // The question mark character is not valid inside any of the XML
1239
+ // declaration name/value pairs.
1240
+ if (c === QUESTION) {
1241
+ this.state = S_XML_DECL_ENDING;
1242
+ this.name += this.text;
1243
+ this.text = "";
1244
+ this.fail("XML declaration is incomplete.");
1245
+ return;
1246
+ }
1247
+ if (!(isS(c) || c === EQUAL)) {
1248
+ return;
1249
+ }
1250
+ this.name += this.text;
1251
+ this.text = "";
1252
+ if (!this.xmlDeclExpects.includes(this.name)) {
1253
+ switch (this.name.length) {
1254
+ case 0:
1255
+ this.fail("did not expect any more name/value pairs.");
1256
+ break;
1257
+ case 1:
1258
+ this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);
1259
+ break;
1260
+ default:
1261
+ this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`);
1262
+ }
1263
+ }
1264
+ this.state = c === EQUAL ? S_XML_DECL_VALUE_START : S_XML_DECL_EQ;
1265
+ }
1266
+ sXMLDeclEq() {
1267
+ const c = this.getCodeNorm();
1268
+ // The question mark character is not valid inside any of the XML
1269
+ // declaration name/value pairs.
1270
+ if (c === QUESTION) {
1271
+ this.state = S_XML_DECL_ENDING;
1272
+ this.fail("XML declaration is incomplete.");
1273
+ return;
1274
+ }
1275
+ if (isS(c)) {
1276
+ return;
1277
+ }
1278
+ if (c !== EQUAL) {
1279
+ this.fail("value required.");
1280
+ }
1281
+ this.state = S_XML_DECL_VALUE_START;
1282
+ }
1283
+ sXMLDeclValueStart() {
1284
+ const c = this.getCodeNorm();
1285
+ // The question mark character is not valid inside any of the XML
1286
+ // declaration name/value pairs.
1287
+ if (c === QUESTION) {
1288
+ this.state = S_XML_DECL_ENDING;
1289
+ this.fail("XML declaration is incomplete.");
1290
+ return;
1291
+ }
1292
+ if (isS(c)) {
1293
+ return;
1294
+ }
1295
+ if (!isQuote(c)) {
1296
+ this.fail("value must be quoted.");
1297
+ this.q = SPACE;
1298
+ }
1299
+ else {
1300
+ this.q = c;
1301
+ }
1302
+ this.state = S_XML_DECL_VALUE;
1303
+ }
1304
+ sXMLDeclValue() {
1305
+ const c = this.captureTo([this.q, QUESTION]);
1306
+ // The question mark character is not valid inside any of the XML
1307
+ // declaration name/value pairs.
1308
+ if (c === QUESTION) {
1309
+ this.state = S_XML_DECL_ENDING;
1310
+ this.text = "";
1311
+ this.fail("XML declaration is incomplete.");
1312
+ return;
1313
+ }
1314
+ if (c === EOC) {
1315
+ return;
1316
+ }
1317
+ const value = this.text;
1318
+ this.text = "";
1319
+ switch (this.name) {
1320
+ case "version": {
1321
+ this.xmlDeclExpects = ["encoding", "standalone"];
1322
+ const version = value;
1323
+ this.xmlDecl.version = version;
1324
+ // This is the test specified by XML 1.0 but it is fine for XML 1.1.
1325
+ if (!/^1\.[0-9]+$/.test(version)) {
1326
+ this.fail("version number must match /^1\\.[0-9]+$/.");
1327
+ }
1328
+ // When forceXMLVersion is set, the XML declaration is ignored.
1329
+ else if (!this.opt.forceXMLVersion) {
1330
+ this.setXMLVersion(version);
1331
+ }
1332
+ break;
1333
+ }
1334
+ case "encoding":
1335
+ if (!/^[A-Za-z][A-Za-z0-9._-]*$/.test(value)) {
1336
+ this.fail("encoding value must match \
1337
+ /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");
1338
+ }
1339
+ this.xmlDeclExpects = ["standalone"];
1340
+ this.xmlDecl.encoding = value;
1341
+ break;
1342
+ case "standalone":
1343
+ if (value !== "yes" && value !== "no") {
1344
+ this.fail("standalone value must match \"yes\" or \"no\".");
1345
+ }
1346
+ this.xmlDeclExpects = [];
1347
+ this.xmlDecl.standalone = value;
1348
+ break;
1349
+ default:
1350
+ // We don't need to raise an error here since we've already raised one
1351
+ // when checking what name was expected.
1352
+ }
1353
+ this.name = "";
1354
+ this.state = S_XML_DECL_SEPARATOR;
1355
+ }
1356
+ sXMLDeclSeparator() {
1357
+ const c = this.getCodeNorm();
1358
+ // The question mark character is not valid inside any of the XML
1359
+ // declaration name/value pairs.
1360
+ if (c === QUESTION) {
1361
+ // It is valid to go to S_XML_DECL_ENDING from this state.
1362
+ this.state = S_XML_DECL_ENDING;
1363
+ return;
1364
+ }
1365
+ if (!isS(c)) {
1366
+ this.fail("whitespace required.");
1367
+ this.unget();
1368
+ }
1369
+ this.state = S_XML_DECL_NAME_START;
1370
+ }
1371
+ sXMLDeclEnding() {
1372
+ var _a;
1373
+ const c = this.getCodeNorm();
1374
+ if (c === GREATER) {
1375
+ if (this.piTarget !== "xml") {
1376
+ this.fail("processing instructions are not allowed before root.");
1377
+ }
1378
+ else if (this.name !== "version" &&
1379
+ this.xmlDeclExpects.includes("version")) {
1380
+ this.fail("XML declaration must contain a version.");
1381
+ }
1382
+ // eslint-disable-next-line no-unused-expressions
1383
+ (_a = this.xmldeclHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.xmlDecl);
1384
+ this.name = "";
1385
+ this.piTarget = this.text = "";
1386
+ this.state = S_TEXT;
1387
+ }
1388
+ else {
1389
+ // We got here because the previous character was a ?, but the question
1390
+ // mark character is not valid inside any of the XML declaration
1391
+ // name/value pairs.
1392
+ this.fail("The character ? is disallowed anywhere in XML declarations.");
1393
+ }
1394
+ this.xmlDeclPossible = false;
1395
+ }
1396
+ sOpenTag() {
1397
+ var _a;
1398
+ const c = this.captureNameChars();
1399
+ if (c === EOC) {
1400
+ return;
1401
+ }
1402
+ const tag = this.tag = {
1403
+ name: this.name,
1404
+ attributes: Object.create(null),
1405
+ };
1406
+ this.name = "";
1407
+ if (this.xmlnsOpt) {
1408
+ this.topNS = tag.ns = Object.create(null);
1409
+ }
1410
+ // eslint-disable-next-line no-unused-expressions
1411
+ (_a = this.openTagStartHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
1412
+ this.sawRoot = true;
1413
+ if (!this.fragmentOpt && this.closedRoot) {
1414
+ this.fail("documents may contain only one root.");
1415
+ }
1416
+ switch (c) {
1417
+ case GREATER:
1418
+ this.openTag();
1419
+ break;
1420
+ case FORWARD_SLASH:
1421
+ this.state = S_OPEN_TAG_SLASH;
1422
+ break;
1423
+ default:
1424
+ if (!isS(c)) {
1425
+ this.fail("disallowed character in tag name.");
1426
+ }
1427
+ this.state = S_ATTRIB;
1428
+ }
1429
+ }
1430
+ sOpenTagSlash() {
1431
+ if (this.getCode() === GREATER) {
1432
+ this.openSelfClosingTag();
1433
+ }
1434
+ else {
1435
+ this.fail("forward-slash in opening tag not followed by >.");
1436
+ this.state = S_ATTRIB;
1437
+ }
1438
+ }
1439
+ sAttrib() {
1440
+ const c = this.skipSpaces();
1441
+ if (c === EOC) {
1442
+ return;
1443
+ }
1444
+ if (isNameStartChar(c)) {
1445
+ this.unget();
1446
+ this.state = S_ATTRIB_NAME;
1447
+ }
1448
+ else if (c === GREATER) {
1449
+ this.openTag();
1450
+ }
1451
+ else if (c === FORWARD_SLASH) {
1452
+ this.state = S_OPEN_TAG_SLASH;
1453
+ }
1454
+ else {
1455
+ this.fail("disallowed character in attribute name.");
1456
+ }
1457
+ }
1458
+ sAttribName() {
1459
+ const c = this.captureNameChars();
1460
+ if (c === EQUAL) {
1461
+ this.state = S_ATTRIB_VALUE;
1462
+ }
1463
+ else if (isS(c)) {
1464
+ this.state = S_ATTRIB_NAME_SAW_WHITE;
1465
+ }
1466
+ else if (c === GREATER) {
1467
+ this.fail("attribute without value.");
1468
+ this.pushAttrib(this.name, this.name);
1469
+ this.name = this.text = "";
1470
+ this.openTag();
1471
+ }
1472
+ else if (c !== EOC) {
1473
+ this.fail("disallowed character in attribute name.");
1474
+ }
1475
+ }
1476
+ sAttribNameSawWhite() {
1477
+ const c = this.skipSpaces();
1478
+ switch (c) {
1479
+ case EOC:
1480
+ return;
1481
+ case EQUAL:
1482
+ this.state = S_ATTRIB_VALUE;
1483
+ break;
1484
+ default:
1485
+ this.fail("attribute without value.");
1486
+ // Should we do this???
1487
+ // this.tag.attributes[this.name] = "";
1488
+ this.text = "";
1489
+ this.name = "";
1490
+ if (c === GREATER) {
1491
+ this.openTag();
1492
+ }
1493
+ else if (isNameStartChar(c)) {
1494
+ this.unget();
1495
+ this.state = S_ATTRIB_NAME;
1496
+ }
1497
+ else {
1498
+ this.fail("disallowed character in attribute name.");
1499
+ this.state = S_ATTRIB;
1500
+ }
1501
+ }
1502
+ }
1503
+ sAttribValue() {
1504
+ const c = this.getCodeNorm();
1505
+ if (isQuote(c)) {
1506
+ this.q = c;
1507
+ this.state = S_ATTRIB_VALUE_QUOTED;
1508
+ }
1509
+ else if (!isS(c)) {
1510
+ this.fail("unquoted attribute value.");
1511
+ this.state = S_ATTRIB_VALUE_UNQUOTED;
1512
+ this.unget();
1513
+ }
1514
+ }
1515
+ sAttribValueQuoted() {
1516
+ // We deliberately do not use captureTo here. The specialized code we use
1517
+ // here is faster than using captureTo.
1518
+ const { q, chunk } = this;
1519
+ let { i: start } = this;
1520
+ // eslint-disable-next-line no-constant-condition
1521
+ while (true) {
1522
+ switch (this.getCode()) {
1523
+ case q:
1524
+ this.pushAttrib(this.name, this.text + chunk.slice(start, this.prevI));
1525
+ this.name = this.text = "";
1526
+ this.q = null;
1527
+ this.state = S_ATTRIB_VALUE_CLOSED;
1528
+ return;
1529
+ case AMP:
1530
+ this.text += chunk.slice(start, this.prevI);
1531
+ this.state = S_ENTITY;
1532
+ this.entityReturnState = S_ATTRIB_VALUE_QUOTED;
1533
+ return;
1534
+ case NL:
1535
+ case NL_LIKE:
1536
+ case TAB:
1537
+ this.text += `${chunk.slice(start, this.prevI)} `;
1538
+ start = this.i;
1539
+ break;
1540
+ case LESS:
1541
+ this.text += chunk.slice(start, this.prevI);
1542
+ this.fail("disallowed character.");
1543
+ return;
1544
+ case EOC:
1545
+ this.text += chunk.slice(start);
1546
+ return;
1547
+ default:
1548
+ }
1549
+ }
1550
+ }
1551
+ sAttribValueClosed() {
1552
+ const c = this.getCodeNorm();
1553
+ if (isS(c)) {
1554
+ this.state = S_ATTRIB;
1555
+ }
1556
+ else if (c === GREATER) {
1557
+ this.openTag();
1558
+ }
1559
+ else if (c === FORWARD_SLASH) {
1560
+ this.state = S_OPEN_TAG_SLASH;
1561
+ }
1562
+ else if (isNameStartChar(c)) {
1563
+ this.fail("no whitespace between attributes.");
1564
+ this.unget();
1565
+ this.state = S_ATTRIB_NAME;
1566
+ }
1567
+ else {
1568
+ this.fail("disallowed character in attribute name.");
1569
+ }
1570
+ }
1571
+ sAttribValueUnquoted() {
1572
+ // We don't do anything regarding EOL or space handling for unquoted
1573
+ // attributes. We already have failed by the time we get here, and the
1574
+ // contract that saxes upholds states that upon failure, it is not safe to
1575
+ // rely on the data passed to event handlers (other than
1576
+ // ``onerror``). Passing "bad" data is not a problem.
1577
+ const c = this.captureTo(ATTRIB_VALUE_UNQUOTED_TERMINATOR);
1578
+ switch (c) {
1579
+ case AMP:
1580
+ this.state = S_ENTITY;
1581
+ this.entityReturnState = S_ATTRIB_VALUE_UNQUOTED;
1582
+ break;
1583
+ case LESS:
1584
+ this.fail("disallowed character.");
1585
+ break;
1586
+ case EOC:
1587
+ break;
1588
+ default:
1589
+ if (this.text.includes("]]>")) {
1590
+ this.fail("the string \"]]>\" is disallowed in char data.");
1591
+ }
1592
+ this.pushAttrib(this.name, this.text);
1593
+ this.name = this.text = "";
1594
+ if (c === GREATER) {
1595
+ this.openTag();
1596
+ }
1597
+ else {
1598
+ this.state = S_ATTRIB;
1599
+ }
1600
+ }
1601
+ }
1602
+ sCloseTag() {
1603
+ const c = this.captureNameChars();
1604
+ if (c === GREATER) {
1605
+ this.closeTag();
1606
+ }
1607
+ else if (isS(c)) {
1608
+ this.state = S_CLOSE_TAG_SAW_WHITE;
1609
+ }
1610
+ else if (c !== EOC) {
1611
+ this.fail("disallowed character in closing tag.");
1612
+ }
1613
+ }
1614
+ sCloseTagSawWhite() {
1615
+ switch (this.skipSpaces()) {
1616
+ case GREATER:
1617
+ this.closeTag();
1618
+ break;
1619
+ case EOC:
1620
+ break;
1621
+ default:
1622
+ this.fail("disallowed character in closing tag.");
1623
+ }
1624
+ }
1625
+ // END OF STATE ENGINE METHODS
1626
+ handleTextInRoot() {
1627
+ // This is essentially a specialized version of captureTo which is optimized
1628
+ // for performing the ]]> check. A previous version of this code, checked
1629
+ // ``this.text`` for the presence of ]]>. It simplified the code but was
1630
+ // very costly when character data contained a lot of entities to be parsed.
1631
+ //
1632
+ // Since we are using a specialized loop, we also keep track of the presence
1633
+ // of ]]> in text data. The sequence ]]> is forbidden to appear as-is.
1634
+ //
1635
+ let { i: start, forbiddenState } = this;
1636
+ const { chunk, textHandler: handler } = this;
1637
+ // eslint-disable-next-line no-labels, no-restricted-syntax
1638
+ scanLoop:
1639
+ // eslint-disable-next-line no-constant-condition
1640
+ while (true) {
1641
+ switch (this.getCode()) {
1642
+ case LESS: {
1643
+ this.state = S_OPEN_WAKA;
1644
+ if (handler !== undefined) {
1645
+ const { text } = this;
1646
+ const slice = chunk.slice(start, this.prevI);
1647
+ if (text.length !== 0) {
1648
+ handler(text + slice);
1649
+ this.text = "";
1650
+ }
1651
+ else if (slice.length !== 0) {
1652
+ handler(slice);
1653
+ }
1654
+ }
1655
+ forbiddenState = FORBIDDEN_START;
1656
+ // eslint-disable-next-line no-labels
1657
+ break scanLoop;
1658
+ }
1659
+ case AMP:
1660
+ this.state = S_ENTITY;
1661
+ this.entityReturnState = S_TEXT;
1662
+ if (handler !== undefined) {
1663
+ this.text += chunk.slice(start, this.prevI);
1664
+ }
1665
+ forbiddenState = FORBIDDEN_START;
1666
+ // eslint-disable-next-line no-labels
1667
+ break scanLoop;
1668
+ case CLOSE_BRACKET:
1669
+ switch (forbiddenState) {
1670
+ case FORBIDDEN_START:
1671
+ forbiddenState = FORBIDDEN_BRACKET;
1672
+ break;
1673
+ case FORBIDDEN_BRACKET:
1674
+ forbiddenState = FORBIDDEN_BRACKET_BRACKET;
1675
+ break;
1676
+ case FORBIDDEN_BRACKET_BRACKET:
1677
+ break;
1678
+ default:
1679
+ throw new Error("impossible state");
1680
+ }
1681
+ break;
1682
+ case GREATER:
1683
+ if (forbiddenState === FORBIDDEN_BRACKET_BRACKET) {
1684
+ this.fail("the string \"]]>\" is disallowed in char data.");
1685
+ }
1686
+ forbiddenState = FORBIDDEN_START;
1687
+ break;
1688
+ case NL_LIKE:
1689
+ if (handler !== undefined) {
1690
+ this.text += `${chunk.slice(start, this.prevI)}\n`;
1691
+ }
1692
+ start = this.i;
1693
+ forbiddenState = FORBIDDEN_START;
1694
+ break;
1695
+ case EOC:
1696
+ if (handler !== undefined) {
1697
+ this.text += chunk.slice(start);
1698
+ }
1699
+ // eslint-disable-next-line no-labels
1700
+ break scanLoop;
1701
+ default:
1702
+ forbiddenState = FORBIDDEN_START;
1703
+ }
1704
+ }
1705
+ this.forbiddenState = forbiddenState;
1706
+ }
1707
+ handleTextOutsideRoot() {
1708
+ // This is essentially a specialized version of captureTo which is optimized
1709
+ // for a specialized task. We keep track of the presence of non-space
1710
+ // characters in the text since these are errors when appearing outside the
1711
+ // document root element.
1712
+ let { i: start } = this;
1713
+ const { chunk, textHandler: handler } = this;
1714
+ let nonSpace = false;
1715
+ // eslint-disable-next-line no-labels, no-restricted-syntax
1716
+ outRootLoop:
1717
+ // eslint-disable-next-line no-constant-condition
1718
+ while (true) {
1719
+ const code = this.getCode();
1720
+ switch (code) {
1721
+ case LESS: {
1722
+ this.state = S_OPEN_WAKA;
1723
+ if (handler !== undefined) {
1724
+ const { text } = this;
1725
+ const slice = chunk.slice(start, this.prevI);
1726
+ if (text.length !== 0) {
1727
+ handler(text + slice);
1728
+ this.text = "";
1729
+ }
1730
+ else if (slice.length !== 0) {
1731
+ handler(slice);
1732
+ }
1733
+ }
1734
+ // eslint-disable-next-line no-labels
1735
+ break outRootLoop;
1736
+ }
1737
+ case AMP:
1738
+ this.state = S_ENTITY;
1739
+ this.entityReturnState = S_TEXT;
1740
+ if (handler !== undefined) {
1741
+ this.text += chunk.slice(start, this.prevI);
1742
+ }
1743
+ nonSpace = true;
1744
+ // eslint-disable-next-line no-labels
1745
+ break outRootLoop;
1746
+ case NL_LIKE:
1747
+ if (handler !== undefined) {
1748
+ this.text += `${chunk.slice(start, this.prevI)}\n`;
1749
+ }
1750
+ start = this.i;
1751
+ break;
1752
+ case EOC:
1753
+ if (handler !== undefined) {
1754
+ this.text += chunk.slice(start);
1755
+ }
1756
+ // eslint-disable-next-line no-labels
1757
+ break outRootLoop;
1758
+ default:
1759
+ if (!isS(code)) {
1760
+ nonSpace = true;
1761
+ }
1762
+ }
1763
+ }
1764
+ if (!nonSpace) {
1765
+ return;
1766
+ }
1767
+ // We use the reportedTextBeforeRoot and reportedTextAfterRoot flags
1768
+ // to avoid reporting errors for every single character that is out of
1769
+ // place.
1770
+ if (!this.sawRoot && !this.reportedTextBeforeRoot) {
1771
+ this.fail("text data outside of root node.");
1772
+ this.reportedTextBeforeRoot = true;
1773
+ }
1774
+ if (this.closedRoot && !this.reportedTextAfterRoot) {
1775
+ this.fail("text data outside of root node.");
1776
+ this.reportedTextAfterRoot = true;
1777
+ }
1778
+ }
1779
+ pushAttribNS(name, value) {
1780
+ var _a;
1781
+ const { prefix, local } = this.qname(name);
1782
+ const attr = { name, prefix, local, value };
1783
+ this.attribList.push(attr);
1784
+ // eslint-disable-next-line no-unused-expressions
1785
+ (_a = this.attributeHandler) === null || _a === void 0 ? void 0 : _a.call(this, attr);
1786
+ if (prefix === "xmlns") {
1787
+ const trimmed = value.trim();
1788
+ if (this.currentXMLVersion === "1.0" && trimmed === "") {
1789
+ this.fail("invalid attempt to undefine prefix in XML 1.0");
1790
+ }
1791
+ this.topNS[local] = trimmed;
1792
+ nsPairCheck(this, local, trimmed);
1793
+ }
1794
+ else if (name === "xmlns") {
1795
+ const trimmed = value.trim();
1796
+ this.topNS[""] = trimmed;
1797
+ nsPairCheck(this, "", trimmed);
1798
+ }
1799
+ }
1800
+ pushAttribPlain(name, value) {
1801
+ var _a;
1802
+ const attr = { name, value };
1803
+ this.attribList.push(attr);
1804
+ // eslint-disable-next-line no-unused-expressions
1805
+ (_a = this.attributeHandler) === null || _a === void 0 ? void 0 : _a.call(this, attr);
1806
+ }
1807
+ /**
1808
+ * End parsing. This performs final well-formedness checks and resets the
1809
+ * parser to a clean state.
1810
+ *
1811
+ * @returns this
1812
+ */
1813
+ end() {
1814
+ var _a, _b;
1815
+ if (!this.sawRoot) {
1816
+ this.fail("document must contain a root element.");
1817
+ }
1818
+ const { tags } = this;
1819
+ while (tags.length > 0) {
1820
+ const tag = tags.pop();
1821
+ this.fail(`unclosed tag: ${tag.name}`);
1822
+ }
1823
+ if ((this.state !== S_BEGIN) && (this.state !== S_TEXT)) {
1824
+ this.fail("unexpected end.");
1825
+ }
1826
+ const { text } = this;
1827
+ if (text.length !== 0) {
1828
+ // eslint-disable-next-line no-unused-expressions
1829
+ (_a = this.textHandler) === null || _a === void 0 ? void 0 : _a.call(this, text);
1830
+ this.text = "";
1831
+ }
1832
+ this._closed = true;
1833
+ // eslint-disable-next-line no-unused-expressions
1834
+ (_b = this.endHandler) === null || _b === void 0 ? void 0 : _b.call(this);
1835
+ this._init();
1836
+ return this;
1837
+ }
1838
+ /**
1839
+ * Resolve a namespace prefix.
1840
+ *
1841
+ * @param prefix The prefix to resolve.
1842
+ *
1843
+ * @returns The namespace URI or ``undefined`` if the prefix is not defined.
1844
+ */
1845
+ resolve(prefix) {
1846
+ var _a, _b;
1847
+ let uri = this.topNS[prefix];
1848
+ if (uri !== undefined) {
1849
+ return uri;
1850
+ }
1851
+ const { tags } = this;
1852
+ for (let index = tags.length - 1; index >= 0; index--) {
1853
+ uri = tags[index].ns[prefix];
1854
+ if (uri !== undefined) {
1855
+ return uri;
1856
+ }
1857
+ }
1858
+ uri = this.ns[prefix];
1859
+ if (uri !== undefined) {
1860
+ return uri;
1861
+ }
1862
+ return (_b = (_a = this.opt).resolvePrefix) === null || _b === void 0 ? void 0 : _b.call(_a, prefix);
1863
+ }
1864
+ /**
1865
+ * Parse a qname into its prefix and local name parts.
1866
+ *
1867
+ * @param name The name to parse
1868
+ *
1869
+ * @returns
1870
+ */
1871
+ qname(name) {
1872
+ // This is faster than using name.split(":").
1873
+ const colon = name.indexOf(":");
1874
+ if (colon === -1) {
1875
+ return { prefix: "", local: name };
1876
+ }
1877
+ const local = name.slice(colon + 1);
1878
+ const prefix = name.slice(0, colon);
1879
+ if (prefix === "" || local === "" || local.includes(":")) {
1880
+ this.fail(`malformed name: ${name}.`);
1881
+ }
1882
+ return { prefix, local };
1883
+ }
1884
+ processAttribsNS() {
1885
+ var _a;
1886
+ const { attribList } = this;
1887
+ const tag = this.tag;
1888
+ {
1889
+ // add namespace info to tag
1890
+ const { prefix, local } = this.qname(tag.name);
1891
+ tag.prefix = prefix;
1892
+ tag.local = local;
1893
+ const uri = tag.uri = (_a = this.resolve(prefix)) !== null && _a !== void 0 ? _a : "";
1894
+ if (prefix !== "") {
1895
+ if (prefix === "xmlns") {
1896
+ this.fail("tags may not have \"xmlns\" as prefix.");
1897
+ }
1898
+ if (uri === "") {
1899
+ this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);
1900
+ tag.uri = prefix;
1901
+ }
1902
+ }
1903
+ }
1904
+ if (attribList.length === 0) {
1905
+ return;
1906
+ }
1907
+ const { attributes } = tag;
1908
+ const seen = new Set();
1909
+ // Note: do not apply default ns to attributes:
1910
+ // http://www.w3.org/TR/REC-xml-names/#defaulting
1911
+ for (const attr of attribList) {
1912
+ const { name, prefix, local } = attr;
1913
+ let uri;
1914
+ let eqname;
1915
+ if (prefix === "") {
1916
+ uri = name === "xmlns" ? XMLNS_NAMESPACE : "";
1917
+ eqname = name;
1918
+ }
1919
+ else {
1920
+ uri = this.resolve(prefix);
1921
+ // if there's any attributes with an undefined namespace,
1922
+ // then fail on them now.
1923
+ if (uri === undefined) {
1924
+ this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);
1925
+ uri = prefix;
1926
+ }
1927
+ eqname = `{${uri}}${local}`;
1928
+ }
1929
+ if (seen.has(eqname)) {
1930
+ this.fail(`duplicate attribute: ${eqname}.`);
1931
+ }
1932
+ seen.add(eqname);
1933
+ attr.uri = uri;
1934
+ attributes[name] = attr;
1935
+ }
1936
+ this.attribList = [];
1937
+ }
1938
+ processAttribsPlain() {
1939
+ const { attribList } = this;
1940
+ // eslint-disable-next-line prefer-destructuring
1941
+ const attributes = this.tag.attributes;
1942
+ for (const { name, value } of attribList) {
1943
+ if (attributes[name] !== undefined) {
1944
+ this.fail(`duplicate attribute: ${name}.`);
1945
+ }
1946
+ attributes[name] = value;
1947
+ }
1948
+ this.attribList = [];
1949
+ }
1950
+ /**
1951
+ * Handle a complete open tag. This parser code calls this once it has seen
1952
+ * the whole tag. This method checks for well-formeness and then emits
1953
+ * ``onopentag``.
1954
+ */
1955
+ openTag() {
1956
+ var _a;
1957
+ this.processAttribs();
1958
+ const { tags } = this;
1959
+ const tag = this.tag;
1960
+ tag.isSelfClosing = false;
1961
+ // There cannot be any pending text here due to the onopentagstart that was
1962
+ // necessarily emitted before we get here. So we do not check text.
1963
+ // eslint-disable-next-line no-unused-expressions
1964
+ (_a = this.openTagHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
1965
+ tags.push(tag);
1966
+ this.state = S_TEXT;
1967
+ this.name = "";
1968
+ }
1969
+ /**
1970
+ * Handle a complete self-closing tag. This parser code calls this once it has
1971
+ * seen the whole tag. This method checks for well-formeness and then emits
1972
+ * ``onopentag`` and ``onclosetag``.
1973
+ */
1974
+ openSelfClosingTag() {
1975
+ var _a, _b, _c;
1976
+ this.processAttribs();
1977
+ const { tags } = this;
1978
+ const tag = this.tag;
1979
+ tag.isSelfClosing = true;
1980
+ // There cannot be any pending text here due to the onopentagstart that was
1981
+ // necessarily emitted before we get here. So we do not check text.
1982
+ // eslint-disable-next-line no-unused-expressions
1983
+ (_a = this.openTagHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
1984
+ // eslint-disable-next-line no-unused-expressions
1985
+ (_b = this.closeTagHandler) === null || _b === void 0 ? void 0 : _b.call(this, tag);
1986
+ const top = this.tag = (_c = tags[tags.length - 1]) !== null && _c !== void 0 ? _c : null;
1987
+ if (top === null) {
1988
+ this.closedRoot = true;
1989
+ }
1990
+ this.state = S_TEXT;
1991
+ this.name = "";
1992
+ }
1993
+ /**
1994
+ * Handle a complete close tag. This parser code calls this once it has seen
1995
+ * the whole tag. This method checks for well-formeness and then emits
1996
+ * ``onclosetag``.
1997
+ */
1998
+ closeTag() {
1999
+ const { tags, name } = this;
2000
+ // Our state after this will be S_TEXT, no matter what, and we can clear
2001
+ // tagName now.
2002
+ this.state = S_TEXT;
2003
+ this.name = "";
2004
+ if (name === "") {
2005
+ this.fail("weird empty close tag.");
2006
+ this.text += "</>";
2007
+ return;
2008
+ }
2009
+ const handler = this.closeTagHandler;
2010
+ let l = tags.length;
2011
+ while (l-- > 0) {
2012
+ const tag = this.tag = tags.pop();
2013
+ this.topNS = tag.ns;
2014
+ // eslint-disable-next-line no-unused-expressions
2015
+ handler === null || handler === void 0 ? void 0 : handler(tag);
2016
+ if (tag.name === name) {
2017
+ break;
2018
+ }
2019
+ this.fail("unexpected close tag.");
2020
+ }
2021
+ if (l === 0) {
2022
+ this.closedRoot = true;
2023
+ }
2024
+ else if (l < 0) {
2025
+ this.fail(`unmatched closing tag: ${name}.`);
2026
+ this.text += `</${name}>`;
2027
+ }
2028
+ }
2029
+ /**
2030
+ * Resolves an entity. Makes any necessary well-formedness checks.
2031
+ *
2032
+ * @param entity The entity to resolve.
2033
+ *
2034
+ * @returns The parsed entity.
2035
+ */
2036
+ parseEntity(entity) {
2037
+ // startsWith would be significantly slower for this test.
2038
+ // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with
2039
+ if (entity[0] !== "#") {
2040
+ const defined = this.ENTITIES[entity];
2041
+ if (defined !== undefined) {
2042
+ return defined;
2043
+ }
2044
+ this.fail(this.isName(entity) ? "undefined entity." :
2045
+ "disallowed character in entity name.");
2046
+ return `&${entity};`;
2047
+ }
2048
+ let num = NaN;
2049
+ if (entity[1] === "x" && /^#x[0-9a-f]+$/i.test(entity)) {
2050
+ num = parseInt(entity.slice(2), 16);
2051
+ }
2052
+ else if (/^#[0-9]+$/.test(entity)) {
2053
+ num = parseInt(entity.slice(1), 10);
2054
+ }
2055
+ // The character reference is required to match the CHAR production.
2056
+ if (!this.isChar(num)) {
2057
+ this.fail("malformed character entity.");
2058
+ return `&${entity};`;
2059
+ }
2060
+ return String.fromCodePoint(num);
2061
+ }
2062
+ }
2063
+ exports.SaxesParser = SaxesParser;
2064
+ //# sourceMappingURL=saxes.js.map