wice_grid 6.1.3 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2710) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.rspec +1 -1
  4. data/CHANGELOG.md +18 -13
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +409 -214
  7. data/Guardfile +71 -0
  8. data/README.md +96 -53
  9. data/app/views/kaminari/wice_grid/_paginator.html.erb +2 -2
  10. data/config/locales/is.yml +1 -1
  11. data/lib/wice/columns/column_action.rb +2 -2
  12. data/lib/wice/columns/column_bootstrap_datepicker.rb +6 -6
  13. data/lib/wice/columns/column_jquery_datepicker.rb +8 -8
  14. data/lib/wice/grid_output_buffer.rb +4 -0
  15. data/lib/wice/grid_renderer.rb +27 -27
  16. data/lib/wice/helpers/js_calendar_helpers.rb +1 -1
  17. data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +7 -7
  18. data/lib/wice/helpers/wice_grid_view_helpers.rb +25 -25
  19. data/lib/wice/table_column_matrix.rb +3 -7
  20. data/lib/wice/wice_grid_controller.rb +2 -2
  21. data/lib/wice_grid.rb +8 -2
  22. data/node_modules/.bin/browserslist +1 -0
  23. data/node_modules/.bin/cake +1 -0
  24. data/node_modules/.bin/coffee +1 -0
  25. data/node_modules/.bin/decaffeinate +1 -0
  26. data/node_modules/.bin/esparse +1 -0
  27. data/node_modules/.bin/esvalidate +1 -0
  28. data/node_modules/.bin/is-ci +1 -0
  29. data/node_modules/.bin/is-ci-cli +1 -0
  30. data/node_modules/.bin/jsesc +1 -0
  31. data/node_modules/.bin/json5 +1 -0
  32. data/node_modules/.bin/node-which +1 -0
  33. data/node_modules/.bin/parser +1 -0
  34. data/node_modules/.bin/resolve +1 -0
  35. data/node_modules/.bin/semver +1 -0
  36. data/node_modules/.bin/update-browserslist-db +1 -0
  37. data/node_modules/.yarn-integrity +131 -0
  38. data/node_modules/@ampproject/remapping/LICENSE +202 -0
  39. data/node_modules/@ampproject/remapping/README.md +218 -0
  40. data/node_modules/@ampproject/remapping/dist/remapping.mjs +197 -0
  41. data/node_modules/@ampproject/remapping/dist/remapping.mjs.map +1 -0
  42. data/node_modules/@ampproject/remapping/dist/remapping.umd.js +202 -0
  43. data/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +1 -0
  44. data/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +14 -0
  45. data/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +20 -0
  46. data/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +45 -0
  47. data/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +18 -0
  48. data/node_modules/@ampproject/remapping/dist/types/types.d.ts +15 -0
  49. data/node_modules/@ampproject/remapping/package.json +75 -0
  50. data/node_modules/@babel/code-frame/LICENSE +22 -0
  51. data/node_modules/@babel/code-frame/README.md +19 -0
  52. data/node_modules/@babel/code-frame/lib/index.js +156 -0
  53. data/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  54. data/node_modules/@babel/code-frame/package.json +30 -0
  55. data/node_modules/@babel/compat-data/LICENSE +22 -0
  56. data/node_modules/@babel/compat-data/README.md +19 -0
  57. data/node_modules/@babel/compat-data/corejs2-built-ins.js +2 -0
  58. data/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +2 -0
  59. data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +2090 -0
  60. data/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +5 -0
  61. data/node_modules/@babel/compat-data/data/native-modules.json +18 -0
  62. data/node_modules/@babel/compat-data/data/overlapping-plugins.json +33 -0
  63. data/node_modules/@babel/compat-data/data/plugin-bugfixes.json +213 -0
  64. data/node_modules/@babel/compat-data/data/plugins.json +794 -0
  65. data/node_modules/@babel/compat-data/native-modules.js +1 -0
  66. data/node_modules/@babel/compat-data/overlapping-plugins.js +1 -0
  67. data/node_modules/@babel/compat-data/package.json +40 -0
  68. data/node_modules/@babel/compat-data/plugin-bugfixes.js +1 -0
  69. data/node_modules/@babel/compat-data/plugins.js +1 -0
  70. data/node_modules/@babel/core/LICENSE +22 -0
  71. data/node_modules/@babel/core/README.md +19 -0
  72. data/node_modules/@babel/core/cjs-proxy.cjs +59 -0
  73. data/node_modules/@babel/core/lib/config/cache-contexts.js +3 -0
  74. data/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -0
  75. data/node_modules/@babel/core/lib/config/caching.js +261 -0
  76. data/node_modules/@babel/core/lib/config/caching.js.map +1 -0
  77. data/node_modules/@babel/core/lib/config/config-chain.js +469 -0
  78. data/node_modules/@babel/core/lib/config/config-chain.js.map +1 -0
  79. data/node_modules/@babel/core/lib/config/config-descriptors.js +190 -0
  80. data/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -0
  81. data/node_modules/@babel/core/lib/config/files/configuration.js +286 -0
  82. data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -0
  83. data/node_modules/@babel/core/lib/config/files/import.cjs +6 -0
  84. data/node_modules/@babel/core/lib/config/files/import.cjs.map +1 -0
  85. data/node_modules/@babel/core/lib/config/files/index-browser.js +58 -0
  86. data/node_modules/@babel/core/lib/config/files/index-browser.js.map +1 -0
  87. data/node_modules/@babel/core/lib/config/files/index.js +78 -0
  88. data/node_modules/@babel/core/lib/config/files/index.js.map +1 -0
  89. data/node_modules/@babel/core/lib/config/files/module-types.js +176 -0
  90. data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -0
  91. data/node_modules/@babel/core/lib/config/files/package.js +61 -0
  92. data/node_modules/@babel/core/lib/config/files/package.js.map +1 -0
  93. data/node_modules/@babel/core/lib/config/files/plugins.js +217 -0
  94. data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -0
  95. data/node_modules/@babel/core/lib/config/files/types.js +3 -0
  96. data/node_modules/@babel/core/lib/config/files/types.js.map +1 -0
  97. data/node_modules/@babel/core/lib/config/files/utils.js +36 -0
  98. data/node_modules/@babel/core/lib/config/files/utils.js.map +1 -0
  99. data/node_modules/@babel/core/lib/config/full.js +310 -0
  100. data/node_modules/@babel/core/lib/config/full.js.map +1 -0
  101. data/node_modules/@babel/core/lib/config/helpers/config-api.js +84 -0
  102. data/node_modules/@babel/core/lib/config/helpers/config-api.js.map +1 -0
  103. data/node_modules/@babel/core/lib/config/helpers/deep-array.js +23 -0
  104. data/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +1 -0
  105. data/node_modules/@babel/core/lib/config/helpers/environment.js +12 -0
  106. data/node_modules/@babel/core/lib/config/helpers/environment.js.map +1 -0
  107. data/node_modules/@babel/core/lib/config/index.js +93 -0
  108. data/node_modules/@babel/core/lib/config/index.js.map +1 -0
  109. data/node_modules/@babel/core/lib/config/item.js +67 -0
  110. data/node_modules/@babel/core/lib/config/item.js.map +1 -0
  111. data/node_modules/@babel/core/lib/config/partial.js +158 -0
  112. data/node_modules/@babel/core/lib/config/partial.js.map +1 -0
  113. data/node_modules/@babel/core/lib/config/pattern-to-regex.js +38 -0
  114. data/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +1 -0
  115. data/node_modules/@babel/core/lib/config/plugin.js +33 -0
  116. data/node_modules/@babel/core/lib/config/plugin.js.map +1 -0
  117. data/node_modules/@babel/core/lib/config/printer.js +113 -0
  118. data/node_modules/@babel/core/lib/config/printer.js.map +1 -0
  119. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js +41 -0
  120. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +1 -0
  121. data/node_modules/@babel/core/lib/config/resolve-targets.js +61 -0
  122. data/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -0
  123. data/node_modules/@babel/core/lib/config/util.js +31 -0
  124. data/node_modules/@babel/core/lib/config/util.js.map +1 -0
  125. data/node_modules/@babel/core/lib/config/validation/option-assertions.js +277 -0
  126. data/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -0
  127. data/node_modules/@babel/core/lib/config/validation/options.js +189 -0
  128. data/node_modules/@babel/core/lib/config/validation/options.js.map +1 -0
  129. data/node_modules/@babel/core/lib/config/validation/plugins.js +67 -0
  130. data/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -0
  131. data/node_modules/@babel/core/lib/config/validation/removed.js +68 -0
  132. data/node_modules/@babel/core/lib/config/validation/removed.js.map +1 -0
  133. data/node_modules/@babel/core/lib/errors/config-error.js +18 -0
  134. data/node_modules/@babel/core/lib/errors/config-error.js.map +1 -0
  135. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +98 -0
  136. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +1 -0
  137. data/node_modules/@babel/core/lib/gensync-utils/async.js +90 -0
  138. data/node_modules/@babel/core/lib/gensync-utils/async.js.map +1 -0
  139. data/node_modules/@babel/core/lib/gensync-utils/fs.js +31 -0
  140. data/node_modules/@babel/core/lib/gensync-utils/fs.js.map +1 -0
  141. data/node_modules/@babel/core/lib/gensync-utils/functional.js +58 -0
  142. data/node_modules/@babel/core/lib/gensync-utils/functional.js.map +1 -0
  143. data/node_modules/@babel/core/lib/index.js +242 -0
  144. data/node_modules/@babel/core/lib/index.js.map +1 -0
  145. data/node_modules/@babel/core/lib/parse.js +47 -0
  146. data/node_modules/@babel/core/lib/parse.js.map +1 -0
  147. data/node_modules/@babel/core/lib/parser/index.js +79 -0
  148. data/node_modules/@babel/core/lib/parser/index.js.map +1 -0
  149. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +339 -0
  150. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +1 -0
  151. data/node_modules/@babel/core/lib/tools/build-external-helpers.js +144 -0
  152. data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -0
  153. data/node_modules/@babel/core/lib/transform-ast.js +50 -0
  154. data/node_modules/@babel/core/lib/transform-ast.js.map +1 -0
  155. data/node_modules/@babel/core/lib/transform-file-browser.js +23 -0
  156. data/node_modules/@babel/core/lib/transform-file-browser.js.map +1 -0
  157. data/node_modules/@babel/core/lib/transform-file.js +40 -0
  158. data/node_modules/@babel/core/lib/transform-file.js.map +1 -0
  159. data/node_modules/@babel/core/lib/transform.js +49 -0
  160. data/node_modules/@babel/core/lib/transform.js.map +1 -0
  161. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +84 -0
  162. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +1 -0
  163. data/node_modules/@babel/core/lib/transformation/file/file.js +216 -0
  164. data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -0
  165. data/node_modules/@babel/core/lib/transformation/file/generate.js +84 -0
  166. data/node_modules/@babel/core/lib/transformation/file/generate.js.map +1 -0
  167. data/node_modules/@babel/core/lib/transformation/file/merge-map.js +37 -0
  168. data/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +1 -0
  169. data/node_modules/@babel/core/lib/transformation/index.js +101 -0
  170. data/node_modules/@babel/core/lib/transformation/index.js.map +1 -0
  171. data/node_modules/@babel/core/lib/transformation/normalize-file.js +129 -0
  172. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -0
  173. data/node_modules/@babel/core/lib/transformation/normalize-opts.js +59 -0
  174. data/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +1 -0
  175. data/node_modules/@babel/core/lib/transformation/plugin-pass.js +48 -0
  176. data/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +1 -0
  177. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +36 -0
  178. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -0
  179. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +1043 -0
  180. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -0
  181. data/node_modules/@babel/core/node_modules/.bin/json5 +1 -0
  182. data/node_modules/@babel/core/node_modules/.bin/parser +1 -0
  183. data/node_modules/@babel/core/node_modules/.bin/semver +1 -0
  184. data/node_modules/@babel/core/package.json +82 -0
  185. data/node_modules/@babel/core/src/config/files/index-browser.ts +109 -0
  186. data/node_modules/@babel/core/src/config/files/index.ts +29 -0
  187. data/node_modules/@babel/core/src/config/resolve-targets-browser.ts +40 -0
  188. data/node_modules/@babel/core/src/config/resolve-targets.ts +56 -0
  189. data/node_modules/@babel/core/src/transform-file-browser.ts +31 -0
  190. data/node_modules/@babel/core/src/transform-file.ts +55 -0
  191. data/node_modules/@babel/generator/LICENSE +22 -0
  192. data/node_modules/@babel/generator/README.md +19 -0
  193. data/node_modules/@babel/generator/lib/buffer.js +323 -0
  194. data/node_modules/@babel/generator/lib/buffer.js.map +1 -0
  195. data/node_modules/@babel/generator/lib/generators/base.js +92 -0
  196. data/node_modules/@babel/generator/lib/generators/base.js.map +1 -0
  197. data/node_modules/@babel/generator/lib/generators/classes.js +177 -0
  198. data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -0
  199. data/node_modules/@babel/generator/lib/generators/expressions.js +309 -0
  200. data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -0
  201. data/node_modules/@babel/generator/lib/generators/flow.js +668 -0
  202. data/node_modules/@babel/generator/lib/generators/flow.js.map +1 -0
  203. data/node_modules/@babel/generator/lib/generators/index.js +128 -0
  204. data/node_modules/@babel/generator/lib/generators/index.js.map +1 -0
  205. data/node_modules/@babel/generator/lib/generators/jsx.js +123 -0
  206. data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -0
  207. data/node_modules/@babel/generator/lib/generators/methods.js +173 -0
  208. data/node_modules/@babel/generator/lib/generators/methods.js.map +1 -0
  209. data/node_modules/@babel/generator/lib/generators/modules.js +274 -0
  210. data/node_modules/@babel/generator/lib/generators/modules.js.map +1 -0
  211. data/node_modules/@babel/generator/lib/generators/statements.js +275 -0
  212. data/node_modules/@babel/generator/lib/generators/statements.js.map +1 -0
  213. data/node_modules/@babel/generator/lib/generators/template-literals.js +31 -0
  214. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -0
  215. data/node_modules/@babel/generator/lib/generators/types.js +225 -0
  216. data/node_modules/@babel/generator/lib/generators/types.js.map +1 -0
  217. data/node_modules/@babel/generator/lib/generators/typescript.js +690 -0
  218. data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -0
  219. data/node_modules/@babel/generator/lib/index.js +89 -0
  220. data/node_modules/@babel/generator/lib/index.js.map +1 -0
  221. data/node_modules/@babel/generator/lib/node/index.js +76 -0
  222. data/node_modules/@babel/generator/lib/node/index.js.map +1 -0
  223. data/node_modules/@babel/generator/lib/node/parentheses.js +225 -0
  224. data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -0
  225. data/node_modules/@babel/generator/lib/node/whitespace.js +145 -0
  226. data/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -0
  227. data/node_modules/@babel/generator/lib/printer.js +684 -0
  228. data/node_modules/@babel/generator/lib/printer.js.map +1 -0
  229. data/node_modules/@babel/generator/lib/source-map.js +85 -0
  230. data/node_modules/@babel/generator/lib/source-map.js.map +1 -0
  231. data/node_modules/@babel/generator/node_modules/.bin/jsesc +1 -0
  232. data/node_modules/@babel/generator/package.json +38 -0
  233. data/node_modules/@babel/helper-compilation-targets/LICENSE +22 -0
  234. data/node_modules/@babel/helper-compilation-targets/README.md +19 -0
  235. data/node_modules/@babel/helper-compilation-targets/lib/debug.js +28 -0
  236. data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -0
  237. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +67 -0
  238. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -0
  239. data/node_modules/@babel/helper-compilation-targets/lib/index.js +224 -0
  240. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -0
  241. data/node_modules/@babel/helper-compilation-targets/lib/options.js +24 -0
  242. data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +1 -0
  243. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js +40 -0
  244. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +1 -0
  245. data/node_modules/@babel/helper-compilation-targets/lib/targets.js +28 -0
  246. data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +1 -0
  247. data/node_modules/@babel/helper-compilation-targets/lib/utils.js +58 -0
  248. data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +1 -0
  249. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +1 -0
  250. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +1 -0
  251. data/node_modules/@babel/helper-compilation-targets/package.json +43 -0
  252. data/node_modules/@babel/helper-environment-visitor/LICENSE +22 -0
  253. data/node_modules/@babel/helper-environment-visitor/README.md +19 -0
  254. data/node_modules/@babel/helper-environment-visitor/lib/index.js +51 -0
  255. data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -0
  256. data/node_modules/@babel/helper-environment-visitor/package.json +34 -0
  257. data/node_modules/@babel/helper-function-name/LICENSE +22 -0
  258. data/node_modules/@babel/helper-function-name/README.md +19 -0
  259. data/node_modules/@babel/helper-function-name/lib/index.js +170 -0
  260. data/node_modules/@babel/helper-function-name/lib/index.js.map +1 -0
  261. data/node_modules/@babel/helper-function-name/package.json +28 -0
  262. data/node_modules/@babel/helper-hoist-variables/LICENSE +22 -0
  263. data/node_modules/@babel/helper-hoist-variables/README.md +19 -0
  264. data/node_modules/@babel/helper-hoist-variables/lib/index.js +50 -0
  265. data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +1 -0
  266. data/node_modules/@babel/helper-hoist-variables/package.json +27 -0
  267. data/node_modules/@babel/helper-module-imports/LICENSE +22 -0
  268. data/node_modules/@babel/helper-module-imports/README.md +19 -0
  269. data/node_modules/@babel/helper-module-imports/lib/import-builder.js +122 -0
  270. data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -0
  271. data/node_modules/@babel/helper-module-imports/lib/import-injector.js +304 -0
  272. data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -0
  273. data/node_modules/@babel/helper-module-imports/lib/index.js +37 -0
  274. data/node_modules/@babel/helper-module-imports/lib/index.js.map +1 -0
  275. data/node_modules/@babel/helper-module-imports/lib/is-module.js +11 -0
  276. data/node_modules/@babel/helper-module-imports/lib/is-module.js.map +1 -0
  277. data/node_modules/@babel/helper-module-imports/package.json +28 -0
  278. data/node_modules/@babel/helper-module-transforms/LICENSE +22 -0
  279. data/node_modules/@babel/helper-module-transforms/README.md +19 -0
  280. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +48 -0
  281. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +1 -0
  282. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +48 -0
  283. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +1 -0
  284. data/node_modules/@babel/helper-module-transforms/lib/index.js +380 -0
  285. data/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -0
  286. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js +31 -0
  287. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map +1 -0
  288. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +358 -0
  289. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -0
  290. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +376 -0
  291. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +1 -0
  292. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +24 -0
  293. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +1 -0
  294. data/node_modules/@babel/helper-module-transforms/package.json +34 -0
  295. data/node_modules/@babel/helper-simple-access/LICENSE +22 -0
  296. data/node_modules/@babel/helper-simple-access/README.md +19 -0
  297. data/node_modules/@babel/helper-simple-access/lib/index.js +91 -0
  298. data/node_modules/@babel/helper-simple-access/lib/index.js.map +1 -0
  299. data/node_modules/@babel/helper-simple-access/package.json +28 -0
  300. data/node_modules/@babel/helper-split-export-declaration/LICENSE +22 -0
  301. data/node_modules/@babel/helper-split-export-declaration/README.md +19 -0
  302. data/node_modules/@babel/helper-split-export-declaration/lib/index.js +59 -0
  303. data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +1 -0
  304. data/node_modules/@babel/helper-split-export-declaration/package.json +27 -0
  305. data/node_modules/@babel/helper-string-parser/LICENSE +22 -0
  306. data/node_modules/@babel/helper-string-parser/README.md +19 -0
  307. data/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
  308. data/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
  309. data/node_modules/@babel/helper-string-parser/package.json +31 -0
  310. data/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  311. data/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  312. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  313. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  314. data/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  315. data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  316. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  317. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  318. data/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  319. data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
  320. data/node_modules/@babel/helper-validator-option/LICENSE +22 -0
  321. data/node_modules/@babel/helper-validator-option/README.md +19 -0
  322. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +39 -0
  323. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +1 -0
  324. data/node_modules/@babel/helper-validator-option/lib/index.js +21 -0
  325. data/node_modules/@babel/helper-validator-option/lib/index.js.map +1 -0
  326. data/node_modules/@babel/helper-validator-option/lib/validator.js +48 -0
  327. data/node_modules/@babel/helper-validator-option/lib/validator.js.map +1 -0
  328. data/node_modules/@babel/helper-validator-option/package.json +27 -0
  329. data/node_modules/@babel/helpers/LICENSE +22 -0
  330. data/node_modules/@babel/helpers/README.md +19 -0
  331. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js +11 -0
  332. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map +1 -0
  333. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js +12 -0
  334. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +1 -0
  335. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +31 -0
  336. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +1 -0
  337. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js +459 -0
  338. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map +1 -0
  339. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js +363 -0
  340. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map +1 -0
  341. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js +376 -0
  342. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map +1 -0
  343. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js +421 -0
  344. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map +1 -0
  345. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js +235 -0
  346. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map +1 -0
  347. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +236 -0
  348. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +1 -0
  349. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js +13 -0
  350. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +1 -0
  351. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +11 -0
  352. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +1 -0
  353. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +12 -0
  354. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +1 -0
  355. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js +14 -0
  356. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map +1 -0
  357. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js +14 -0
  358. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map +1 -0
  359. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +52 -0
  360. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +1 -0
  361. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +70 -0
  362. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -0
  363. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +38 -0
  364. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map +1 -0
  365. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +12 -0
  366. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +1 -0
  367. data/node_modules/@babel/helpers/lib/helpers/callSuper.js +15 -0
  368. data/node_modules/@babel/helpers/lib/helpers/callSuper.js.map +1 -0
  369. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js +14 -0
  370. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map +1 -0
  371. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js +13 -0
  372. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +1 -0
  373. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +25 -0
  374. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +1 -0
  375. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +14 -0
  376. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +1 -0
  377. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +18 -0
  378. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +1 -0
  379. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +13 -0
  380. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +1 -0
  381. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +12 -0
  382. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +1 -0
  383. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +13 -0
  384. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +1 -0
  385. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +12 -0
  386. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +1 -0
  387. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +11 -0
  388. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +1 -0
  389. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +14 -0
  390. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +1 -0
  391. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +14 -0
  392. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map +1 -0
  393. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js +12 -0
  394. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map +1 -0
  395. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js +13 -0
  396. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +1 -0
  397. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +14 -0
  398. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +1 -0
  399. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +12 -0
  400. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +1 -0
  401. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +15 -0
  402. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map +1 -0
  403. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js +13 -0
  404. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map +1 -0
  405. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js +12 -0
  406. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map +1 -0
  407. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js +13 -0
  408. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +1 -0
  409. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +13 -0
  410. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +1 -0
  411. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +11 -0
  412. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map +1 -0
  413. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js +13 -0
  414. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map +1 -0
  415. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js +16 -0
  416. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +1 -0
  417. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +16 -0
  418. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +1 -0
  419. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +17 -0
  420. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +1 -0
  421. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +13 -0
  422. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +1 -0
  423. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +11 -0
  424. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map +1 -0
  425. data/node_modules/@babel/helpers/lib/helpers/construct.js +20 -0
  426. data/node_modules/@babel/helpers/lib/helpers/construct.js.map +1 -0
  427. data/node_modules/@babel/helpers/lib/helpers/createClass.js +26 -0
  428. data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +1 -0
  429. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +60 -0
  430. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +1 -0
  431. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +27 -0
  432. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +1 -0
  433. data/node_modules/@babel/helpers/lib/helpers/createSuper.js +25 -0
  434. data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +1 -0
  435. data/node_modules/@babel/helpers/lib/helpers/decorate.js +350 -0
  436. data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +1 -0
  437. data/node_modules/@babel/helpers/lib/helpers/defaults.js +18 -0
  438. data/node_modules/@babel/helpers/lib/helpers/defaults.js.map +1 -0
  439. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js +16 -0
  440. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map +1 -0
  441. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js +27 -0
  442. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +1 -0
  443. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +23 -0
  444. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map +1 -0
  445. data/node_modules/@babel/helpers/lib/helpers/dispose.js +47 -0
  446. data/node_modules/@babel/helpers/lib/helpers/dispose.js.map +1 -0
  447. data/node_modules/@babel/helpers/lib/helpers/extends.js +22 -0
  448. data/node_modules/@babel/helpers/lib/helpers/extends.js.map +1 -0
  449. data/node_modules/@babel/helpers/lib/helpers/get.js +25 -0
  450. data/node_modules/@babel/helpers/lib/helpers/get.js.map +1 -0
  451. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +14 -0
  452. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +1 -0
  453. data/node_modules/@babel/helpers/lib/helpers/identity.js +11 -0
  454. data/node_modules/@babel/helpers/lib/helpers/identity.js.map +1 -0
  455. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +35 -0
  456. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +1 -0
  457. data/node_modules/@babel/helpers/lib/helpers/inherits.js +25 -0
  458. data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +1 -0
  459. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +14 -0
  460. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +1 -0
  461. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +17 -0
  462. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +1 -0
  463. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +11 -0
  464. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +1 -0
  465. data/node_modules/@babel/helpers/lib/helpers/instanceof.js +15 -0
  466. data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +1 -0
  467. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +13 -0
  468. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map +1 -0
  469. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js +49 -0
  470. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +1 -0
  471. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js +15 -0
  472. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -0
  473. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js +16 -0
  474. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map +1 -0
  475. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js +13 -0
  476. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map +1 -0
  477. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +41 -0
  478. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +1 -0
  479. data/node_modules/@babel/helpers/lib/helpers/jsx.js +47 -0
  480. data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +1 -0
  481. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +16 -0
  482. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +1 -0
  483. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +13 -0
  484. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +1 -0
  485. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +11 -0
  486. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +1 -0
  487. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +11 -0
  488. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +1 -0
  489. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +11 -0
  490. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +1 -0
  491. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +11 -0
  492. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +1 -0
  493. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +24 -0
  494. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map +1 -0
  495. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +39 -0
  496. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +1 -0
  497. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +24 -0
  498. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -0
  499. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +19 -0
  500. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -0
  501. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +17 -0
  502. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +1 -0
  503. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +11 -0
  504. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map +1 -0
  505. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +499 -0
  506. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map +1 -0
  507. data/node_modules/@babel/helpers/lib/helpers/set.js +48 -0
  508. data/node_modules/@babel/helpers/lib/helpers/set.js.map +1 -0
  509. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js +21 -0
  510. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map +1 -0
  511. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js +15 -0
  512. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +1 -0
  513. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +15 -0
  514. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +1 -0
  515. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +15 -0
  516. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +1 -0
  517. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +16 -0
  518. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +1 -0
  519. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +18 -0
  520. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +1 -0
  521. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +15 -0
  522. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +1 -0
  523. data/node_modules/@babel/helpers/lib/helpers/tdz.js +11 -0
  524. data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +1 -0
  525. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +13 -0
  526. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +1 -0
  527. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +9 -0
  528. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +1 -0
  529. data/node_modules/@babel/helpers/lib/helpers/toArray.js +15 -0
  530. data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +1 -0
  531. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +15 -0
  532. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map +1 -0
  533. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js +18 -0
  534. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map +1 -0
  535. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js +13 -0
  536. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map +1 -0
  537. data/node_modules/@babel/helpers/lib/helpers/toSetter.js +18 -0
  538. data/node_modules/@babel/helpers/lib/helpers/toSetter.js.map +1 -0
  539. data/node_modules/@babel/helpers/lib/helpers/typeof.js +22 -0
  540. data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +1 -0
  541. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js +19 -0
  542. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +1 -0
  543. data/node_modules/@babel/helpers/lib/helpers/using.js +29 -0
  544. data/node_modules/@babel/helpers/lib/helpers/using.js.map +1 -0
  545. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js +73 -0
  546. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +1 -0
  547. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js +97 -0
  548. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +1 -0
  549. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +38 -0
  550. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map +1 -0
  551. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +66 -0
  552. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -0
  553. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js +11 -0
  554. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +1 -0
  555. data/node_modules/@babel/helpers/lib/helpers-generated.js +1207 -0
  556. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -0
  557. data/node_modules/@babel/helpers/lib/index.js +121 -0
  558. data/node_modules/@babel/helpers/lib/index.js.map +1 -0
  559. data/node_modules/@babel/helpers/package.json +31 -0
  560. data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +209 -0
  561. data/node_modules/@babel/helpers/scripts/generate-helpers.js +207 -0
  562. data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +63 -0
  563. data/node_modules/@babel/highlight/LICENSE +22 -0
  564. data/node_modules/@babel/highlight/README.md +19 -0
  565. data/node_modules/@babel/highlight/lib/index.js +119 -0
  566. data/node_modules/@babel/highlight/lib/index.js.map +1 -0
  567. data/node_modules/@babel/highlight/package.json +30 -0
  568. data/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  569. data/node_modules/@babel/parser/LICENSE +19 -0
  570. data/node_modules/@babel/parser/README.md +19 -0
  571. data/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  572. data/node_modules/@babel/parser/index.cjs +5 -0
  573. data/node_modules/@babel/parser/lib/index.js +13989 -0
  574. data/node_modules/@babel/parser/lib/index.js.map +1 -0
  575. data/node_modules/@babel/parser/package.json +47 -0
  576. data/node_modules/@babel/parser/typings/babel-parser.d.ts +251 -0
  577. data/node_modules/@babel/template/LICENSE +22 -0
  578. data/node_modules/@babel/template/README.md +19 -0
  579. data/node_modules/@babel/template/lib/builder.js +69 -0
  580. data/node_modules/@babel/template/lib/builder.js.map +1 -0
  581. data/node_modules/@babel/template/lib/formatters.js +61 -0
  582. data/node_modules/@babel/template/lib/formatters.js.map +1 -0
  583. data/node_modules/@babel/template/lib/index.js +23 -0
  584. data/node_modules/@babel/template/lib/index.js.map +1 -0
  585. data/node_modules/@babel/template/lib/literal.js +69 -0
  586. data/node_modules/@babel/template/lib/literal.js.map +1 -0
  587. data/node_modules/@babel/template/lib/options.js +73 -0
  588. data/node_modules/@babel/template/lib/options.js.map +1 -0
  589. data/node_modules/@babel/template/lib/parse.js +160 -0
  590. data/node_modules/@babel/template/lib/parse.js.map +1 -0
  591. data/node_modules/@babel/template/lib/populate.js +122 -0
  592. data/node_modules/@babel/template/lib/populate.js.map +1 -0
  593. data/node_modules/@babel/template/lib/string.js +20 -0
  594. data/node_modules/@babel/template/lib/string.js.map +1 -0
  595. data/node_modules/@babel/template/node_modules/.bin/parser +1 -0
  596. data/node_modules/@babel/template/package.json +27 -0
  597. data/node_modules/@babel/traverse/LICENSE +22 -0
  598. data/node_modules/@babel/traverse/README.md +19 -0
  599. data/node_modules/@babel/traverse/lib/cache.js +44 -0
  600. data/node_modules/@babel/traverse/lib/cache.js.map +1 -0
  601. data/node_modules/@babel/traverse/lib/context.js +118 -0
  602. data/node_modules/@babel/traverse/lib/context.js.map +1 -0
  603. data/node_modules/@babel/traverse/lib/hub.js +19 -0
  604. data/node_modules/@babel/traverse/lib/hub.js.map +1 -0
  605. data/node_modules/@babel/traverse/lib/index.js +94 -0
  606. data/node_modules/@babel/traverse/lib/index.js.map +1 -0
  607. data/node_modules/@babel/traverse/lib/path/ancestry.js +141 -0
  608. data/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -0
  609. data/node_modules/@babel/traverse/lib/path/comments.js +52 -0
  610. data/node_modules/@babel/traverse/lib/path/comments.js.map +1 -0
  611. data/node_modules/@babel/traverse/lib/path/context.js +222 -0
  612. data/node_modules/@babel/traverse/lib/path/context.js.map +1 -0
  613. data/node_modules/@babel/traverse/lib/path/conversion.js +468 -0
  614. data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -0
  615. data/node_modules/@babel/traverse/lib/path/evaluation.js +347 -0
  616. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -0
  617. data/node_modules/@babel/traverse/lib/path/family.js +335 -0
  618. data/node_modules/@babel/traverse/lib/path/family.js.map +1 -0
  619. data/node_modules/@babel/traverse/lib/path/index.js +282 -0
  620. data/node_modules/@babel/traverse/lib/path/index.js.map +1 -0
  621. data/node_modules/@babel/traverse/lib/path/inference/index.js +149 -0
  622. data/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -0
  623. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +151 -0
  624. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -0
  625. data/node_modules/@babel/traverse/lib/path/inference/inferers.js +207 -0
  626. data/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -0
  627. data/node_modules/@babel/traverse/lib/path/inference/util.js +30 -0
  628. data/node_modules/@babel/traverse/lib/path/inference/util.js.map +1 -0
  629. data/node_modules/@babel/traverse/lib/path/introspection.js +397 -0
  630. data/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -0
  631. data/node_modules/@babel/traverse/lib/path/lib/hoister.js +171 -0
  632. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -0
  633. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +37 -0
  634. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -0
  635. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +163 -0
  636. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -0
  637. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +26 -0
  638. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -0
  639. data/node_modules/@babel/traverse/lib/path/modification.js +226 -0
  640. data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -0
  641. data/node_modules/@babel/traverse/lib/path/removal.js +66 -0
  642. data/node_modules/@babel/traverse/lib/path/removal.js.map +1 -0
  643. data/node_modules/@babel/traverse/lib/path/replacement.js +264 -0
  644. data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -0
  645. data/node_modules/@babel/traverse/lib/scope/binding.js +83 -0
  646. data/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -0
  647. data/node_modules/@babel/traverse/lib/scope/index.js +904 -0
  648. data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -0
  649. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +115 -0
  650. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -0
  651. data/node_modules/@babel/traverse/lib/traverse-node.js +29 -0
  652. data/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -0
  653. data/node_modules/@babel/traverse/lib/types.js +3 -0
  654. data/node_modules/@babel/traverse/lib/types.js.map +1 -0
  655. data/node_modules/@babel/traverse/lib/visitors.js +221 -0
  656. data/node_modules/@babel/traverse/lib/visitors.js.map +1 -0
  657. data/node_modules/@babel/traverse/node_modules/.bin/parser +1 -0
  658. data/node_modules/@babel/traverse/package.json +38 -0
  659. data/node_modules/@babel/types/LICENSE +22 -0
  660. data/node_modules/@babel/types/README.md +19 -0
  661. data/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
  662. data/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
  663. data/node_modules/@babel/types/lib/asserts/generated/index.js +1235 -0
  664. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
  665. data/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
  666. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
  667. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
  668. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
  669. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
  670. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
  671. data/node_modules/@babel/types/lib/builders/generated/index.js +1991 -0
  672. data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
  673. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +1532 -0
  674. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
  675. data/node_modules/@babel/types/lib/builders/productions.js +12 -0
  676. data/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
  677. data/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
  678. data/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
  679. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
  680. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
  681. data/node_modules/@babel/types/lib/builders/validateNode.js +17 -0
  682. data/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
  683. data/node_modules/@babel/types/lib/clone/clone.js +12 -0
  684. data/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
  685. data/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
  686. data/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
  687. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
  688. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
  689. data/node_modules/@babel/types/lib/clone/cloneNode.js +104 -0
  690. data/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
  691. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
  692. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
  693. data/node_modules/@babel/types/lib/comments/addComment.js +15 -0
  694. data/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
  695. data/node_modules/@babel/types/lib/comments/addComments.js +22 -0
  696. data/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
  697. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
  698. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
  699. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
  700. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
  701. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
  702. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
  703. data/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
  704. data/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
  705. data/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
  706. data/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
  707. data/node_modules/@babel/types/lib/constants/generated/index.js +59 -0
  708. data/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
  709. data/node_modules/@babel/types/lib/constants/index.js +31 -0
  710. data/node_modules/@babel/types/lib/constants/index.js.map +1 -0
  711. data/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
  712. data/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
  713. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +66 -0
  714. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
  715. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
  716. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
  717. data/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
  718. data/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
  719. data/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
  720. data/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
  721. data/node_modules/@babel/types/lib/converters/toExpression.js +27 -0
  722. data/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
  723. data/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
  724. data/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
  725. data/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
  726. data/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
  727. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +20 -0
  728. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
  729. data/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
  730. data/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
  731. data/node_modules/@babel/types/lib/converters/valueToNode.js +76 -0
  732. data/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
  733. data/node_modules/@babel/types/lib/definitions/core.js +1689 -0
  734. data/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
  735. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
  736. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
  737. data/node_modules/@babel/types/lib/definitions/experimental.js +134 -0
  738. data/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
  739. data/node_modules/@babel/types/lib/definitions/flow.js +488 -0
  740. data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
  741. data/node_modules/@babel/types/lib/definitions/index.js +96 -0
  742. data/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
  743. data/node_modules/@babel/types/lib/definitions/jsx.js +158 -0
  744. data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
  745. data/node_modules/@babel/types/lib/definitions/misc.js +32 -0
  746. data/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
  747. data/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
  748. data/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
  749. data/node_modules/@babel/types/lib/definitions/typescript.js +493 -0
  750. data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
  751. data/node_modules/@babel/types/lib/definitions/utils.js +273 -0
  752. data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
  753. data/node_modules/@babel/types/lib/index-legacy.d.ts +2758 -0
  754. data/node_modules/@babel/types/lib/index.d.ts +3269 -0
  755. data/node_modules/@babel/types/lib/index.js +576 -0
  756. data/node_modules/@babel/types/lib/index.js.flow +2612 -0
  757. data/node_modules/@babel/types/lib/index.js.map +1 -0
  758. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
  759. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
  760. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
  761. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
  762. data/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
  763. data/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
  764. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
  765. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
  766. data/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
  767. data/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
  768. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
  769. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
  770. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +65 -0
  771. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
  772. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +96 -0
  773. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
  774. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
  775. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
  776. data/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
  777. data/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
  778. data/node_modules/@babel/types/lib/traverse/traverseFast.js +26 -0
  779. data/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
  780. data/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
  781. data/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
  782. data/node_modules/@babel/types/lib/utils/inherit.js +13 -0
  783. data/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
  784. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
  785. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
  786. data/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
  787. data/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
  788. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
  789. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
  790. data/node_modules/@babel/types/lib/validators/generated/index.js +2752 -0
  791. data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
  792. data/node_modules/@babel/types/lib/validators/is.js +27 -0
  793. data/node_modules/@babel/types/lib/validators/is.js.map +1 -0
  794. data/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
  795. data/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
  796. data/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
  797. data/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
  798. data/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
  799. data/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
  800. data/node_modules/@babel/types/lib/validators/isLet.js +13 -0
  801. data/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
  802. data/node_modules/@babel/types/lib/validators/isNode.js +12 -0
  803. data/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
  804. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
  805. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
  806. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js +19 -0
  807. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
  808. data/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
  809. data/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
  810. data/node_modules/@babel/types/lib/validators/isScope.js +18 -0
  811. data/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
  812. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
  813. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
  814. data/node_modules/@babel/types/lib/validators/isType.js +22 -0
  815. data/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
  816. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
  817. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
  818. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
  819. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
  820. data/node_modules/@babel/types/lib/validators/isVar.js +15 -0
  821. data/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
  822. data/node_modules/@babel/types/lib/validators/matchesPattern.js +36 -0
  823. data/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
  824. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
  825. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
  826. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
  827. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
  828. data/node_modules/@babel/types/lib/validators/validate.js +30 -0
  829. data/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
  830. data/node_modules/@babel/types/package.json +40 -0
  831. data/node_modules/@codemod/core/LICENSE.txt +202 -0
  832. data/node_modules/@codemod/core/README.md +41 -0
  833. data/node_modules/@codemod/core/build/AllSyntaxPlugin.d.ts +3 -0
  834. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js +20 -0
  835. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js.map +1 -0
  836. data/node_modules/@codemod/core/build/BabelPluginTypes.d.ts +17 -0
  837. data/node_modules/@codemod/core/build/BabelPluginTypes.js +3 -0
  838. data/node_modules/@codemod/core/build/BabelPluginTypes.js.map +1 -0
  839. data/node_modules/@codemod/core/build/RecastPlugin.d.ts +9 -0
  840. data/node_modules/@codemod/core/build/RecastPlugin.js +26 -0
  841. data/node_modules/@codemod/core/build/RecastPlugin.js.map +1 -0
  842. data/node_modules/@codemod/core/build/index.d.ts +1 -0
  843. data/node_modules/@codemod/core/build/index.js +14 -0
  844. data/node_modules/@codemod/core/build/index.js.map +1 -0
  845. data/node_modules/@codemod/core/build/transform.d.ts +7 -0
  846. data/node_modules/@codemod/core/build/transform.js +22 -0
  847. data/node_modules/@codemod/core/build/transform.js.map +1 -0
  848. data/node_modules/@codemod/core/node_modules/.bin/is-ci +1 -0
  849. data/node_modules/@codemod/core/node_modules/.bin/is-ci-cli +1 -0
  850. data/node_modules/@codemod/core/node_modules/.bin/resolve +1 -0
  851. data/node_modules/@codemod/core/package.json +45 -0
  852. data/node_modules/@codemod/parser/LICENSE.txt +202 -0
  853. data/node_modules/@codemod/parser/README.md +33 -0
  854. data/node_modules/@codemod/parser/build/index.d.ts +8 -0
  855. data/node_modules/@codemod/parser/build/index.js +16 -0
  856. data/node_modules/@codemod/parser/build/index.js.map +1 -0
  857. data/node_modules/@codemod/parser/build/options.d.ts +20 -0
  858. data/node_modules/@codemod/parser/build/options.js +180 -0
  859. data/node_modules/@codemod/parser/build/options.js.map +1 -0
  860. data/node_modules/@codemod/parser/node_modules/.bin/parser +1 -0
  861. data/node_modules/@codemod/parser/package.json +38 -0
  862. data/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
  863. data/node_modules/@jridgewell/gen-mapping/README.md +227 -0
  864. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
  865. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
  866. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
  867. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
  868. data/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  869. data/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  870. data/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
  871. data/node_modules/@jridgewell/gen-mapping/package.json +76 -0
  872. data/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  873. data/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  874. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
  875. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  876. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
  877. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  878. data/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  879. data/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  880. data/node_modules/@jridgewell/set-array/LICENSE +19 -0
  881. data/node_modules/@jridgewell/set-array/README.md +37 -0
  882. data/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
  883. data/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
  884. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
  885. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
  886. data/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
  887. data/node_modules/@jridgewell/set-array/package.json +65 -0
  888. data/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  889. data/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
  890. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +164 -0
  891. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  892. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +175 -0
  893. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  894. data/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +6 -0
  895. data/node_modules/@jridgewell/sourcemap-codec/package.json +74 -0
  896. data/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  897. data/node_modules/@jridgewell/trace-mapping/README.md +257 -0
  898. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
  899. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  900. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
  901. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  902. data/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
  903. data/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
  904. data/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
  905. data/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
  906. data/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
  907. data/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  908. data/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
  909. data/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
  910. data/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
  911. data/node_modules/@jridgewell/trace-mapping/package.json +77 -0
  912. data/node_modules/@resugar/codemod-declarations-block-scope/LICENSE +7 -0
  913. data/node_modules/@resugar/codemod-declarations-block-scope/package.json +28 -0
  914. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.d.ts +8 -0
  915. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js +45 -0
  916. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js.map +1 -0
  917. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.d.ts +10 -0
  918. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js +136 -0
  919. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js.map +1 -0
  920. data/node_modules/@resugar/codemod-functions-arrow/LICENSE +7 -0
  921. data/node_modules/@resugar/codemod-functions-arrow/package.json +32 -0
  922. data/node_modules/@resugar/codemod-functions-arrow/src/index.d.ts +2 -0
  923. data/node_modules/@resugar/codemod-functions-arrow/src/index.js +138 -0
  924. data/node_modules/@resugar/codemod-functions-arrow/src/index.js.map +1 -0
  925. data/node_modules/@resugar/codemod-modules-commonjs/LICENSE +7 -0
  926. data/node_modules/@resugar/codemod-modules-commonjs/package.json +33 -0
  927. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.d.ts +28 -0
  928. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js +88 -0
  929. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js.map +1 -0
  930. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.d.ts +8 -0
  931. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js +80 -0
  932. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js.map +1 -0
  933. data/node_modules/@resugar/codemod-modules-commonjs/src/index.d.ts +8 -0
  934. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js +644 -0
  935. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js.map +1 -0
  936. data/node_modules/@resugar/codemod-objects-concise/LICENSE +7 -0
  937. data/node_modules/@resugar/codemod-objects-concise/package.json +28 -0
  938. data/node_modules/@resugar/codemod-objects-concise/src/index.d.ts +2 -0
  939. data/node_modules/@resugar/codemod-objects-concise/src/index.js +26 -0
  940. data/node_modules/@resugar/codemod-objects-concise/src/index.js.map +1 -0
  941. data/node_modules/@resugar/codemod-objects-destructuring/LICENSE +7 -0
  942. data/node_modules/@resugar/codemod-objects-destructuring/package.json +29 -0
  943. data/node_modules/@resugar/codemod-objects-destructuring/src/index.d.ts +2 -0
  944. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js +103 -0
  945. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js.map +1 -0
  946. data/node_modules/@resugar/codemod-objects-shorthand/LICENSE +7 -0
  947. data/node_modules/@resugar/codemod-objects-shorthand/package.json +32 -0
  948. data/node_modules/@resugar/codemod-objects-shorthand/src/index.d.ts +2 -0
  949. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js +26 -0
  950. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js.map +1 -0
  951. data/node_modules/@resugar/codemod-strings-template/LICENSE +7 -0
  952. data/node_modules/@resugar/codemod-strings-template/package.json +30 -0
  953. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.d.ts +5 -0
  954. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js +40 -0
  955. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js.map +1 -0
  956. data/node_modules/@resugar/codemod-strings-template/src/index.d.ts +2 -0
  957. data/node_modules/@resugar/codemod-strings-template/src/index.js +134 -0
  958. data/node_modules/@resugar/codemod-strings-template/src/index.js.map +1 -0
  959. data/node_modules/@resugar/helper-comments/LICENSE +7 -0
  960. data/node_modules/@resugar/helper-comments/package.json +25 -0
  961. data/node_modules/@resugar/helper-comments/src/index.d.ts +16 -0
  962. data/node_modules/@resugar/helper-comments/src/index.js +68 -0
  963. data/node_modules/@resugar/helper-comments/src/index.js.map +1 -0
  964. data/node_modules/add-variable-declarations/LICENSE +7 -0
  965. data/node_modules/add-variable-declarations/README.md +66 -0
  966. data/node_modules/add-variable-declarations/dist/index.d.ts +13 -0
  967. data/node_modules/add-variable-declarations/dist/index.js +498 -0
  968. data/node_modules/add-variable-declarations/dist/index.mjs +463 -0
  969. data/node_modules/add-variable-declarations/package.json +62 -0
  970. data/node_modules/ansi-styles/index.js +165 -0
  971. data/node_modules/ansi-styles/license +9 -0
  972. data/node_modules/ansi-styles/package.json +56 -0
  973. data/node_modules/ansi-styles/readme.md +147 -0
  974. data/node_modules/any-promise/.jshintrc +4 -0
  975. data/node_modules/any-promise/.npmignore +7 -0
  976. data/node_modules/any-promise/LICENSE +19 -0
  977. data/node_modules/any-promise/README.md +161 -0
  978. data/node_modules/any-promise/implementation.d.ts +3 -0
  979. data/node_modules/any-promise/implementation.js +1 -0
  980. data/node_modules/any-promise/index.d.ts +73 -0
  981. data/node_modules/any-promise/index.js +1 -0
  982. data/node_modules/any-promise/loader.js +78 -0
  983. data/node_modules/any-promise/optional.js +6 -0
  984. data/node_modules/any-promise/package.json +45 -0
  985. data/node_modules/any-promise/register/bluebird.d.ts +1 -0
  986. data/node_modules/any-promise/register/bluebird.js +2 -0
  987. data/node_modules/any-promise/register/es6-promise.d.ts +1 -0
  988. data/node_modules/any-promise/register/es6-promise.js +2 -0
  989. data/node_modules/any-promise/register/lie.d.ts +1 -0
  990. data/node_modules/any-promise/register/lie.js +2 -0
  991. data/node_modules/any-promise/register/native-promise-only.d.ts +1 -0
  992. data/node_modules/any-promise/register/native-promise-only.js +2 -0
  993. data/node_modules/any-promise/register/pinkie.d.ts +1 -0
  994. data/node_modules/any-promise/register/pinkie.js +2 -0
  995. data/node_modules/any-promise/register/promise.d.ts +1 -0
  996. data/node_modules/any-promise/register/promise.js +2 -0
  997. data/node_modules/any-promise/register/q.d.ts +1 -0
  998. data/node_modules/any-promise/register/q.js +2 -0
  999. data/node_modules/any-promise/register/rsvp.d.ts +1 -0
  1000. data/node_modules/any-promise/register/rsvp.js +2 -0
  1001. data/node_modules/any-promise/register/vow.d.ts +1 -0
  1002. data/node_modules/any-promise/register/vow.js +2 -0
  1003. data/node_modules/any-promise/register/when.d.ts +1 -0
  1004. data/node_modules/any-promise/register/when.js +2 -0
  1005. data/node_modules/any-promise/register-shim.js +18 -0
  1006. data/node_modules/any-promise/register.d.ts +17 -0
  1007. data/node_modules/any-promise/register.js +94 -0
  1008. data/node_modules/ast-types/.travis.yml +11 -0
  1009. data/node_modules/ast-types/LICENSE +20 -0
  1010. data/node_modules/ast-types/README.md +512 -0
  1011. data/node_modules/ast-types/def/babel-core.d.ts +2 -0
  1012. data/node_modules/ast-types/def/babel-core.js +258 -0
  1013. data/node_modules/ast-types/def/babel.d.ts +2 -0
  1014. data/node_modules/ast-types/def/babel.js +13 -0
  1015. data/node_modules/ast-types/def/core.d.ts +2 -0
  1016. data/node_modules/ast-types/def/core.js +300 -0
  1017. data/node_modules/ast-types/def/es-proposals.d.ts +2 -0
  1018. data/node_modules/ast-types/def/es-proposals.js +35 -0
  1019. data/node_modules/ast-types/def/es2020.d.ts +2 -0
  1020. data/node_modules/ast-types/def/es2020.js +18 -0
  1021. data/node_modules/ast-types/def/es6.d.ts +2 -0
  1022. data/node_modules/ast-types/def/es6.js +212 -0
  1023. data/node_modules/ast-types/def/es7.d.ts +2 -0
  1024. data/node_modules/ast-types/def/es7.js +36 -0
  1025. data/node_modules/ast-types/def/esNext.d.ts +2 -0
  1026. data/node_modules/ast-types/def/esNext.js +57 -0
  1027. data/node_modules/ast-types/def/esprima.d.ts +2 -0
  1028. data/node_modules/ast-types/def/esprima.js +51 -0
  1029. data/node_modules/ast-types/def/flow.d.ts +2 -0
  1030. data/node_modules/ast-types/def/flow.js +294 -0
  1031. data/node_modules/ast-types/def/jsx.d.ts +2 -0
  1032. data/node_modules/ast-types/def/jsx.js +105 -0
  1033. data/node_modules/ast-types/def/type-annotations.d.ts +7 -0
  1034. data/node_modules/ast-types/def/type-annotations.js +42 -0
  1035. data/node_modules/ast-types/def/typescript.d.ts +2 -0
  1036. data/node_modules/ast-types/def/typescript.js +339 -0
  1037. data/node_modules/ast-types/fork.d.ts +42 -0
  1038. data/node_modules/ast-types/fork.js +54 -0
  1039. data/node_modules/ast-types/gen/builders.d.ts +2572 -0
  1040. data/node_modules/ast-types/gen/builders.js +2 -0
  1041. data/node_modules/ast-types/gen/kinds.d.ts +263 -0
  1042. data/node_modules/ast-types/gen/kinds.js +2 -0
  1043. data/node_modules/ast-types/gen/namedTypes.d.ts +1800 -0
  1044. data/node_modules/ast-types/gen/namedTypes.js +5 -0
  1045. data/node_modules/ast-types/gen/nodes.d.ts +1265 -0
  1046. data/node_modules/ast-types/gen/nodes.js +2 -0
  1047. data/node_modules/ast-types/gen/visitor.d.ts +267 -0
  1048. data/node_modules/ast-types/gen/visitor.js +2 -0
  1049. data/node_modules/ast-types/lib/equiv.d.ts +5 -0
  1050. data/node_modules/ast-types/lib/equiv.js +156 -0
  1051. data/node_modules/ast-types/lib/node-path.d.ts +22 -0
  1052. data/node_modules/ast-types/lib/node-path.js +413 -0
  1053. data/node_modules/ast-types/lib/path-visitor.d.ts +52 -0
  1054. data/node_modules/ast-types/lib/path-visitor.js +345 -0
  1055. data/node_modules/ast-types/lib/path.d.ts +25 -0
  1056. data/node_modules/ast-types/lib/path.js +333 -0
  1057. data/node_modules/ast-types/lib/scope.d.ts +26 -0
  1058. data/node_modules/ast-types/lib/scope.js +317 -0
  1059. data/node_modules/ast-types/lib/shared.d.ts +13 -0
  1060. data/node_modules/ast-types/lib/shared.js +49 -0
  1061. data/node_modules/ast-types/lib/types.d.ts +136 -0
  1062. data/node_modules/ast-types/lib/types.js +781 -0
  1063. data/node_modules/ast-types/main.d.ts +28 -0
  1064. data/node_modules/ast-types/main.js +54 -0
  1065. data/node_modules/ast-types/package.json +63 -0
  1066. data/node_modules/ast-types/tsconfig.json +20 -0
  1067. data/node_modules/ast-types/types.d.ts +6 -0
  1068. data/node_modules/ast-types/types.js +2 -0
  1069. data/node_modules/automatic-semicolon-insertion/LICENSE +7 -0
  1070. data/node_modules/automatic-semicolon-insertion/README.md +26 -0
  1071. data/node_modules/automatic-semicolon-insertion/build/index.cjs +216 -0
  1072. data/node_modules/automatic-semicolon-insertion/build/index.d.ts +38 -0
  1073. data/node_modules/automatic-semicolon-insertion/build/index.mjs +192 -0
  1074. data/node_modules/automatic-semicolon-insertion/build/traverse.d.ts +17 -0
  1075. data/node_modules/automatic-semicolon-insertion/package.json +58 -0
  1076. data/node_modules/browserslist/LICENSE +20 -0
  1077. data/node_modules/browserslist/README.md +67 -0
  1078. data/node_modules/browserslist/browser.js +52 -0
  1079. data/node_modules/browserslist/cli.js +156 -0
  1080. data/node_modules/browserslist/error.d.ts +7 -0
  1081. data/node_modules/browserslist/error.js +12 -0
  1082. data/node_modules/browserslist/index.d.ts +201 -0
  1083. data/node_modules/browserslist/index.js +1206 -0
  1084. data/node_modules/browserslist/node.js +420 -0
  1085. data/node_modules/browserslist/node_modules/.bin/update-browserslist-db +1 -0
  1086. data/node_modules/browserslist/package.json +44 -0
  1087. data/node_modules/browserslist/parse.js +78 -0
  1088. data/node_modules/caniuse-lite/LICENSE +395 -0
  1089. data/node_modules/caniuse-lite/README.md +6 -0
  1090. data/node_modules/caniuse-lite/data/agents.js +1 -0
  1091. data/node_modules/caniuse-lite/data/browserVersions.js +1 -0
  1092. data/node_modules/caniuse-lite/data/browsers.js +1 -0
  1093. data/node_modules/caniuse-lite/data/features/aac.js +1 -0
  1094. data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
  1095. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
  1096. data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
  1097. data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
  1098. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
  1099. data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
  1100. data/node_modules/caniuse-lite/data/features/apng.js +1 -0
  1101. data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
  1102. data/node_modules/caniuse-lite/data/features/array-find.js +1 -0
  1103. data/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
  1104. data/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
  1105. data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
  1106. data/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
  1107. data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
  1108. data/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
  1109. data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
  1110. data/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
  1111. data/node_modules/caniuse-lite/data/features/audio.js +1 -0
  1112. data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
  1113. data/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
  1114. data/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
  1115. data/node_modules/caniuse-lite/data/features/av1.js +1 -0
  1116. data/node_modules/caniuse-lite/data/features/avif.js +1 -0
  1117. data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
  1118. data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
  1119. data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
  1120. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
  1121. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
  1122. data/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
  1123. data/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
  1124. data/node_modules/caniuse-lite/data/features/beacon.js +1 -0
  1125. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
  1126. data/node_modules/caniuse-lite/data/features/bigint.js +1 -0
  1127. data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
  1128. data/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
  1129. data/node_modules/caniuse-lite/data/features/border-image.js +1 -0
  1130. data/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
  1131. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
  1132. data/node_modules/caniuse-lite/data/features/brotli.js +1 -0
  1133. data/node_modules/caniuse-lite/data/features/calc.js +1 -0
  1134. data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
  1135. data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
  1136. data/node_modules/caniuse-lite/data/features/canvas.js +1 -0
  1137. data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
  1138. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
  1139. data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
  1140. data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
  1141. data/node_modules/caniuse-lite/data/features/classlist.js +1 -0
  1142. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
  1143. data/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
  1144. data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
  1145. data/node_modules/caniuse-lite/data/features/colr.js +1 -0
  1146. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
  1147. data/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
  1148. data/node_modules/caniuse-lite/data/features/console-time.js +1 -0
  1149. data/node_modules/caniuse-lite/data/features/const.js +1 -0
  1150. data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
  1151. data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
  1152. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
  1153. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
  1154. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
  1155. data/node_modules/caniuse-lite/data/features/cors.js +1 -0
  1156. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
  1157. data/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
  1158. data/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
  1159. data/node_modules/caniuse-lite/data/features/css-all.js +1 -0
  1160. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -0
  1161. data/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
  1162. data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
  1163. data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
  1164. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
  1165. data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
  1166. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
  1167. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
  1168. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
  1169. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
  1170. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
  1171. data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
  1172. data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
  1173. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
  1174. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -0
  1175. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
  1176. data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
  1177. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
  1178. data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
  1179. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
  1180. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -0
  1181. data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
  1182. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -0
  1183. data/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
  1184. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
  1185. data/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
  1186. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
  1187. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
  1188. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
  1189. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
  1190. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
  1191. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
  1192. data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
  1193. data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
  1194. data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
  1195. data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
  1196. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
  1197. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
  1198. data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
  1199. data/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
  1200. data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
  1201. data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
  1202. data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
  1203. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
  1204. data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
  1205. data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
  1206. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
  1207. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
  1208. data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
  1209. data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
  1210. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -0
  1211. data/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
  1212. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
  1213. data/node_modules/caniuse-lite/data/features/css-has.js +1 -0
  1214. data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
  1215. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
  1216. data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
  1217. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
  1218. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
  1219. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
  1220. data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
  1221. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
  1222. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
  1223. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
  1224. data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
  1225. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
  1226. data/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
  1227. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
  1228. data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
  1229. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
  1230. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -0
  1231. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
  1232. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
  1233. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
  1234. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
  1235. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -0
  1236. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
  1237. data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
  1238. data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
  1239. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
  1240. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
  1241. data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
  1242. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
  1243. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
  1244. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
  1245. data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
  1246. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
  1247. data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
  1248. data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
  1249. data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
  1250. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
  1251. data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
  1252. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -0
  1253. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
  1254. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
  1255. data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
  1256. data/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
  1257. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -0
  1258. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
  1259. data/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
  1260. data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
  1261. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
  1262. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
  1263. data/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +1 -0
  1264. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
  1265. data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
  1266. data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
  1267. data/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
  1268. data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
  1269. data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
  1270. data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
  1271. data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
  1272. data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
  1273. data/node_modules/caniuse-lite/data/features/css-table.js +1 -0
  1274. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
  1275. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -0
  1276. data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
  1277. data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
  1278. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
  1279. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
  1280. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -0
  1281. data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
  1282. data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
  1283. data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
  1284. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
  1285. data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
  1286. data/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
  1287. data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
  1288. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
  1289. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
  1290. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
  1291. data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
  1292. data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
  1293. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
  1294. data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
  1295. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
  1296. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
  1297. data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
  1298. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
  1299. data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
  1300. data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
  1301. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
  1302. data/node_modules/caniuse-lite/data/features/customevent.js +1 -0
  1303. data/node_modules/caniuse-lite/data/features/datalist.js +1 -0
  1304. data/node_modules/caniuse-lite/data/features/dataset.js +1 -0
  1305. data/node_modules/caniuse-lite/data/features/datauri.js +1 -0
  1306. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
  1307. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -0
  1308. data/node_modules/caniuse-lite/data/features/decorators.js +1 -0
  1309. data/node_modules/caniuse-lite/data/features/details.js +1 -0
  1310. data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
  1311. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
  1312. data/node_modules/caniuse-lite/data/features/dialog.js +1 -0
  1313. data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
  1314. data/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
  1315. data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
  1316. data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
  1317. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
  1318. data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
  1319. data/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
  1320. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
  1321. data/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
  1322. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
  1323. data/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
  1324. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
  1325. data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
  1326. data/node_modules/caniuse-lite/data/features/download.js +1 -0
  1327. data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
  1328. data/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
  1329. data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
  1330. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
  1331. data/node_modules/caniuse-lite/data/features/eme.js +1 -0
  1332. data/node_modules/caniuse-lite/data/features/eot.js +1 -0
  1333. data/node_modules/caniuse-lite/data/features/es5.js +1 -0
  1334. data/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
  1335. data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
  1336. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
  1337. data/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
  1338. data/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
  1339. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
  1340. data/node_modules/caniuse-lite/data/features/es6.js +1 -0
  1341. data/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
  1342. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
  1343. data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
  1344. data/node_modules/caniuse-lite/data/features/fetch.js +1 -0
  1345. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
  1346. data/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
  1347. data/node_modules/caniuse-lite/data/features/filereader.js +1 -0
  1348. data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
  1349. data/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
  1350. data/node_modules/caniuse-lite/data/features/flac.js +1 -0
  1351. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
  1352. data/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
  1353. data/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
  1354. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
  1355. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
  1356. data/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
  1357. data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
  1358. data/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
  1359. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
  1360. data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
  1361. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
  1362. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
  1363. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
  1364. data/node_modules/caniuse-lite/data/features/fontface.js +1 -0
  1365. data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
  1366. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
  1367. data/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
  1368. data/node_modules/caniuse-lite/data/features/forms.js +1 -0
  1369. data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
  1370. data/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
  1371. data/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
  1372. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
  1373. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
  1374. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
  1375. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
  1376. data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
  1377. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
  1378. data/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
  1379. data/node_modules/caniuse-lite/data/features/heif.js +1 -0
  1380. data/node_modules/caniuse-lite/data/features/hevc.js +1 -0
  1381. data/node_modules/caniuse-lite/data/features/hidden.js +1 -0
  1382. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
  1383. data/node_modules/caniuse-lite/data/features/history.js +1 -0
  1384. data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
  1385. data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
  1386. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
  1387. data/node_modules/caniuse-lite/data/features/http2.js +1 -0
  1388. data/node_modules/caniuse-lite/data/features/http3.js +1 -0
  1389. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
  1390. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
  1391. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
  1392. data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
  1393. data/node_modules/caniuse-lite/data/features/ime.js +1 -0
  1394. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
  1395. data/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
  1396. data/node_modules/caniuse-lite/data/features/imports.js +1 -0
  1397. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
  1398. data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
  1399. data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
  1400. data/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
  1401. data/node_modules/caniuse-lite/data/features/innertext.js +1 -0
  1402. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
  1403. data/node_modules/caniuse-lite/data/features/input-color.js +1 -0
  1404. data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
  1405. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
  1406. data/node_modules/caniuse-lite/data/features/input-event.js +1 -0
  1407. data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
  1408. data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
  1409. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
  1410. data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
  1411. data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
  1412. data/node_modules/caniuse-lite/data/features/input-number.js +1 -0
  1413. data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
  1414. data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
  1415. data/node_modules/caniuse-lite/data/features/input-range.js +1 -0
  1416. data/node_modules/caniuse-lite/data/features/input-search.js +1 -0
  1417. data/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
  1418. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
  1419. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
  1420. data/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
  1421. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
  1422. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
  1423. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
  1424. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
  1425. data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
  1426. data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
  1427. data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
  1428. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
  1429. data/node_modules/caniuse-lite/data/features/json.js +1 -0
  1430. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
  1431. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
  1432. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
  1433. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
  1434. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
  1435. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
  1436. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
  1437. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
  1438. data/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
  1439. data/node_modules/caniuse-lite/data/features/let.js +1 -0
  1440. data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
  1441. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
  1442. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
  1443. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
  1444. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
  1445. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
  1446. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
  1447. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
  1448. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
  1449. data/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
  1450. data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
  1451. data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
  1452. data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
  1453. data/node_modules/caniuse-lite/data/features/mathml.js +1 -0
  1454. data/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
  1455. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -0
  1456. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -0
  1457. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -0
  1458. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -0
  1459. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -0
  1460. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -0
  1461. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -0
  1462. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -0
  1463. data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
  1464. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
  1465. data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
  1466. data/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
  1467. data/node_modules/caniuse-lite/data/features/menu.js +1 -0
  1468. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
  1469. data/node_modules/caniuse-lite/data/features/meter.js +1 -0
  1470. data/node_modules/caniuse-lite/data/features/midi.js +1 -0
  1471. data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
  1472. data/node_modules/caniuse-lite/data/features/mp3.js +1 -0
  1473. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
  1474. data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
  1475. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
  1476. data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
  1477. data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
  1478. data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
  1479. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
  1480. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
  1481. data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
  1482. data/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
  1483. data/node_modules/caniuse-lite/data/features/notifications.js +1 -0
  1484. data/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
  1485. data/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
  1486. data/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
  1487. data/node_modules/caniuse-lite/data/features/object-values.js +1 -0
  1488. data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
  1489. data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
  1490. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
  1491. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
  1492. data/node_modules/caniuse-lite/data/features/ogv.js +1 -0
  1493. data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
  1494. data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
  1495. data/node_modules/caniuse-lite/data/features/online-status.js +1 -0
  1496. data/node_modules/caniuse-lite/data/features/opus.js +1 -0
  1497. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
  1498. data/node_modules/caniuse-lite/data/features/outline.js +1 -0
  1499. data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
  1500. data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
  1501. data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
  1502. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
  1503. data/node_modules/caniuse-lite/data/features/passkeys.js +1 -0
  1504. data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
  1505. data/node_modules/caniuse-lite/data/features/path2d.js +1 -0
  1506. data/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
  1507. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
  1508. data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
  1509. data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
  1510. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
  1511. data/node_modules/caniuse-lite/data/features/picture.js +1 -0
  1512. data/node_modules/caniuse-lite/data/features/ping.js +1 -0
  1513. data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
  1514. data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
  1515. data/node_modules/caniuse-lite/data/features/pointer.js +1 -0
  1516. data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
  1517. data/node_modules/caniuse-lite/data/features/portals.js +1 -0
  1518. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
  1519. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
  1520. data/node_modules/caniuse-lite/data/features/progress.js +1 -0
  1521. data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
  1522. data/node_modules/caniuse-lite/data/features/promises.js +1 -0
  1523. data/node_modules/caniuse-lite/data/features/proximity.js +1 -0
  1524. data/node_modules/caniuse-lite/data/features/proxy.js +1 -0
  1525. data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
  1526. data/node_modules/caniuse-lite/data/features/push-api.js +1 -0
  1527. data/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
  1528. data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
  1529. data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
  1530. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
  1531. data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
  1532. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
  1533. data/node_modules/caniuse-lite/data/features/rellist.js +1 -0
  1534. data/node_modules/caniuse-lite/data/features/rem.js +1 -0
  1535. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
  1536. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
  1537. data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
  1538. data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
  1539. data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
  1540. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
  1541. data/node_modules/caniuse-lite/data/features/ruby.js +1 -0
  1542. data/node_modules/caniuse-lite/data/features/run-in.js +1 -0
  1543. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
  1544. data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
  1545. data/node_modules/caniuse-lite/data/features/script-async.js +1 -0
  1546. data/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
  1547. data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
  1548. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
  1549. data/node_modules/caniuse-lite/data/features/sdch.js +1 -0
  1550. data/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
  1551. data/node_modules/caniuse-lite/data/features/selectlist.js +1 -0
  1552. data/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
  1553. data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
  1554. data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
  1555. data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
  1556. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
  1557. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
  1558. data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
  1559. data/node_modules/caniuse-lite/data/features/sni.js +1 -0
  1560. data/node_modules/caniuse-lite/data/features/spdy.js +1 -0
  1561. data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
  1562. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
  1563. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
  1564. data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
  1565. data/node_modules/caniuse-lite/data/features/srcset.js +1 -0
  1566. data/node_modules/caniuse-lite/data/features/stream.js +1 -0
  1567. data/node_modules/caniuse-lite/data/features/streams.js +1 -0
  1568. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
  1569. data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
  1570. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -0
  1571. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
  1572. data/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
  1573. data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
  1574. data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
  1575. data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
  1576. data/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
  1577. data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
  1578. data/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
  1579. data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
  1580. data/node_modules/caniuse-lite/data/features/svg.js +1 -0
  1581. data/node_modules/caniuse-lite/data/features/sxg.js +1 -0
  1582. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
  1583. data/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
  1584. data/node_modules/caniuse-lite/data/features/template.js +1 -0
  1585. data/node_modules/caniuse-lite/data/features/temporal.js +1 -0
  1586. data/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
  1587. data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
  1588. data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
  1589. data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
  1590. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
  1591. data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
  1592. data/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
  1593. data/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
  1594. data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
  1595. data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
  1596. data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
  1597. data/node_modules/caniuse-lite/data/features/touch.js +1 -0
  1598. data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
  1599. data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
  1600. data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
  1601. data/node_modules/caniuse-lite/data/features/ttf.js +1 -0
  1602. data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
  1603. data/node_modules/caniuse-lite/data/features/u2f.js +1 -0
  1604. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
  1605. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
  1606. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
  1607. data/node_modules/caniuse-lite/data/features/url.js +1 -0
  1608. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
  1609. data/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
  1610. data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
  1611. data/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
  1612. data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
  1613. data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
  1614. data/node_modules/caniuse-lite/data/features/vibration.js +1 -0
  1615. data/node_modules/caniuse-lite/data/features/video.js +1 -0
  1616. data/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
  1617. data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -0
  1618. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
  1619. data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
  1620. data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
  1621. data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
  1622. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -0
  1623. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -0
  1624. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -0
  1625. data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -0
  1626. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -0
  1627. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -0
  1628. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -0
  1629. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -0
  1630. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -0
  1631. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -0
  1632. data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -0
  1633. data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -0
  1634. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -0
  1635. data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -0
  1636. data/node_modules/caniuse-lite/data/features/wasm.js +1 -0
  1637. data/node_modules/caniuse-lite/data/features/wav.js +1 -0
  1638. data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
  1639. data/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
  1640. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
  1641. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
  1642. data/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
  1643. data/node_modules/caniuse-lite/data/features/web-share.js +1 -0
  1644. data/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
  1645. data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -0
  1646. data/node_modules/caniuse-lite/data/features/webgl.js +1 -0
  1647. data/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
  1648. data/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
  1649. data/node_modules/caniuse-lite/data/features/webhid.js +1 -0
  1650. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
  1651. data/node_modules/caniuse-lite/data/features/webm.js +1 -0
  1652. data/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
  1653. data/node_modules/caniuse-lite/data/features/webp.js +1 -0
  1654. data/node_modules/caniuse-lite/data/features/websockets.js +1 -0
  1655. data/node_modules/caniuse-lite/data/features/webtransport.js +1 -0
  1656. data/node_modules/caniuse-lite/data/features/webusb.js +1 -0
  1657. data/node_modules/caniuse-lite/data/features/webvr.js +1 -0
  1658. data/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
  1659. data/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
  1660. data/node_modules/caniuse-lite/data/features/webxr.js +1 -0
  1661. data/node_modules/caniuse-lite/data/features/will-change.js +1 -0
  1662. data/node_modules/caniuse-lite/data/features/woff.js +1 -0
  1663. data/node_modules/caniuse-lite/data/features/woff2.js +1 -0
  1664. data/node_modules/caniuse-lite/data/features/word-break.js +1 -0
  1665. data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
  1666. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
  1667. data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
  1668. data/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
  1669. data/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
  1670. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
  1671. data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
  1672. data/node_modules/caniuse-lite/data/features/zstd.js +1 -0
  1673. data/node_modules/caniuse-lite/data/features.js +1 -0
  1674. data/node_modules/caniuse-lite/data/regions/AD.js +1 -0
  1675. data/node_modules/caniuse-lite/data/regions/AE.js +1 -0
  1676. data/node_modules/caniuse-lite/data/regions/AF.js +1 -0
  1677. data/node_modules/caniuse-lite/data/regions/AG.js +1 -0
  1678. data/node_modules/caniuse-lite/data/regions/AI.js +1 -0
  1679. data/node_modules/caniuse-lite/data/regions/AL.js +1 -0
  1680. data/node_modules/caniuse-lite/data/regions/AM.js +1 -0
  1681. data/node_modules/caniuse-lite/data/regions/AO.js +1 -0
  1682. data/node_modules/caniuse-lite/data/regions/AR.js +1 -0
  1683. data/node_modules/caniuse-lite/data/regions/AS.js +1 -0
  1684. data/node_modules/caniuse-lite/data/regions/AT.js +1 -0
  1685. data/node_modules/caniuse-lite/data/regions/AU.js +1 -0
  1686. data/node_modules/caniuse-lite/data/regions/AW.js +1 -0
  1687. data/node_modules/caniuse-lite/data/regions/AX.js +1 -0
  1688. data/node_modules/caniuse-lite/data/regions/AZ.js +1 -0
  1689. data/node_modules/caniuse-lite/data/regions/BA.js +1 -0
  1690. data/node_modules/caniuse-lite/data/regions/BB.js +1 -0
  1691. data/node_modules/caniuse-lite/data/regions/BD.js +1 -0
  1692. data/node_modules/caniuse-lite/data/regions/BE.js +1 -0
  1693. data/node_modules/caniuse-lite/data/regions/BF.js +1 -0
  1694. data/node_modules/caniuse-lite/data/regions/BG.js +1 -0
  1695. data/node_modules/caniuse-lite/data/regions/BH.js +1 -0
  1696. data/node_modules/caniuse-lite/data/regions/BI.js +1 -0
  1697. data/node_modules/caniuse-lite/data/regions/BJ.js +1 -0
  1698. data/node_modules/caniuse-lite/data/regions/BM.js +1 -0
  1699. data/node_modules/caniuse-lite/data/regions/BN.js +1 -0
  1700. data/node_modules/caniuse-lite/data/regions/BO.js +1 -0
  1701. data/node_modules/caniuse-lite/data/regions/BR.js +1 -0
  1702. data/node_modules/caniuse-lite/data/regions/BS.js +1 -0
  1703. data/node_modules/caniuse-lite/data/regions/BT.js +1 -0
  1704. data/node_modules/caniuse-lite/data/regions/BW.js +1 -0
  1705. data/node_modules/caniuse-lite/data/regions/BY.js +1 -0
  1706. data/node_modules/caniuse-lite/data/regions/BZ.js +1 -0
  1707. data/node_modules/caniuse-lite/data/regions/CA.js +1 -0
  1708. data/node_modules/caniuse-lite/data/regions/CD.js +1 -0
  1709. data/node_modules/caniuse-lite/data/regions/CF.js +1 -0
  1710. data/node_modules/caniuse-lite/data/regions/CG.js +1 -0
  1711. data/node_modules/caniuse-lite/data/regions/CH.js +1 -0
  1712. data/node_modules/caniuse-lite/data/regions/CI.js +1 -0
  1713. data/node_modules/caniuse-lite/data/regions/CK.js +1 -0
  1714. data/node_modules/caniuse-lite/data/regions/CL.js +1 -0
  1715. data/node_modules/caniuse-lite/data/regions/CM.js +1 -0
  1716. data/node_modules/caniuse-lite/data/regions/CN.js +1 -0
  1717. data/node_modules/caniuse-lite/data/regions/CO.js +1 -0
  1718. data/node_modules/caniuse-lite/data/regions/CR.js +1 -0
  1719. data/node_modules/caniuse-lite/data/regions/CU.js +1 -0
  1720. data/node_modules/caniuse-lite/data/regions/CV.js +1 -0
  1721. data/node_modules/caniuse-lite/data/regions/CX.js +1 -0
  1722. data/node_modules/caniuse-lite/data/regions/CY.js +1 -0
  1723. data/node_modules/caniuse-lite/data/regions/CZ.js +1 -0
  1724. data/node_modules/caniuse-lite/data/regions/DE.js +1 -0
  1725. data/node_modules/caniuse-lite/data/regions/DJ.js +1 -0
  1726. data/node_modules/caniuse-lite/data/regions/DK.js +1 -0
  1727. data/node_modules/caniuse-lite/data/regions/DM.js +1 -0
  1728. data/node_modules/caniuse-lite/data/regions/DO.js +1 -0
  1729. data/node_modules/caniuse-lite/data/regions/DZ.js +1 -0
  1730. data/node_modules/caniuse-lite/data/regions/EC.js +1 -0
  1731. data/node_modules/caniuse-lite/data/regions/EE.js +1 -0
  1732. data/node_modules/caniuse-lite/data/regions/EG.js +1 -0
  1733. data/node_modules/caniuse-lite/data/regions/ER.js +1 -0
  1734. data/node_modules/caniuse-lite/data/regions/ES.js +1 -0
  1735. data/node_modules/caniuse-lite/data/regions/ET.js +1 -0
  1736. data/node_modules/caniuse-lite/data/regions/FI.js +1 -0
  1737. data/node_modules/caniuse-lite/data/regions/FJ.js +1 -0
  1738. data/node_modules/caniuse-lite/data/regions/FK.js +1 -0
  1739. data/node_modules/caniuse-lite/data/regions/FM.js +1 -0
  1740. data/node_modules/caniuse-lite/data/regions/FO.js +1 -0
  1741. data/node_modules/caniuse-lite/data/regions/FR.js +1 -0
  1742. data/node_modules/caniuse-lite/data/regions/GA.js +1 -0
  1743. data/node_modules/caniuse-lite/data/regions/GB.js +1 -0
  1744. data/node_modules/caniuse-lite/data/regions/GD.js +1 -0
  1745. data/node_modules/caniuse-lite/data/regions/GE.js +1 -0
  1746. data/node_modules/caniuse-lite/data/regions/GF.js +1 -0
  1747. data/node_modules/caniuse-lite/data/regions/GG.js +1 -0
  1748. data/node_modules/caniuse-lite/data/regions/GH.js +1 -0
  1749. data/node_modules/caniuse-lite/data/regions/GI.js +1 -0
  1750. data/node_modules/caniuse-lite/data/regions/GL.js +1 -0
  1751. data/node_modules/caniuse-lite/data/regions/GM.js +1 -0
  1752. data/node_modules/caniuse-lite/data/regions/GN.js +1 -0
  1753. data/node_modules/caniuse-lite/data/regions/GP.js +1 -0
  1754. data/node_modules/caniuse-lite/data/regions/GQ.js +1 -0
  1755. data/node_modules/caniuse-lite/data/regions/GR.js +1 -0
  1756. data/node_modules/caniuse-lite/data/regions/GT.js +1 -0
  1757. data/node_modules/caniuse-lite/data/regions/GU.js +1 -0
  1758. data/node_modules/caniuse-lite/data/regions/GW.js +1 -0
  1759. data/node_modules/caniuse-lite/data/regions/GY.js +1 -0
  1760. data/node_modules/caniuse-lite/data/regions/HK.js +1 -0
  1761. data/node_modules/caniuse-lite/data/regions/HN.js +1 -0
  1762. data/node_modules/caniuse-lite/data/regions/HR.js +1 -0
  1763. data/node_modules/caniuse-lite/data/regions/HT.js +1 -0
  1764. data/node_modules/caniuse-lite/data/regions/HU.js +1 -0
  1765. data/node_modules/caniuse-lite/data/regions/ID.js +1 -0
  1766. data/node_modules/caniuse-lite/data/regions/IE.js +1 -0
  1767. data/node_modules/caniuse-lite/data/regions/IL.js +1 -0
  1768. data/node_modules/caniuse-lite/data/regions/IM.js +1 -0
  1769. data/node_modules/caniuse-lite/data/regions/IN.js +1 -0
  1770. data/node_modules/caniuse-lite/data/regions/IQ.js +1 -0
  1771. data/node_modules/caniuse-lite/data/regions/IR.js +1 -0
  1772. data/node_modules/caniuse-lite/data/regions/IS.js +1 -0
  1773. data/node_modules/caniuse-lite/data/regions/IT.js +1 -0
  1774. data/node_modules/caniuse-lite/data/regions/JE.js +1 -0
  1775. data/node_modules/caniuse-lite/data/regions/JM.js +1 -0
  1776. data/node_modules/caniuse-lite/data/regions/JO.js +1 -0
  1777. data/node_modules/caniuse-lite/data/regions/JP.js +1 -0
  1778. data/node_modules/caniuse-lite/data/regions/KE.js +1 -0
  1779. data/node_modules/caniuse-lite/data/regions/KG.js +1 -0
  1780. data/node_modules/caniuse-lite/data/regions/KH.js +1 -0
  1781. data/node_modules/caniuse-lite/data/regions/KI.js +1 -0
  1782. data/node_modules/caniuse-lite/data/regions/KM.js +1 -0
  1783. data/node_modules/caniuse-lite/data/regions/KN.js +1 -0
  1784. data/node_modules/caniuse-lite/data/regions/KP.js +1 -0
  1785. data/node_modules/caniuse-lite/data/regions/KR.js +1 -0
  1786. data/node_modules/caniuse-lite/data/regions/KW.js +1 -0
  1787. data/node_modules/caniuse-lite/data/regions/KY.js +1 -0
  1788. data/node_modules/caniuse-lite/data/regions/KZ.js +1 -0
  1789. data/node_modules/caniuse-lite/data/regions/LA.js +1 -0
  1790. data/node_modules/caniuse-lite/data/regions/LB.js +1 -0
  1791. data/node_modules/caniuse-lite/data/regions/LC.js +1 -0
  1792. data/node_modules/caniuse-lite/data/regions/LI.js +1 -0
  1793. data/node_modules/caniuse-lite/data/regions/LK.js +1 -0
  1794. data/node_modules/caniuse-lite/data/regions/LR.js +1 -0
  1795. data/node_modules/caniuse-lite/data/regions/LS.js +1 -0
  1796. data/node_modules/caniuse-lite/data/regions/LT.js +1 -0
  1797. data/node_modules/caniuse-lite/data/regions/LU.js +1 -0
  1798. data/node_modules/caniuse-lite/data/regions/LV.js +1 -0
  1799. data/node_modules/caniuse-lite/data/regions/LY.js +1 -0
  1800. data/node_modules/caniuse-lite/data/regions/MA.js +1 -0
  1801. data/node_modules/caniuse-lite/data/regions/MC.js +1 -0
  1802. data/node_modules/caniuse-lite/data/regions/MD.js +1 -0
  1803. data/node_modules/caniuse-lite/data/regions/ME.js +1 -0
  1804. data/node_modules/caniuse-lite/data/regions/MG.js +1 -0
  1805. data/node_modules/caniuse-lite/data/regions/MH.js +1 -0
  1806. data/node_modules/caniuse-lite/data/regions/MK.js +1 -0
  1807. data/node_modules/caniuse-lite/data/regions/ML.js +1 -0
  1808. data/node_modules/caniuse-lite/data/regions/MM.js +1 -0
  1809. data/node_modules/caniuse-lite/data/regions/MN.js +1 -0
  1810. data/node_modules/caniuse-lite/data/regions/MO.js +1 -0
  1811. data/node_modules/caniuse-lite/data/regions/MP.js +1 -0
  1812. data/node_modules/caniuse-lite/data/regions/MQ.js +1 -0
  1813. data/node_modules/caniuse-lite/data/regions/MR.js +1 -0
  1814. data/node_modules/caniuse-lite/data/regions/MS.js +1 -0
  1815. data/node_modules/caniuse-lite/data/regions/MT.js +1 -0
  1816. data/node_modules/caniuse-lite/data/regions/MU.js +1 -0
  1817. data/node_modules/caniuse-lite/data/regions/MV.js +1 -0
  1818. data/node_modules/caniuse-lite/data/regions/MW.js +1 -0
  1819. data/node_modules/caniuse-lite/data/regions/MX.js +1 -0
  1820. data/node_modules/caniuse-lite/data/regions/MY.js +1 -0
  1821. data/node_modules/caniuse-lite/data/regions/MZ.js +1 -0
  1822. data/node_modules/caniuse-lite/data/regions/NA.js +1 -0
  1823. data/node_modules/caniuse-lite/data/regions/NC.js +1 -0
  1824. data/node_modules/caniuse-lite/data/regions/NE.js +1 -0
  1825. data/node_modules/caniuse-lite/data/regions/NF.js +1 -0
  1826. data/node_modules/caniuse-lite/data/regions/NG.js +1 -0
  1827. data/node_modules/caniuse-lite/data/regions/NI.js +1 -0
  1828. data/node_modules/caniuse-lite/data/regions/NL.js +1 -0
  1829. data/node_modules/caniuse-lite/data/regions/NO.js +1 -0
  1830. data/node_modules/caniuse-lite/data/regions/NP.js +1 -0
  1831. data/node_modules/caniuse-lite/data/regions/NR.js +1 -0
  1832. data/node_modules/caniuse-lite/data/regions/NU.js +1 -0
  1833. data/node_modules/caniuse-lite/data/regions/NZ.js +1 -0
  1834. data/node_modules/caniuse-lite/data/regions/OM.js +1 -0
  1835. data/node_modules/caniuse-lite/data/regions/PA.js +1 -0
  1836. data/node_modules/caniuse-lite/data/regions/PE.js +1 -0
  1837. data/node_modules/caniuse-lite/data/regions/PF.js +1 -0
  1838. data/node_modules/caniuse-lite/data/regions/PG.js +1 -0
  1839. data/node_modules/caniuse-lite/data/regions/PH.js +1 -0
  1840. data/node_modules/caniuse-lite/data/regions/PK.js +1 -0
  1841. data/node_modules/caniuse-lite/data/regions/PL.js +1 -0
  1842. data/node_modules/caniuse-lite/data/regions/PM.js +1 -0
  1843. data/node_modules/caniuse-lite/data/regions/PN.js +1 -0
  1844. data/node_modules/caniuse-lite/data/regions/PR.js +1 -0
  1845. data/node_modules/caniuse-lite/data/regions/PS.js +1 -0
  1846. data/node_modules/caniuse-lite/data/regions/PT.js +1 -0
  1847. data/node_modules/caniuse-lite/data/regions/PW.js +1 -0
  1848. data/node_modules/caniuse-lite/data/regions/PY.js +1 -0
  1849. data/node_modules/caniuse-lite/data/regions/QA.js +1 -0
  1850. data/node_modules/caniuse-lite/data/regions/RE.js +1 -0
  1851. data/node_modules/caniuse-lite/data/regions/RO.js +1 -0
  1852. data/node_modules/caniuse-lite/data/regions/RS.js +1 -0
  1853. data/node_modules/caniuse-lite/data/regions/RU.js +1 -0
  1854. data/node_modules/caniuse-lite/data/regions/RW.js +1 -0
  1855. data/node_modules/caniuse-lite/data/regions/SA.js +1 -0
  1856. data/node_modules/caniuse-lite/data/regions/SB.js +1 -0
  1857. data/node_modules/caniuse-lite/data/regions/SC.js +1 -0
  1858. data/node_modules/caniuse-lite/data/regions/SD.js +1 -0
  1859. data/node_modules/caniuse-lite/data/regions/SE.js +1 -0
  1860. data/node_modules/caniuse-lite/data/regions/SG.js +1 -0
  1861. data/node_modules/caniuse-lite/data/regions/SH.js +1 -0
  1862. data/node_modules/caniuse-lite/data/regions/SI.js +1 -0
  1863. data/node_modules/caniuse-lite/data/regions/SK.js +1 -0
  1864. data/node_modules/caniuse-lite/data/regions/SL.js +1 -0
  1865. data/node_modules/caniuse-lite/data/regions/SM.js +1 -0
  1866. data/node_modules/caniuse-lite/data/regions/SN.js +1 -0
  1867. data/node_modules/caniuse-lite/data/regions/SO.js +1 -0
  1868. data/node_modules/caniuse-lite/data/regions/SR.js +1 -0
  1869. data/node_modules/caniuse-lite/data/regions/ST.js +1 -0
  1870. data/node_modules/caniuse-lite/data/regions/SV.js +1 -0
  1871. data/node_modules/caniuse-lite/data/regions/SY.js +1 -0
  1872. data/node_modules/caniuse-lite/data/regions/SZ.js +1 -0
  1873. data/node_modules/caniuse-lite/data/regions/TC.js +1 -0
  1874. data/node_modules/caniuse-lite/data/regions/TD.js +1 -0
  1875. data/node_modules/caniuse-lite/data/regions/TG.js +1 -0
  1876. data/node_modules/caniuse-lite/data/regions/TH.js +1 -0
  1877. data/node_modules/caniuse-lite/data/regions/TJ.js +1 -0
  1878. data/node_modules/caniuse-lite/data/regions/TK.js +1 -0
  1879. data/node_modules/caniuse-lite/data/regions/TL.js +1 -0
  1880. data/node_modules/caniuse-lite/data/regions/TM.js +1 -0
  1881. data/node_modules/caniuse-lite/data/regions/TN.js +1 -0
  1882. data/node_modules/caniuse-lite/data/regions/TO.js +1 -0
  1883. data/node_modules/caniuse-lite/data/regions/TR.js +1 -0
  1884. data/node_modules/caniuse-lite/data/regions/TT.js +1 -0
  1885. data/node_modules/caniuse-lite/data/regions/TV.js +1 -0
  1886. data/node_modules/caniuse-lite/data/regions/TW.js +1 -0
  1887. data/node_modules/caniuse-lite/data/regions/TZ.js +1 -0
  1888. data/node_modules/caniuse-lite/data/regions/UA.js +1 -0
  1889. data/node_modules/caniuse-lite/data/regions/UG.js +1 -0
  1890. data/node_modules/caniuse-lite/data/regions/US.js +1 -0
  1891. data/node_modules/caniuse-lite/data/regions/UY.js +1 -0
  1892. data/node_modules/caniuse-lite/data/regions/UZ.js +1 -0
  1893. data/node_modules/caniuse-lite/data/regions/VA.js +1 -0
  1894. data/node_modules/caniuse-lite/data/regions/VC.js +1 -0
  1895. data/node_modules/caniuse-lite/data/regions/VE.js +1 -0
  1896. data/node_modules/caniuse-lite/data/regions/VG.js +1 -0
  1897. data/node_modules/caniuse-lite/data/regions/VI.js +1 -0
  1898. data/node_modules/caniuse-lite/data/regions/VN.js +1 -0
  1899. data/node_modules/caniuse-lite/data/regions/VU.js +1 -0
  1900. data/node_modules/caniuse-lite/data/regions/WF.js +1 -0
  1901. data/node_modules/caniuse-lite/data/regions/WS.js +1 -0
  1902. data/node_modules/caniuse-lite/data/regions/YE.js +1 -0
  1903. data/node_modules/caniuse-lite/data/regions/YT.js +1 -0
  1904. data/node_modules/caniuse-lite/data/regions/ZA.js +1 -0
  1905. data/node_modules/caniuse-lite/data/regions/ZM.js +1 -0
  1906. data/node_modules/caniuse-lite/data/regions/ZW.js +1 -0
  1907. data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -0
  1908. data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -0
  1909. data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -0
  1910. data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -0
  1911. data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -0
  1912. data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -0
  1913. data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -0
  1914. data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -0
  1915. data/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
  1916. data/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
  1917. data/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
  1918. data/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
  1919. data/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
  1920. data/node_modules/caniuse-lite/dist/unpacker/feature.js +52 -0
  1921. data/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
  1922. data/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
  1923. data/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
  1924. data/node_modules/caniuse-lite/package.json +34 -0
  1925. data/node_modules/chalk/index.js +228 -0
  1926. data/node_modules/chalk/index.js.flow +93 -0
  1927. data/node_modules/chalk/license +9 -0
  1928. data/node_modules/chalk/package.json +71 -0
  1929. data/node_modules/chalk/readme.md +314 -0
  1930. data/node_modules/chalk/templates.js +128 -0
  1931. data/node_modules/chalk/types/index.d.ts +97 -0
  1932. data/node_modules/ci-info/CHANGELOG.md +78 -0
  1933. data/node_modules/ci-info/LICENSE +21 -0
  1934. data/node_modules/ci-info/README.md +108 -0
  1935. data/node_modules/ci-info/index.js +66 -0
  1936. data/node_modules/ci-info/package.json +36 -0
  1937. data/node_modules/ci-info/vendors.json +153 -0
  1938. data/node_modules/coffee-lex/LICENSE +7 -0
  1939. data/node_modules/coffee-lex/README.md +144 -0
  1940. data/node_modules/coffee-lex/dist/index.d.ts +313 -0
  1941. data/node_modules/coffee-lex/dist/index.js +1565 -0
  1942. data/node_modules/coffee-lex/dist/index.mjs +1530 -0
  1943. data/node_modules/coffee-lex/package.json +81 -0
  1944. data/node_modules/color-convert/CHANGELOG.md +54 -0
  1945. data/node_modules/color-convert/LICENSE +21 -0
  1946. data/node_modules/color-convert/README.md +68 -0
  1947. data/node_modules/color-convert/conversions.js +868 -0
  1948. data/node_modules/color-convert/index.js +78 -0
  1949. data/node_modules/color-convert/package.json +46 -0
  1950. data/node_modules/color-convert/route.js +97 -0
  1951. data/node_modules/color-name/.eslintrc.json +43 -0
  1952. data/node_modules/color-name/.npmignore +107 -0
  1953. data/node_modules/color-name/LICENSE +8 -0
  1954. data/node_modules/color-name/README.md +11 -0
  1955. data/node_modules/color-name/index.js +152 -0
  1956. data/node_modules/color-name/package.json +25 -0
  1957. data/node_modules/color-name/test.js +7 -0
  1958. data/node_modules/convert-source-map/LICENSE +23 -0
  1959. data/node_modules/convert-source-map/README.md +206 -0
  1960. data/node_modules/convert-source-map/index.js +233 -0
  1961. data/node_modules/convert-source-map/package.json +38 -0
  1962. data/node_modules/cross-spawn/CHANGELOG.md +130 -0
  1963. data/node_modules/cross-spawn/LICENSE +21 -0
  1964. data/node_modules/cross-spawn/README.md +96 -0
  1965. data/node_modules/cross-spawn/index.js +39 -0
  1966. data/node_modules/cross-spawn/lib/enoent.js +59 -0
  1967. data/node_modules/cross-spawn/lib/parse.js +91 -0
  1968. data/node_modules/cross-spawn/lib/util/escape.js +45 -0
  1969. data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  1970. data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  1971. data/node_modules/cross-spawn/node_modules/.bin/node-which +1 -0
  1972. data/node_modules/cross-spawn/package.json +73 -0
  1973. data/node_modules/debug/LICENSE +20 -0
  1974. data/node_modules/debug/README.md +481 -0
  1975. data/node_modules/debug/package.json +60 -0
  1976. data/node_modules/debug/src/browser.js +269 -0
  1977. data/node_modules/debug/src/common.js +274 -0
  1978. data/node_modules/debug/src/index.js +10 -0
  1979. data/node_modules/debug/src/node.js +263 -0
  1980. data/node_modules/decaffeinate/LICENSE +7 -0
  1981. data/node_modules/decaffeinate/README.md +196 -0
  1982. data/node_modules/decaffeinate/bin/decaffeinate +3 -0
  1983. data/node_modules/decaffeinate/dist/index.d.ts +72 -0
  1984. data/node_modules/decaffeinate/dist/index.js +10542 -0
  1985. data/node_modules/decaffeinate/dist/index.mjs +10582 -0
  1986. data/node_modules/decaffeinate/node_modules/.bin/cake +1 -0
  1987. data/node_modules/decaffeinate/node_modules/.bin/coffee +1 -0
  1988. data/node_modules/decaffeinate/node_modules/.bin/is-ci +1 -0
  1989. data/node_modules/decaffeinate/node_modules/.bin/is-ci-cli +1 -0
  1990. data/node_modules/decaffeinate/package.json +133 -0
  1991. data/node_modules/decaffeinate-coffeescript/LICENSE +22 -0
  1992. data/node_modules/decaffeinate-coffeescript/README.md +47 -0
  1993. data/node_modules/decaffeinate-coffeescript/bin/cake +18 -0
  1994. data/node_modules/decaffeinate-coffeescript/bin/coffee +18 -0
  1995. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/browser.js +132 -0
  1996. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/cake.js +114 -0
  1997. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.d.ts +60 -0
  1998. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.js +331 -0
  1999. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/command.js +610 -0
  2000. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/grammar.js +816 -0
  2001. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/helpers.js +249 -0
  2002. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/index.js +29 -0
  2003. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.d.ts +83 -0
  2004. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.js +1166 -0
  2005. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.d.ts +791 -0
  2006. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.js +3899 -0
  2007. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/optparse.js +139 -0
  2008. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/parser.js +887 -0
  2009. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/register.js +66 -0
  2010. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/repl.js +203 -0
  2011. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/rewriter.js +537 -0
  2012. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.d.ts +3 -0
  2013. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.js +165 -0
  2014. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.d.ts +13 -0
  2015. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.js +161 -0
  2016. data/node_modules/decaffeinate-coffeescript/package.json +49 -0
  2017. data/node_modules/decaffeinate-coffeescript/register.js +1 -0
  2018. data/node_modules/decaffeinate-coffeescript/repl.js +1 -0
  2019. data/node_modules/decaffeinate-coffeescript2/LICENSE +22 -0
  2020. data/node_modules/decaffeinate-coffeescript2/README.md +47 -0
  2021. data/node_modules/decaffeinate-coffeescript2/bin/cake +25 -0
  2022. data/node_modules/decaffeinate-coffeescript2/bin/coffee +25 -0
  2023. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/browser.js +140 -0
  2024. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/cake.js +135 -0
  2025. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.d.ts +60 -0
  2026. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.js +306 -0
  2027. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/command.js +719 -0
  2028. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/grammar.js +2130 -0
  2029. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/helpers.js +333 -0
  2030. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/index.js +209 -0
  2031. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.d.ts +83 -0
  2032. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.js +1703 -0
  2033. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.d.ts +809 -0
  2034. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.js +5974 -0
  2035. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/optparse.js +230 -0
  2036. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/parser.js +1108 -0
  2037. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/register.js +85 -0
  2038. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/repl.js +296 -0
  2039. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/rewriter.js +1014 -0
  2040. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.d.ts +3 -0
  2041. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.js +187 -0
  2042. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.d.ts +13 -0
  2043. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.js +211 -0
  2044. data/node_modules/decaffeinate-coffeescript2/package.json +56 -0
  2045. data/node_modules/decaffeinate-coffeescript2/register.js +1 -0
  2046. data/node_modules/decaffeinate-coffeescript2/repl.js +1 -0
  2047. data/node_modules/decaffeinate-parser/LICENSE +7 -0
  2048. data/node_modules/decaffeinate-parser/README.md +34 -0
  2049. data/node_modules/decaffeinate-parser/dist/index.d.ts +644 -0
  2050. data/node_modules/decaffeinate-parser/dist/index.js +3458 -0
  2051. data/node_modules/decaffeinate-parser/dist/index.mjs +3557 -0
  2052. data/node_modules/decaffeinate-parser/node_modules/.bin/cake +1 -0
  2053. data/node_modules/decaffeinate-parser/node_modules/.bin/coffee +1 -0
  2054. data/node_modules/decaffeinate-parser/package.json +93 -0
  2055. data/node_modules/detect-indent/index.js +120 -0
  2056. data/node_modules/detect-indent/license +21 -0
  2057. data/node_modules/detect-indent/package.json +46 -0
  2058. data/node_modules/detect-indent/readme.md +110 -0
  2059. data/node_modules/electron-to-chromium/LICENSE +5 -0
  2060. data/node_modules/electron-to-chromium/README.md +186 -0
  2061. data/node_modules/electron-to-chromium/chromium-versions.js +66 -0
  2062. data/node_modules/electron-to-chromium/chromium-versions.json +1 -0
  2063. data/node_modules/electron-to-chromium/full-chromium-versions.js +3308 -0
  2064. data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
  2065. data/node_modules/electron-to-chromium/full-versions.js +2404 -0
  2066. data/node_modules/electron-to-chromium/full-versions.json +1 -0
  2067. data/node_modules/electron-to-chromium/index.js +36 -0
  2068. data/node_modules/electron-to-chromium/package.json +44 -0
  2069. data/node_modules/electron-to-chromium/versions.js +157 -0
  2070. data/node_modules/electron-to-chromium/versions.json +1 -0
  2071. data/node_modules/escalade/dist/index.js +22 -0
  2072. data/node_modules/escalade/dist/index.mjs +22 -0
  2073. data/node_modules/escalade/index.d.ts +3 -0
  2074. data/node_modules/escalade/license +9 -0
  2075. data/node_modules/escalade/package.json +63 -0
  2076. data/node_modules/escalade/readme.md +211 -0
  2077. data/node_modules/escalade/sync/index.d.ts +2 -0
  2078. data/node_modules/escalade/sync/index.js +18 -0
  2079. data/node_modules/escalade/sync/index.mjs +18 -0
  2080. data/node_modules/escape-string-regexp/index.js +11 -0
  2081. data/node_modules/escape-string-regexp/license +21 -0
  2082. data/node_modules/escape-string-regexp/package.json +41 -0
  2083. data/node_modules/escape-string-regexp/readme.md +27 -0
  2084. data/node_modules/esprima/ChangeLog +235 -0
  2085. data/node_modules/esprima/LICENSE.BSD +21 -0
  2086. data/node_modules/esprima/README.md +46 -0
  2087. data/node_modules/esprima/bin/esparse.js +139 -0
  2088. data/node_modules/esprima/bin/esvalidate.js +236 -0
  2089. data/node_modules/esprima/dist/esprima.js +6709 -0
  2090. data/node_modules/esprima/package.json +112 -0
  2091. data/node_modules/function-bind/.eslintrc +21 -0
  2092. data/node_modules/function-bind/.github/FUNDING.yml +12 -0
  2093. data/node_modules/function-bind/.github/SECURITY.md +3 -0
  2094. data/node_modules/function-bind/.nycrc +13 -0
  2095. data/node_modules/function-bind/CHANGELOG.md +136 -0
  2096. data/node_modules/function-bind/LICENSE +20 -0
  2097. data/node_modules/function-bind/README.md +46 -0
  2098. data/node_modules/function-bind/implementation.js +84 -0
  2099. data/node_modules/function-bind/index.js +5 -0
  2100. data/node_modules/function-bind/package.json +87 -0
  2101. data/node_modules/function-bind/test/.eslintrc +9 -0
  2102. data/node_modules/function-bind/test/index.js +252 -0
  2103. data/node_modules/gensync/LICENSE +7 -0
  2104. data/node_modules/gensync/README.md +196 -0
  2105. data/node_modules/gensync/index.js +373 -0
  2106. data/node_modules/gensync/index.js.flow +32 -0
  2107. data/node_modules/gensync/package.json +37 -0
  2108. data/node_modules/gensync/test/.babelrc +5 -0
  2109. data/node_modules/gensync/test/index.test.js +489 -0
  2110. data/node_modules/globals/globals.json +1563 -0
  2111. data/node_modules/globals/index.js +2 -0
  2112. data/node_modules/globals/license +9 -0
  2113. data/node_modules/globals/package.json +41 -0
  2114. data/node_modules/globals/readme.md +41 -0
  2115. data/node_modules/has-flag/index.js +8 -0
  2116. data/node_modules/has-flag/license +9 -0
  2117. data/node_modules/has-flag/package.json +44 -0
  2118. data/node_modules/has-flag/readme.md +70 -0
  2119. data/node_modules/hasown/.eslintrc +5 -0
  2120. data/node_modules/hasown/.github/FUNDING.yml +12 -0
  2121. data/node_modules/hasown/.nycrc +13 -0
  2122. data/node_modules/hasown/CHANGELOG.md +40 -0
  2123. data/node_modules/hasown/LICENSE +21 -0
  2124. data/node_modules/hasown/README.md +40 -0
  2125. data/node_modules/hasown/index.d.ts +3 -0
  2126. data/node_modules/hasown/index.js +8 -0
  2127. data/node_modules/hasown/package.json +92 -0
  2128. data/node_modules/hasown/tsconfig.json +6 -0
  2129. data/node_modules/is-ci/CHANGELOG.md +14 -0
  2130. data/node_modules/is-ci/LICENSE +21 -0
  2131. data/node_modules/is-ci/README.md +50 -0
  2132. data/node_modules/is-ci/bin.js +4 -0
  2133. data/node_modules/is-ci/index.js +3 -0
  2134. data/node_modules/is-ci/package.json +38 -0
  2135. data/node_modules/is-ci-cli/LICENSE +21 -0
  2136. data/node_modules/is-ci-cli/README.md +29 -0
  2137. data/node_modules/is-ci-cli/cli.js +46 -0
  2138. data/node_modules/is-ci-cli/node_modules/.bin/is-ci +1 -0
  2139. data/node_modules/is-ci-cli/package.json +39 -0
  2140. data/node_modules/is-core-module/.eslintrc +18 -0
  2141. data/node_modules/is-core-module/.nycrc +9 -0
  2142. data/node_modules/is-core-module/CHANGELOG.md +180 -0
  2143. data/node_modules/is-core-module/LICENSE +20 -0
  2144. data/node_modules/is-core-module/README.md +40 -0
  2145. data/node_modules/is-core-module/core.json +158 -0
  2146. data/node_modules/is-core-module/index.js +69 -0
  2147. data/node_modules/is-core-module/package.json +73 -0
  2148. data/node_modules/is-core-module/test/index.js +133 -0
  2149. data/node_modules/is-finite/index.js +5 -0
  2150. data/node_modules/is-finite/license +9 -0
  2151. data/node_modules/is-finite/package.json +34 -0
  2152. data/node_modules/is-finite/readme.md +33 -0
  2153. data/node_modules/isexe/.npmignore +2 -0
  2154. data/node_modules/isexe/LICENSE +15 -0
  2155. data/node_modules/isexe/README.md +51 -0
  2156. data/node_modules/isexe/index.js +57 -0
  2157. data/node_modules/isexe/mode.js +41 -0
  2158. data/node_modules/isexe/package.json +31 -0
  2159. data/node_modules/isexe/test/basic.js +221 -0
  2160. data/node_modules/isexe/windows.js +42 -0
  2161. data/node_modules/js-tokens/CHANGELOG.md +151 -0
  2162. data/node_modules/js-tokens/LICENSE +21 -0
  2163. data/node_modules/js-tokens/README.md +240 -0
  2164. data/node_modules/js-tokens/index.js +23 -0
  2165. data/node_modules/js-tokens/package.json +30 -0
  2166. data/node_modules/jsesc/LICENSE-MIT.txt +20 -0
  2167. data/node_modules/jsesc/README.md +421 -0
  2168. data/node_modules/jsesc/bin/jsesc +148 -0
  2169. data/node_modules/jsesc/jsesc.js +329 -0
  2170. data/node_modules/jsesc/man/jsesc.1 +94 -0
  2171. data/node_modules/jsesc/package.json +54 -0
  2172. data/node_modules/json5/LICENSE.md +23 -0
  2173. data/node_modules/json5/README.md +282 -0
  2174. data/node_modules/json5/dist/index.js +1737 -0
  2175. data/node_modules/json5/dist/index.min.js +1 -0
  2176. data/node_modules/json5/dist/index.min.mjs +1 -0
  2177. data/node_modules/json5/dist/index.mjs +1426 -0
  2178. data/node_modules/json5/lib/cli.js +152 -0
  2179. data/node_modules/json5/lib/index.d.ts +4 -0
  2180. data/node_modules/json5/lib/index.js +9 -0
  2181. data/node_modules/json5/lib/parse.d.ts +15 -0
  2182. data/node_modules/json5/lib/parse.js +1114 -0
  2183. data/node_modules/json5/lib/register.js +13 -0
  2184. data/node_modules/json5/lib/require.js +4 -0
  2185. data/node_modules/json5/lib/stringify.d.ts +89 -0
  2186. data/node_modules/json5/lib/stringify.js +261 -0
  2187. data/node_modules/json5/lib/unicode.d.ts +3 -0
  2188. data/node_modules/json5/lib/unicode.js +4 -0
  2189. data/node_modules/json5/lib/util.d.ts +5 -0
  2190. data/node_modules/json5/lib/util.js +35 -0
  2191. data/node_modules/json5/package.json +72 -0
  2192. data/node_modules/lines-and-columns/LICENSE +21 -0
  2193. data/node_modules/lines-and-columns/README.md +33 -0
  2194. data/node_modules/lines-and-columns/build/index.cjs +61 -0
  2195. data/node_modules/lines-and-columns/build/index.d.ts +12 -0
  2196. data/node_modules/lines-and-columns/build/index.mjs +58 -0
  2197. data/node_modules/lines-and-columns/package.json +61 -0
  2198. data/node_modules/lru-cache/LICENSE +15 -0
  2199. data/node_modules/lru-cache/README.md +166 -0
  2200. data/node_modules/lru-cache/index.js +334 -0
  2201. data/node_modules/lru-cache/package.json +32 -0
  2202. data/node_modules/magic-string/LICENSE +7 -0
  2203. data/node_modules/magic-string/README.md +304 -0
  2204. data/node_modules/magic-string/dist/magic-string.cjs.d.ts +268 -0
  2205. data/node_modules/magic-string/dist/magic-string.cjs.js +1547 -0
  2206. data/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -0
  2207. data/node_modules/magic-string/dist/magic-string.es.d.mts +268 -0
  2208. data/node_modules/magic-string/dist/magic-string.es.mjs +1541 -0
  2209. data/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  2210. data/node_modules/magic-string/dist/magic-string.umd.js +1639 -0
  2211. data/node_modules/magic-string/dist/magic-string.umd.js.map +1 -0
  2212. data/node_modules/magic-string/package.json +63 -0
  2213. data/node_modules/ms/index.js +162 -0
  2214. data/node_modules/ms/license.md +21 -0
  2215. data/node_modules/ms/package.json +37 -0
  2216. data/node_modules/ms/readme.md +60 -0
  2217. data/node_modules/mz/HISTORY.md +66 -0
  2218. data/node_modules/mz/LICENSE +22 -0
  2219. data/node_modules/mz/README.md +106 -0
  2220. data/node_modules/mz/child_process.js +8 -0
  2221. data/node_modules/mz/crypto.js +9 -0
  2222. data/node_modules/mz/dns.js +16 -0
  2223. data/node_modules/mz/fs.js +62 -0
  2224. data/node_modules/mz/index.js +8 -0
  2225. data/node_modules/mz/package.json +44 -0
  2226. data/node_modules/mz/readline.js +64 -0
  2227. data/node_modules/mz/zlib.js +13 -0
  2228. data/node_modules/node-releases/LICENSE +21 -0
  2229. data/node_modules/node-releases/README.md +12 -0
  2230. data/node_modules/node-releases/data/processed/envs.json +1 -0
  2231. data/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
  2232. data/node_modules/node-releases/package.json +19 -0
  2233. data/node_modules/object-assign/index.js +90 -0
  2234. data/node_modules/object-assign/license +21 -0
  2235. data/node_modules/object-assign/package.json +42 -0
  2236. data/node_modules/object-assign/readme.md +61 -0
  2237. data/node_modules/path-key/index.d.ts +40 -0
  2238. data/node_modules/path-key/index.js +16 -0
  2239. data/node_modules/path-key/license +9 -0
  2240. data/node_modules/path-key/package.json +39 -0
  2241. data/node_modules/path-key/readme.md +61 -0
  2242. data/node_modules/path-parse/LICENSE +21 -0
  2243. data/node_modules/path-parse/README.md +42 -0
  2244. data/node_modules/path-parse/index.js +75 -0
  2245. data/node_modules/path-parse/package.json +33 -0
  2246. data/node_modules/picocolors/LICENSE +15 -0
  2247. data/node_modules/picocolors/README.md +21 -0
  2248. data/node_modules/picocolors/package.json +25 -0
  2249. data/node_modules/picocolors/picocolors.browser.js +4 -0
  2250. data/node_modules/picocolors/picocolors.d.ts +5 -0
  2251. data/node_modules/picocolors/picocolors.js +65 -0
  2252. data/node_modules/picocolors/types.ts +30 -0
  2253. data/node_modules/private/LICENSE +20 -0
  2254. data/node_modules/private/README.md +245 -0
  2255. data/node_modules/private/package.json +39 -0
  2256. data/node_modules/private/private.js +129 -0
  2257. data/node_modules/recast/.editorconfig +2 -0
  2258. data/node_modules/recast/.node-version +1 -0
  2259. data/node_modules/recast/.travis.yml +20 -0
  2260. data/node_modules/recast/LICENSE +20 -0
  2261. data/node_modules/recast/README.md +208 -0
  2262. data/node_modules/recast/example/add-braces +44 -0
  2263. data/node_modules/recast/example/generic-identity +17 -0
  2264. data/node_modules/recast/example/identity +8 -0
  2265. data/node_modules/recast/example/to-while +84 -0
  2266. data/node_modules/recast/lib/comments.d.ts +2 -0
  2267. data/node_modules/recast/lib/comments.js +308 -0
  2268. data/node_modules/recast/lib/fast-path.d.ts +25 -0
  2269. data/node_modules/recast/lib/fast-path.js +545 -0
  2270. data/node_modules/recast/lib/lines.d.ts +62 -0
  2271. data/node_modules/recast/lib/lines.js +666 -0
  2272. data/node_modules/recast/lib/mapping.d.ts +15 -0
  2273. data/node_modules/recast/lib/mapping.js +202 -0
  2274. data/node_modules/recast/lib/options.d.ts +148 -0
  2275. data/node_modules/recast/lib/options.js +56 -0
  2276. data/node_modules/recast/lib/parser.d.ts +2 -0
  2277. data/node_modules/recast/lib/parser.js +257 -0
  2278. data/node_modules/recast/lib/patcher.d.ts +12 -0
  2279. data/node_modules/recast/lib/patcher.js +400 -0
  2280. data/node_modules/recast/lib/printer.d.ts +14 -0
  2281. data/node_modules/recast/lib/printer.js +2262 -0
  2282. data/node_modules/recast/lib/util.d.ts +16 -0
  2283. data/node_modules/recast/lib/util.js +339 -0
  2284. data/node_modules/recast/main.d.ts +50 -0
  2285. data/node_modules/recast/main.js +73 -0
  2286. data/node_modules/recast/node_modules/.bin/esparse +1 -0
  2287. data/node_modules/recast/node_modules/.bin/esvalidate +1 -0
  2288. data/node_modules/recast/package.json +62 -0
  2289. data/node_modules/recast/parsers/_babel_options.d.ts +8 -0
  2290. data/node_modules/recast/parsers/_babel_options.js +42 -0
  2291. data/node_modules/recast/parsers/acorn.d.ts +1 -0
  2292. data/node_modules/recast/parsers/acorn.js +33 -0
  2293. data/node_modules/recast/parsers/babel.d.ts +8 -0
  2294. data/node_modules/recast/parsers/babel.js +30 -0
  2295. data/node_modules/recast/parsers/babylon.d.ts +1 -0
  2296. data/node_modules/recast/parsers/babylon.js +6 -0
  2297. data/node_modules/recast/parsers/esprima.d.ts +1 -0
  2298. data/node_modules/recast/parsers/esprima.js +29 -0
  2299. data/node_modules/recast/parsers/flow.d.ts +2 -0
  2300. data/node_modules/recast/parsers/flow.js +21 -0
  2301. data/node_modules/recast/parsers/typescript.d.ts +2 -0
  2302. data/node_modules/recast/parsers/typescript.js +21 -0
  2303. data/node_modules/recast/tsconfig.json +20 -0
  2304. data/node_modules/repeating/index.js +24 -0
  2305. data/node_modules/repeating/license +21 -0
  2306. data/node_modules/repeating/package.json +37 -0
  2307. data/node_modules/repeating/readme.md +30 -0
  2308. data/node_modules/resolve/.editorconfig +37 -0
  2309. data/node_modules/resolve/.eslintrc +65 -0
  2310. data/node_modules/resolve/.github/FUNDING.yml +12 -0
  2311. data/node_modules/resolve/LICENSE +21 -0
  2312. data/node_modules/resolve/SECURITY.md +3 -0
  2313. data/node_modules/resolve/async.js +3 -0
  2314. data/node_modules/resolve/bin/resolve +50 -0
  2315. data/node_modules/resolve/example/async.js +5 -0
  2316. data/node_modules/resolve/example/sync.js +3 -0
  2317. data/node_modules/resolve/index.js +6 -0
  2318. data/node_modules/resolve/lib/async.js +329 -0
  2319. data/node_modules/resolve/lib/caller.js +8 -0
  2320. data/node_modules/resolve/lib/core.js +12 -0
  2321. data/node_modules/resolve/lib/core.json +158 -0
  2322. data/node_modules/resolve/lib/homedir.js +24 -0
  2323. data/node_modules/resolve/lib/is-core.js +5 -0
  2324. data/node_modules/resolve/lib/node-modules-paths.js +42 -0
  2325. data/node_modules/resolve/lib/normalize-options.js +10 -0
  2326. data/node_modules/resolve/lib/sync.js +208 -0
  2327. data/node_modules/resolve/package.json +72 -0
  2328. data/node_modules/resolve/readme.markdown +301 -0
  2329. data/node_modules/resolve/sync.js +3 -0
  2330. data/node_modules/resolve/test/core.js +88 -0
  2331. data/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  2332. data/node_modules/resolve/test/dotdot/index.js +1 -0
  2333. data/node_modules/resolve/test/dotdot.js +29 -0
  2334. data/node_modules/resolve/test/faulty_basedir.js +29 -0
  2335. data/node_modules/resolve/test/filter.js +34 -0
  2336. data/node_modules/resolve/test/filter_sync.js +33 -0
  2337. data/node_modules/resolve/test/home_paths.js +127 -0
  2338. data/node_modules/resolve/test/home_paths_sync.js +114 -0
  2339. data/node_modules/resolve/test/mock.js +315 -0
  2340. data/node_modules/resolve/test/mock_sync.js +214 -0
  2341. data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  2342. data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  2343. data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  2344. data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  2345. data/node_modules/resolve/test/module_dir.js +56 -0
  2346. data/node_modules/resolve/test/node-modules-paths.js +143 -0
  2347. data/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  2348. data/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  2349. data/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  2350. data/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  2351. data/node_modules/resolve/test/node_path.js +70 -0
  2352. data/node_modules/resolve/test/nonstring.js +9 -0
  2353. data/node_modules/resolve/test/pathfilter.js +75 -0
  2354. data/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  2355. data/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  2356. data/node_modules/resolve/test/precedence/aaa.js +1 -0
  2357. data/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  2358. data/node_modules/resolve/test/precedence/bbb.js +1 -0
  2359. data/node_modules/resolve/test/precedence.js +23 -0
  2360. data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  2361. data/node_modules/resolve/test/resolver/baz/package.json +4 -0
  2362. data/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  2363. data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  2364. data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  2365. data/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  2366. data/node_modules/resolve/test/resolver/cup.coffee +1 -0
  2367. data/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  2368. data/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  2369. data/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  2370. data/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  2371. data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  2372. data/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  2373. data/node_modules/resolve/test/resolver/foo.js +1 -0
  2374. data/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  2375. data/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  2376. data/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  2377. data/node_modules/resolve/test/resolver/mug.coffee +0 -0
  2378. data/node_modules/resolve/test/resolver/mug.js +0 -0
  2379. data/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  2380. data/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  2381. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  2382. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  2383. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  2384. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  2385. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  2386. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  2387. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  2388. data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  2389. data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  2390. data/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  2391. data/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  2392. data/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  2393. data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  2394. data/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  2395. data/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  2396. data/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  2397. data/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  2398. data/node_modules/resolve/test/resolver.js +597 -0
  2399. data/node_modules/resolve/test/resolver_sync.js +730 -0
  2400. data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  2401. data/node_modules/resolve/test/shadowed_core.js +54 -0
  2402. data/node_modules/resolve/test/subdirs.js +13 -0
  2403. data/node_modules/resolve/test/symlinks.js +176 -0
  2404. data/node_modules/semver/LICENSE +15 -0
  2405. data/node_modules/semver/README.md +443 -0
  2406. data/node_modules/semver/bin/semver.js +174 -0
  2407. data/node_modules/semver/package.json +38 -0
  2408. data/node_modules/semver/range.bnf +16 -0
  2409. data/node_modules/semver/semver.js +1643 -0
  2410. data/node_modules/shebang-command/index.js +19 -0
  2411. data/node_modules/shebang-command/license +9 -0
  2412. data/node_modules/shebang-command/package.json +34 -0
  2413. data/node_modules/shebang-command/readme.md +34 -0
  2414. data/node_modules/shebang-regex/index.d.ts +22 -0
  2415. data/node_modules/shebang-regex/index.js +2 -0
  2416. data/node_modules/shebang-regex/license +9 -0
  2417. data/node_modules/shebang-regex/package.json +35 -0
  2418. data/node_modules/shebang-regex/readme.md +33 -0
  2419. data/node_modules/source-map/CHANGELOG.md +301 -0
  2420. data/node_modules/source-map/LICENSE +28 -0
  2421. data/node_modules/source-map/README.md +742 -0
  2422. data/node_modules/source-map/dist/source-map.debug.js +3234 -0
  2423. data/node_modules/source-map/dist/source-map.js +3233 -0
  2424. data/node_modules/source-map/dist/source-map.min.js +2 -0
  2425. data/node_modules/source-map/dist/source-map.min.js.map +1 -0
  2426. data/node_modules/source-map/lib/array-set.js +121 -0
  2427. data/node_modules/source-map/lib/base64-vlq.js +140 -0
  2428. data/node_modules/source-map/lib/base64.js +67 -0
  2429. data/node_modules/source-map/lib/binary-search.js +111 -0
  2430. data/node_modules/source-map/lib/mapping-list.js +79 -0
  2431. data/node_modules/source-map/lib/quick-sort.js +114 -0
  2432. data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  2433. data/node_modules/source-map/lib/source-map-generator.js +425 -0
  2434. data/node_modules/source-map/lib/source-node.js +413 -0
  2435. data/node_modules/source-map/lib/util.js +488 -0
  2436. data/node_modules/source-map/package.json +73 -0
  2437. data/node_modules/source-map/source-map.d.ts +98 -0
  2438. data/node_modules/source-map/source-map.js +8 -0
  2439. data/node_modules/supports-color/browser.js +5 -0
  2440. data/node_modules/supports-color/index.js +131 -0
  2441. data/node_modules/supports-color/license +9 -0
  2442. data/node_modules/supports-color/package.json +53 -0
  2443. data/node_modules/supports-color/readme.md +66 -0
  2444. data/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  2445. data/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  2446. data/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  2447. data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  2448. data/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  2449. data/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  2450. data/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  2451. data/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  2452. data/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  2453. data/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  2454. data/node_modules/thenify/History.md +11 -0
  2455. data/node_modules/thenify/LICENSE +22 -0
  2456. data/node_modules/thenify/README.md +120 -0
  2457. data/node_modules/thenify/index.js +77 -0
  2458. data/node_modules/thenify/package.json +31 -0
  2459. data/node_modules/thenify-all/History.md +11 -0
  2460. data/node_modules/thenify-all/LICENSE +22 -0
  2461. data/node_modules/thenify-all/README.md +66 -0
  2462. data/node_modules/thenify-all/index.js +73 -0
  2463. data/node_modules/thenify-all/package.json +34 -0
  2464. data/node_modules/to-fast-properties/index.js +27 -0
  2465. data/node_modules/to-fast-properties/license +10 -0
  2466. data/node_modules/to-fast-properties/package.json +35 -0
  2467. data/node_modules/to-fast-properties/readme.md +37 -0
  2468. data/node_modules/tslib/CopyrightNotice.txt +15 -0
  2469. data/node_modules/tslib/LICENSE.txt +12 -0
  2470. data/node_modules/tslib/README.md +164 -0
  2471. data/node_modules/tslib/SECURITY.md +41 -0
  2472. data/node_modules/tslib/modules/index.d.ts +37 -0
  2473. data/node_modules/tslib/modules/index.js +68 -0
  2474. data/node_modules/tslib/modules/package.json +3 -0
  2475. data/node_modules/tslib/package.json +47 -0
  2476. data/node_modules/tslib/tslib.d.ts +453 -0
  2477. data/node_modules/tslib/tslib.es6.html +1 -0
  2478. data/node_modules/tslib/tslib.es6.js +374 -0
  2479. data/node_modules/tslib/tslib.es6.mjs +373 -0
  2480. data/node_modules/tslib/tslib.html +1 -0
  2481. data/node_modules/tslib/tslib.js +424 -0
  2482. data/node_modules/update-browserslist-db/.devcontainer.json +42 -0
  2483. data/node_modules/update-browserslist-db/LICENSE +20 -0
  2484. data/node_modules/update-browserslist-db/README.md +22 -0
  2485. data/node_modules/update-browserslist-db/check-npm-version.js +17 -0
  2486. data/node_modules/update-browserslist-db/cli.js +42 -0
  2487. data/node_modules/update-browserslist-db/index.d.ts +6 -0
  2488. data/node_modules/update-browserslist-db/index.js +333 -0
  2489. data/node_modules/update-browserslist-db/node_modules/.bin/browserslist +1 -0
  2490. data/node_modules/update-browserslist-db/package.json +40 -0
  2491. data/node_modules/update-browserslist-db/utils.js +25 -0
  2492. data/node_modules/which/CHANGELOG.md +166 -0
  2493. data/node_modules/which/LICENSE +15 -0
  2494. data/node_modules/which/README.md +54 -0
  2495. data/node_modules/which/bin/node-which +52 -0
  2496. data/node_modules/which/package.json +43 -0
  2497. data/node_modules/which/which.js +125 -0
  2498. data/node_modules/yallist/LICENSE +15 -0
  2499. data/node_modules/yallist/README.md +204 -0
  2500. data/node_modules/yallist/iterator.js +8 -0
  2501. data/node_modules/yallist/package.json +29 -0
  2502. data/node_modules/yallist/yallist.js +426 -0
  2503. data/package.json +3 -0
  2504. data/spec/acceptance_helper.rb +2 -10
  2505. data/spec/features/action_column_request_spec.rb +25 -25
  2506. data/spec/features/adding_rows_request_spec.rb +2 -2
  2507. data/spec/features/all_records_request_spec.rb +4 -2
  2508. data/spec/features/auto_reloads2_request_spec.rb +29 -29
  2509. data/spec/features/auto_reloads3_request_spec.rb +55 -56
  2510. data/spec/features/auto_reloads_request_spec.rb +29 -29
  2511. data/spec/features/basics1_request_spec.rb +1 -1
  2512. data/spec/features/basics2_request_spec.rb +1 -1
  2513. data/spec/features/basics3_request_spec.rb +1 -1
  2514. data/spec/features/basics4_request_spec.rb +2 -2
  2515. data/spec/features/basics5_request_spec.rb +2 -2
  2516. data/spec/features/basics6_request_spec.rb +3 -3
  2517. data/spec/features/blockless_column_definition_spec.rb +1 -1
  2518. data/spec/features/buttons_request_spec.rb +6 -6
  2519. data/spec/features/csv_and_detached_filters_spec.rb +1 -1
  2520. data/spec/features/csv_export_request_spec.rb +7 -4
  2521. data/spec/features/custom_filter_params_request_spec.rb +4 -4
  2522. data/spec/features/custom_filters1_request_spec.rb +5 -5
  2523. data/spec/features/custom_filters2_request_spec.rb +3 -3
  2524. data/spec/features/custom_filters3_request_spec.rb +3 -3
  2525. data/spec/features/custom_filters4_request_spec.rb +2 -2
  2526. data/spec/features/custom_ordering_on_calculated_request_spec.rb +2 -2
  2527. data/spec/features/custom_ordering_request_spec.rb +23 -19
  2528. data/spec/features/custom_ordering_with_arel_request_spec.rb +23 -19
  2529. data/spec/features/custom_ordering_with_proc_request_spec.rb +30 -28
  2530. data/spec/features/custom_ordering_with_ruby_request_spec.rb +18 -16
  2531. data/spec/features/dates_request_spec.rb +6 -6
  2532. data/spec/features/detached_filters_spec.rb +1 -1
  2533. data/spec/features/detached_filters_two_grids_spec.rb +6 -6
  2534. data/spec/features/disable_all_filters_spec.rb +2 -2
  2535. data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +28 -28
  2536. data/spec/features/integration_with_application_view_request_spec.rb +2 -2
  2537. data/spec/features/integration_with_forms_request_spec.rb +91 -89
  2538. data/spec/features/joining_tables_spec.rb +3 -3
  2539. data/spec/features/localization_request_spec.rb +2 -2
  2540. data/spec/features/many_grids_on_page_request_spec.rb +5 -5
  2541. data/spec/features/negation_request_spec.rb +2 -2
  2542. data/spec/features/no_records_request_spec.rb +17 -15
  2543. data/spec/features/numeric_filters_request_spec.rb +2 -1
  2544. data/spec/features/resultset_processings2_request_spec.rb +21 -19
  2545. data/spec/features/resultset_processings_request_spec.rb +21 -17
  2546. data/spec/features/saved_queries_request_spec.rb +8 -8
  2547. data/spec/features/shared.rb +59 -59
  2548. data/spec/features/shared_detached_filters.rb +5 -5
  2549. data/spec/features/styling_spec.rb +2 -2
  2550. data/spec/features/two_associations_spec.rb +26 -31
  2551. data/spec/features/upper_pagination_panel_request_spec.rb +3 -5
  2552. data/spec/features/when_filtered_spec.rb +120 -146
  2553. data/spec/fixtures/companies.yml +8 -8
  2554. data/spec/fixtures/priorities.yml +10 -10
  2555. data/spec/fixtures/project_roles.yml +8 -8
  2556. data/spec/fixtures/projects.yml +6 -6
  2557. data/spec/fixtures/statuses.yml +18 -18
  2558. data/spec/fixtures/tasks.yml +150 -150
  2559. data/spec/fixtures/users.yml +24 -24
  2560. data/spec/fixtures/versions.yml +22 -22
  2561. data/spec/models/priority_spec.rb +0 -1
  2562. data/spec/models/user_spec.rb +0 -4
  2563. data/spec/rails_helper.rb +59 -2
  2564. data/spec/spec_helper.rb +4 -0
  2565. data/spec/support/download_helper.rb +37 -0
  2566. data/spec/support/test_app/app/assets/builds/.keep +0 -0
  2567. data/spec/support/test_app/app/assets/builds/application.css +34148 -0
  2568. data/spec/support/test_app/app/assets/config/manifest.js +13 -0
  2569. data/spec/support/test_app/app/assets/images/favicon.ico +0 -0
  2570. data/spec/support/test_app/app/assets/images/forkme_right_gray.png +0 -0
  2571. data/spec/support/test_app/app/assets/stylesheets/application.scss +15 -2
  2572. data/spec/support/test_app/app/controllers/action_column_controller.rb +0 -2
  2573. data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +0 -1
  2574. data/spec/support/test_app/app/controllers/csv_export_controller.rb +1 -2
  2575. data/spec/support/test_app/app/controllers/localization_controller.rb +0 -2
  2576. data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +0 -3
  2577. data/spec/support/test_app/app/helpers/application_helper.rb +23 -21
  2578. data/spec/support/test_app/app/javascript/application.js +8 -0
  2579. data/spec/support/test_app/app/views/action_column/_grid.html.erb +8 -19
  2580. data/spec/support/test_app/app/views/action_column/index.html.haml +32 -31
  2581. data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +9 -21
  2582. data/spec/support/test_app/app/views/adding_rows/index.html.haml +34 -33
  2583. data/spec/support/test_app/app/views/all_records/_grid.html.erb +10 -18
  2584. data/spec/support/test_app/app/views/all_records/index.html.haml +9 -8
  2585. data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +9 -19
  2586. data/spec/support/test_app/app/views/auto_reloads/index.html.haml +12 -11
  2587. data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +9 -19
  2588. data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +5 -18
  2589. data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +6 -16
  2590. data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +11 -30
  2591. data/spec/support/test_app/app/views/basics1/_grid.html.erb +1 -7
  2592. data/spec/support/test_app/app/views/basics1/index.html.haml +10 -9
  2593. data/spec/support/test_app/app/views/basics2/_grid.html.erb +6 -13
  2594. data/spec/support/test_app/app/views/basics2/index.html.haml +9 -8
  2595. data/spec/support/test_app/app/views/basics3/_grid.html.erb +5 -12
  2596. data/spec/support/test_app/app/views/basics3/index.html.haml +10 -9
  2597. data/spec/support/test_app/app/views/basics4/_grid.html.erb +6 -13
  2598. data/spec/support/test_app/app/views/basics4/index.html.haml +9 -8
  2599. data/spec/support/test_app/app/views/basics5/_grid.html.erb +5 -12
  2600. data/spec/support/test_app/app/views/basics5/index.html.haml +9 -8
  2601. data/spec/support/test_app/app/views/basics6/_grid.html.erb +5 -12
  2602. data/spec/support/test_app/app/views/basics6/index.html.haml +13 -12
  2603. data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +5 -12
  2604. data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +12 -11
  2605. data/spec/support/test_app/app/views/buttons/_grid.html.erb +6 -14
  2606. data/spec/support/test_app/app/views/buttons/index.html.haml +20 -21
  2607. data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +6 -15
  2608. data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +7 -19
  2609. data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +5 -11
  2610. data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +11 -19
  2611. data/spec/support/test_app/app/views/csv_export/index.html.haml +76 -80
  2612. data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +2 -4
  2613. data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +9 -8
  2614. data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +3 -6
  2615. data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +4 -7
  2616. data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +4 -7
  2617. data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +3 -6
  2618. data/spec/support/test_app/app/views/custom_filters1/index.html.haml +16 -19
  2619. data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +9 -17
  2620. data/spec/support/test_app/app/views/custom_filters2/index.html.haml +37 -37
  2621. data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +5 -10
  2622. data/spec/support/test_app/app/views/custom_filters3/index.html.haml +13 -12
  2623. data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +8 -13
  2624. data/spec/support/test_app/app/views/custom_filters4/index.html.haml +9 -8
  2625. data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +4 -7
  2626. data/spec/support/test_app/app/views/custom_ordering/index.html.haml +8 -8
  2627. data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +4 -8
  2628. data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +9 -9
  2629. data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +4 -7
  2630. data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +7 -8
  2631. data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +4 -7
  2632. data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +7 -7
  2633. data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +4 -7
  2634. data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +9 -9
  2635. data/spec/support/test_app/app/views/dates/_grid.html.erb +9 -18
  2636. data/spec/support/test_app/app/views/dates/index.html.haml +37 -48
  2637. data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +6 -15
  2638. data/spec/support/test_app/app/views/detached_filters/index.html.haml +29 -40
  2639. data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +6 -15
  2640. data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +5 -17
  2641. data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +6 -13
  2642. data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +11 -10
  2643. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +8 -20
  2644. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +19 -19
  2645. data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +8 -16
  2646. data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +27 -26
  2647. data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +7 -14
  2648. data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +10 -10
  2649. data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +7 -16
  2650. data/spec/support/test_app/app/views/joining_tables/index.html.haml +22 -22
  2651. data/spec/support/test_app/app/views/layouts/application.html.haml +33 -38
  2652. data/spec/support/test_app/app/views/localization/_grid.html.erb +11 -21
  2653. data/spec/support/test_app/app/views/localization/index.html.haml +8 -9
  2654. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +3 -8
  2655. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +3 -8
  2656. data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +17 -19
  2657. data/spec/support/test_app/app/views/negation/_grid.html.erb +9 -17
  2658. data/spec/support/test_app/app/views/negation/index.html.haml +12 -11
  2659. data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +3 -1
  2660. data/spec/support/test_app/app/views/no_records/_grid1.html.erb +2 -6
  2661. data/spec/support/test_app/app/views/no_records/_grid2.html.erb +2 -6
  2662. data/spec/support/test_app/app/views/no_records/_grid3.html.erb +4 -8
  2663. data/spec/support/test_app/app/views/no_records/index.html.haml +20 -19
  2664. data/spec/support/test_app/app/views/null_values/_grid.html.erb +4 -10
  2665. data/spec/support/test_app/app/views/null_values/index.html.haml +18 -17
  2666. data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +5 -12
  2667. data/spec/support/test_app/app/views/numeric_filters/index.html.haml +8 -8
  2668. data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +8 -16
  2669. data/spec/support/test_app/app/views/resultset_processings/index.html.haml +44 -43
  2670. data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +8 -16
  2671. data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +36 -37
  2672. data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +9 -17
  2673. data/spec/support/test_app/app/views/saved_queries/index.html.haml +9 -9
  2674. data/spec/support/test_app/app/views/styling/_grid1.html.erb +5 -9
  2675. data/spec/support/test_app/app/views/styling/_grid2.html.erb +4 -10
  2676. data/spec/support/test_app/app/views/styling/index.html.haml +41 -50
  2677. data/spec/support/test_app/app/views/tasks/_grid.html.erb +6 -12
  2678. data/spec/support/test_app/app/views/two_associations/_grid.html.erb +4 -11
  2679. data/spec/support/test_app/app/views/two_associations/index.html.haml +9 -8
  2680. data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +6 -13
  2681. data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +11 -10
  2682. data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +5 -12
  2683. data/spec/support/test_app/app/views/when_filtered/index.html.haml +12 -11
  2684. data/spec/support/test_app/bin/dartsass +27 -0
  2685. data/spec/support/test_app/bin/importmap +4 -0
  2686. data/spec/support/test_app/config/application.rb +17 -3
  2687. data/spec/support/test_app/config/environment.rb +20 -0
  2688. data/spec/support/test_app/config/environments/development.rb +1 -1
  2689. data/spec/support/test_app/config/importmap.rb +16 -0
  2690. data/spec/support/test_app/config/initializers/assets.rb +1 -0
  2691. data/spec/support/test_app/config/routes.rb +49 -47
  2692. data/spec/support/test_app/vendor/javascript/.keep +0 -0
  2693. data/spec/support/test_app/vendor/javascript/@hotwired--stimulus.js +2 -0
  2694. data/spec/support/test_app/vendor/javascript/@stimulus-components--rails-nested-form.js +2 -0
  2695. data/spec/support/test_app/vendor/javascript/reload_on_change.js +5 -0
  2696. data/spec/wice/grid_output_buffer_spec.rb +50 -32
  2697. data/spec/wice/table_column_matrix_spec.rb +65 -16
  2698. data/spec/wice/wice_grid_misc_spec.rb +304 -156
  2699. data/spec/wice/wice_grid_spreadsheet_spec.rb +8 -7
  2700. data/vendor/assets/javascripts/wice_grid_init.js.coffee +5 -29
  2701. data/vendor/assets/javascripts/wice_grid_processor.js.coffee +4 -20
  2702. data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +5 -11
  2703. data/vendor/assets/stylesheets/wice_grid.scss +33 -0
  2704. data/wice_grid.gemspec +38 -38
  2705. data/yarn.lock +710 -0
  2706. metadata +2671 -133
  2707. data/spec/support/test_app/app/assets/javascripts/application.js +0 -20
  2708. data/spec/support/test_app/app/assets/javascripts/common.js.coffee +0 -6
  2709. /data/{spec/support/test_app/public/favicon.ico → node_modules/resolve/test/pathfilter/deep_ref/main.js} +0 -0
  2710. /data/spec/support/test_app/{app/assets/javascripts → vendor/javascript}/jquery.ui.datepicker.locales.js +0 -0
@@ -0,0 +1,3458 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
+
22
+ // src/index.ts
23
+ var src_exports = {};
24
+ __export(src_exports, {
25
+ AccessOp: () => AccessOp,
26
+ ArrayInitialiser: () => ArrayInitialiser,
27
+ AssignOp: () => AssignOp,
28
+ AsyncFunction: () => AsyncFunction,
29
+ Await: () => Await,
30
+ AwaitReturn: () => AwaitReturn,
31
+ BareSuperFunctionApplication: () => BareSuperFunctionApplication,
32
+ BaseAssignOp: () => BaseAssignOp,
33
+ BaseFunction: () => BaseFunction,
34
+ BinaryOp: () => BinaryOp,
35
+ BitAndOp: () => BitAndOp,
36
+ BitNotOp: () => BitNotOp,
37
+ BitOrOp: () => BitOrOp,
38
+ BitXorOp: () => BitXorOp,
39
+ Block: () => Block,
40
+ Bool: () => Bool,
41
+ BoundAsyncFunction: () => BoundAsyncFunction,
42
+ BoundFunction: () => BoundFunction,
43
+ BoundGeneratorFunction: () => BoundGeneratorFunction,
44
+ Break: () => Break,
45
+ CSXElement: () => CSXElement,
46
+ ChainedComparisonOp: () => ChainedComparisonOp,
47
+ Class: () => Class,
48
+ ClassProtoAssignOp: () => ClassProtoAssignOp,
49
+ CompoundAssignOp: () => CompoundAssignOp,
50
+ Conditional: () => Conditional,
51
+ Constructor: () => Constructor,
52
+ Continue: () => Continue,
53
+ DEFAULT_OPTIONS: () => DEFAULT_OPTIONS,
54
+ Debugger: () => Debugger,
55
+ DefaultParam: () => DefaultParam,
56
+ DeleteOp: () => DeleteOp,
57
+ DivideOp: () => DivideOp,
58
+ DoOp: () => DoOp,
59
+ DynamicMemberAccessOp: () => DynamicMemberAccessOp,
60
+ EQOp: () => EQOp,
61
+ Elision: () => Elision,
62
+ ExistsOp: () => ExistsOp,
63
+ ExpOp: () => ExpOp,
64
+ Expansion: () => Expansion,
65
+ ExportAllDeclaration: () => ExportAllDeclaration,
66
+ ExportBindingsDeclaration: () => ExportBindingsDeclaration,
67
+ ExportDefaultDeclaration: () => ExportDefaultDeclaration,
68
+ ExportNamedDeclaration: () => ExportNamedDeclaration,
69
+ ExtendsOp: () => ExtendsOp,
70
+ Float: () => Float,
71
+ FloorDivideOp: () => FloorDivideOp,
72
+ For: () => For,
73
+ ForFrom: () => ForFrom,
74
+ ForIn: () => ForIn,
75
+ ForOf: () => ForOf,
76
+ Function: () => Function,
77
+ FunctionApplication: () => FunctionApplication,
78
+ GTEOp: () => GTEOp,
79
+ GTOp: () => GTOp,
80
+ GeneratorFunction: () => GeneratorFunction,
81
+ Heregex: () => Heregex,
82
+ Identifier: () => Identifier,
83
+ ImportDeclaration: () => ImportDeclaration,
84
+ InOp: () => InOp,
85
+ InstanceofOp: () => InstanceofOp,
86
+ Int: () => Int,
87
+ JavaScript: () => JavaScript,
88
+ LTEOp: () => LTEOp,
89
+ LTOp: () => LTOp,
90
+ LeftShiftOp: () => LeftShiftOp,
91
+ LogicalAndOp: () => LogicalAndOp,
92
+ LogicalNotOp: () => LogicalNotOp,
93
+ LogicalOrOp: () => LogicalOrOp,
94
+ Loop: () => Loop,
95
+ MemberAccessOp: () => MemberAccessOp,
96
+ ModuleSpecifier: () => ModuleSpecifier,
97
+ ModuloOp: () => ModuloOp,
98
+ MultiplyOp: () => MultiplyOp,
99
+ NEQOp: () => NEQOp,
100
+ NewOp: () => NewOp,
101
+ Node: () => Node,
102
+ Null: () => Null,
103
+ Number: () => Number,
104
+ ObjectInitialiser: () => ObjectInitialiser,
105
+ ObjectInitialiserMember: () => ObjectInitialiserMember,
106
+ OfOp: () => OfOp,
107
+ OperatorInfo: () => OperatorInfo,
108
+ PlusOp: () => PlusOp,
109
+ PostDecrementOp: () => PostDecrementOp,
110
+ PostIncrementOp: () => PostIncrementOp,
111
+ PreDecrementOp: () => PreDecrementOp,
112
+ PreIncrementOp: () => PreIncrementOp,
113
+ Program: () => Program,
114
+ ProtoMemberAccessOp: () => ProtoMemberAccessOp,
115
+ Quasi: () => Quasi,
116
+ Range: () => Range,
117
+ Regex: () => Regex,
118
+ RegexFlags: () => RegexFlags,
119
+ RemOp: () => RemOp,
120
+ Rest: () => Rest,
121
+ Return: () => Return,
122
+ SeqOp: () => SeqOp,
123
+ SignedRightShiftOp: () => SignedRightShiftOp,
124
+ Slice: () => Slice,
125
+ SoakedDynamicMemberAccessOp: () => SoakedDynamicMemberAccessOp,
126
+ SoakedFunctionApplication: () => SoakedFunctionApplication,
127
+ SoakedMemberAccessOp: () => SoakedMemberAccessOp,
128
+ SoakedNewOp: () => SoakedNewOp,
129
+ SoakedProtoMemberAccessOp: () => SoakedProtoMemberAccessOp,
130
+ SoakedSlice: () => SoakedSlice,
131
+ Spread: () => Spread,
132
+ String: () => String,
133
+ SubtractOp: () => SubtractOp,
134
+ Super: () => Super,
135
+ Switch: () => Switch,
136
+ SwitchCase: () => SwitchCase,
137
+ TaggedTemplateLiteral: () => TaggedTemplateLiteral,
138
+ This: () => This,
139
+ Throw: () => Throw,
140
+ Try: () => Try,
141
+ TypeofOp: () => TypeofOp,
142
+ UnaryExistsOp: () => UnaryExistsOp,
143
+ UnaryNegateOp: () => UnaryNegateOp,
144
+ UnaryOp: () => UnaryOp,
145
+ UnaryPlusOp: () => UnaryPlusOp,
146
+ Undefined: () => Undefined,
147
+ UnsignedRightShiftOp: () => UnsignedRightShiftOp,
148
+ While: () => While,
149
+ Yield: () => Yield,
150
+ YieldFrom: () => YieldFrom,
151
+ YieldReturn: () => YieldReturn,
152
+ parse: () => parse4,
153
+ traverse: () => traverse
154
+ });
155
+ module.exports = __toCommonJS(src_exports);
156
+
157
+ // src/parser.ts
158
+ var import_coffee_lex18 = __toESM(require("coffee-lex"));
159
+
160
+ // src/ext/coffee-script.ts
161
+ var import_nodes = require("decaffeinate-coffeescript/lib/coffee-script/nodes.js");
162
+ var import_nodes2 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
163
+ function patchCoffeeScript() {
164
+ import_nodes.Op.prototype.invert = invert;
165
+ import_nodes.Base.prototype.invert = invert;
166
+ import_nodes2.Op.prototype.invert = invert;
167
+ import_nodes2.Base.prototype.invert = invert;
168
+ }
169
+ function invert() {
170
+ this.inverted = !this.inverted;
171
+ return this;
172
+ }
173
+
174
+ // src/nodes.ts
175
+ var Node = class {
176
+ constructor(type, line, column, start, end, raw) {
177
+ this.type = type;
178
+ this.line = line;
179
+ this.column = column;
180
+ this.start = start;
181
+ this.end = end;
182
+ this.raw = raw;
183
+ this.parentNode = null;
184
+ }
185
+ getChildren() {
186
+ const children = [];
187
+ for (const childField of this.getChildFields()) {
188
+ if (Array.isArray(childField)) {
189
+ children.push(...childField.filter((node) => node !== null));
190
+ } else if (childField) {
191
+ children.push(childField);
192
+ }
193
+ }
194
+ return children;
195
+ }
196
+ getChildFields() {
197
+ return this.getChildNames().map((name) => this[name]);
198
+ }
199
+ };
200
+ var Identifier = class extends Node {
201
+ constructor(line, column, start, end, raw, data) {
202
+ super("Identifier", line, column, start, end, raw);
203
+ this.data = data;
204
+ }
205
+ getChildNames() {
206
+ return [];
207
+ }
208
+ };
209
+ var Bool = class extends Node {
210
+ constructor(line, column, start, end, raw, data) {
211
+ super("Bool", line, column, start, end, raw);
212
+ this.data = data;
213
+ }
214
+ static true() {
215
+ return new Bool(0, 0, 0, 0, "", true);
216
+ }
217
+ static false() {
218
+ return new Bool(0, 0, 0, 0, "", false);
219
+ }
220
+ getChildNames() {
221
+ return [];
222
+ }
223
+ };
224
+ var JavaScript = class extends Node {
225
+ constructor(line, column, start, end, raw, data) {
226
+ super("JavaScript", line, column, start, end, raw);
227
+ this.data = data;
228
+ }
229
+ getChildNames() {
230
+ return [];
231
+ }
232
+ };
233
+ var Number = class extends Node {
234
+ constructor(type, line, column, start, end, raw, data) {
235
+ super(type, line, column, start, end, raw);
236
+ this.data = data;
237
+ }
238
+ getChildNames() {
239
+ return [];
240
+ }
241
+ };
242
+ var Float = class extends Number {
243
+ constructor(line, column, start, end, raw, data) {
244
+ super("Float", line, column, start, end, raw, data);
245
+ }
246
+ };
247
+ var Int = class extends Number {
248
+ constructor(line, column, start, end, raw, data) {
249
+ super("Int", line, column, start, end, raw, data);
250
+ }
251
+ };
252
+ var AccessOp = class extends Node {
253
+ constructor(type, line, column, start, end, raw, expression) {
254
+ super(type, line, column, start, end, raw);
255
+ this.expression = expression;
256
+ }
257
+ };
258
+ var MemberAccessOp = class extends AccessOp {
259
+ constructor(line, column, start, end, raw, expression, member) {
260
+ super("MemberAccessOp", line, column, start, end, raw, expression);
261
+ this.member = member;
262
+ }
263
+ getChildNames() {
264
+ return ["expression", "member"];
265
+ }
266
+ };
267
+ var ProtoMemberAccessOp = class extends AccessOp {
268
+ constructor(line, column, start, end, raw, expression) {
269
+ super("ProtoMemberAccessOp", line, column, start, end, raw, expression);
270
+ }
271
+ getChildNames() {
272
+ return ["expression"];
273
+ }
274
+ };
275
+ var SoakedMemberAccessOp = class extends AccessOp {
276
+ constructor(line, column, start, end, raw, expression, member) {
277
+ super("SoakedMemberAccessOp", line, column, start, end, raw, expression);
278
+ this.member = member;
279
+ }
280
+ getChildNames() {
281
+ return ["expression", "member"];
282
+ }
283
+ };
284
+ var SoakedProtoMemberAccessOp = class extends AccessOp {
285
+ constructor(line, column, start, end, raw, expression) {
286
+ super("SoakedProtoMemberAccessOp", line, column, start, end, raw, expression);
287
+ }
288
+ getChildNames() {
289
+ return ["expression"];
290
+ }
291
+ };
292
+ var DynamicMemberAccessOp = class extends AccessOp {
293
+ constructor(line, column, start, end, raw, expression, indexingExpr) {
294
+ super("DynamicMemberAccessOp", line, column, start, end, raw, expression);
295
+ this.indexingExpr = indexingExpr;
296
+ }
297
+ getChildNames() {
298
+ return ["expression", "indexingExpr"];
299
+ }
300
+ };
301
+ var SoakedDynamicMemberAccessOp = class extends AccessOp {
302
+ constructor(line, column, start, end, raw, expression, indexingExpr) {
303
+ super("SoakedDynamicMemberAccessOp", line, column, start, end, raw, expression);
304
+ this.indexingExpr = indexingExpr;
305
+ }
306
+ getChildNames() {
307
+ return ["expression", "indexingExpr"];
308
+ }
309
+ };
310
+ var Quasi = class extends Node {
311
+ constructor(line, column, start, end, raw, data) {
312
+ super("Quasi", line, column, start, end, raw);
313
+ this.data = data;
314
+ }
315
+ getChildNames() {
316
+ return [];
317
+ }
318
+ };
319
+ var String = class extends Node {
320
+ constructor(line, column, start, end, raw, quasis, expressions) {
321
+ super("String", line, column, start, end, raw);
322
+ this.quasis = quasis;
323
+ this.expressions = expressions;
324
+ }
325
+ getChildNames() {
326
+ return ["quasis", "expressions"];
327
+ }
328
+ };
329
+ var TaggedTemplateLiteral = class extends Node {
330
+ constructor(line, column, start, end, raw, tag, template) {
331
+ super("TaggedTemplateLiteral", line, column, start, end, raw);
332
+ this.tag = tag;
333
+ this.template = template;
334
+ }
335
+ getChildNames() {
336
+ return ["tag", "template"];
337
+ }
338
+ };
339
+ var ObjectInitialiser = class extends Node {
340
+ constructor(line, column, start, end, raw, members) {
341
+ super("ObjectInitialiser", line, column, start, end, raw);
342
+ this.members = members;
343
+ }
344
+ getChildNames() {
345
+ return ["members"];
346
+ }
347
+ };
348
+ var ObjectInitialiserMember = class extends Node {
349
+ constructor(line, column, start, end, raw, key, expression, isComputed) {
350
+ super("ObjectInitialiserMember", line, column, start, end, raw);
351
+ this.key = key;
352
+ this.expression = expression;
353
+ this.isComputed = isComputed;
354
+ }
355
+ getChildNames() {
356
+ return ["key", "expression"];
357
+ }
358
+ };
359
+ var Conditional = class extends Node {
360
+ constructor(line, column, start, end, raw, condition, consequent, alternate, isUnless) {
361
+ super("Conditional", line, column, start, end, raw);
362
+ this.condition = condition;
363
+ this.consequent = consequent;
364
+ this.alternate = alternate;
365
+ this.isUnless = isUnless;
366
+ }
367
+ getChildNames() {
368
+ return ["condition", "consequent", "alternate"];
369
+ }
370
+ };
371
+ var Program = class extends Node {
372
+ constructor(line, column, start, end, raw, body, context) {
373
+ super("Program", line, column, start, end, raw);
374
+ this.body = body;
375
+ this.context = context;
376
+ }
377
+ getChildNames() {
378
+ return ["body"];
379
+ }
380
+ };
381
+ var Block = class extends Node {
382
+ constructor(line, column, start, end, raw, statements, inline) {
383
+ super("Block", line, column, start, end, raw);
384
+ this.statements = statements;
385
+ this.inline = inline;
386
+ }
387
+ getChildNames() {
388
+ return ["statements"];
389
+ }
390
+ withInline(inline) {
391
+ return new Block(this.line, this.column, this.start, this.end, this.raw, this.statements, inline);
392
+ }
393
+ };
394
+ var Loop = class extends Node {
395
+ constructor(line, column, start, end, raw, body) {
396
+ super("Loop", line, column, start, end, raw);
397
+ this.body = body;
398
+ }
399
+ getChildNames() {
400
+ return ["body"];
401
+ }
402
+ };
403
+ var While = class extends Node {
404
+ constructor(line, column, start, end, raw, condition, guard, body, isUntil) {
405
+ super("While", line, column, start, end, raw);
406
+ this.condition = condition;
407
+ this.guard = guard;
408
+ this.body = body;
409
+ this.isUntil = isUntil;
410
+ }
411
+ getChildNames() {
412
+ return ["condition", "guard", "body"];
413
+ }
414
+ };
415
+ var For = class extends Node {
416
+ constructor(type, line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body) {
417
+ super(type, line, column, start, end, raw);
418
+ this.keyAssignee = keyAssignee;
419
+ this.valAssignee = valAssignee;
420
+ this.target = target;
421
+ this.filter = filter;
422
+ this.body = body;
423
+ }
424
+ };
425
+ var ForOf = class extends For {
426
+ constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn) {
427
+ super("ForOf", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
428
+ this.isOwn = isOwn;
429
+ }
430
+ getChildNames() {
431
+ return ["keyAssignee", "valAssignee", "target", "filter", "body"];
432
+ }
433
+ };
434
+ var ForIn = class extends For {
435
+ constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step) {
436
+ super("ForIn", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
437
+ this.step = step;
438
+ }
439
+ getChildNames() {
440
+ return ["keyAssignee", "valAssignee", "target", "step", "filter", "body"];
441
+ }
442
+ };
443
+ var ForFrom = class extends For {
444
+ constructor(line, column, start, end, raw, valAssignee, target, filter, body) {
445
+ super("ForFrom", line, column, start, end, raw, null, valAssignee, target, filter, body);
446
+ }
447
+ getChildNames() {
448
+ return ["keyAssignee", "valAssignee", "target", "filter", "body"];
449
+ }
450
+ };
451
+ var Switch = class extends Node {
452
+ constructor(line, column, start, end, raw, expression, cases, alternate) {
453
+ super("Switch", line, column, start, end, raw);
454
+ this.expression = expression;
455
+ this.cases = cases;
456
+ this.alternate = alternate;
457
+ }
458
+ getChildNames() {
459
+ return ["expression", "cases", "alternate"];
460
+ }
461
+ };
462
+ var SwitchCase = class extends Node {
463
+ constructor(line, column, start, end, raw, conditions, consequent) {
464
+ super("SwitchCase", line, column, start, end, raw);
465
+ this.conditions = conditions;
466
+ this.consequent = consequent;
467
+ }
468
+ getChildNames() {
469
+ return ["conditions", "consequent"];
470
+ }
471
+ };
472
+ var RegexFlags = class {
473
+ constructor(global, ignoreCase, multiline, unicode, sticky) {
474
+ this.global = global;
475
+ this.ignoreCase = ignoreCase;
476
+ this.multiline = multiline;
477
+ this.unicode = unicode;
478
+ this.sticky = sticky;
479
+ this.g = global;
480
+ this.i = ignoreCase;
481
+ this.m = multiline;
482
+ this.u = unicode;
483
+ this.y = sticky;
484
+ }
485
+ static parse(flags) {
486
+ let global = false;
487
+ let ignoreCase = false;
488
+ let multiline = false;
489
+ let unicode = false;
490
+ let sticky = false;
491
+ for (let i = 0; i < flags.length; i++) {
492
+ switch (flags.charCodeAt(i)) {
493
+ case 103:
494
+ global = true;
495
+ break;
496
+ case 105:
497
+ ignoreCase = true;
498
+ break;
499
+ case 109:
500
+ multiline = true;
501
+ break;
502
+ case 117:
503
+ unicode = true;
504
+ break;
505
+ case 121:
506
+ sticky = true;
507
+ break;
508
+ default:
509
+ throw new Error(`invalid regular expression flags: ${flags}`);
510
+ }
511
+ }
512
+ return new RegexFlags(global, ignoreCase, multiline, unicode, sticky);
513
+ }
514
+ };
515
+ var Heregex = class extends Node {
516
+ constructor(line, column, start, end, raw, quasis, expressions, flags) {
517
+ super("Heregex", line, column, start, end, raw);
518
+ this.quasis = quasis;
519
+ this.expressions = expressions;
520
+ this.flags = flags;
521
+ }
522
+ getChildNames() {
523
+ return ["quasis", "expressions"];
524
+ }
525
+ };
526
+ var Null = class extends Node {
527
+ constructor(line, column, start, end, raw) {
528
+ super("Null", line, column, start, end, raw);
529
+ }
530
+ getChildNames() {
531
+ return [];
532
+ }
533
+ };
534
+ var Undefined = class extends Node {
535
+ constructor(line, column, start, end, raw) {
536
+ super("Undefined", line, column, start, end, raw);
537
+ }
538
+ getChildNames() {
539
+ return [];
540
+ }
541
+ };
542
+ var Regex = class extends Node {
543
+ constructor(line, column, start, end, raw, pattern, flags) {
544
+ super("Regex", line, column, start, end, raw);
545
+ this.pattern = pattern;
546
+ this.flags = flags;
547
+ }
548
+ getChildNames() {
549
+ return [];
550
+ }
551
+ };
552
+ var Return = class extends Node {
553
+ constructor(line, column, start, end, raw, expression) {
554
+ super("Return", line, column, start, end, raw);
555
+ this.expression = expression;
556
+ }
557
+ getChildNames() {
558
+ return ["expression"];
559
+ }
560
+ };
561
+ var YieldReturn = class extends Node {
562
+ constructor(line, column, start, end, raw, expression) {
563
+ super("YieldReturn", line, column, start, end, raw);
564
+ this.expression = expression;
565
+ }
566
+ getChildNames() {
567
+ return ["expression"];
568
+ }
569
+ };
570
+ var AwaitReturn = class extends Node {
571
+ constructor(line, column, start, end, raw, expression) {
572
+ super("AwaitReturn", line, column, start, end, raw);
573
+ this.expression = expression;
574
+ }
575
+ getChildNames() {
576
+ return ["expression"];
577
+ }
578
+ };
579
+ var This = class extends Node {
580
+ constructor(line, column, start, end, raw) {
581
+ super("This", line, column, start, end, raw);
582
+ }
583
+ getChildNames() {
584
+ return [];
585
+ }
586
+ };
587
+ var Throw = class extends Node {
588
+ constructor(line, column, start, end, raw, expression) {
589
+ super("Throw", line, column, start, end, raw);
590
+ this.expression = expression;
591
+ }
592
+ getChildNames() {
593
+ return ["expression"];
594
+ }
595
+ };
596
+ var ArrayInitialiser = class extends Node {
597
+ constructor(line, column, start, end, raw, members) {
598
+ super("ArrayInitialiser", line, column, start, end, raw);
599
+ this.members = members;
600
+ }
601
+ getChildNames() {
602
+ return ["members"];
603
+ }
604
+ };
605
+ var DefaultParam = class extends Node {
606
+ constructor(line, column, start, end, raw, param, defaultValue) {
607
+ super("DefaultParam", line, column, start, end, raw);
608
+ this.param = param;
609
+ this.default = defaultValue;
610
+ }
611
+ getChildNames() {
612
+ return ["param", "default"];
613
+ }
614
+ };
615
+ var Rest = class extends Node {
616
+ constructor(line, column, start, end, raw, expression) {
617
+ super("Rest", line, column, start, end, raw);
618
+ this.expression = expression;
619
+ }
620
+ getChildNames() {
621
+ return ["expression"];
622
+ }
623
+ };
624
+ var Expansion = class extends Node {
625
+ constructor(line, column, start, end, raw) {
626
+ super("Expansion", line, column, start, end, raw);
627
+ }
628
+ getChildNames() {
629
+ return [];
630
+ }
631
+ };
632
+ var Elision = class extends Node {
633
+ constructor(line, column, start, end, raw) {
634
+ super("Elision", line, column, start, end, raw);
635
+ }
636
+ getChildNames() {
637
+ return [];
638
+ }
639
+ };
640
+ var Break = class extends Node {
641
+ constructor(line, column, start, end, raw) {
642
+ super("Break", line, column, start, end, raw);
643
+ }
644
+ getChildNames() {
645
+ return [];
646
+ }
647
+ };
648
+ var Continue = class extends Node {
649
+ constructor(line, column, start, end, raw) {
650
+ super("Continue", line, column, start, end, raw);
651
+ }
652
+ getChildNames() {
653
+ return [];
654
+ }
655
+ };
656
+ var Debugger = class extends Node {
657
+ constructor(line, column, start, end, raw) {
658
+ super("Debugger", line, column, start, end, raw);
659
+ }
660
+ getChildNames() {
661
+ return [];
662
+ }
663
+ };
664
+ var Spread = class extends Node {
665
+ constructor(line, column, start, end, raw, expression) {
666
+ super("Spread", line, column, start, end, raw);
667
+ this.expression = expression;
668
+ }
669
+ getChildNames() {
670
+ return ["expression"];
671
+ }
672
+ };
673
+ var Range = class extends Node {
674
+ constructor(line, column, start, end, raw, left, right, isInclusive) {
675
+ super("Range", line, column, start, end, raw);
676
+ this.left = left;
677
+ this.right = right;
678
+ this.isInclusive = isInclusive;
679
+ }
680
+ getChildNames() {
681
+ return ["left", "right"];
682
+ }
683
+ };
684
+ var BinaryOp = class extends Node {
685
+ constructor(type, line, column, start, end, raw, left, right) {
686
+ super(type, line, column, start, end, raw);
687
+ this.left = left;
688
+ this.right = right;
689
+ }
690
+ getChildNames() {
691
+ return ["left", "right"];
692
+ }
693
+ };
694
+ var UnaryOp = class extends Node {
695
+ constructor(type, line, column, start, end, raw, expression) {
696
+ super(type, line, column, start, end, raw);
697
+ this.expression = expression;
698
+ }
699
+ getChildNames() {
700
+ return ["expression"];
701
+ }
702
+ };
703
+ var ChainedComparisonOp = class extends Node {
704
+ constructor(line, column, start, end, raw, operands, operators) {
705
+ super("ChainedComparisonOp", line, column, start, end, raw);
706
+ this.operands = operands;
707
+ this.operators = operators;
708
+ }
709
+ getChildNames() {
710
+ return ["operands"];
711
+ }
712
+ };
713
+ var OperatorInfo = class {
714
+ constructor(operator, token) {
715
+ this.operator = operator;
716
+ this.token = token;
717
+ }
718
+ };
719
+ var EQOp = class extends BinaryOp {
720
+ constructor(line, column, start, end, raw, left, right) {
721
+ super("EQOp", line, column, start, end, raw, left, right);
722
+ }
723
+ };
724
+ var NEQOp = class extends BinaryOp {
725
+ constructor(line, column, start, end, raw, left, right) {
726
+ super("NEQOp", line, column, start, end, raw, left, right);
727
+ }
728
+ };
729
+ var LTOp = class extends BinaryOp {
730
+ constructor(line, column, start, end, raw, left, right) {
731
+ super("LTOp", line, column, start, end, raw, left, right);
732
+ }
733
+ };
734
+ var LTEOp = class extends BinaryOp {
735
+ constructor(line, column, start, end, raw, left, right) {
736
+ super("LTEOp", line, column, start, end, raw, left, right);
737
+ }
738
+ };
739
+ var GTOp = class extends BinaryOp {
740
+ constructor(line, column, start, end, raw, left, right) {
741
+ super("GTOp", line, column, start, end, raw, left, right);
742
+ }
743
+ };
744
+ var GTEOp = class extends BinaryOp {
745
+ constructor(line, column, start, end, raw, left, right) {
746
+ super("GTEOp", line, column, start, end, raw, left, right);
747
+ }
748
+ };
749
+ var LogicalNotOp = class extends UnaryOp {
750
+ constructor(line, column, start, end, raw, expression) {
751
+ super("LogicalNotOp", line, column, start, end, raw, expression);
752
+ }
753
+ };
754
+ var LogicalAndOp = class extends BinaryOp {
755
+ constructor(line, column, start, end, raw, left, right) {
756
+ super("LogicalAndOp", line, column, start, end, raw, left, right);
757
+ }
758
+ };
759
+ var LogicalOrOp = class extends BinaryOp {
760
+ constructor(line, column, start, end, raw, left, right) {
761
+ super("LogicalOrOp", line, column, start, end, raw, left, right);
762
+ }
763
+ };
764
+ var SubtractOp = class extends BinaryOp {
765
+ constructor(line, column, start, end, raw, left, right) {
766
+ super("SubtractOp", line, column, start, end, raw, left, right);
767
+ }
768
+ };
769
+ var PlusOp = class extends BinaryOp {
770
+ constructor(line, column, start, end, raw, left, right) {
771
+ super("PlusOp", line, column, start, end, raw, left, right);
772
+ }
773
+ };
774
+ var UnaryPlusOp = class extends UnaryOp {
775
+ constructor(line, column, start, end, raw, expression) {
776
+ super("UnaryPlusOp", line, column, start, end, raw, expression);
777
+ }
778
+ };
779
+ var MultiplyOp = class extends BinaryOp {
780
+ constructor(line, column, start, end, raw, left, right) {
781
+ super("MultiplyOp", line, column, start, end, raw, left, right);
782
+ }
783
+ };
784
+ var DivideOp = class extends BinaryOp {
785
+ constructor(line, column, start, end, raw, left, right) {
786
+ super("DivideOp", line, column, start, end, raw, left, right);
787
+ }
788
+ };
789
+ var FloorDivideOp = class extends BinaryOp {
790
+ constructor(line, column, start, end, raw, left, right) {
791
+ super("FloorDivideOp", line, column, start, end, raw, left, right);
792
+ }
793
+ };
794
+ var ExistsOp = class extends BinaryOp {
795
+ constructor(line, column, start, end, raw, left, right) {
796
+ super("ExistsOp", line, column, start, end, raw, left, right);
797
+ }
798
+ };
799
+ var UnaryExistsOp = class extends UnaryOp {
800
+ constructor(line, column, start, end, raw, expression) {
801
+ super("UnaryExistsOp", line, column, start, end, raw, expression);
802
+ }
803
+ };
804
+ var UnaryNegateOp = class extends UnaryOp {
805
+ constructor(line, column, start, end, raw, expression) {
806
+ super("UnaryNegateOp", line, column, start, end, raw, expression);
807
+ }
808
+ };
809
+ var BitNotOp = class extends UnaryOp {
810
+ constructor(line, column, start, end, raw, expression) {
811
+ super("BitNotOp", line, column, start, end, raw, expression);
812
+ }
813
+ };
814
+ var BitAndOp = class extends BinaryOp {
815
+ constructor(line, column, start, end, raw, left, right) {
816
+ super("BitAndOp", line, column, start, end, raw, left, right);
817
+ }
818
+ };
819
+ var BitOrOp = class extends BinaryOp {
820
+ constructor(line, column, start, end, raw, left, right) {
821
+ super("BitOrOp", line, column, start, end, raw, left, right);
822
+ }
823
+ };
824
+ var BitXorOp = class extends BinaryOp {
825
+ constructor(line, column, start, end, raw, left, right) {
826
+ super("BitXorOp", line, column, start, end, raw, left, right);
827
+ }
828
+ };
829
+ var LeftShiftOp = class extends BinaryOp {
830
+ constructor(line, column, start, end, raw, left, right) {
831
+ super("LeftShiftOp", line, column, start, end, raw, left, right);
832
+ }
833
+ };
834
+ var SignedRightShiftOp = class extends BinaryOp {
835
+ constructor(line, column, start, end, raw, left, right) {
836
+ super("SignedRightShiftOp", line, column, start, end, raw, left, right);
837
+ }
838
+ };
839
+ var UnsignedRightShiftOp = class extends BinaryOp {
840
+ constructor(line, column, start, end, raw, left, right) {
841
+ super("UnsignedRightShiftOp", line, column, start, end, raw, left, right);
842
+ }
843
+ };
844
+ var PreDecrementOp = class extends UnaryOp {
845
+ constructor(line, column, start, end, raw, expression) {
846
+ super("PreDecrementOp", line, column, start, end, raw, expression);
847
+ }
848
+ };
849
+ var PreIncrementOp = class extends UnaryOp {
850
+ constructor(line, column, start, end, raw, expression) {
851
+ super("PreIncrementOp", line, column, start, end, raw, expression);
852
+ }
853
+ };
854
+ var PostDecrementOp = class extends UnaryOp {
855
+ constructor(line, column, start, end, raw, expression) {
856
+ super("PostDecrementOp", line, column, start, end, raw, expression);
857
+ }
858
+ };
859
+ var PostIncrementOp = class extends UnaryOp {
860
+ constructor(line, column, start, end, raw, expression) {
861
+ super("PostIncrementOp", line, column, start, end, raw, expression);
862
+ }
863
+ };
864
+ var ExpOp = class extends BinaryOp {
865
+ constructor(line, column, start, end, raw, left, right) {
866
+ super("ExpOp", line, column, start, end, raw, left, right);
867
+ }
868
+ };
869
+ var RemOp = class extends BinaryOp {
870
+ constructor(line, column, start, end, raw, left, right) {
871
+ super("RemOp", line, column, start, end, raw, left, right);
872
+ }
873
+ };
874
+ var ModuloOp = class extends BinaryOp {
875
+ constructor(line, column, start, end, raw, left, right) {
876
+ super("ModuloOp", line, column, start, end, raw, left, right);
877
+ }
878
+ };
879
+ var InOp = class extends BinaryOp {
880
+ constructor(line, column, start, end, raw, left, right, isNot) {
881
+ super("InOp", line, column, start, end, raw, left, right);
882
+ this.isNot = isNot;
883
+ }
884
+ };
885
+ var BaseAssignOp = class extends Node {
886
+ constructor(type, line, column, start, end, raw, assignee, expression) {
887
+ super(type, line, column, start, end, raw);
888
+ this.assignee = assignee;
889
+ this.expression = expression;
890
+ }
891
+ getChildNames() {
892
+ return ["assignee", "expression"];
893
+ }
894
+ };
895
+ var AssignOp = class extends BaseAssignOp {
896
+ constructor(line, column, start, end, raw, assignee, expression) {
897
+ super("AssignOp", line, column, start, end, raw, assignee, expression);
898
+ }
899
+ withExpression(expression) {
900
+ return new AssignOp(this.line, this.column, this.start, this.end, this.raw, this.assignee, expression);
901
+ }
902
+ };
903
+ var CompoundAssignOp = class extends BaseAssignOp {
904
+ constructor(line, column, start, end, raw, assignee, expression, op) {
905
+ super("CompoundAssignOp", line, column, start, end, raw, assignee, expression);
906
+ this.op = op;
907
+ }
908
+ };
909
+ var ExtendsOp = class extends BinaryOp {
910
+ constructor(line, column, start, end, raw, left, right) {
911
+ super("ExtendsOp", line, column, start, end, raw, left, right);
912
+ }
913
+ };
914
+ var SeqOp = class extends BinaryOp {
915
+ constructor(line, column, start, end, raw, left, right) {
916
+ super("SeqOp", line, column, start, end, raw, left, right);
917
+ }
918
+ };
919
+ var TypeofOp = class extends UnaryOp {
920
+ constructor(line, column, start, end, raw, expression) {
921
+ super("TypeofOp", line, column, start, end, raw, expression);
922
+ }
923
+ };
924
+ var InstanceofOp = class extends BinaryOp {
925
+ constructor(line, column, start, end, raw, left, right, isNot) {
926
+ super("InstanceofOp", line, column, start, end, raw, left, right);
927
+ this.isNot = isNot;
928
+ }
929
+ };
930
+ var OfOp = class extends BinaryOp {
931
+ constructor(line, column, start, end, raw, left, right, isNot) {
932
+ super("OfOp", line, column, start, end, raw, left, right);
933
+ this.isNot = isNot;
934
+ }
935
+ };
936
+ var DeleteOp = class extends UnaryOp {
937
+ constructor(line, column, start, end, raw, expression) {
938
+ super("DeleteOp", line, column, start, end, raw, expression);
939
+ }
940
+ };
941
+ var Yield = class extends Node {
942
+ constructor(line, column, start, end, raw, expression) {
943
+ super("Yield", line, column, start, end, raw);
944
+ this.expression = expression;
945
+ }
946
+ getChildNames() {
947
+ return ["expression"];
948
+ }
949
+ };
950
+ var YieldFrom = class extends Node {
951
+ constructor(line, column, start, end, raw, expression) {
952
+ super("YieldFrom", line, column, start, end, raw);
953
+ this.expression = expression;
954
+ }
955
+ getChildNames() {
956
+ return ["expression"];
957
+ }
958
+ };
959
+ var Await = class extends Node {
960
+ constructor(line, column, start, end, raw, expression) {
961
+ super("Await", line, column, start, end, raw);
962
+ this.expression = expression;
963
+ }
964
+ getChildNames() {
965
+ return ["expression"];
966
+ }
967
+ };
968
+ var Slice = class extends Node {
969
+ constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
970
+ super("Slice", line, column, start, end, raw);
971
+ this.expression = expression;
972
+ this.left = left;
973
+ this.right = right;
974
+ this.isInclusive = isInclusive;
975
+ }
976
+ getChildNames() {
977
+ return ["expression", "left", "right"];
978
+ }
979
+ };
980
+ var SoakedSlice = class extends Node {
981
+ constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
982
+ super("SoakedSlice", line, column, start, end, raw);
983
+ this.expression = expression;
984
+ this.left = left;
985
+ this.right = right;
986
+ this.isInclusive = isInclusive;
987
+ }
988
+ getChildNames() {
989
+ return ["expression", "left", "right"];
990
+ }
991
+ };
992
+ var BaseFunction = class extends Node {
993
+ constructor(type, line, column, start, end, raw, parameters, body) {
994
+ super(type, line, column, start, end, raw);
995
+ this.parameters = parameters;
996
+ this.body = body;
997
+ }
998
+ getChildNames() {
999
+ return ["parameters", "body"];
1000
+ }
1001
+ };
1002
+ var Function = class extends BaseFunction {
1003
+ constructor(line, column, start, end, raw, parameters, body) {
1004
+ super("Function", line, column, start, end, raw, parameters, body);
1005
+ }
1006
+ withParameters(parameters) {
1007
+ return new Function(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1008
+ }
1009
+ };
1010
+ var BoundFunction = class extends BaseFunction {
1011
+ constructor(line, column, start, end, raw, parameters, body) {
1012
+ super("BoundFunction", line, column, start, end, raw, parameters, body);
1013
+ }
1014
+ withParameters(parameters) {
1015
+ return new BoundFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1016
+ }
1017
+ };
1018
+ var GeneratorFunction = class extends BaseFunction {
1019
+ constructor(line, column, start, end, raw, parameters, body) {
1020
+ super("GeneratorFunction", line, column, start, end, raw, parameters, body);
1021
+ }
1022
+ withParameters(parameters) {
1023
+ return new GeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1024
+ }
1025
+ };
1026
+ var BoundGeneratorFunction = class extends BaseFunction {
1027
+ constructor(line, column, start, end, raw, parameters, body) {
1028
+ super("BoundGeneratorFunction", line, column, start, end, raw, parameters, body);
1029
+ }
1030
+ withParameters(parameters) {
1031
+ return new BoundGeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1032
+ }
1033
+ };
1034
+ var AsyncFunction = class extends BaseFunction {
1035
+ constructor(line, column, start, end, raw, parameters, body) {
1036
+ super("AsyncFunction", line, column, start, end, raw, parameters, body);
1037
+ }
1038
+ withParameters(parameters) {
1039
+ return new AsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1040
+ }
1041
+ };
1042
+ var BoundAsyncFunction = class extends BaseFunction {
1043
+ constructor(line, column, start, end, raw, parameters, body) {
1044
+ super("BoundAsyncFunction", line, column, start, end, raw, parameters, body);
1045
+ }
1046
+ withParameters(parameters) {
1047
+ return new BoundAsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
1048
+ }
1049
+ };
1050
+ var Try = class extends Node {
1051
+ constructor(line, column, start, end, raw, body, catchAssignee, catchBody, finallyBody) {
1052
+ super("Try", line, column, start, end, raw);
1053
+ this.body = body;
1054
+ this.catchAssignee = catchAssignee;
1055
+ this.catchBody = catchBody;
1056
+ this.finallyBody = finallyBody;
1057
+ }
1058
+ getChildNames() {
1059
+ return ["body", "catchAssignee", "catchBody", "finallyBody"];
1060
+ }
1061
+ };
1062
+ var Constructor = class extends BaseAssignOp {
1063
+ constructor(line, column, start, end, raw, assignee, expression) {
1064
+ super("Constructor", line, column, start, end, raw, assignee, expression);
1065
+ }
1066
+ };
1067
+ var ClassProtoAssignOp = class extends BaseAssignOp {
1068
+ constructor(line, column, start, end, raw, assignee, expression) {
1069
+ super("ClassProtoAssignOp", line, column, start, end, raw, assignee, expression);
1070
+ }
1071
+ };
1072
+ var Class = class extends Node {
1073
+ constructor(line, column, start, end, raw, nameAssignee, name, body, boundMembers, parent, ctor) {
1074
+ super("Class", line, column, start, end, raw);
1075
+ this.nameAssignee = nameAssignee;
1076
+ this.name = name;
1077
+ this.body = body;
1078
+ this.boundMembers = boundMembers;
1079
+ this.parent = parent;
1080
+ this.ctor = ctor;
1081
+ }
1082
+ getChildNames() {
1083
+ return ["nameAssignee", "parent", "body"];
1084
+ }
1085
+ };
1086
+ var FunctionApplication = class extends Node {
1087
+ constructor(line, column, start, end, raw, fn, args) {
1088
+ super("FunctionApplication", line, column, start, end, raw);
1089
+ this.function = fn;
1090
+ this.arguments = args;
1091
+ }
1092
+ getChildNames() {
1093
+ return ["function", "arguments"];
1094
+ }
1095
+ };
1096
+ var SoakedFunctionApplication = class extends Node {
1097
+ constructor(line, column, start, end, raw, fn, args) {
1098
+ super("SoakedFunctionApplication", line, column, start, end, raw);
1099
+ this.function = fn;
1100
+ this.arguments = args;
1101
+ }
1102
+ getChildNames() {
1103
+ return ["function", "arguments"];
1104
+ }
1105
+ };
1106
+ var Super = class extends Node {
1107
+ constructor(line, column, start, end, raw) {
1108
+ super("Super", line, column, start, end, raw);
1109
+ }
1110
+ getChildNames() {
1111
+ return [];
1112
+ }
1113
+ };
1114
+ var BareSuperFunctionApplication = class extends Node {
1115
+ constructor(line, column, start, end, raw) {
1116
+ super("BareSuperFunctionApplication", line, column, start, end, raw);
1117
+ }
1118
+ getChildNames() {
1119
+ return [];
1120
+ }
1121
+ };
1122
+ var NewOp = class extends Node {
1123
+ constructor(line, column, start, end, raw, ctor, args) {
1124
+ super("NewOp", line, column, start, end, raw);
1125
+ this.ctor = ctor;
1126
+ this.arguments = args;
1127
+ }
1128
+ getChildNames() {
1129
+ return ["ctor", "arguments"];
1130
+ }
1131
+ };
1132
+ var SoakedNewOp = class extends Node {
1133
+ constructor(line, column, start, end, raw, ctor, args) {
1134
+ super("SoakedNewOp", line, column, start, end, raw);
1135
+ this.ctor = ctor;
1136
+ this.arguments = args;
1137
+ }
1138
+ getChildNames() {
1139
+ return ["ctor", "arguments"];
1140
+ }
1141
+ };
1142
+ var DoOp = class extends Node {
1143
+ constructor(line, column, start, end, raw, expression) {
1144
+ super("DoOp", line, column, start, end, raw);
1145
+ this.expression = expression;
1146
+ }
1147
+ getChildNames() {
1148
+ return ["expression"];
1149
+ }
1150
+ };
1151
+ var ImportDeclaration = class extends Node {
1152
+ constructor(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source) {
1153
+ super("ImportDeclaration", line, column, start, end, raw);
1154
+ this.defaultBinding = defaultBinding;
1155
+ this.namespaceImport = namespaceImport;
1156
+ this.namedImports = namedImports;
1157
+ this.source = source;
1158
+ }
1159
+ getChildNames() {
1160
+ return ["defaultBinding", "namespaceImport", "namedImports", "source"];
1161
+ }
1162
+ };
1163
+ var ExportNamedDeclaration = class extends Node {
1164
+ constructor(line, column, start, end, raw, expression) {
1165
+ super("ExportNamedDeclaration", line, column, start, end, raw);
1166
+ this.expression = expression;
1167
+ }
1168
+ getChildNames() {
1169
+ return ["expression"];
1170
+ }
1171
+ };
1172
+ var ExportBindingsDeclaration = class extends Node {
1173
+ constructor(line, column, start, end, raw, namedExports, source) {
1174
+ super("ExportBindingsDeclaration", line, column, start, end, raw);
1175
+ this.namedExports = namedExports;
1176
+ this.source = source;
1177
+ }
1178
+ getChildNames() {
1179
+ return ["namedExports", "source"];
1180
+ }
1181
+ };
1182
+ var ExportDefaultDeclaration = class extends Node {
1183
+ constructor(line, column, start, end, raw, expression) {
1184
+ super("ExportDefaultDeclaration", line, column, start, end, raw);
1185
+ this.expression = expression;
1186
+ }
1187
+ getChildNames() {
1188
+ return ["expression"];
1189
+ }
1190
+ };
1191
+ var ExportAllDeclaration = class extends Node {
1192
+ constructor(line, column, start, end, raw, source) {
1193
+ super("ExportAllDeclaration", line, column, start, end, raw);
1194
+ this.source = source;
1195
+ }
1196
+ getChildNames() {
1197
+ return ["source"];
1198
+ }
1199
+ };
1200
+ var ModuleSpecifier = class extends Node {
1201
+ constructor(line, column, start, end, raw, original, alias) {
1202
+ super("ModuleSpecifier", line, column, start, end, raw);
1203
+ this.original = original;
1204
+ this.alias = alias;
1205
+ }
1206
+ getChildNames() {
1207
+ return ["original", "alias"];
1208
+ }
1209
+ };
1210
+ var CSXElement = class extends Node {
1211
+ constructor(line, column, start, end, raw, properties, children) {
1212
+ super("CSXElement", line, column, start, end, raw);
1213
+ this.properties = properties;
1214
+ this.children = children;
1215
+ }
1216
+ getChildNames() {
1217
+ return ["properties", "children"];
1218
+ }
1219
+ };
1220
+
1221
+ // src/util/isCommentOnlyNode.ts
1222
+ var import_nodes3 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1223
+ function isCommentOnlyNode(base) {
1224
+ return base instanceof import_nodes3.Value && base.base instanceof import_nodes3.PassthroughLiteral && base.base.value === "";
1225
+ }
1226
+
1227
+ // src/mappers/mapBlock.ts
1228
+ var import_coffee_lex14 = require("coffee-lex");
1229
+ var import_nodes50 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1230
+ var import_util8 = require("util");
1231
+
1232
+ // src/util/getLocation.ts
1233
+ var import_coffee_lex = require("coffee-lex");
1234
+ var import_util = require("util");
1235
+ function getLocation(context, node) {
1236
+ const loc = node.locationData;
1237
+ let start = context.linesAndColumns.indexForLocation({
1238
+ line: loc.first_line,
1239
+ column: loc.first_column
1240
+ });
1241
+ const last = context.linesAndColumns.indexForLocation({
1242
+ line: loc.last_line,
1243
+ column: loc.last_column
1244
+ });
1245
+ if (start === null || last === null) {
1246
+ throw new Error(`unable to determine range for location: ${(0, import_util.inspect)(loc)}}`);
1247
+ }
1248
+ const line = loc.first_line + 1;
1249
+ const column = loc.first_column + 1;
1250
+ let end = last + 1;
1251
+ if (start < 0) {
1252
+ start = 0;
1253
+ }
1254
+ if (end > context.source.length) {
1255
+ end = context.source.length;
1256
+ }
1257
+ const firstTokenOfNode = requireToken(firstSemanticTokenAfter(context, start), node);
1258
+ const lastTokenOfNode = requireToken(firstSemanticTokenBefore(context, end), node);
1259
+ start = firstTokenOfNode.start;
1260
+ end = lastTokenOfNode.end;
1261
+ const raw = context.source.slice(start, end);
1262
+ return { line, column, start, end, raw };
1263
+ }
1264
+ function firstSemanticTokenAfter(context, index) {
1265
+ const tokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => {
1266
+ return token.start >= index && token.type !== import_coffee_lex.SourceType.NEWLINE && token.type !== import_coffee_lex.SourceType.COMMENT;
1267
+ }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1268
+ return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1269
+ }
1270
+ function firstSemanticTokenBefore(context, index) {
1271
+ const tokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => {
1272
+ return token.end <= index && token.type !== import_coffee_lex.SourceType.NEWLINE && token.type !== import_coffee_lex.SourceType.COMMENT;
1273
+ }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1274
+ return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1275
+ }
1276
+ function requireToken(token, node) {
1277
+ if (token === null) {
1278
+ throw new Error(`unable to find token for node: ${(0, import_util.inspect)(node)}`);
1279
+ }
1280
+ return token;
1281
+ }
1282
+
1283
+ // src/mappers/mapAny.ts
1284
+ var import_nodes49 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1285
+
1286
+ // src/util/UnsupportedNodeError.ts
1287
+ var import_util2 = require("util");
1288
+ var UnsupportedNodeError = class extends Error {
1289
+ constructor(node, message = null) {
1290
+ const prefix = message ? `${message}
1291
+
1292
+ ` : "";
1293
+ super(`${prefix}node type '${node.constructor.name}' is not supported: ${(0, import_util2.inspect)(node)}`);
1294
+ Object.setPrototypeOf(this, UnsupportedNodeError.prototype);
1295
+ this.node = node;
1296
+ }
1297
+ };
1298
+
1299
+ // src/mappers/mapArr.ts
1300
+ function mapArr(context, node) {
1301
+ const { line, column, start, end, raw } = getLocation(context, node);
1302
+ const members = node.objects.map((object) => mapAny(context, object));
1303
+ return new ArrayInitialiser(line, column, start, end, raw, members);
1304
+ }
1305
+
1306
+ // src/mappers/mapAssign.ts
1307
+ var COMPOUND_ASSIGN_OPS = {
1308
+ "-=": SubtractOp.name,
1309
+ "+=": PlusOp.name,
1310
+ "/=": DivideOp.name,
1311
+ "*=": MultiplyOp.name,
1312
+ "%=": RemOp.name,
1313
+ "||=": LogicalOrOp.name,
1314
+ "&&=": LogicalAndOp.name,
1315
+ "?=": ExistsOp.name,
1316
+ "<<=": LeftShiftOp.name,
1317
+ ">>=": SignedRightShiftOp.name,
1318
+ ">>>=": UnsignedRightShiftOp.name,
1319
+ "&=": BitAndOp.name,
1320
+ "^=": BitXorOp.name,
1321
+ "|=": BitOrOp.name,
1322
+ "**=": ExpOp.name,
1323
+ "//=": FloorDivideOp.name,
1324
+ "%%=": ModuloOp.name
1325
+ };
1326
+ function mapAssign(context, node) {
1327
+ if (node.context === "object") {
1328
+ throw new UnsupportedNodeError(node, "Unexpected object context when mapping regular assign op.");
1329
+ }
1330
+ const { line, column, start, end, raw } = getLocation(context, node);
1331
+ if (node.context) {
1332
+ const opName = COMPOUND_ASSIGN_OPS[node.context];
1333
+ if (!opName) {
1334
+ throw new UnsupportedNodeError(node, "Unexpected operator context for assign op.");
1335
+ }
1336
+ return new CompoundAssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value), opName);
1337
+ } else {
1338
+ return new AssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value));
1339
+ }
1340
+ }
1341
+
1342
+ // src/mappers/mapCall.ts
1343
+ var import_coffee_lex5 = require("coffee-lex");
1344
+ var import_nodes12 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1345
+ var import_util3 = require("util");
1346
+
1347
+ // src/util/isHeregexTemplateNode.ts
1348
+ var import_coffee_lex2 = require("coffee-lex");
1349
+ var import_nodes6 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1350
+ function isHeregexTemplateNode(node, context) {
1351
+ if (!(node instanceof import_nodes6.Call) || !node.variable || !(node.variable instanceof import_nodes6.Value) || !node.variable.base || !(node.variable.base instanceof import_nodes6.Literal) || node.variable.base.value !== "RegExp") {
1352
+ return false;
1353
+ }
1354
+ const { sourceTokens, linesAndColumns } = context;
1355
+ const start = linesAndColumns.indexForLocation({
1356
+ line: node.locationData.first_line,
1357
+ column: node.locationData.first_column
1358
+ });
1359
+ if (start === null) {
1360
+ return false;
1361
+ }
1362
+ const startTokenIndex = sourceTokens.indexOfTokenContainingSourceIndex(start);
1363
+ if (startTokenIndex === null) {
1364
+ return false;
1365
+ }
1366
+ const startToken = sourceTokens.tokenAtIndex(startTokenIndex);
1367
+ if (startToken === null) {
1368
+ return false;
1369
+ }
1370
+ return startToken.type === import_coffee_lex2.SourceType.HEREGEXP_START;
1371
+ }
1372
+
1373
+ // src/util/locationsEqual.ts
1374
+ function locationsEqual(first, second) {
1375
+ return first.first_line === second.first_line && first.first_column === second.first_column && first.last_line === second.last_line && first.last_column === second.last_column;
1376
+ }
1377
+
1378
+ // src/util/getTemplateLiteralComponents.ts
1379
+ var import_coffee_lex4 = require("coffee-lex");
1380
+ var import_nodes7 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1381
+
1382
+ // src/util/isPlusTokenBetweenRanges.ts
1383
+ var import_coffee_lex3 = require("coffee-lex");
1384
+ function isPlusTokenBetweenRanges(leftRange, rightRange, context) {
1385
+ const tokens = context.sourceTokens;
1386
+ const leftEnd = tokens.indexOfTokenContainingSourceIndex(leftRange[1] - 1);
1387
+ const rightStart = tokens.indexOfTokenContainingSourceIndex(rightRange[0]);
1388
+ if (!leftEnd || !rightStart) {
1389
+ return false;
1390
+ }
1391
+ const afterLeftEnd = leftEnd.next();
1392
+ if (!afterLeftEnd) {
1393
+ return false;
1394
+ }
1395
+ const tokensBetweenOperands = tokens.slice(afterLeftEnd, rightStart);
1396
+ let foundPlusToken = false;
1397
+ tokensBetweenOperands.forEach(({ type, start, end }) => {
1398
+ if (type === import_coffee_lex3.SourceType.OPERATOR && context.source.slice(start, end) === "+") {
1399
+ foundPlusToken = true;
1400
+ }
1401
+ });
1402
+ return foundPlusToken;
1403
+ }
1404
+
1405
+ // src/util/isImplicitPlusOp.ts
1406
+ function isImplicitPlusOp(op, context) {
1407
+ if (op.operator !== "+" || !op.second) {
1408
+ return false;
1409
+ }
1410
+ const firstRange = context.getRange(op.first);
1411
+ const secondRange = context.getRange(op.second);
1412
+ if (!firstRange || !secondRange) {
1413
+ throw new Error("Expected valid location data on plus operation.");
1414
+ }
1415
+ return !isPlusTokenBetweenRanges(firstRange, secondRange, context);
1416
+ }
1417
+
1418
+ // src/util/parseString.ts
1419
+ var import_parser = require("@codemod/parser");
1420
+ function parseString(string) {
1421
+ const expressionStatement = (0, import_parser.parse)(`(${string})`).program.body[0];
1422
+ const literal = expressionStatement.expression;
1423
+ return literal.value;
1424
+ }
1425
+
1426
+ // src/util/getTemplateLiteralComponents.ts
1427
+ function getTemplateLiteralComponents(context, node) {
1428
+ const tokens = context.sourceTokens;
1429
+ const quasis = [];
1430
+ const unmappedExpressions = [];
1431
+ const elements = getElements(node, context);
1432
+ const nodeRange = context.getRange(node);
1433
+ if (!nodeRange) {
1434
+ throw new Error("Expected valid range on template literal node.");
1435
+ }
1436
+ const { startTokenIndex, startToken } = getStartToken(nodeRange[0], tokens);
1437
+ let depth = 0;
1438
+ let lastToken = startToken;
1439
+ for (let tokenIndex = startTokenIndex; tokenIndex; tokenIndex = tokenIndex.next()) {
1440
+ const token = tokens.tokenAtIndex(tokenIndex);
1441
+ if (!token) {
1442
+ break;
1443
+ }
1444
+ if (token.type === import_coffee_lex4.SourceType.INTERPOLATION_START || token.type === import_coffee_lex4.SourceType.CSX_OPEN_TAG_START) {
1445
+ depth++;
1446
+ if (depth === 1) {
1447
+ quasis.push(findQuasi(lastToken, token, context, elements));
1448
+ lastToken = token;
1449
+ }
1450
+ } else if (token.type === import_coffee_lex4.SourceType.INTERPOLATION_END || token.type === import_coffee_lex4.SourceType.CSX_SELF_CLOSING_TAG_END || token.type === import_coffee_lex4.SourceType.CSX_CLOSE_TAG_END) {
1451
+ depth--;
1452
+ if (depth === 0) {
1453
+ unmappedExpressions.push(findExpression(lastToken, token, context, elements));
1454
+ lastToken = token;
1455
+ }
1456
+ } else if (depth === 0 && isTemplateLiteralEnd(token)) {
1457
+ quasis.push(findQuasi(lastToken, token, context, elements));
1458
+ lastToken = token;
1459
+ break;
1460
+ }
1461
+ }
1462
+ return {
1463
+ quasis,
1464
+ unmappedExpressions,
1465
+ start: startToken.start,
1466
+ end: lastToken.end
1467
+ };
1468
+ }
1469
+ function getElements(node, context) {
1470
+ if (node instanceof import_nodes7.Op && isImplicitPlusOp(node, context)) {
1471
+ if (!node.second) {
1472
+ throw new Error("Expected second operand on plus op.");
1473
+ }
1474
+ return [
1475
+ ...getElements(node.first, context),
1476
+ ...getElements(node.second, context)
1477
+ ];
1478
+ }
1479
+ return [node];
1480
+ }
1481
+ function getStartToken(start, tokens) {
1482
+ let tokenIndex = tokens.indexOfTokenNearSourceIndex(start);
1483
+ for (let i = 0; i < 5; i++) {
1484
+ const token = tokens.tokenAtIndex(tokenIndex);
1485
+ if (!token) {
1486
+ throw new Error("Expected to find a start token in a template literal.");
1487
+ }
1488
+ if (isTemplateLiteralStart(token)) {
1489
+ return { startToken: token, startTokenIndex: tokenIndex };
1490
+ }
1491
+ const prevToken = tokenIndex.previous();
1492
+ if (!prevToken) {
1493
+ throw new Error("Expected a previous token when searching for a template start.");
1494
+ }
1495
+ tokenIndex = prevToken;
1496
+ }
1497
+ throw new Error("Expected a template literal start token.");
1498
+ }
1499
+ function findQuasi(leftToken, rightToken, context, elements) {
1500
+ const matchingElements = elements.filter((elem) => {
1501
+ const range = context.getRange(elem);
1502
+ if (!range) {
1503
+ throw new Error("Unexpected invalid range.");
1504
+ }
1505
+ return range[0] >= leftToken.start && range[1] <= rightToken.end;
1506
+ });
1507
+ const start = leftToken.end;
1508
+ const end = rightToken.start;
1509
+ const startLoc = context.linesAndColumns.locationForIndex(leftToken.end);
1510
+ if (!startLoc) {
1511
+ throw new Error(`Expected to find a location for index ${leftToken.end}.`);
1512
+ }
1513
+ const raw = context.source.slice(start, end);
1514
+ if (matchingElements.length === 0) {
1515
+ return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, "");
1516
+ } else if (matchingElements.length === 1) {
1517
+ const element = matchingElements[0];
1518
+ let literal;
1519
+ if (element instanceof import_nodes7.Literal) {
1520
+ literal = element;
1521
+ } else if (element instanceof import_nodes7.Value && element.properties.length === 0 && element.base instanceof import_nodes7.Literal) {
1522
+ literal = element.base;
1523
+ } else {
1524
+ throw new Error("Expected quasi element to be either a literal or a value containing only a literal.");
1525
+ }
1526
+ const stringValue = parseString(literal.value);
1527
+ return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, stringValue !== void 0 ? stringValue : literal.value);
1528
+ } else {
1529
+ throw new Error("Unexpectedly found multiple elements in string interpolation.");
1530
+ }
1531
+ }
1532
+ function findExpression(leftToken, rightToken, context, elements) {
1533
+ const matchingElements = elements.filter((elem) => {
1534
+ const range = context.getRange(elem);
1535
+ if (!range) {
1536
+ throw new Error("Unexpected invalid range.");
1537
+ }
1538
+ return range[0] >= leftToken.start && range[1] <= rightToken.end;
1539
+ });
1540
+ if (matchingElements.length === 0) {
1541
+ return null;
1542
+ } else if (matchingElements.length === 1) {
1543
+ return matchingElements[0];
1544
+ } else {
1545
+ throw new Error("Unexpectedly found multiple elements in string interpolation.");
1546
+ }
1547
+ }
1548
+ function isTemplateLiteralStart(token) {
1549
+ return [
1550
+ import_coffee_lex4.SourceType.DSTRING_START,
1551
+ import_coffee_lex4.SourceType.SSTRING_START,
1552
+ import_coffee_lex4.SourceType.TDSTRING_START,
1553
+ import_coffee_lex4.SourceType.TSSTRING_START,
1554
+ import_coffee_lex4.SourceType.HEREGEXP_START,
1555
+ import_coffee_lex4.SourceType.CSX_OPEN_TAG_END
1556
+ ].indexOf(token.type) >= 0;
1557
+ }
1558
+ function isTemplateLiteralEnd(token) {
1559
+ return [
1560
+ import_coffee_lex4.SourceType.DSTRING_END,
1561
+ import_coffee_lex4.SourceType.SSTRING_END,
1562
+ import_coffee_lex4.SourceType.TDSTRING_END,
1563
+ import_coffee_lex4.SourceType.TSSTRING_END,
1564
+ import_coffee_lex4.SourceType.HEREGEXP_END,
1565
+ import_coffee_lex4.SourceType.CSX_CLOSE_TAG_START
1566
+ ].indexOf(token.type) >= 0;
1567
+ }
1568
+
1569
+ // src/util/makeHeregex.ts
1570
+ function makeHeregex(context, node, flags) {
1571
+ const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1572
+ const startLoc = context.linesAndColumns.locationForIndex(start);
1573
+ if (!startLoc) {
1574
+ throw new Error(`Expected to find a location for index ${start}.`);
1575
+ }
1576
+ const raw = context.source.slice(start, end);
1577
+ return new Heregex(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null), RegexFlags.parse(flags));
1578
+ }
1579
+
1580
+ // src/mappers/mapCSX.ts
1581
+ var import_nodes10 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1582
+ function mapCSX(context, node) {
1583
+ const { line, column, start, end, raw } = getLocation(context, node);
1584
+ const [properties, children] = node.args;
1585
+ const mappedProperties = mapCSXProperties(context, properties);
1586
+ const mappedChildren = mapCSXChildren(context, children);
1587
+ return new CSXElement(line, column, start, end, raw, mappedProperties, mappedChildren);
1588
+ }
1589
+ function mapCSXProperties(context, properties) {
1590
+ if (!(properties instanceof import_nodes10.Value) || !(properties.base instanceof import_nodes10.Arr)) {
1591
+ throw new Error("Expected a value for the CSX properties arg.");
1592
+ }
1593
+ const values = properties.base.objects;
1594
+ const resultProperties = [];
1595
+ for (const value of values) {
1596
+ if (!(value instanceof import_nodes10.Value)) {
1597
+ throw new Error("Expected value for CSX property.");
1598
+ }
1599
+ if (value.base instanceof import_nodes10.Obj) {
1600
+ for (const propertyAssignment of value.base.objects) {
1601
+ if (propertyAssignment instanceof import_nodes10.Splat) {
1602
+ resultProperties.push(mapAny(context, propertyAssignment));
1603
+ } else if (propertyAssignment instanceof import_nodes10.Assign) {
1604
+ if (!(propertyAssignment.value instanceof import_nodes10.Value)) {
1605
+ throw new Error("Unexpected property assignment value.");
1606
+ }
1607
+ if (!(propertyAssignment.value.base instanceof import_nodes10.StringLiteral)) {
1608
+ resultProperties.push(mapAny(context, propertyAssignment.value));
1609
+ }
1610
+ } else {
1611
+ throw new Error("Unexpected property assignment object field in CSX.");
1612
+ }
1613
+ }
1614
+ } else if (value.base instanceof import_nodes10.IdentifierLiteral) {
1615
+ } else {
1616
+ throw new Error("Unexpected property assignment in CSX.");
1617
+ }
1618
+ }
1619
+ return resultProperties;
1620
+ }
1621
+ function mapCSXChildren(context, children) {
1622
+ if (!children) {
1623
+ return [];
1624
+ }
1625
+ if (!(children instanceof import_nodes10.Value)) {
1626
+ throw new Error("Expected a value for the CSX children arg.");
1627
+ }
1628
+ if (children.base instanceof import_nodes10.StringLiteral) {
1629
+ return [];
1630
+ } else if (!(children.base instanceof import_nodes10.StringWithInterpolations)) {
1631
+ throw new Error("Expected a valid CSX children arg.");
1632
+ }
1633
+ const childInterpolatedString = children.base.body.expressions[0];
1634
+ const { unmappedExpressions } = getTemplateLiteralComponents(context, childInterpolatedString);
1635
+ return unmappedExpressions.map((child) => child ? mapAny(context, child) : null);
1636
+ }
1637
+
1638
+ // src/mappers/mapCall.ts
1639
+ function mapCall(context, node) {
1640
+ const { line, column, start, end, raw } = getLocation(context, node);
1641
+ if (node.csx) {
1642
+ return mapCSX(context, node);
1643
+ }
1644
+ if (isHeregexTemplateNode(node, context)) {
1645
+ const firstArg = node.args[0];
1646
+ if (!(firstArg instanceof import_nodes12.Value) || !(firstArg.base instanceof import_nodes12.StringWithInterpolations)) {
1647
+ throw new Error("Expected a valid first heregex arg in the AST.");
1648
+ }
1649
+ const strNode = firstArg.base.body.expressions[0];
1650
+ let flags;
1651
+ if (node.args.length > 1) {
1652
+ const secondArg = node.args[1];
1653
+ if (!(secondArg instanceof import_nodes12.Value) || !(secondArg.base instanceof import_nodes12.Literal)) {
1654
+ throw new Error("Expected a string flags value in the heregex AST.");
1655
+ }
1656
+ flags = parseString(secondArg.base.value);
1657
+ } else {
1658
+ flags = "";
1659
+ }
1660
+ return makeHeregex(context, strNode, flags);
1661
+ }
1662
+ const args = node.args.map((arg) => mapAny(context, arg));
1663
+ if (node instanceof import_nodes12.SuperCall) {
1664
+ if (node.args.length === 1 && node.args[0] instanceof import_nodes12.Splat && locationsEqual(node.args[0].locationData, node.locationData)) {
1665
+ return new BareSuperFunctionApplication(line, column, start, end, raw);
1666
+ }
1667
+ const superIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1668
+ const superToken = superIndex && context.sourceTokens.tokenAtIndex(superIndex);
1669
+ if (!superToken || superToken.type !== import_coffee_lex5.SourceType.SUPER) {
1670
+ throw new Error(`unable to find SUPER token in 'super' function call: ${(0, import_util3.inspect)(node)}`);
1671
+ }
1672
+ const superLocation = context.linesAndColumns.locationForIndex(superToken.start);
1673
+ if (!superLocation) {
1674
+ throw new Error(`unable to locate SUPER token for 'super' function call: ${(0, import_util3.inspect)(node)}`);
1675
+ }
1676
+ return new FunctionApplication(line, column, start, end, raw, new Super(superLocation.line + 1, superLocation.column + 1, superToken.start, superToken.end, context.source.slice(superToken.start, superToken.end)), args);
1677
+ }
1678
+ if (!node.variable) {
1679
+ throw new Error("Expected non-super call to have a variable defined.");
1680
+ }
1681
+ const callee = mapAny(context, node.variable);
1682
+ if (node.isNew) {
1683
+ return mapNewOp(context, node);
1684
+ }
1685
+ if (node.soak) {
1686
+ return new SoakedFunctionApplication(line, column, start, end, raw, callee, args);
1687
+ }
1688
+ if (node.do) {
1689
+ return mapDoOp(context, node);
1690
+ }
1691
+ return new FunctionApplication(line, column, start, end, raw, callee, args);
1692
+ }
1693
+ function mapNewOp(context, node) {
1694
+ if (!node.variable) {
1695
+ throw new UnsupportedNodeError(node);
1696
+ }
1697
+ const { line, column, start, end, raw } = getLocation(context, node);
1698
+ const callee = mapAny(context, node.variable);
1699
+ const args = node.args.map((arg) => mapAny(context, arg));
1700
+ if (node.soak) {
1701
+ return new SoakedNewOp(line, column, start, end, raw, callee, args);
1702
+ } else {
1703
+ return new NewOp(line, column, start, end, raw, callee, args);
1704
+ }
1705
+ }
1706
+ function mapDoOp(context, node) {
1707
+ if (!node.variable) {
1708
+ throw new UnsupportedNodeError(node);
1709
+ }
1710
+ const { line, column, start, end, raw } = getLocation(context, node);
1711
+ let expression = mapAny(context, node.variable);
1712
+ const args = node.args.map((arg) => mapAny(context, arg));
1713
+ if (expression instanceof BaseFunction) {
1714
+ expression = augmentDoFunctionWithArgs(context, expression, args);
1715
+ } else if (expression instanceof AssignOp && expression.expression instanceof BaseFunction) {
1716
+ const newRhs = augmentDoFunctionWithArgs(context, expression.expression, args);
1717
+ expression = expression.withExpression(newRhs);
1718
+ }
1719
+ return new DoOp(line, column, start, end, raw, expression);
1720
+ }
1721
+ function augmentDoFunctionWithArgs(context, func, args) {
1722
+ const newParameters = func.parameters.map((param, i) => {
1723
+ const arg = args[i];
1724
+ if (arg instanceof Identifier && param instanceof Identifier && arg.data === param.data && arg.start === param.start && arg.end === param.end) {
1725
+ return param;
1726
+ }
1727
+ return new DefaultParam(param.line, param.column, param.start, arg.end, context.source.slice(param.start, arg.end), param, arg);
1728
+ });
1729
+ return func.withParameters(newParameters);
1730
+ }
1731
+
1732
+ // src/mappers/mapClass.ts
1733
+ function mapClass(context, node) {
1734
+ const { line, column, start, end, raw } = getLocation(context, node);
1735
+ const nameAssignee = node.variable ? mapAny(context, node.variable) : null;
1736
+ const parent = node.parent ? mapAny(context, node.parent) : null;
1737
+ const childContext = context.updateState((s) => s.pushCurrentClass());
1738
+ const body = mapPossiblyEmptyBlock(childContext, node.body);
1739
+ const boundMethods = childContext.parseState.currentClassBoundMethods;
1740
+ if (!boundMethods) {
1741
+ throw new Error("Expected a non-null bound method name array.");
1742
+ }
1743
+ return new Class(line, column, start, end, raw, nameAssignee, nameAssignee, body, boundMethods, parent, childContext.parseState.currentClassCtor);
1744
+ }
1745
+
1746
+ // src/mappers/mapCode.ts
1747
+ function mapCode(context, node) {
1748
+ const { line, column, start, end, raw } = getLocation(context, node);
1749
+ const Node12 = getNodeTypeForCode(node);
1750
+ const childContext = context.updateState((s) => s.dropCurrentClass());
1751
+ return new Node12(line, column, start, end, raw, node.params.map((param) => mapAny(childContext, param)), mapPossiblyEmptyBlock(childContext, node.body));
1752
+ }
1753
+ function getNodeTypeForCode(node) {
1754
+ if (node.isGenerator) {
1755
+ if (node.bound) {
1756
+ return BoundGeneratorFunction;
1757
+ } else {
1758
+ return GeneratorFunction;
1759
+ }
1760
+ } else if (node.isAsync) {
1761
+ if (node.bound) {
1762
+ return BoundAsyncFunction;
1763
+ } else {
1764
+ return AsyncFunction;
1765
+ }
1766
+ } else {
1767
+ if (node.bound) {
1768
+ return BoundFunction;
1769
+ } else {
1770
+ return Function;
1771
+ }
1772
+ }
1773
+ }
1774
+
1775
+ // src/mappers/mapComputedPropertyName.ts
1776
+ function mapComputedPropertyName(context, node) {
1777
+ return mapAny(context, node.value);
1778
+ }
1779
+
1780
+ // src/mappers/mapElision.ts
1781
+ function mapElision(context, node) {
1782
+ const { line, column, start, end, raw } = getLocation(context, node);
1783
+ return new Elision(line, column, start, end, raw);
1784
+ }
1785
+
1786
+ // src/mappers/mapExistence.ts
1787
+ function mapExistence(context, node) {
1788
+ const { line, column, start, end, raw } = getLocation(context, node);
1789
+ return new UnaryExistsOp(line, column, start, end, raw, mapAny(context, node.expression));
1790
+ }
1791
+
1792
+ // src/mappers/mapExpansion.ts
1793
+ function mapExpansion(context, node) {
1794
+ const { line, column, start, end, raw } = getLocation(context, node);
1795
+ return new Expansion(line, column, start, end, raw);
1796
+ }
1797
+
1798
+ // src/mappers/mapExtends.ts
1799
+ function mapExtends(context, node) {
1800
+ const { line, column, start, end, raw } = getLocation(context, node);
1801
+ return new ExtendsOp(line, column, start, end, raw, mapAny(context, node.child), mapAny(context, node.parent));
1802
+ }
1803
+
1804
+ // src/mappers/mapFor.ts
1805
+ function mapFor(context, node) {
1806
+ const { line, column, start, end, raw } = getLocation(context, node);
1807
+ const keyAssignee = node.index ? mapAny(context, node.index) : null;
1808
+ const valAssignee = node.name ? mapAny(context, node.name) : null;
1809
+ let body = mapPossiblyEmptyBlock(context, node.body);
1810
+ const target = mapAny(context, node.source);
1811
+ const filter = node.guard ? mapAny(context, node.guard) : null;
1812
+ if (body && body.start < target.start) {
1813
+ body = body.withInline(true);
1814
+ }
1815
+ if (node.object) {
1816
+ const isOwn = node.own;
1817
+ return new ForOf(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn);
1818
+ } else {
1819
+ if (node.from) {
1820
+ if (keyAssignee) {
1821
+ throw new Error("Unexpected key assignee in for...from.");
1822
+ }
1823
+ return new ForFrom(line, column, start, end, raw, valAssignee, target, filter, body);
1824
+ } else {
1825
+ const step = node.step ? mapAny(context, node.step) : null;
1826
+ return new ForIn(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step);
1827
+ }
1828
+ }
1829
+ }
1830
+
1831
+ // src/mappers/mapIf.ts
1832
+ var import_coffee_lex6 = require("coffee-lex");
1833
+ function mapIf(context, node) {
1834
+ const { line, column, start, end, raw } = getLocation(context, node);
1835
+ const condition = mapAny(context, node.condition);
1836
+ let consequent = mapPossiblyEmptyBlock(context, node.body);
1837
+ const alternate = mapPossiblyEmptyBlock(context, node.elseBody);
1838
+ let isUnless = false;
1839
+ let left = null;
1840
+ let right = null;
1841
+ if (consequent && consequent.start < condition.start) {
1842
+ consequent = consequent.withInline(true);
1843
+ left = context.sourceTokens.indexOfTokenEndingAtSourceIndex(consequent.end);
1844
+ right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1845
+ } else {
1846
+ left = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1847
+ right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1848
+ }
1849
+ if (left && right) {
1850
+ isUnless = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === import_coffee_lex6.SourceType.IF && context.source.slice(token.start, token.end) === "unless", left, right) !== null;
1851
+ }
1852
+ return new Conditional(line, column, start, end, raw, condition, consequent, alternate, isUnless);
1853
+ }
1854
+
1855
+ // src/mappers/mapIn.ts
1856
+ var import_coffee_lex7 = require("coffee-lex");
1857
+ function mapIn(context, node) {
1858
+ const { line, column, start, end, raw } = getLocation(context, node);
1859
+ const left = mapAny(context, node.object);
1860
+ const right = mapAny(context, node.array);
1861
+ let isNot = false;
1862
+ const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
1863
+ const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
1864
+ const relationTokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === import_coffee_lex7.SourceType.RELATION, lastTokenIndexOfLeft, firstTokenIndexOfRight);
1865
+ if (relationTokenIndex) {
1866
+ const relationToken = context.sourceTokens.tokenAtIndex(relationTokenIndex);
1867
+ if (relationToken) {
1868
+ isNot = context.source.slice(relationToken.start, relationToken.end) !== "in";
1869
+ return new InOp(line, column, start, end, raw, left, right, isNot);
1870
+ }
1871
+ }
1872
+ throw new Error(`unable to find RELATION token between operands`);
1873
+ }
1874
+
1875
+ // src/mappers/mapLiteral.ts
1876
+ var import_nodes23 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1877
+
1878
+ // src/util/makeString.ts
1879
+ function makeString(context, node) {
1880
+ const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1881
+ const startLoc = context.linesAndColumns.locationForIndex(start);
1882
+ if (!startLoc) {
1883
+ throw new Error(`Expected to find a location for index ${start}.`);
1884
+ }
1885
+ const raw = context.source.slice(start, end);
1886
+ return new String(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null));
1887
+ }
1888
+
1889
+ // src/util/parseNumber.ts
1890
+ var import_parser2 = require("@codemod/parser");
1891
+ function parseNumber(string) {
1892
+ const expressionStatement = (0, import_parser2.parse)(`(${string})`).program.body[0];
1893
+ const literal = expressionStatement.expression;
1894
+ return literal.value;
1895
+ }
1896
+
1897
+ // src/util/parseRegExp.ts
1898
+ var import_parser3 = require("@codemod/parser");
1899
+ function parseRegExp(string) {
1900
+ const expressionStatement = (0, import_parser3.parse)(`(${string})`).program.body[0];
1901
+ const literal = expressionStatement.expression;
1902
+ return literal;
1903
+ }
1904
+
1905
+ // src/mappers/mapLiteral.ts
1906
+ var HEREGEX_PATTERN = /^\/\/\/((?:.|\s)*)\/\/\/([gimuy]*)$/;
1907
+ function mapLiteral(context, node) {
1908
+ const { line, column, start, end, raw } = getLocation(context, node);
1909
+ if (node instanceof import_nodes23.ThisLiteral) {
1910
+ return new This(line, column, start, end, raw);
1911
+ } else if (node instanceof import_nodes23.NullLiteral) {
1912
+ return new Null(line, column, start, end, raw);
1913
+ } else if (node instanceof import_nodes23.UndefinedLiteral) {
1914
+ return new Undefined(line, column, start, end, raw);
1915
+ } else if (node instanceof import_nodes23.BooleanLiteral) {
1916
+ return new Bool(line, column, start, end, raw, JSON.parse(node.value));
1917
+ } else if (node instanceof import_nodes23.IdentifierLiteral || node instanceof import_nodes23.PropertyName) {
1918
+ const value = node.value.valueOf();
1919
+ return new Identifier(line, column, start, end, raw, value);
1920
+ } else if (node instanceof import_nodes23.PassthroughLiteral) {
1921
+ return new JavaScript(line, column, start, end, raw, node.value);
1922
+ } else if (node instanceof import_nodes23.NumberLiteral) {
1923
+ if (raw.includes(".")) {
1924
+ return new Float(line, column, start, end, raw, parseNumber(node.value));
1925
+ } else {
1926
+ return new Int(line, column, start, end, raw, parseNumber(node.value));
1927
+ }
1928
+ } else if (node instanceof import_nodes23.RegexLiteral) {
1929
+ const heregexMatch = raw.match(HEREGEX_PATTERN);
1930
+ if (heregexMatch) {
1931
+ const flags = heregexMatch[2];
1932
+ return makeHeregex(context, node, flags);
1933
+ } else {
1934
+ const regExp = parseRegExp(node.value);
1935
+ return new Regex(line, column, start, end, raw, regExp.pattern, RegexFlags.parse(regExp.flags || ""));
1936
+ }
1937
+ } else if (node instanceof import_nodes23.StringLiteral) {
1938
+ return makeString(context, node);
1939
+ } else if (node instanceof import_nodes23.StatementLiteral) {
1940
+ if (node.value === "break") {
1941
+ return new Break(line, column, start, end, raw);
1942
+ } else if (node.value === "continue") {
1943
+ return new Continue(line, column, start, end, raw);
1944
+ } else if (node.value === "debugger") {
1945
+ return new Debugger(line, column, start, end, raw);
1946
+ }
1947
+ }
1948
+ throw new Error(`Unexpected literal: ${JSON.stringify(node)}`);
1949
+ }
1950
+
1951
+ // src/mappers/mapModuleDeclaration.ts
1952
+ var import_nodes25 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
1953
+
1954
+ // src/util/notNull.ts
1955
+ function notNull(value) {
1956
+ if (typeof value === "undefined" || value === null) {
1957
+ throw new Error(`expected value not to be null/undefined: ${value}`);
1958
+ }
1959
+ return value;
1960
+ }
1961
+
1962
+ // src/mappers/mapModuleDeclaration.ts
1963
+ function mapModuleDeclaration(context, node) {
1964
+ const { line, column, start, end, raw } = getLocation(context, node);
1965
+ if (node instanceof import_nodes25.ImportDeclaration) {
1966
+ const clause = node.clause;
1967
+ let defaultBinding = null;
1968
+ let namespaceImport = null;
1969
+ let namedImports = null;
1970
+ if (clause) {
1971
+ defaultBinding = clause.defaultBinding && mapIdentifierSpecifier(context, clause.defaultBinding);
1972
+ if (clause.namedImports instanceof import_nodes25.ImportNamespaceSpecifier) {
1973
+ namespaceImport = mapStarSpecifier(context, clause.namedImports);
1974
+ } else if (clause.namedImports instanceof import_nodes25.ImportSpecifierList) {
1975
+ namedImports = clause.namedImports.specifiers.map((specifier) => mapSpecifier(context, specifier));
1976
+ }
1977
+ }
1978
+ if (!node.source) {
1979
+ throw new Error("Expected non-null source for import.");
1980
+ }
1981
+ const source = mapSource(context, node.source);
1982
+ return new ImportDeclaration(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source);
1983
+ } else if (node instanceof import_nodes25.ExportNamedDeclaration) {
1984
+ if (node.clause instanceof import_nodes25.ExportSpecifierList) {
1985
+ const namedExports = node.clause.specifiers.map((specifier) => mapSpecifier(context, specifier));
1986
+ const source = node.source ? mapSource(context, node.source) : null;
1987
+ return new ExportBindingsDeclaration(line, column, start, end, raw, namedExports, source);
1988
+ } else {
1989
+ const expression = mapAny(context, notNull(node.clause));
1990
+ return new ExportNamedDeclaration(line, column, start, end, raw, expression);
1991
+ }
1992
+ } else if (node instanceof import_nodes25.ExportDefaultDeclaration) {
1993
+ const expression = mapAny(context, notNull(node.clause));
1994
+ return new ExportDefaultDeclaration(line, column, start, end, raw, expression);
1995
+ } else if (node instanceof import_nodes25.ExportAllDeclaration) {
1996
+ if (!node.source) {
1997
+ throw new Error("Expected non-null source for star export.");
1998
+ }
1999
+ const source = mapSource(context, node.source);
2000
+ return new ExportAllDeclaration(line, column, start, end, raw, source);
2001
+ } else {
2002
+ throw new UnsupportedNodeError(node);
2003
+ }
2004
+ }
2005
+ function mapSource(context, coffeeSource) {
2006
+ const source = mapLiteral(context, coffeeSource);
2007
+ if (!(source instanceof String)) {
2008
+ throw new Error("Expected string literal as import source.");
2009
+ }
2010
+ return source;
2011
+ }
2012
+ function mapIdentifierSpecifier(context, specifier) {
2013
+ if (specifier.alias) {
2014
+ throw new Error("Expected no alias for identifier specifier.");
2015
+ }
2016
+ return mapLiteralToIdentifier(context, specifier.original);
2017
+ }
2018
+ function mapStarSpecifier(context, specifier) {
2019
+ if (specifier.original.value !== "*") {
2020
+ throw new Error("Expected a star on the LHS of a star specifier.");
2021
+ }
2022
+ if (!specifier.alias) {
2023
+ throw new Error("Expected node on the RHS of star specifier.");
2024
+ }
2025
+ return mapLiteralToIdentifier(context, specifier.alias);
2026
+ }
2027
+ function mapSpecifier(context, specifier) {
2028
+ const { line, column, start, end, raw } = getLocation(context, specifier);
2029
+ const original = mapLiteralToIdentifier(context, specifier.original);
2030
+ const alias = specifier.alias ? mapLiteralToIdentifier(context, specifier.alias) : null;
2031
+ return new ModuleSpecifier(line, column, start, end, raw, original, alias);
2032
+ }
2033
+ function mapLiteralToIdentifier(context, literal) {
2034
+ if (literal instanceof import_nodes25.IdentifierLiteral) {
2035
+ return mapLiteral(context, literal);
2036
+ } else if (literal.constructor === import_nodes25.Literal) {
2037
+ const { line, column, start, end, raw } = getLocation(context, literal);
2038
+ return new Identifier(line, column, start, end, raw, literal.value);
2039
+ } else {
2040
+ throw new Error("Expected identifier in module declaration.");
2041
+ }
2042
+ }
2043
+
2044
+ // src/mappers/mapObj.ts
2045
+ var import_nodes28 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2046
+
2047
+ // src/mappers/mapValue.ts
2048
+ var import_coffee_lex8 = require("coffee-lex");
2049
+ var import_nodes26 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2050
+ var import_util4 = require("util");
2051
+ function mapValue(context, node) {
2052
+ const location = getLocation(context, node);
2053
+ return node.properties.reduce((reduced, property) => reduceProperty(context, location, reduced, property), mapAny(context, node.base));
2054
+ }
2055
+ function reduceProperty(context, location, reduced, property) {
2056
+ if (property instanceof import_nodes26.Access) {
2057
+ const name = property.name;
2058
+ if (!(name instanceof import_nodes26.Literal)) {
2059
+ throw new Error(`unexpected non-Literal property access name: ${(0, import_util4.inspect)(name)}`);
2060
+ }
2061
+ let startTokenIndex = tokenIndexAtLocation(context, property.locationData);
2062
+ let startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2063
+ if (startToken && property.soak) {
2064
+ if (startToken.type !== import_coffee_lex8.SourceType.EXISTENCE) {
2065
+ throw new Error(`expected EXISTENCE token ('?') but got ${import_coffee_lex8.SourceType[startToken.type]}: ${(0, import_util4.inspect)(startToken)}`);
2066
+ }
2067
+ startTokenIndex = startTokenIndex && startTokenIndex.next();
2068
+ startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2069
+ }
2070
+ if (!startToken) {
2071
+ throw new Error(`cannot find token at start of property: ${(0, import_util4.inspect)(property)}`);
2072
+ }
2073
+ const last = context.linesAndColumns.indexForLocation({
2074
+ line: property.locationData.last_line,
2075
+ column: property.locationData.last_column
2076
+ });
2077
+ if (last === null) {
2078
+ throw new Error(`cannot find offset of last character of property: ${(0, import_util4.inspect)(property)}`);
2079
+ }
2080
+ const isPrototypeAccess = startToken.type === import_coffee_lex8.SourceType.PROTO;
2081
+ if (isPrototypeAccess) {
2082
+ const AccessOp2 = property.soak ? SoakedProtoMemberAccessOp : ProtoMemberAccessOp;
2083
+ return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced);
2084
+ } else {
2085
+ const member = mapAny(context, name);
2086
+ if (!(member instanceof Identifier)) {
2087
+ throw new Error(`unexpected non-Identifier access member: ${(0, import_util4.inspect)(member)}`);
2088
+ }
2089
+ const AccessOp2 = property.soak ? SoakedMemberAccessOp : MemberAccessOp;
2090
+ return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, member);
2091
+ }
2092
+ } else if (property instanceof import_nodes26.Index) {
2093
+ const NodeClass = property.soak ? SoakedDynamicMemberAccessOp : DynamicMemberAccessOp;
2094
+ const last = context.linesAndColumns.indexForLocation({
2095
+ line: property.locationData.last_line,
2096
+ column: property.locationData.last_column
2097
+ });
2098
+ if (last === null) {
2099
+ throw new Error(`cannot find offset of last character of index: ${(0, import_util4.inspect)(property)}`);
2100
+ }
2101
+ return new NodeClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, mapAny(context, property.index));
2102
+ } else if (property instanceof import_nodes26.Slice) {
2103
+ const last = context.linesAndColumns.indexForLocation({
2104
+ line: property.locationData.last_line,
2105
+ column: property.locationData.last_column
2106
+ });
2107
+ if (last === null) {
2108
+ throw new Error(`cannot find offset of last character of slice: ${(0, import_util4.inspect)(property)}`);
2109
+ }
2110
+ const SliceClass = property.soak ? SoakedSlice : Slice;
2111
+ return new SliceClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, property.range.from ? mapAny(context, property.range.from) : null, property.range.to ? mapAny(context, property.range.to) : null, !property.range.exclusive);
2112
+ } else {
2113
+ throw new UnsupportedNodeError(property, "Unexpected property access.");
2114
+ }
2115
+ }
2116
+ function tokenIndexAtLocation(context, location) {
2117
+ const start = context.linesAndColumns.indexForLocation({
2118
+ line: location.first_line,
2119
+ column: location.first_column
2120
+ });
2121
+ if (start === null) {
2122
+ return null;
2123
+ }
2124
+ return context.sourceTokens.indexOfTokenContainingSourceIndex(start);
2125
+ }
2126
+
2127
+ // src/mappers/mapObj.ts
2128
+ function mapObj(context, node) {
2129
+ const { line, column, start, end, raw } = getLocation(context, node);
2130
+ const members = [];
2131
+ for (const property of node.properties) {
2132
+ if (isCommentOnlyNode(property)) {
2133
+ continue;
2134
+ }
2135
+ const { line: line2, column: column2, start: start2, end: end2, raw: raw2 } = getLocation(context, property);
2136
+ if (property instanceof import_nodes28.Value) {
2137
+ const value = mapValue(context, property);
2138
+ const isComputed = property.base instanceof import_nodes28.ComputedPropertyName;
2139
+ members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, value, null, isComputed));
2140
+ } else if (property instanceof import_nodes28.Assign && property.context === "object") {
2141
+ const key = mapAny(context, property.variable);
2142
+ const expression = mapAny(context, property.value);
2143
+ const isComputed = property.variable instanceof import_nodes28.Value && property.variable.base instanceof import_nodes28.ComputedPropertyName;
2144
+ members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, key, expression, isComputed));
2145
+ } else if (property instanceof import_nodes28.Assign) {
2146
+ const assignee = mapAny(context, property.variable);
2147
+ const expression = mapAny(context, property.value);
2148
+ members.push(new AssignOp(line2, column2, start2, end2, raw2, assignee, expression));
2149
+ } else if (property instanceof import_nodes28.Splat) {
2150
+ members.push(new Spread(line2, column2, start2, end2, raw2, mapAny(context, property.name)));
2151
+ } else {
2152
+ throw new UnsupportedNodeError(property, "Unexpected object member.");
2153
+ }
2154
+ }
2155
+ return new ObjectInitialiser(line, column, start, end, raw, members);
2156
+ }
2157
+
2158
+ // src/mappers/mapOp.ts
2159
+ var import_coffee_lex10 = require("coffee-lex");
2160
+ var import_nodes34 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2161
+ var import_util6 = require("util");
2162
+
2163
+ // src/util/getOperatorInfoInRange.ts
2164
+ var import_coffee_lex9 = require("coffee-lex");
2165
+ function getOperatorInfoInRange(context, start, end) {
2166
+ const startIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start);
2167
+ const endIndex = context.sourceTokens.indexOfTokenNearSourceIndex(end);
2168
+ if (!startIndex || !endIndex) {
2169
+ throw new Error(`cannot find token indexes of range bounds: [${start}, ${end}]`);
2170
+ }
2171
+ const operatorIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type !== import_coffee_lex9.SourceType.LPAREN && token.type !== import_coffee_lex9.SourceType.RPAREN, startIndex.next(), endIndex);
2172
+ const operatorToken = operatorIndex && context.sourceTokens.tokenAtIndex(operatorIndex);
2173
+ if (!operatorToken) {
2174
+ throw new Error(`cannot find operator token in range: [${start}, ${end}]`);
2175
+ }
2176
+ return new OperatorInfo(context.source.slice(operatorToken.start, operatorToken.end), operatorToken);
2177
+ }
2178
+
2179
+ // src/util/isChainedComparison.ts
2180
+ var import_nodes32 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2181
+
2182
+ // src/util/isComparisonOperator.ts
2183
+ var import_nodes31 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2184
+ function isComparisonOperator(node) {
2185
+ if (!(node instanceof import_nodes31.Op)) {
2186
+ return false;
2187
+ }
2188
+ switch (node.operator) {
2189
+ case "<":
2190
+ case ">":
2191
+ case "<=":
2192
+ case ">=":
2193
+ case "===":
2194
+ case "!==":
2195
+ return true;
2196
+ default:
2197
+ return false;
2198
+ }
2199
+ }
2200
+
2201
+ // src/util/isChainedComparison.ts
2202
+ function isChainedComparison(node) {
2203
+ if (node instanceof import_nodes32.Op && isComparisonOperator(node)) {
2204
+ return isComparisonOperator(node.first) || (node.second ? isComparisonOperator(node.second) : false);
2205
+ } else {
2206
+ return false;
2207
+ }
2208
+ }
2209
+
2210
+ // src/util/unwindChainedComparison.ts
2211
+ var import_nodes33 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2212
+ var import_util5 = require("util");
2213
+ function unwindChainedComparison(node) {
2214
+ let operands = [];
2215
+ for (let link = node; ; ) {
2216
+ if (link instanceof import_nodes33.Op && isComparisonOperator(link)) {
2217
+ const { first, second } = link;
2218
+ if (!second) {
2219
+ throw new Error(`unexpected unary operator inside chained comparison: ${(0, import_util5.inspect)(node)}`);
2220
+ }
2221
+ operands = [second, ...operands];
2222
+ link = first;
2223
+ } else {
2224
+ operands = [link, ...operands];
2225
+ break;
2226
+ }
2227
+ }
2228
+ return operands;
2229
+ }
2230
+
2231
+ // src/mappers/mapOp.ts
2232
+ function mapOp(context, node) {
2233
+ if (isChainedComparison(node)) {
2234
+ return mapChainedComparisonOp(context, node);
2235
+ } else {
2236
+ return mapOpWithoutChainedComparison(context, node);
2237
+ }
2238
+ }
2239
+ function mapChainedComparisonOp(context, node) {
2240
+ const { line, column, start, end, raw } = getLocation(context, node);
2241
+ const coffeeOperands = unwindChainedComparison(node);
2242
+ const operands = coffeeOperands.map((operand) => mapAny(context, operand));
2243
+ const operators = [];
2244
+ for (let i = 0; i < operands.length - 1; i++) {
2245
+ const left = operands[i];
2246
+ const right = operands[i + 1];
2247
+ operators.push(getOperatorInfoInRange(context, left.end - 1, right.start));
2248
+ }
2249
+ return new ChainedComparisonOp(line, column, start, end, raw, operands, operators);
2250
+ }
2251
+ function mapOpWithoutChainedComparison(context, node) {
2252
+ switch (node.operator) {
2253
+ case "===":
2254
+ return mapBinaryOp(context, node, EQOp);
2255
+ case "!==":
2256
+ return mapBinaryOp(context, node, NEQOp);
2257
+ case "!":
2258
+ return mapUnaryOp(context, node, LogicalNotOp);
2259
+ case "+":
2260
+ return mapPlusOp(context, node);
2261
+ case "-":
2262
+ return mapBinaryOrUnaryOp(context, node, SubtractOp, UnaryNegateOp);
2263
+ case "&&":
2264
+ return mapBinaryOp(context, node, LogicalAndOp);
2265
+ case "||":
2266
+ return mapBinaryOp(context, node, LogicalOrOp);
2267
+ case "*":
2268
+ return mapBinaryOp(context, node, MultiplyOp);
2269
+ case "/":
2270
+ return mapBinaryOp(context, node, DivideOp);
2271
+ case "//":
2272
+ return mapBinaryOp(context, node, FloorDivideOp);
2273
+ case "?":
2274
+ return mapBinaryOp(context, node, ExistsOp);
2275
+ case "<":
2276
+ return mapBinaryOp(context, node, LTOp);
2277
+ case "<=":
2278
+ return mapBinaryOp(context, node, LTEOp);
2279
+ case ">":
2280
+ return mapBinaryOp(context, node, GTOp);
2281
+ case ">=":
2282
+ return mapBinaryOp(context, node, GTEOp);
2283
+ case "++":
2284
+ return mapUnaryOp(context, node, node.flip ? PostIncrementOp : PreIncrementOp);
2285
+ case "--":
2286
+ return mapUnaryOp(context, node, node.flip ? PostDecrementOp : PreDecrementOp);
2287
+ case "typeof":
2288
+ return mapUnaryOp(context, node, TypeofOp);
2289
+ case "instanceof":
2290
+ return mapNegateableBinaryOp(context, node, InstanceofOp);
2291
+ case "delete":
2292
+ return mapUnaryOp(context, node, DeleteOp);
2293
+ case "in":
2294
+ return mapNegateableBinaryOp(context, node, OfOp);
2295
+ case "new":
2296
+ return mapNewOp2(context, node);
2297
+ case "**":
2298
+ return mapBinaryOp(context, node, ExpOp);
2299
+ case "%":
2300
+ return mapBinaryOp(context, node, RemOp);
2301
+ case "%%":
2302
+ return mapBinaryOp(context, node, ModuloOp);
2303
+ case "&":
2304
+ return mapBinaryOp(context, node, BitAndOp);
2305
+ case "|":
2306
+ return mapBinaryOp(context, node, BitOrOp);
2307
+ case "^":
2308
+ return mapBinaryOp(context, node, BitXorOp);
2309
+ case "<<":
2310
+ return mapBinaryOp(context, node, LeftShiftOp);
2311
+ case ">>":
2312
+ return mapBinaryOp(context, node, SignedRightShiftOp);
2313
+ case ">>>":
2314
+ return mapBinaryOp(context, node, UnsignedRightShiftOp);
2315
+ case "~":
2316
+ return mapUnaryOp(context, node, BitNotOp);
2317
+ case "yield":
2318
+ return mapYieldOp(context, node);
2319
+ case "yield*":
2320
+ return mapUnaryOp(context, node, YieldFrom);
2321
+ case "await":
2322
+ return mapUnaryOp(context, node, Await);
2323
+ }
2324
+ throw new UnsupportedNodeError(node);
2325
+ }
2326
+ function mapPlusOp(context, node) {
2327
+ if (node.second) {
2328
+ if (isImplicitPlusOp(node, context)) {
2329
+ return makeString(context, node);
2330
+ } else {
2331
+ return mapBinaryOp(context, node, PlusOp);
2332
+ }
2333
+ }
2334
+ return mapUnaryOp(context, node, UnaryPlusOp);
2335
+ }
2336
+ function mapNewOp2(context, node) {
2337
+ if (node.second) {
2338
+ throw new Error(`unexpected 'new' operator with multiple operands: ${(0, import_util6.inspect)(node)}`);
2339
+ }
2340
+ const { line, column, start, end, raw } = getLocation(context, node);
2341
+ return new NewOp(line, column, start, end, raw, mapAny(context, node.first), []);
2342
+ }
2343
+ function mapYieldOp(context, node) {
2344
+ const { line, column, start, end, raw } = getLocation(context, node);
2345
+ if (isBareYield(node)) {
2346
+ return new Yield(line, column, start, end, raw, null);
2347
+ } else {
2348
+ return new Yield(line, column, start, end, raw, mapAny(context, node.first));
2349
+ }
2350
+ }
2351
+ function isBareYield(node) {
2352
+ return node.first instanceof import_nodes34.Value && node.first.base instanceof import_nodes34.Literal && node.first.base.value === "";
2353
+ }
2354
+ function mapBinaryOp(context, node, Op10) {
2355
+ const { line, column, start, end, raw } = getLocation(context, node);
2356
+ if (!node.second) {
2357
+ throw new Error(`unexpected '${node.operator}' operator with only one operand: ${(0, import_util6.inspect)(node)}`);
2358
+ }
2359
+ return new Op10(line, column, start, end, raw, mapAny(context, node.first), mapAny(context, node.second));
2360
+ }
2361
+ function mapUnaryOp(context, node, Op10) {
2362
+ const { line, column, start, end, raw } = getLocation(context, node);
2363
+ if (node.second) {
2364
+ throw new Error(`unexpected '${node.operator}' operator with two operands: ${(0, import_util6.inspect)(node)}`);
2365
+ }
2366
+ return new Op10(line, column, start, end, raw, mapAny(context, node.first));
2367
+ }
2368
+ function mapBinaryOrUnaryOp(context, node, BinaryOp2, UnaryOp3) {
2369
+ if (node.second) {
2370
+ return mapBinaryOp(context, node, BinaryOp2);
2371
+ } else {
2372
+ return mapUnaryOp(context, node, UnaryOp3);
2373
+ }
2374
+ }
2375
+ var TemporaryBinaryOp = class extends BinaryOp {
2376
+ constructor(line, column, start, end, raw, left, right) {
2377
+ super("TEMPORARY", line, column, start, end, raw, left, right);
2378
+ }
2379
+ };
2380
+ function tokenStartsWith(prefix, context, token) {
2381
+ return context.source.slice(token.start, token.start + prefix.length) === prefix;
2382
+ }
2383
+ function mapNegateableBinaryOp(context, node, Op10) {
2384
+ const { line, column, start, end, raw, left, right } = mapBinaryOp(context, node, TemporaryBinaryOp);
2385
+ const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
2386
+ const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
2387
+ let isNot = false;
2388
+ if (lastTokenIndexOfLeft) {
2389
+ for (let i = lastTokenIndexOfLeft.next(); i && i !== firstTokenIndexOfRight; i = i.next()) {
2390
+ const token = context.sourceTokens.tokenAtIndex(i);
2391
+ if (token && (token.type === import_coffee_lex10.SourceType.OPERATOR || token.type === import_coffee_lex10.SourceType.RELATION)) {
2392
+ isNot = tokenStartsWith("not", context, token) || tokenStartsWith("!", context, token);
2393
+ break;
2394
+ }
2395
+ }
2396
+ }
2397
+ return new Op10(line, column, start, end, raw, left, right, isNot);
2398
+ }
2399
+
2400
+ // src/mappers/mapParam.ts
2401
+ function mapParam(context, node) {
2402
+ const { line, column, start, end, raw } = getLocation(context, node);
2403
+ const param = mapAny(context, node.name);
2404
+ if (node.value) {
2405
+ const value = mapAny(context, node.value);
2406
+ return new DefaultParam(line, column, start, end, raw, param, value);
2407
+ }
2408
+ if (node.splat) {
2409
+ return new Rest(line, column, start, end, raw, param);
2410
+ }
2411
+ return param;
2412
+ }
2413
+
2414
+ // src/mappers/mapParens.ts
2415
+ var import_nodes37 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2416
+ function mapParens(context, node) {
2417
+ if (!(node.body instanceof import_nodes37.Block)) {
2418
+ return mapAny(context, node.body);
2419
+ }
2420
+ let { expressions } = node.body;
2421
+ expressions = expressions.filter((expr) => !isCommentOnlyNode(expr));
2422
+ if (expressions.length === 1) {
2423
+ return mapAny(context, expressions[0]);
2424
+ }
2425
+ return expressions.map((expression) => mapAny(context, expression)).reduceRight((right, left) => new SeqOp(left.line, left.column, left.start, right.end, context.source.slice(left.start, right.end), left, right));
2426
+ }
2427
+
2428
+ // src/mappers/mapRange.ts
2429
+ var import_util7 = require("util");
2430
+ function mapRange(context, node) {
2431
+ const { line, column, start, end, raw } = getLocation(context, node);
2432
+ if (!node.from || !node.to) {
2433
+ throw new Error(`'from' or 'to' unexpectedly missing: ${(0, import_util7.inspect)(node)}`);
2434
+ }
2435
+ return new Range(line, column, start, end, raw, mapAny(context, node.from), mapAny(context, node.to), !node.exclusive);
2436
+ }
2437
+
2438
+ // src/mappers/mapReturn.ts
2439
+ var import_nodes40 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2440
+ function mapReturn(context, node) {
2441
+ const { line, column, start, end, raw } = getLocation(context, node);
2442
+ const argument = node.expression ? mapAny(context, node.expression) : null;
2443
+ if (node instanceof import_nodes40.YieldReturn) {
2444
+ return new YieldReturn(line, column, start, end, raw, argument);
2445
+ } else if (node instanceof import_nodes40.AwaitReturn) {
2446
+ return new AwaitReturn(line, column, start, end, raw, argument);
2447
+ } else {
2448
+ return new Return(line, column, start, end, raw, argument);
2449
+ }
2450
+ }
2451
+
2452
+ // src/mappers/mapSplat.ts
2453
+ function mapSplat(context, node) {
2454
+ const { line, column, start, end, raw } = getLocation(context, node);
2455
+ return new Spread(line, column, start, end, raw, mapAny(context, node.name));
2456
+ }
2457
+
2458
+ // src/mappers/mapSuper.ts
2459
+ var import_coffee_lex11 = require("coffee-lex");
2460
+ function mapSuper(context, node) {
2461
+ const location = getLocation(context, node);
2462
+ const { line, column, start } = location;
2463
+ const superTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2464
+ if (!superTokenIndex) {
2465
+ throw new Error("Expected token at the start of super node.");
2466
+ }
2467
+ const superToken = context.sourceTokens.tokenAtIndex(superTokenIndex);
2468
+ if (!superToken || superToken.type !== import_coffee_lex11.SourceType.SUPER) {
2469
+ throw new Error("Expected super token at the start of super node.");
2470
+ }
2471
+ const superNode = new Super(line, column, start, superToken.end, context.source.slice(superToken.start, superToken.end));
2472
+ return reduceProperty(context, location, superNode, node.accessor);
2473
+ }
2474
+
2475
+ // src/mappers/mapSwitch.ts
2476
+ var import_coffee_lex12 = require("coffee-lex");
2477
+ function mapSwitch(context, node) {
2478
+ const { line, column, start, end, raw } = getLocation(context, node);
2479
+ const expression = node.subject ? mapAny(context, node.subject) : null;
2480
+ const cases = node.cases.map(([conditions, body]) => {
2481
+ if (!Array.isArray(conditions)) {
2482
+ conditions = [conditions];
2483
+ }
2484
+ const switchConditions = conditions.map((condition) => mapAny(context, condition));
2485
+ const consequent = mapPossiblyEmptyBlock(context, body);
2486
+ const whenToken = getWhenTokenBeforeOffset(context, switchConditions[0].start, start);
2487
+ const locationForIndex = context.linesAndColumns.locationForIndex(whenToken.start);
2488
+ if (!locationForIndex) {
2489
+ throw new Error(`cannot map WHEN token start to line/column: ${whenToken.start}`);
2490
+ }
2491
+ const { line: caseLine, column: caseColumn } = locationForIndex;
2492
+ const { end: end2 } = getLocation(context, body);
2493
+ return new SwitchCase(caseLine + 1, caseColumn + 1, whenToken.start, end2, context.source.slice(whenToken.start, end2), switchConditions, consequent);
2494
+ });
2495
+ return new Switch(line, column, start, end, raw, expression, cases, mapPossiblyEmptyBlock(context, node.otherwise));
2496
+ }
2497
+ function getWhenTokenBeforeOffset(context, offset, lowerBound) {
2498
+ const offsetTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(offset);
2499
+ const lowerBoundTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(lowerBound);
2500
+ const whenTokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => token.type === import_coffee_lex12.SourceType.WHEN, offsetTokenIndex, lowerBoundTokenIndex);
2501
+ if (whenTokenIndex) {
2502
+ const whenToken = context.sourceTokens.tokenAtIndex(whenTokenIndex);
2503
+ if (whenToken) {
2504
+ return whenToken;
2505
+ }
2506
+ }
2507
+ throw new Error(`unable to find WHEN token before ${offset} (lower bound: ${lowerBound})`);
2508
+ }
2509
+
2510
+ // src/mappers/mapTaggedTemplateCall.ts
2511
+ function mapTaggedTemplateCall(context, node) {
2512
+ const { line, column, start, end, raw } = getLocation(context, node);
2513
+ if (!node.variable) {
2514
+ throw new Error("Expected tag in tagged template literal.");
2515
+ }
2516
+ const tag = mapAny(context, node.variable);
2517
+ if (node.args.length !== 1) {
2518
+ throw new Error("Expected tagged template literal call to have exactly one argument.");
2519
+ }
2520
+ const template = mapAny(context, node.args[0]);
2521
+ if (!(template instanceof String)) {
2522
+ throw new Error("Expected tagged template literal argument to be a string.");
2523
+ }
2524
+ return new TaggedTemplateLiteral(line, column, start, end, raw, tag, template);
2525
+ }
2526
+
2527
+ // src/mappers/mapThrow.ts
2528
+ function mapThrow(context, node) {
2529
+ const { line, column, start, end, raw } = getLocation(context, node);
2530
+ const expression = node.expression ? mapAny(context, node.expression) : null;
2531
+ return new Throw(line, column, start, end, raw, expression);
2532
+ }
2533
+
2534
+ // src/mappers/mapTry.ts
2535
+ function mapTry(context, node) {
2536
+ const { line, column, start, end, raw } = getLocation(context, node);
2537
+ return new Try(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.attempt), node.errorVariable ? mapAny(context, node.errorVariable) : null, mapPossiblyEmptyBlock(context, node.recovery), mapPossiblyEmptyBlock(context, node.ensure));
2538
+ }
2539
+
2540
+ // src/mappers/mapWhile.ts
2541
+ var import_coffee_lex13 = require("coffee-lex");
2542
+ function mapWhile(context, node) {
2543
+ const { line, column, start, end, raw } = getLocation(context, node);
2544
+ const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2545
+ const startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2546
+ if (startToken && startToken.type === import_coffee_lex13.SourceType.LOOP) {
2547
+ return new Loop(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.body));
2548
+ }
2549
+ const condition = mapAny(context, node.condition);
2550
+ const guard = node.guard ? mapAny(context, node.guard) : null;
2551
+ let body = mapPossiblyEmptyBlock(context, node.body);
2552
+ if (body instanceof Block && body.start < condition.start) {
2553
+ body = body.withInline(true);
2554
+ }
2555
+ return new While(line, column, start, end, raw, condition, guard, body, node.condition.inverted === true);
2556
+ }
2557
+
2558
+ // src/mappers/mapAny.ts
2559
+ function mapAny(context, node) {
2560
+ if (node instanceof import_nodes49.Value) {
2561
+ return mapValue(context, node);
2562
+ }
2563
+ if (node instanceof import_nodes49.ComputedPropertyName) {
2564
+ return mapComputedPropertyName(context, node);
2565
+ }
2566
+ if (node instanceof import_nodes49.Literal) {
2567
+ return mapLiteral(context, node);
2568
+ }
2569
+ if (node instanceof import_nodes49.Op) {
2570
+ return mapOp(context, node);
2571
+ }
2572
+ if (node instanceof import_nodes49.TaggedTemplateCall) {
2573
+ return mapTaggedTemplateCall(context, node);
2574
+ }
2575
+ if (node instanceof import_nodes49.Call) {
2576
+ return mapCall(context, node);
2577
+ }
2578
+ if (node instanceof import_nodes49.Super) {
2579
+ return mapSuper(context, node);
2580
+ }
2581
+ if (node instanceof import_nodes49.Arr) {
2582
+ return mapArr(context, node);
2583
+ }
2584
+ if (node instanceof import_nodes49.Assign) {
2585
+ return mapAssign(context, node);
2586
+ }
2587
+ if (node instanceof import_nodes49.Param) {
2588
+ return mapParam(context, node);
2589
+ }
2590
+ if (node instanceof import_nodes49.Return) {
2591
+ return mapReturn(context, node);
2592
+ }
2593
+ if (node instanceof import_nodes49.If) {
2594
+ return mapIf(context, node);
2595
+ }
2596
+ if (node instanceof import_nodes49.Obj) {
2597
+ return mapObj(context, node);
2598
+ }
2599
+ if (node instanceof import_nodes49.Parens || node instanceof import_nodes49.StringWithInterpolations) {
2600
+ return mapParens(context, node);
2601
+ }
2602
+ if (node instanceof import_nodes49.For) {
2603
+ return mapFor(context, node);
2604
+ }
2605
+ if (node instanceof import_nodes49.Throw) {
2606
+ return mapThrow(context, node);
2607
+ }
2608
+ if (node instanceof import_nodes49.Block) {
2609
+ return mapBlock(context, node);
2610
+ }
2611
+ if (node instanceof import_nodes49.Code) {
2612
+ return mapCode(context, node);
2613
+ }
2614
+ if (node instanceof import_nodes49.While && !(node instanceof import_nodes49.For)) {
2615
+ return mapWhile(context, node);
2616
+ }
2617
+ if (node instanceof import_nodes49.Try) {
2618
+ return mapTry(context, node);
2619
+ }
2620
+ if (node instanceof import_nodes49.Existence) {
2621
+ return mapExistence(context, node);
2622
+ }
2623
+ if (node instanceof import_nodes49.Class) {
2624
+ return mapClass(context, node);
2625
+ }
2626
+ if (node instanceof import_nodes49.Splat) {
2627
+ return mapSplat(context, node);
2628
+ }
2629
+ if (node instanceof import_nodes49.Expansion) {
2630
+ return mapExpansion(context, node);
2631
+ }
2632
+ if (node instanceof import_nodes49.Elision) {
2633
+ return mapElision(context, node);
2634
+ }
2635
+ if (node instanceof import_nodes49.Switch) {
2636
+ return mapSwitch(context, node);
2637
+ }
2638
+ if (node instanceof import_nodes49.In) {
2639
+ return mapIn(context, node);
2640
+ }
2641
+ if (node instanceof import_nodes49.Range) {
2642
+ return mapRange(context, node);
2643
+ }
2644
+ if (node instanceof import_nodes49.Extends) {
2645
+ return mapExtends(context, node);
2646
+ }
2647
+ if (node instanceof import_nodes49.ModuleDeclaration) {
2648
+ return mapModuleDeclaration(context, node);
2649
+ }
2650
+ throw new UnsupportedNodeError(node);
2651
+ }
2652
+
2653
+ // src/mappers/mapBlock.ts
2654
+ function mapBlock(context, node) {
2655
+ let childContext = context;
2656
+ if (context.parseState.isInClassBody()) {
2657
+ const hasProtoAssignChild = node.expressions.some((child) => child instanceof import_nodes50.Value && child.isObject(true));
2658
+ if (hasProtoAssignChild) {
2659
+ childContext = childContext.updateState((s) => s.dropCurrentClass());
2660
+ }
2661
+ }
2662
+ const { line, column, start, end, raw } = getLocation(context, node);
2663
+ const previousTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start).previous();
2664
+ const previousToken = previousTokenIndex ? context.sourceTokens.tokenAtIndex(previousTokenIndex) : null;
2665
+ const inline = previousToken ? previousToken.type !== import_coffee_lex14.SourceType.NEWLINE : false;
2666
+ return new Block(line, column, start, end, raw, node.expressions.filter((expression) => !isCommentOnlyNode(expression)).map((expression) => mapChild(context, childContext, expression)).reduce((arr, current) => arr.concat(current), []), inline);
2667
+ }
2668
+ function mapChild(blockContext, childContext, node) {
2669
+ if (blockContext.parseState.isInClassBody() && node instanceof import_nodes50.Value && node.isObject(true)) {
2670
+ const obj = node.base;
2671
+ if (!(obj instanceof import_nodes50.Obj)) {
2672
+ throw new Error("Expected isObject node to be an object.");
2673
+ }
2674
+ const statements = [];
2675
+ for (const property of obj.properties) {
2676
+ if (isCommentOnlyNode(property)) {
2677
+ continue;
2678
+ }
2679
+ if (property instanceof import_nodes50.Assign) {
2680
+ const { line, column, start, end, raw } = getLocation(childContext, property);
2681
+ const key = mapAny(childContext, property.variable);
2682
+ const value = mapAny(childContext, property.value);
2683
+ let Node12 = ClassProtoAssignOp;
2684
+ if (key instanceof Identifier && key.data === "constructor") {
2685
+ Node12 = Constructor;
2686
+ } else if (key instanceof MemberAccessOp && key.expression instanceof This) {
2687
+ Node12 = AssignOp;
2688
+ }
2689
+ const assignment = new Node12(line, column, start, end, raw, key, value);
2690
+ statements.push(assignment);
2691
+ if (assignment instanceof ClassProtoAssignOp && (assignment.expression instanceof BoundFunction || assignment.expression instanceof BoundGeneratorFunction || assignment.expression instanceof BoundAsyncFunction)) {
2692
+ blockContext.parseState.recordBoundMethod(assignment);
2693
+ }
2694
+ if (assignment instanceof Constructor) {
2695
+ blockContext.parseState.recordConstructor(assignment);
2696
+ }
2697
+ } else {
2698
+ throw new Error(`unexpected class assignment: ${(0, import_util8.inspect)(property)}`);
2699
+ }
2700
+ }
2701
+ return statements;
2702
+ }
2703
+ return [mapAny(childContext, node)];
2704
+ }
2705
+
2706
+ // src/mappers/mapPossiblyEmptyBlock.ts
2707
+ function mapPossiblyEmptyBlock(context, node) {
2708
+ if (!node) {
2709
+ return null;
2710
+ }
2711
+ if (node.expressions.every((expression) => isCommentOnlyNode(expression))) {
2712
+ return null;
2713
+ }
2714
+ const lastSourceIndex = context.linesAndColumns.indexForLocation({
2715
+ line: node.locationData.last_line,
2716
+ column: node.locationData.last_column
2717
+ });
2718
+ if (lastSourceIndex === null) {
2719
+ throw new Error("Expected to find last source index of block.");
2720
+ }
2721
+ if (context.source[lastSourceIndex] === ";") {
2722
+ return mapBlock(context, node);
2723
+ }
2724
+ if (node.expressions.length === 0) {
2725
+ return null;
2726
+ }
2727
+ return mapBlock(context, node);
2728
+ }
2729
+
2730
+ // src/mappers/mapProgram.ts
2731
+ function mapProgram(context) {
2732
+ return new Program(1, 1, 0, context.source.length, context.source, mapPossiblyEmptyBlock(context, context.ast), context);
2733
+ }
2734
+
2735
+ // src/parseCS1AsCS2.ts
2736
+ var import_decaffeinate_coffeescript = require("decaffeinate-coffeescript");
2737
+ var import_nodes53 = require("decaffeinate-coffeescript/lib/coffee-script/nodes.js");
2738
+ var import_nodes54 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2739
+ var nodeTypeMap = /* @__PURE__ */ new Map();
2740
+ nodeTypeMap.set(import_nodes53.Base, import_nodes54.Base);
2741
+ nodeTypeMap.set(import_nodes53.Block, import_nodes54.Block);
2742
+ nodeTypeMap.set(import_nodes53.Literal, import_nodes54.Literal);
2743
+ nodeTypeMap.set(import_nodes53.NumberLiteral, import_nodes54.NumberLiteral);
2744
+ nodeTypeMap.set(import_nodes53.InfinityLiteral, import_nodes54.InfinityLiteral);
2745
+ nodeTypeMap.set(import_nodes53.NaNLiteral, import_nodes54.NaNLiteral);
2746
+ nodeTypeMap.set(import_nodes53.StringLiteral, import_nodes54.StringLiteral);
2747
+ nodeTypeMap.set(import_nodes53.RegexLiteral, import_nodes54.RegexLiteral);
2748
+ nodeTypeMap.set(import_nodes53.PassthroughLiteral, import_nodes54.PassthroughLiteral);
2749
+ nodeTypeMap.set(import_nodes53.IdentifierLiteral, import_nodes54.IdentifierLiteral);
2750
+ nodeTypeMap.set(import_nodes53.PropertyName, import_nodes54.PropertyName);
2751
+ nodeTypeMap.set(import_nodes53.StatementLiteral, import_nodes54.StatementLiteral);
2752
+ nodeTypeMap.set(import_nodes53.ThisLiteral, import_nodes54.ThisLiteral);
2753
+ nodeTypeMap.set(import_nodes53.UndefinedLiteral, import_nodes54.UndefinedLiteral);
2754
+ nodeTypeMap.set(import_nodes53.NullLiteral, import_nodes54.NullLiteral);
2755
+ nodeTypeMap.set(import_nodes53.BooleanLiteral, import_nodes54.BooleanLiteral);
2756
+ nodeTypeMap.set(import_nodes53.Return, import_nodes54.Return);
2757
+ nodeTypeMap.set(import_nodes53.YieldReturn, import_nodes54.YieldReturn);
2758
+ nodeTypeMap.set(import_nodes53.Value, import_nodes54.Value);
2759
+ nodeTypeMap.set(import_nodes53.Call, import_nodes54.Call);
2760
+ nodeTypeMap.set(import_nodes53.SuperCall, import_nodes54.SuperCall);
2761
+ nodeTypeMap.set(import_nodes53.RegexWithInterpolations, import_nodes54.RegexWithInterpolations);
2762
+ nodeTypeMap.set(import_nodes53.TaggedTemplateCall, import_nodes54.TaggedTemplateCall);
2763
+ nodeTypeMap.set(import_nodes53.Extends, import_nodes54.Extends);
2764
+ nodeTypeMap.set(import_nodes53.Access, import_nodes54.Access);
2765
+ nodeTypeMap.set(import_nodes53.Index, import_nodes54.Index);
2766
+ nodeTypeMap.set(import_nodes53.Range, import_nodes54.Range);
2767
+ nodeTypeMap.set(import_nodes53.Slice, import_nodes54.Slice);
2768
+ nodeTypeMap.set(import_nodes53.Obj, import_nodes54.Obj);
2769
+ nodeTypeMap.set(import_nodes53.Arr, import_nodes54.Arr);
2770
+ nodeTypeMap.set(import_nodes53.Class, import_nodes54.Class);
2771
+ nodeTypeMap.set(import_nodes53.ModuleDeclaration, import_nodes54.ModuleDeclaration);
2772
+ nodeTypeMap.set(import_nodes53.ImportDeclaration, import_nodes54.ImportDeclaration);
2773
+ nodeTypeMap.set(import_nodes53.ImportClause, import_nodes54.ImportClause);
2774
+ nodeTypeMap.set(import_nodes53.ExportDeclaration, import_nodes54.ExportDeclaration);
2775
+ nodeTypeMap.set(import_nodes53.ExportNamedDeclaration, import_nodes54.ExportNamedDeclaration);
2776
+ nodeTypeMap.set(import_nodes53.ExportDefaultDeclaration, import_nodes54.ExportDefaultDeclaration);
2777
+ nodeTypeMap.set(import_nodes53.ExportAllDeclaration, import_nodes54.ExportAllDeclaration);
2778
+ nodeTypeMap.set(import_nodes53.ModuleSpecifierList, import_nodes54.ModuleSpecifierList);
2779
+ nodeTypeMap.set(import_nodes53.ImportSpecifierList, import_nodes54.ImportSpecifierList);
2780
+ nodeTypeMap.set(import_nodes53.ExportSpecifierList, import_nodes54.ExportSpecifierList);
2781
+ nodeTypeMap.set(import_nodes53.ModuleSpecifier, import_nodes54.ModuleSpecifier);
2782
+ nodeTypeMap.set(import_nodes53.ImportSpecifier, import_nodes54.ImportSpecifier);
2783
+ nodeTypeMap.set(import_nodes53.ImportDefaultSpecifier, import_nodes54.ImportDefaultSpecifier);
2784
+ nodeTypeMap.set(import_nodes53.ImportNamespaceSpecifier, import_nodes54.ImportNamespaceSpecifier);
2785
+ nodeTypeMap.set(import_nodes53.ExportSpecifier, import_nodes54.ExportSpecifier);
2786
+ nodeTypeMap.set(import_nodes53.Assign, import_nodes54.Assign);
2787
+ nodeTypeMap.set(import_nodes53.Code, import_nodes54.Code);
2788
+ nodeTypeMap.set(import_nodes53.Param, import_nodes54.Param);
2789
+ nodeTypeMap.set(import_nodes53.Splat, import_nodes54.Splat);
2790
+ nodeTypeMap.set(import_nodes53.Expansion, import_nodes54.Expansion);
2791
+ nodeTypeMap.set(import_nodes53.While, import_nodes54.While);
2792
+ nodeTypeMap.set(import_nodes53.Op, import_nodes54.Op);
2793
+ nodeTypeMap.set(import_nodes53.In, import_nodes54.In);
2794
+ nodeTypeMap.set(import_nodes53.Try, import_nodes54.Try);
2795
+ nodeTypeMap.set(import_nodes53.Throw, import_nodes54.Throw);
2796
+ nodeTypeMap.set(import_nodes53.Existence, import_nodes54.Existence);
2797
+ nodeTypeMap.set(import_nodes53.Parens, import_nodes54.Parens);
2798
+ nodeTypeMap.set(import_nodes53.StringWithInterpolations, import_nodes54.StringWithInterpolations);
2799
+ nodeTypeMap.set(import_nodes53.For, import_nodes54.For);
2800
+ nodeTypeMap.set(import_nodes53.Switch, import_nodes54.Switch);
2801
+ nodeTypeMap.set(import_nodes53.If, import_nodes54.If);
2802
+ function parseCS1AsCS2(source) {
2803
+ const cs1AST = (0, import_decaffeinate_coffeescript.nodes)(source);
2804
+ const cs2AST = convertCS1NodeToCS2(cs1AST);
2805
+ if (!(cs2AST instanceof import_nodes54.Block)) {
2806
+ throw new Error("Expected top-level CS file to convert to a Block");
2807
+ }
2808
+ return cs2AST;
2809
+ }
2810
+ function convertCS1NodeToCS2(node) {
2811
+ if (node instanceof import_nodes53.Comment) {
2812
+ return makeCS2Comment(node);
2813
+ }
2814
+ const cs1Constructor = node.constructor;
2815
+ const cs2Constructor = nodeTypeMap.get(cs1Constructor);
2816
+ if (!cs2Constructor) {
2817
+ throw new Error(`Unexpected CS1 type for node ${node}`);
2818
+ }
2819
+ const result = Object.create(cs2Constructor.prototype);
2820
+ for (const key of Object.keys(node)) {
2821
+ const value = node[key];
2822
+ if (Array.isArray(value) && value.length > 0 && value[0] instanceof import_nodes53.Base) {
2823
+ result[key] = value.map((child) => convertCS1NodeToCS2(child));
2824
+ } else if (key === "cases") {
2825
+ result[key] = value.map(([switchCaseCondition, block]) => {
2826
+ if (Array.isArray(switchCaseCondition)) {
2827
+ return [
2828
+ switchCaseCondition.map((condition) => convertCS1NodeToCS2(condition)),
2829
+ convertCS1NodeToCS2(block)
2830
+ ];
2831
+ } else {
2832
+ return [
2833
+ convertCS1NodeToCS2(switchCaseCondition),
2834
+ convertCS1NodeToCS2(block)
2835
+ ];
2836
+ }
2837
+ });
2838
+ } else if (value instanceof import_nodes53.Base) {
2839
+ result[key] = convertCS1NodeToCS2(value);
2840
+ } else {
2841
+ result[key] = value;
2842
+ }
2843
+ }
2844
+ return result;
2845
+ }
2846
+ function makeCS2Comment(comment) {
2847
+ const valueNode = Object.create(import_nodes54.Value.prototype);
2848
+ const passthroughNode = Object.create(import_nodes54.PassthroughLiteral.prototype);
2849
+ valueNode.properties = [];
2850
+ valueNode.base = passthroughNode;
2851
+ passthroughNode.value = "";
2852
+ valueNode.locationData = comment.locationData;
2853
+ passthroughNode.locationData = comment.locationData;
2854
+ return valueNode;
2855
+ }
2856
+
2857
+ // src/parseCS2.ts
2858
+ var import_decaffeinate_coffeescript2 = require("decaffeinate-coffeescript2");
2859
+ function parseCS2(source) {
2860
+ return (0, import_decaffeinate_coffeescript2.nodes)(source);
2861
+ }
2862
+
2863
+ // src/util/fixLocations.ts
2864
+ var import_coffee_lex17 = require("coffee-lex");
2865
+ var import_nodes55 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
2866
+
2867
+ // src/util/expandToIncludeParens.ts
2868
+ var import_coffee_lex15 = require("coffee-lex");
2869
+
2870
+ // src/util/locationDataFromSourceRange.ts
2871
+ function locationDataFromSourceRange(context, sourceRange) {
2872
+ const startLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.start);
2873
+ if (startLocationInclusive === null) {
2874
+ throw new Error("Expected start location for source range.");
2875
+ }
2876
+ const endLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.end - 1);
2877
+ if (endLocationInclusive === null) {
2878
+ throw new Error("Expected end location for source range.");
2879
+ }
2880
+ return {
2881
+ first_line: startLocationInclusive.line,
2882
+ first_column: startLocationInclusive.column,
2883
+ last_line: endLocationInclusive.line,
2884
+ last_column: endLocationInclusive.column
2885
+ };
2886
+ }
2887
+
2888
+ // src/util/sourceRangeFromLocationData.ts
2889
+ function sourceRangeFromLocationData(context, locationData) {
2890
+ const startIndexInclusive = context.linesAndColumns.indexForLocation({
2891
+ line: locationData.first_line,
2892
+ column: locationData.first_column
2893
+ });
2894
+ if (startIndexInclusive === null) {
2895
+ throw new Error("Expected index for start of range.");
2896
+ }
2897
+ const endIndexInclusive = context.linesAndColumns.indexForLocation({
2898
+ line: locationData.last_line,
2899
+ column: locationData.last_column
2900
+ });
2901
+ if (endIndexInclusive === null) {
2902
+ throw new Error("Expected index for end of range.");
2903
+ }
2904
+ return {
2905
+ start: startIndexInclusive,
2906
+ end: endIndexInclusive + 1
2907
+ };
2908
+ }
2909
+
2910
+ // src/util/expandToIncludeParens.ts
2911
+ function expandToIncludeParens(context, locationData) {
2912
+ let sourceRange = sourceRangeFromLocationData(context, locationData);
2913
+ while (true) {
2914
+ const tokens = getSurroundingParens(context, sourceRange);
2915
+ if (tokens === null) {
2916
+ break;
2917
+ }
2918
+ sourceRange = { start: tokens.openParen.start, end: tokens.closeParen.end };
2919
+ }
2920
+ return locationDataFromSourceRange(context, sourceRange);
2921
+ }
2922
+ function getSurroundingParens(context, sourceRange) {
2923
+ const tokenBefore = firstSemanticTokenBefore(context, sourceRange.start);
2924
+ const tokenAfter = firstSemanticTokenAfter(context, sourceRange.end);
2925
+ if (tokenBefore === null || tokenBefore.type !== import_coffee_lex15.SourceType.LPAREN) {
2926
+ return null;
2927
+ }
2928
+ if (tokenAfter === null || tokenAfter.type !== import_coffee_lex15.SourceType.RPAREN) {
2929
+ return null;
2930
+ }
2931
+ return { openParen: tokenBefore, closeParen: tokenAfter };
2932
+ }
2933
+
2934
+ // src/util/fixInvalidLocationData.ts
2935
+ function fixInvalidLocationData(locationData, linesAndColumns) {
2936
+ let { last_line, last_column } = locationData;
2937
+ const indexForLocation = linesAndColumns.indexForLocation({
2938
+ line: last_line,
2939
+ column: last_column
2940
+ });
2941
+ if (indexForLocation !== null) {
2942
+ return locationData;
2943
+ } else {
2944
+ let offset = 1;
2945
+ for (; ; ) {
2946
+ const index = linesAndColumns.indexForLocation({
2947
+ line: last_line,
2948
+ column: last_column - offset
2949
+ });
2950
+ offset++;
2951
+ if (index !== null) {
2952
+ const location = linesAndColumns.locationForIndex(index + offset);
2953
+ if (!location) {
2954
+ throw new Error(`Unable to determine adjustment offset for incorrect location data: ${JSON.stringify(locationData)}. No valid location found for index: ${index + offset}`);
2955
+ }
2956
+ last_line = location.line;
2957
+ last_column = location.column;
2958
+ break;
2959
+ }
2960
+ }
2961
+ return {
2962
+ ...locationData,
2963
+ last_line,
2964
+ last_column
2965
+ };
2966
+ }
2967
+ }
2968
+
2969
+ // src/util/locationWithLastPosition.ts
2970
+ function locationWithLastPosition(loc, last) {
2971
+ return {
2972
+ first_line: loc.first_line,
2973
+ first_column: loc.first_column,
2974
+ last_line: last.last_line,
2975
+ last_column: last.last_column
2976
+ };
2977
+ }
2978
+
2979
+ // src/util/mergeLocations.ts
2980
+ function mergeLocations(left, right) {
2981
+ let first_line;
2982
+ let first_column;
2983
+ let last_line;
2984
+ let last_column;
2985
+ if (left.first_line < right.first_line) {
2986
+ ({ first_line, first_column } = left);
2987
+ } else if (left.first_line > right.first_line) {
2988
+ ({ first_line, first_column } = right);
2989
+ } else if (left.first_column < right.first_column) {
2990
+ ({ first_line, first_column } = left);
2991
+ } else {
2992
+ ({ first_line, first_column } = right);
2993
+ }
2994
+ if (left.last_line < right.last_line) {
2995
+ ({ last_line, last_column } = right);
2996
+ } else if (left.last_line > right.last_line) {
2997
+ ({ last_line, last_column } = left);
2998
+ } else if (left.last_column < right.last_column) {
2999
+ ({ last_line, last_column } = right);
3000
+ } else {
3001
+ ({ last_line, last_column } = left);
3002
+ }
3003
+ return { first_line, first_column, last_line, last_column };
3004
+ }
3005
+
3006
+ // src/util/rangeOfBracketTokensForIndexNode.ts
3007
+ var import_coffee_lex16 = require("coffee-lex");
3008
+ var import_util9 = require("util");
3009
+ function rangeOfBracketTokensForIndexNode(context, indexNode) {
3010
+ const start = context.linesAndColumns.indexForLocation({
3011
+ line: indexNode.locationData.first_line,
3012
+ column: indexNode.locationData.first_column
3013
+ });
3014
+ if (start !== null) {
3015
+ const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
3016
+ if (startTokenIndex !== null) {
3017
+ const range = context.sourceTokens.rangeOfMatchingTokensContainingTokenIndex(import_coffee_lex16.SourceType.LBRACKET, import_coffee_lex16.SourceType.RBRACKET, startTokenIndex);
3018
+ if (range !== null) {
3019
+ return range;
3020
+ }
3021
+ }
3022
+ }
3023
+ throw new Error(`cannot find braces surrounding index at ${indexNode.locationData.first_line + 1}:${indexNode.locationData.first_column}: ${(0, import_util9.inspect)(indexNode)}`);
3024
+ }
3025
+
3026
+ // src/util/fixLocations.ts
3027
+ function fixLocations(context, node) {
3028
+ const { linesAndColumns, source } = context;
3029
+ node.eachChild((child) => {
3030
+ if (child && child.locationData) {
3031
+ fixLocations(context, child);
3032
+ }
3033
+ return void 0;
3034
+ });
3035
+ node.locationData = fixInvalidLocationData(node.locationData, context.linesAndColumns);
3036
+ if (node instanceof import_nodes55.Value) {
3037
+ const lastChild = node.properties[node.properties.length - 1] || node.base;
3038
+ if (lastChild) {
3039
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3040
+ }
3041
+ }
3042
+ if (node instanceof import_nodes55.Index || node instanceof import_nodes55.Slice) {
3043
+ const rangeOfBrackets = rangeOfBracketTokensForIndexNode(context, node);
3044
+ const lbracket = context.sourceTokens.tokenAtIndex(rangeOfBrackets[0]);
3045
+ if (lbracket === null) {
3046
+ throw new Error("Expected to find left-bracket token.");
3047
+ }
3048
+ const lbracketLoc = linesAndColumns.locationForIndex(lbracket.start);
3049
+ if (lbracketLoc === null) {
3050
+ throw new Error("Expected to find a location for the left-bracket token.");
3051
+ }
3052
+ const rbracketIndex = rangeOfBrackets[1].previous();
3053
+ if (rbracketIndex === null) {
3054
+ throw new Error("Expected to find a non-null right-bracket token index.");
3055
+ }
3056
+ const rbracket = context.sourceTokens.tokenAtIndex(rbracketIndex);
3057
+ if (rbracket === null) {
3058
+ throw new Error("Expected to find right-bracket token.");
3059
+ }
3060
+ const rbracketLoc = linesAndColumns.locationForIndex(rbracket.start);
3061
+ if (rbracketLoc === null) {
3062
+ throw new Error("Expected to find a location for the right-bracket token.");
3063
+ }
3064
+ node.locationData = {
3065
+ first_line: lbracketLoc.line,
3066
+ first_column: lbracketLoc.column,
3067
+ last_line: rbracketLoc.line,
3068
+ last_column: rbracketLoc.column
3069
+ };
3070
+ }
3071
+ if (node instanceof import_nodes55.Obj) {
3072
+ const loc = node.locationData;
3073
+ const start = linesAndColumns.indexForLocation({
3074
+ line: loc.first_line,
3075
+ column: loc.first_column
3076
+ });
3077
+ if (start === null) {
3078
+ throw new Error("Expected to find a start index for object.");
3079
+ }
3080
+ const end = linesAndColumns.indexForLocation({
3081
+ line: loc.last_line,
3082
+ column: loc.last_column
3083
+ });
3084
+ if (end === null) {
3085
+ throw new Error("Expected to find an end index for object.");
3086
+ }
3087
+ const isImplicitObject = source[start] !== "{";
3088
+ if (isImplicitObject && source[end] !== ",") {
3089
+ const lastChild = node.properties[node.properties.length - 1];
3090
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3091
+ }
3092
+ }
3093
+ if (node instanceof import_nodes55.Op) {
3094
+ const lastChild = node.second;
3095
+ if (lastChild) {
3096
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3097
+ }
3098
+ }
3099
+ if (node instanceof import_nodes55.Assign) {
3100
+ const lastChild = node.value;
3101
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3102
+ }
3103
+ if (node instanceof import_nodes55.In) {
3104
+ const lastChild = node.array;
3105
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3106
+ }
3107
+ if (node instanceof import_nodes55.Call) {
3108
+ if (node.variable && !node.do && !node.csx) {
3109
+ const calleeLoc = node.variable.locationData;
3110
+ let calleeEnd = linesAndColumns.indexForLocation({
3111
+ line: calleeLoc.last_line,
3112
+ column: calleeLoc.last_column
3113
+ });
3114
+ if (calleeEnd === null) {
3115
+ throw new Error("Expected to find index for callee end.");
3116
+ }
3117
+ calleeEnd++;
3118
+ if (source[calleeEnd] === "?") {
3119
+ calleeEnd += 1;
3120
+ }
3121
+ const isImplicitCall = source[calleeEnd] !== "(";
3122
+ if (isImplicitCall) {
3123
+ const lastChild = node.args[node.args.length - 1] || node.variable;
3124
+ if (lastChild) {
3125
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3126
+ }
3127
+ }
3128
+ }
3129
+ }
3130
+ if (node instanceof import_nodes55.Block) {
3131
+ const lastChild = node.expressions[node.expressions.length - 1];
3132
+ if (lastChild) {
3133
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3134
+ } else {
3135
+ const sourceRange = sourceRangeFromLocationData(context, node.locationData);
3136
+ node.locationData = locationDataFromSourceRange(context, {
3137
+ start: sourceRange.end,
3138
+ end: sourceRange.end
3139
+ });
3140
+ }
3141
+ let blockEnd = linesAndColumns.indexForLocation({
3142
+ line: node.locationData.last_line,
3143
+ column: node.locationData.last_column
3144
+ });
3145
+ if (blockEnd === null) {
3146
+ throw new Error("Expected to find index for block end.");
3147
+ }
3148
+ if (source[blockEnd + 1] === ";") {
3149
+ blockEnd++;
3150
+ const loc = linesAndColumns.locationForIndex(blockEnd);
3151
+ if (loc === null) {
3152
+ throw new Error("Expected to find location for block end.");
3153
+ }
3154
+ node.locationData.last_line = loc.line;
3155
+ node.locationData.last_column = loc.column;
3156
+ }
3157
+ node.locationData = expandToIncludeParens(context, node.locationData);
3158
+ }
3159
+ if (node instanceof import_nodes55.If) {
3160
+ const lastChild = node.elseBody || node.body;
3161
+ node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3162
+ }
3163
+ if (node instanceof import_nodes55.For || node instanceof import_nodes55.While) {
3164
+ const lastChild = node.body;
3165
+ if (lastChild) {
3166
+ node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3167
+ }
3168
+ }
3169
+ if (node instanceof import_nodes55.Param) {
3170
+ if (!node.splat) {
3171
+ const lastChild = node.value || node.name;
3172
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3173
+ }
3174
+ }
3175
+ if (node instanceof import_nodes55.Code) {
3176
+ if (node.body) {
3177
+ node.locationData = locationWithLastPosition(node.locationData, node.body.locationData);
3178
+ }
3179
+ }
3180
+ if (node instanceof import_nodes55.Class) {
3181
+ const lastChild = node.body;
3182
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3183
+ }
3184
+ if (node instanceof import_nodes55.Switch) {
3185
+ const lastChild = node.otherwise || node.cases[node.cases.length - 1][1];
3186
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3187
+ }
3188
+ if (node instanceof import_nodes55.Try) {
3189
+ const lastChild = node.ensure || node.recovery || node.errorVariable || node.attempt;
3190
+ if (lastChild) {
3191
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3192
+ }
3193
+ }
3194
+ if (node instanceof import_nodes55.Extends) {
3195
+ const lastChild = node.parent;
3196
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3197
+ }
3198
+ if (node instanceof import_nodes55.Literal) {
3199
+ const endIndex = linesAndColumns.indexForLocation({
3200
+ line: node.locationData.last_line,
3201
+ column: node.locationData.last_column
3202
+ });
3203
+ if (endIndex !== null) {
3204
+ const tokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(endIndex);
3205
+ const token = context.sourceTokens.tokenAtIndex(tokenIndex);
3206
+ if (token && token.type === import_coffee_lex17.SourceType.HEREGEXP_END) {
3207
+ const location = linesAndColumns.locationForIndex(token.end - 1);
3208
+ if (location) {
3209
+ node.locationData = {
3210
+ ...node.locationData,
3211
+ last_line: location.line,
3212
+ last_column: location.column
3213
+ };
3214
+ }
3215
+ }
3216
+ }
3217
+ }
3218
+ }
3219
+
3220
+ // src/util/ParseContext.ts
3221
+ var import_nodes56 = require("decaffeinate-coffeescript2/lib/coffeescript/nodes.js");
3222
+ var import_lines_and_columns = require("lines-and-columns");
3223
+ var ParseError = class extends Error {
3224
+ constructor(syntaxError) {
3225
+ super(syntaxError.message);
3226
+ this.syntaxError = syntaxError;
3227
+ }
3228
+ };
3229
+ var ParseState = class {
3230
+ constructor(currentClassBoundMethods) {
3231
+ this.currentClassBoundMethods = currentClassBoundMethods;
3232
+ this.currentClassCtor = null;
3233
+ }
3234
+ isInClassBody() {
3235
+ return this.currentClassBoundMethods !== null;
3236
+ }
3237
+ recordBoundMethod(method) {
3238
+ if (!this.currentClassBoundMethods) {
3239
+ throw new Error("Cannot assign a bound method name when there is no current class.");
3240
+ }
3241
+ this.currentClassBoundMethods.push(method);
3242
+ }
3243
+ recordConstructor(ctor) {
3244
+ this.currentClassCtor = ctor;
3245
+ }
3246
+ pushCurrentClass() {
3247
+ return new ParseState([]);
3248
+ }
3249
+ dropCurrentClass() {
3250
+ return new ParseState(null);
3251
+ }
3252
+ static initialState() {
3253
+ return new ParseState(null);
3254
+ }
3255
+ };
3256
+ var ParseContext = class {
3257
+ constructor(source, linesAndColumns, sourceTokens, ast, parseState) {
3258
+ this.source = source;
3259
+ this.linesAndColumns = linesAndColumns;
3260
+ this.sourceTokens = sourceTokens;
3261
+ this.ast = ast;
3262
+ this.parseState = parseState;
3263
+ }
3264
+ getRange(locatable) {
3265
+ if (locatable instanceof import_nodes56.Base) {
3266
+ return this.getRange(locatable.locationData);
3267
+ } else {
3268
+ const locationData = locatable;
3269
+ const start = this.linesAndColumns.indexForLocation({
3270
+ line: locationData.first_line,
3271
+ column: locationData.first_column
3272
+ });
3273
+ const end = this.linesAndColumns.indexForLocation({
3274
+ line: locationData.last_line,
3275
+ column: locationData.last_column
3276
+ });
3277
+ if (start === null || end === null) {
3278
+ return null;
3279
+ }
3280
+ return [start, end + 1];
3281
+ }
3282
+ }
3283
+ static fromSource(source, sourceLex, parse5) {
3284
+ try {
3285
+ const sourceTokens = sourceLex(source);
3286
+ return new ParseContext(source, new import_lines_and_columns.LinesAndColumns(source), sourceTokens, parse5(source), ParseState.initialState());
3287
+ } catch (ex) {
3288
+ if (ex instanceof SyntaxError) {
3289
+ throw new ParseError(ex);
3290
+ } else {
3291
+ throw ex;
3292
+ }
3293
+ }
3294
+ }
3295
+ updateState(updater) {
3296
+ return new ParseContext(this.source, this.linesAndColumns, this.sourceTokens, this.ast, updater(this.parseState));
3297
+ }
3298
+ };
3299
+
3300
+ // src/parser.ts
3301
+ var DEFAULT_OPTIONS = {
3302
+ useCS2: false
3303
+ };
3304
+ function parse4(source, options = DEFAULT_OPTIONS) {
3305
+ patchCoffeeScript();
3306
+ const parse5 = options.useCS2 ? parseCS2 : parseCS1AsCS2;
3307
+ const sourceLex = (s) => (0, import_coffee_lex18.default)(s, { useCS2: options.useCS2 });
3308
+ const context = ParseContext.fromSource(source, sourceLex, parse5);
3309
+ fixLocations(context, context.ast);
3310
+ const program = mapProgram(context);
3311
+ traverse(program, (node, parent) => {
3312
+ node.parentNode = parent;
3313
+ });
3314
+ return program;
3315
+ }
3316
+ function traverse(node, callback) {
3317
+ function traverseRec(currentNode, currentParent) {
3318
+ const shouldDescend = callback(currentNode, currentParent);
3319
+ if (shouldDescend !== false) {
3320
+ for (const child of currentNode.getChildren()) {
3321
+ traverseRec(child, currentNode);
3322
+ }
3323
+ }
3324
+ }
3325
+ traverseRec(node, null);
3326
+ }
3327
+ // Annotate the CommonJS export names for ESM import in node:
3328
+ 0 && (module.exports = {
3329
+ AccessOp,
3330
+ ArrayInitialiser,
3331
+ AssignOp,
3332
+ AsyncFunction,
3333
+ Await,
3334
+ AwaitReturn,
3335
+ BareSuperFunctionApplication,
3336
+ BaseAssignOp,
3337
+ BaseFunction,
3338
+ BinaryOp,
3339
+ BitAndOp,
3340
+ BitNotOp,
3341
+ BitOrOp,
3342
+ BitXorOp,
3343
+ Block,
3344
+ Bool,
3345
+ BoundAsyncFunction,
3346
+ BoundFunction,
3347
+ BoundGeneratorFunction,
3348
+ Break,
3349
+ CSXElement,
3350
+ ChainedComparisonOp,
3351
+ Class,
3352
+ ClassProtoAssignOp,
3353
+ CompoundAssignOp,
3354
+ Conditional,
3355
+ Constructor,
3356
+ Continue,
3357
+ DEFAULT_OPTIONS,
3358
+ Debugger,
3359
+ DefaultParam,
3360
+ DeleteOp,
3361
+ DivideOp,
3362
+ DoOp,
3363
+ DynamicMemberAccessOp,
3364
+ EQOp,
3365
+ Elision,
3366
+ ExistsOp,
3367
+ ExpOp,
3368
+ Expansion,
3369
+ ExportAllDeclaration,
3370
+ ExportBindingsDeclaration,
3371
+ ExportDefaultDeclaration,
3372
+ ExportNamedDeclaration,
3373
+ ExtendsOp,
3374
+ Float,
3375
+ FloorDivideOp,
3376
+ For,
3377
+ ForFrom,
3378
+ ForIn,
3379
+ ForOf,
3380
+ Function,
3381
+ FunctionApplication,
3382
+ GTEOp,
3383
+ GTOp,
3384
+ GeneratorFunction,
3385
+ Heregex,
3386
+ Identifier,
3387
+ ImportDeclaration,
3388
+ InOp,
3389
+ InstanceofOp,
3390
+ Int,
3391
+ JavaScript,
3392
+ LTEOp,
3393
+ LTOp,
3394
+ LeftShiftOp,
3395
+ LogicalAndOp,
3396
+ LogicalNotOp,
3397
+ LogicalOrOp,
3398
+ Loop,
3399
+ MemberAccessOp,
3400
+ ModuleSpecifier,
3401
+ ModuloOp,
3402
+ MultiplyOp,
3403
+ NEQOp,
3404
+ NewOp,
3405
+ Node,
3406
+ Null,
3407
+ Number,
3408
+ ObjectInitialiser,
3409
+ ObjectInitialiserMember,
3410
+ OfOp,
3411
+ OperatorInfo,
3412
+ PlusOp,
3413
+ PostDecrementOp,
3414
+ PostIncrementOp,
3415
+ PreDecrementOp,
3416
+ PreIncrementOp,
3417
+ Program,
3418
+ ProtoMemberAccessOp,
3419
+ Quasi,
3420
+ Range,
3421
+ Regex,
3422
+ RegexFlags,
3423
+ RemOp,
3424
+ Rest,
3425
+ Return,
3426
+ SeqOp,
3427
+ SignedRightShiftOp,
3428
+ Slice,
3429
+ SoakedDynamicMemberAccessOp,
3430
+ SoakedFunctionApplication,
3431
+ SoakedMemberAccessOp,
3432
+ SoakedNewOp,
3433
+ SoakedProtoMemberAccessOp,
3434
+ SoakedSlice,
3435
+ Spread,
3436
+ String,
3437
+ SubtractOp,
3438
+ Super,
3439
+ Switch,
3440
+ SwitchCase,
3441
+ TaggedTemplateLiteral,
3442
+ This,
3443
+ Throw,
3444
+ Try,
3445
+ TypeofOp,
3446
+ UnaryExistsOp,
3447
+ UnaryNegateOp,
3448
+ UnaryOp,
3449
+ UnaryPlusOp,
3450
+ Undefined,
3451
+ UnsignedRightShiftOp,
3452
+ While,
3453
+ Yield,
3454
+ YieldFrom,
3455
+ YieldReturn,
3456
+ parse,
3457
+ traverse
3458
+ });