readability_js 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1607) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +2 -0
  4. data/CHANGELOG.md +2 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE +21 -0
  8. data/README.md +119 -0
  9. data/Rakefile +30 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/cli/pry.rb +5 -0
  13. data/lib/custom_errors/error.rb +4 -0
  14. data/lib/readability_js/node/node_modules/.bin/tldts +1 -0
  15. data/lib/readability_js/node/node_modules/.yarn-integrity +67 -0
  16. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/LICENSE +21 -0
  17. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/README.md +316 -0
  18. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/browser/css-color.min.js +220 -0
  19. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/browser/css-color.min.js.map +1 -0
  20. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/cjs/index.cjs +5666 -0
  21. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/cjs/index.cjs.map +1 -0
  22. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/cjs/index.d.cts +109 -0
  23. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/index.d.ts +17 -0
  24. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/index.js +27 -0
  25. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/index.js.map +1 -0
  26. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.d.ts +44 -0
  27. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.js +82 -0
  28. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.js.map +1 -0
  29. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/color.d.ts +537 -0
  30. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/color.js +2833 -0
  31. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/color.js.map +1 -0
  32. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/common.d.ts +21 -0
  33. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/common.js +7 -0
  34. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/common.js.map +1 -0
  35. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.d.ts +43 -0
  36. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.js +101 -0
  37. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.js.map +1 -0
  38. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.d.ts +99 -0
  39. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.js +361 -0
  40. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.js.map +1 -0
  41. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.d.ts +89 -0
  42. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.js +860 -0
  43. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.js.map +1 -0
  44. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.d.ts +79 -0
  45. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.js +261 -0
  46. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.js.map +1 -0
  47. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.d.ts +31 -0
  48. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.js +195 -0
  49. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.js.map +1 -0
  50. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.d.ts +29 -0
  51. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.js +507 -0
  52. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.js.map +1 -0
  53. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.d.ts +52 -0
  54. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.js +350 -0
  55. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.js.map +1 -0
  56. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/typedef.d.ts +80 -0
  57. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/util.d.ts +45 -0
  58. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/util.js +279 -0
  59. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/dist/esm/js/util.js.map +1 -0
  60. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/package.json +82 -0
  61. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/index.ts +24 -0
  62. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/cache.ts +114 -0
  63. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/color.ts +3511 -0
  64. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/common.ts +31 -0
  65. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/constant.ts +68 -0
  66. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/convert.ts +469 -0
  67. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/css-calc.ts +965 -0
  68. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/css-gradient.ts +384 -0
  69. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/css-var.ts +250 -0
  70. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/relative-color.ts +603 -0
  71. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/resolve.ts +443 -0
  72. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/typedef.ts +88 -0
  73. data/lib/readability_js/node/node_modules/@asamuzakjp/css-color/src/js/util.ts +336 -0
  74. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/LICENSE +21 -0
  75. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/README.md +324 -0
  76. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/dist/cjs/index.cjs +4613 -0
  77. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/dist/cjs/index.cjs.map +1 -0
  78. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/dist/cjs/index.d.cts +16 -0
  79. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/package.json +83 -0
  80. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/index.js +353 -0
  81. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/js/constant.js +129 -0
  82. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/js/finder.js +3108 -0
  83. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/js/matcher.js +587 -0
  84. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/js/parser.js +431 -0
  85. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/src/js/utility.js +1107 -0
  86. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/index.d.ts +14 -0
  87. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/js/constant.d.ts +79 -0
  88. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/js/finder.d.ts +64 -0
  89. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/js/matcher.d.ts +16 -0
  90. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/js/parser.d.ts +14 -0
  91. data/lib/readability_js/node/node_modules/@asamuzakjp/dom-selector/types/js/utility.d.ts +30 -0
  92. data/lib/readability_js/node/node_modules/@asamuzakjp/nwsapi/LICENSE +22 -0
  93. data/lib/readability_js/node/node_modules/@asamuzakjp/nwsapi/README.md +132 -0
  94. data/lib/readability_js/node/node_modules/@asamuzakjp/nwsapi/package.json +43 -0
  95. data/lib/readability_js/node/node_modules/@asamuzakjp/nwsapi/src/nwsapi.js +1855 -0
  96. data/lib/readability_js/node/node_modules/@csstools/color-helpers/CHANGELOG.md +10 -0
  97. data/lib/readability_js/node/node_modules/@csstools/color-helpers/LICENSE.md +18 -0
  98. data/lib/readability_js/node/node_modules/@csstools/color-helpers/README.md +32 -0
  99. data/lib/readability_js/node/node_modules/@csstools/color-helpers/dist/index.cjs +263 -0
  100. data/lib/readability_js/node/node_modules/@csstools/color-helpers/dist/index.d.ts +429 -0
  101. data/lib/readability_js/node/node_modules/@csstools/color-helpers/dist/index.mjs +263 -0
  102. data/lib/readability_js/node/node_modules/@csstools/color-helpers/package.json +62 -0
  103. data/lib/readability_js/node/node_modules/@csstools/css-calc/CHANGELOG.md +10 -0
  104. data/lib/readability_js/node/node_modules/@csstools/css-calc/LICENSE.md +20 -0
  105. data/lib/readability_js/node/node_modules/@csstools/css-calc/README.md +132 -0
  106. data/lib/readability_js/node/node_modules/@csstools/css-calc/dist/index.cjs +1 -0
  107. data/lib/readability_js/node/node_modules/@csstools/css-calc/dist/index.d.ts +71 -0
  108. data/lib/readability_js/node/node_modules/@csstools/css-calc/dist/index.mjs +1 -0
  109. data/lib/readability_js/node/node_modules/@csstools/css-calc/package.json +66 -0
  110. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/CHANGELOG.md +13 -0
  111. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/LICENSE.md +20 -0
  112. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/README.md +37 -0
  113. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/dist/index.cjs +1 -0
  114. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/dist/index.d.ts +168 -0
  115. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/dist/index.mjs +1 -0
  116. data/lib/readability_js/node/node_modules/@csstools/css-color-parser/package.json +71 -0
  117. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/CHANGELOG.md +9 -0
  118. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/LICENSE.md +20 -0
  119. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/README.md +119 -0
  120. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/dist/index.cjs +1 -0
  121. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/dist/index.d.ts +604 -0
  122. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/dist/index.mjs +1 -0
  123. data/lib/readability_js/node/node_modules/@csstools/css-parser-algorithms/package.json +65 -0
  124. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/CHANGELOG.md +9 -0
  125. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/LICENSE.md +18 -0
  126. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/README.md +43 -0
  127. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/dist/index.d.ts +5 -0
  128. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/dist/index.json +765 -0
  129. data/lib/readability_js/node/node_modules/@csstools/css-syntax-patches-for-csstree/package.json +54 -0
  130. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/CHANGELOG.md +9 -0
  131. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/LICENSE.md +20 -0
  132. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/README.md +111 -0
  133. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/dist/index.cjs +1 -0
  134. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/dist/index.d.ts +593 -0
  135. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/dist/index.mjs +1 -0
  136. data/lib/readability_js/node/node_modules/@csstools/css-tokenizer/package.json +62 -0
  137. data/lib/readability_js/node/node_modules/@mozilla/readability/.prettierrc.js +13 -0
  138. data/lib/readability_js/node/node_modules/@mozilla/readability/CHANGELOG.md +104 -0
  139. data/lib/readability_js/node/node_modules/@mozilla/readability/CODE_OF_CONDUCT.md +15 -0
  140. data/lib/readability_js/node/node_modules/@mozilla/readability/CONTRIBUTING.md +78 -0
  141. data/lib/readability_js/node/node_modules/@mozilla/readability/JSDOMParser.js +1278 -0
  142. data/lib/readability_js/node/node_modules/@mozilla/readability/LICENSE.md +13 -0
  143. data/lib/readability_js/node/node_modules/@mozilla/readability/README.md +129 -0
  144. data/lib/readability_js/node/node_modules/@mozilla/readability/Readability-readerable.js +122 -0
  145. data/lib/readability_js/node/node_modules/@mozilla/readability/Readability.js +2786 -0
  146. data/lib/readability_js/node/node_modules/@mozilla/readability/SECURITY.md +8 -0
  147. data/lib/readability_js/node/node_modules/@mozilla/readability/eslint.config.mjs +55 -0
  148. data/lib/readability_js/node/node_modules/@mozilla/readability/index.d.ts +64 -0
  149. data/lib/readability_js/node/node_modules/@mozilla/readability/index.js +8 -0
  150. data/lib/readability_js/node/node_modules/@mozilla/readability/package.json +41 -0
  151. data/lib/readability_js/node/node_modules/agent-base/LICENSE +22 -0
  152. data/lib/readability_js/node/node_modules/agent-base/README.md +69 -0
  153. data/lib/readability_js/node/node_modules/agent-base/dist/helpers.d.ts +15 -0
  154. data/lib/readability_js/node/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  155. data/lib/readability_js/node/node_modules/agent-base/dist/helpers.js +66 -0
  156. data/lib/readability_js/node/node_modules/agent-base/dist/helpers.js.map +1 -0
  157. data/lib/readability_js/node/node_modules/agent-base/dist/index.d.ts +41 -0
  158. data/lib/readability_js/node/node_modules/agent-base/dist/index.d.ts.map +1 -0
  159. data/lib/readability_js/node/node_modules/agent-base/dist/index.js +178 -0
  160. data/lib/readability_js/node/node_modules/agent-base/dist/index.js.map +1 -0
  161. data/lib/readability_js/node/node_modules/agent-base/package.json +46 -0
  162. data/lib/readability_js/node/node_modules/bidi-js/LICENSE.txt +22 -0
  163. data/lib/readability_js/node/node_modules/bidi-js/README.md +133 -0
  164. data/lib/readability_js/node/node_modules/bidi-js/dist/bidi.js +1010 -0
  165. data/lib/readability_js/node/node_modules/bidi-js/dist/bidi.min.js +1 -0
  166. data/lib/readability_js/node/node_modules/bidi-js/dist/bidi.min.mjs +1 -0
  167. data/lib/readability_js/node/node_modules/bidi-js/dist/bidi.mjs +1002 -0
  168. data/lib/readability_js/node/node_modules/bidi-js/package.json +39 -0
  169. data/lib/readability_js/node/node_modules/bidi-js/src/brackets.js +30 -0
  170. data/lib/readability_js/node/node_modules/bidi-js/src/charTypes.js +66 -0
  171. data/lib/readability_js/node/node_modules/bidi-js/src/data/bidiBrackets.data.js +5 -0
  172. data/lib/readability_js/node/node_modules/bidi-js/src/data/bidiCharTypes.data.js +25 -0
  173. data/lib/readability_js/node/node_modules/bidi-js/src/data/bidiMirroring.data.js +2 -0
  174. data/lib/readability_js/node/node_modules/bidi-js/src/embeddingLevels.js +690 -0
  175. data/lib/readability_js/node/node_modules/bidi-js/src/index.js +5 -0
  176. data/lib/readability_js/node/node_modules/bidi-js/src/mirroring.js +48 -0
  177. data/lib/readability_js/node/node_modules/bidi-js/src/reordering.js +99 -0
  178. data/lib/readability_js/node/node_modules/bidi-js/src/util/parseCharacterMap.js +30 -0
  179. data/lib/readability_js/node/node_modules/css-tree/LICENSE +19 -0
  180. data/lib/readability_js/node/node_modules/css-tree/README.md +192 -0
  181. data/lib/readability_js/node/node_modules/css-tree/cjs/convertor/create.cjs +32 -0
  182. data/lib/readability_js/node/node_modules/css-tree/cjs/convertor/index.cjs +8 -0
  183. data/lib/readability_js/node/node_modules/css-tree/cjs/data-patch.cjs +7 -0
  184. data/lib/readability_js/node/node_modules/css-tree/cjs/data.cjs +120 -0
  185. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/SyntaxError.cjs +16 -0
  186. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/generate.cjs +139 -0
  187. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/index.cjs +13 -0
  188. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/parse.cjs +556 -0
  189. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/scanner.cjs +113 -0
  190. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/tokenizer.cjs +59 -0
  191. data/lib/readability_js/node/node_modules/css-tree/cjs/definition-syntax/walk.cjs +57 -0
  192. data/lib/readability_js/node/node_modules/css-tree/cjs/generator/create.cjs +102 -0
  193. data/lib/readability_js/node/node_modules/css-tree/cjs/generator/index.cjs +8 -0
  194. data/lib/readability_js/node/node_modules/css-tree/cjs/generator/sourceMap.cjs +96 -0
  195. data/lib/readability_js/node/node_modules/css-tree/cjs/generator/token-before.cjs +170 -0
  196. data/lib/readability_js/node/node_modules/css-tree/cjs/index.cjs +65 -0
  197. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/Lexer.cjs +517 -0
  198. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/error.cjs +128 -0
  199. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/generic-an-plus-b.cjs +235 -0
  200. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/generic-const.cjs +12 -0
  201. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/generic-urange.cjs +149 -0
  202. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/generic.cjs +589 -0
  203. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/index.cjs +7 -0
  204. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/match-graph.cjs +530 -0
  205. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/match.cjs +632 -0
  206. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/prepare-tokens.cjs +54 -0
  207. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/search.cjs +65 -0
  208. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/structure.cjs +173 -0
  209. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/trace.cjs +73 -0
  210. data/lib/readability_js/node/node_modules/css-tree/cjs/lexer/units.cjs +38 -0
  211. data/lib/readability_js/node/node_modules/css-tree/cjs/parser/SyntaxError.cjs +74 -0
  212. data/lib/readability_js/node/node_modules/css-tree/cjs/parser/create.cjs +340 -0
  213. data/lib/readability_js/node/node_modules/css-tree/cjs/parser/index.cjs +8 -0
  214. data/lib/readability_js/node/node_modules/css-tree/cjs/parser/parse-selector.cjs +8 -0
  215. data/lib/readability_js/node/node_modules/css-tree/cjs/parser/sequence.cjs +47 -0
  216. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/container.cjs +32 -0
  217. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/font-face.cjs +12 -0
  218. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/import.cjs +101 -0
  219. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/index.cjs +27 -0
  220. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/layer.cjs +16 -0
  221. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/media.cjs +16 -0
  222. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/nest.cjs +16 -0
  223. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/page.cjs +16 -0
  224. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/scope.cjs +16 -0
  225. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/starting-style.cjs +12 -0
  226. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/atrule/supports.cjs +16 -0
  227. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/generator.cjs +9 -0
  228. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/lexer.cjs +14 -0
  229. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/mix.cjs +127 -0
  230. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/parser-selector.cjs +19 -0
  231. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/parser.cjs +49 -0
  232. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/config/walker.cjs +9 -0
  233. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/create.cjs +58 -0
  234. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/function/expression.cjs +11 -0
  235. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/function/var.cjs +43 -0
  236. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/index.cjs +14 -0
  237. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/AnPlusB.cjs +293 -0
  238. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Atrule.cjs +103 -0
  239. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/AtrulePrelude.cjs +52 -0
  240. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/AttributeSelector.cjs +148 -0
  241. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Block.cjs +96 -0
  242. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Brackets.cjs +38 -0
  243. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/CDC.cjs +26 -0
  244. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/CDO.cjs +26 -0
  245. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/ClassSelector.cjs +31 -0
  246. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Combinator.cjs +61 -0
  247. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Comment.cjs +40 -0
  248. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Condition.cjs +120 -0
  249. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Declaration.cjs +166 -0
  250. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/DeclarationList.cjs +62 -0
  251. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Dimension.cjs +30 -0
  252. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Feature.cjs +101 -0
  253. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/FeatureFunction.cjs +67 -0
  254. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/FeatureRange.cjs +133 -0
  255. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Function.cjs +45 -0
  256. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/GeneralEnclosed.cjs +68 -0
  257. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Hash.cjs +30 -0
  258. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/IdSelector.cjs +33 -0
  259. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Identifier.cjs +25 -0
  260. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Layer.cjs +35 -0
  261. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/LayerList.cjs +43 -0
  262. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/LayerName.cjs +34 -0
  263. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/LayerNameList.cjs +42 -0
  264. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/MediaCondition.cjs +70 -0
  265. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/MediaFeature.cjs +76 -0
  266. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/MediaFeatureRange.cjs +11 -0
  267. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/MediaQuery.cjs +100 -0
  268. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/MediaQueryList.cjs +41 -0
  269. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/NestingSelector.cjs +29 -0
  270. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Nth.cjs +54 -0
  271. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Number.cjs +25 -0
  272. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Operator.cjs +28 -0
  273. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Parentheses.cjs +38 -0
  274. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Percentage.cjs +25 -0
  275. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/PseudoClassSelector.cjs +67 -0
  276. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/PseudoElementSelector.cjs +69 -0
  277. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Ratio.cjs +71 -0
  278. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Raw.cjs +48 -0
  279. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Rule.cjs +58 -0
  280. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Scope.cjs +69 -0
  281. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Selector.cjs +38 -0
  282. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/SelectorList.cjs +43 -0
  283. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/String.cjs +26 -0
  284. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/StyleSheet.cjs +83 -0
  285. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs +38 -0
  286. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/SupportsFeature.cjs +69 -0
  287. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/TypeSelector.cjs +59 -0
  288. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/UnicodeRange.cjs +158 -0
  289. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Url.cjs +54 -0
  290. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/Value.cjs +26 -0
  291. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs +34 -0
  292. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/common/feature-range.cjs +112 -0
  293. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/common/feature.cjs +76 -0
  294. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/index-generate.cjs +103 -0
  295. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/index-parse-selector.cjs +39 -0
  296. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/index-parse.cjs +103 -0
  297. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/node/index.cjs +103 -0
  298. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/pseudo/index.cjs +60 -0
  299. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/pseudo/lang.cjs +37 -0
  300. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/scope/atrulePrelude.cjs +9 -0
  301. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/scope/default.cjs +76 -0
  302. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/scope/index.cjs +11 -0
  303. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/scope/selector.cjs +88 -0
  304. data/lib/readability_js/node/node_modules/css-tree/cjs/syntax/scope/value.cjs +29 -0
  305. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/OffsetToLocation.cjs +91 -0
  306. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/TokenStream.cjs +308 -0
  307. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/adopt-buffer.cjs +13 -0
  308. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/char-code-definitions.cjs +236 -0
  309. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/index.cjs +554 -0
  310. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/names.cjs +32 -0
  311. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/types.cjs +57 -0
  312. data/lib/readability_js/node/node_modules/css-tree/cjs/tokenizer/utils.cjs +261 -0
  313. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/List.cjs +473 -0
  314. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/clone.cjs +25 -0
  315. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/create-custom-error.cjs +18 -0
  316. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/ident.cjs +102 -0
  317. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/index.cjs +20 -0
  318. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/names.cjs +113 -0
  319. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/string.cjs +99 -0
  320. data/lib/readability_js/node/node_modules/css-tree/cjs/utils/url.cjs +108 -0
  321. data/lib/readability_js/node/node_modules/css-tree/cjs/version.cjs +5 -0
  322. data/lib/readability_js/node/node_modules/css-tree/cjs/walker/create.cjs +291 -0
  323. data/lib/readability_js/node/node_modules/css-tree/cjs/walker/index.cjs +8 -0
  324. data/lib/readability_js/node/node_modules/css-tree/data/patch.json +982 -0
  325. data/lib/readability_js/node/node_modules/css-tree/dist/csstree.esm.js +12 -0
  326. data/lib/readability_js/node/node_modules/css-tree/dist/csstree.js +12 -0
  327. data/lib/readability_js/node/node_modules/css-tree/dist/data.cjs +1308 -0
  328. data/lib/readability_js/node/node_modules/css-tree/dist/data.js +1308 -0
  329. data/lib/readability_js/node/node_modules/css-tree/dist/version.cjs +1 -0
  330. data/lib/readability_js/node/node_modules/css-tree/dist/version.js +1 -0
  331. data/lib/readability_js/node/node_modules/css-tree/lib/convertor/create.js +28 -0
  332. data/lib/readability_js/node/node_modules/css-tree/lib/convertor/index.js +4 -0
  333. data/lib/readability_js/node/node_modules/css-tree/lib/data-patch.js +6 -0
  334. data/lib/readability_js/node/node_modules/css-tree/lib/data.js +118 -0
  335. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +12 -0
  336. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/generate.js +135 -0
  337. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/index.js +4 -0
  338. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/parse.js +552 -0
  339. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/scanner.js +109 -0
  340. data/lib/readability_js/node/node_modules/css-tree/lib/definition-syntax/walk.js +53 -0
  341. data/lib/readability_js/node/node_modules/css-tree/lib/generator/create.js +97 -0
  342. data/lib/readability_js/node/node_modules/css-tree/lib/generator/index.js +4 -0
  343. data/lib/readability_js/node/node_modules/css-tree/lib/generator/sourceMap.js +92 -0
  344. data/lib/readability_js/node/node_modules/css-tree/lib/generator/token-before.js +182 -0
  345. data/lib/readability_js/node/node_modules/css-tree/lib/index.js +30 -0
  346. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/Lexer.js +511 -0
  347. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/error.js +123 -0
  348. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +238 -0
  349. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/generic-const.js +8 -0
  350. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/generic-urange.js +151 -0
  351. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/generic.js +622 -0
  352. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/index.js +1 -0
  353. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/match-graph.js +527 -0
  354. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/match.js +630 -0
  355. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/prepare-tokens.js +50 -0
  356. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/search.js +61 -0
  357. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/structure.js +169 -0
  358. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/trace.js +66 -0
  359. data/lib/readability_js/node/node_modules/css-tree/lib/lexer/units.js +27 -0
  360. data/lib/readability_js/node/node_modules/css-tree/lib/parser/SyntaxError.js +70 -0
  361. data/lib/readability_js/node/node_modules/css-tree/lib/parser/create.js +350 -0
  362. data/lib/readability_js/node/node_modules/css-tree/lib/parser/index.js +4 -0
  363. data/lib/readability_js/node/node_modules/css-tree/lib/parser/parse-selector.js +4 -0
  364. data/lib/readability_js/node/node_modules/css-tree/lib/parser/sequence.js +43 -0
  365. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/container.js +28 -0
  366. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
  367. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/import.js +104 -0
  368. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/index.js +23 -0
  369. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/layer.js +12 -0
  370. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
  371. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/nest.js +12 -0
  372. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
  373. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/scope.js +12 -0
  374. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/starting-style.js +8 -0
  375. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/atrule/supports.js +12 -0
  376. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/generator.js +5 -0
  377. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/lexer.js +10 -0
  378. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/mix.js +123 -0
  379. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/parser-selector.js +15 -0
  380. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/parser.js +45 -0
  381. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/config/walker.js +5 -0
  382. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/create.js +55 -0
  383. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
  384. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/function/var.js +39 -0
  385. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/index.js +10 -0
  386. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/AnPlusB.js +292 -0
  387. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Atrule.js +100 -0
  388. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +47 -0
  389. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +147 -0
  390. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Block.js +95 -0
  391. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Brackets.js +35 -0
  392. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
  393. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
  394. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/ClassSelector.js +24 -0
  395. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Combinator.js +54 -0
  396. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Comment.js +33 -0
  397. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Condition.js +123 -0
  398. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Declaration.js +165 -0
  399. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/DeclarationList.js +62 -0
  400. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Dimension.js +23 -0
  401. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Feature.js +103 -0
  402. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/FeatureFunction.js +63 -0
  403. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/FeatureRange.js +133 -0
  404. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Function.js +41 -0
  405. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/GeneralEnclosed.js +66 -0
  406. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Hash.js +23 -0
  407. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/IdSelector.js +26 -0
  408. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Identifier.js +18 -0
  409. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Layer.js +28 -0
  410. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/LayerList.js +36 -0
  411. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/MediaQuery.js +102 -0
  412. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +34 -0
  413. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/NestingSelector.js +22 -0
  414. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Nth.js +47 -0
  415. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
  416. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
  417. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
  418. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Percentage.js +18 -0
  419. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +65 -0
  420. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +66 -0
  421. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Ratio.js +68 -0
  422. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Raw.js +41 -0
  423. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Rule.js +51 -0
  424. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Scope.js +66 -0
  425. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Selector.js +31 -0
  426. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/SelectorList.js +35 -0
  427. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/String.js +19 -0
  428. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/StyleSheet.js +82 -0
  429. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/SupportsDeclaration.js +34 -0
  430. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/TypeSelector.js +52 -0
  431. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +156 -0
  432. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Url.js +52 -0
  433. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
  434. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +27 -0
  435. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/index-generate.js +49 -0
  436. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/index-parse-selector.js +17 -0
  437. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/index-parse.js +49 -0
  438. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/node/index.js +49 -0
  439. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/pseudo/index.js +56 -0
  440. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/pseudo/lang.js +33 -0
  441. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +5 -0
  442. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/scope/default.js +85 -0
  443. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/scope/index.js +3 -0
  444. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/scope/selector.js +94 -0
  445. data/lib/readability_js/node/node_modules/css-tree/lib/syntax/scope/value.js +25 -0
  446. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/OffsetToLocation.js +87 -0
  447. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/TokenStream.js +316 -0
  448. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/adopt-buffer.js +9 -0
  449. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +212 -0
  450. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/index.js +513 -0
  451. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/names.js +28 -0
  452. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/types.js +28 -0
  453. data/lib/readability_js/node/node_modules/css-tree/lib/tokenizer/utils.js +254 -0
  454. data/lib/readability_js/node/node_modules/css-tree/lib/utils/List.js +469 -0
  455. data/lib/readability_js/node/node_modules/css-tree/lib/utils/clone.js +21 -0
  456. data/lib/readability_js/node/node_modules/css-tree/lib/utils/create-custom-error.js +14 -0
  457. data/lib/readability_js/node/node_modules/css-tree/lib/utils/ident.js +101 -0
  458. data/lib/readability_js/node/node_modules/css-tree/lib/utils/index.js +6 -0
  459. data/lib/readability_js/node/node_modules/css-tree/lib/utils/names.js +106 -0
  460. data/lib/readability_js/node/node_modules/css-tree/lib/utils/string.js +99 -0
  461. data/lib/readability_js/node/node_modules/css-tree/lib/utils/url.js +108 -0
  462. data/lib/readability_js/node/node_modules/css-tree/lib/version.js +5 -0
  463. data/lib/readability_js/node/node_modules/css-tree/lib/walker/create.js +287 -0
  464. data/lib/readability_js/node/node_modules/css-tree/lib/walker/index.js +4 -0
  465. data/lib/readability_js/node/node_modules/css-tree/package.json +125 -0
  466. data/lib/readability_js/node/node_modules/cssstyle/LICENSE +20 -0
  467. data/lib/readability_js/node/node_modules/cssstyle/README.md +11 -0
  468. data/lib/readability_js/node/node_modules/cssstyle/lib/CSSStyleDeclaration.js +636 -0
  469. data/lib/readability_js/node/node_modules/cssstyle/lib/generated/allProperties.js +653 -0
  470. data/lib/readability_js/node/node_modules/cssstyle/lib/generated/implementedProperties.js +2222 -0
  471. data/lib/readability_js/node/node_modules/cssstyle/lib/generated/properties.js +6951 -0
  472. data/lib/readability_js/node/node_modules/cssstyle/lib/normalize.js +1417 -0
  473. data/lib/readability_js/node/node_modules/cssstyle/lib/parsers.js +535 -0
  474. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/background.js +396 -0
  475. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundAttachment.js +64 -0
  476. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundClip.js +64 -0
  477. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundColor.js +55 -0
  478. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundImage.js +78 -0
  479. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundOrigin.js +64 -0
  480. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundPosition.js +193 -0
  481. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundRepeat.js +89 -0
  482. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/backgroundSize.js +120 -0
  483. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/border.js +164 -0
  484. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderBottom.js +156 -0
  485. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderBottomColor.js +60 -0
  486. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderBottomStyle.js +59 -0
  487. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderBottomWidth.js +69 -0
  488. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderCollapse.js +50 -0
  489. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderColor.js +116 -0
  490. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderLeft.js +156 -0
  491. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderLeftColor.js +60 -0
  492. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderLeftStyle.js +59 -0
  493. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderLeftWidth.js +69 -0
  494. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderRight.js +156 -0
  495. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderRightColor.js +60 -0
  496. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderRightStyle.js +59 -0
  497. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderRightWidth.js +69 -0
  498. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderSpacing.js +62 -0
  499. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderStyle.js +116 -0
  500. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderTop.js +156 -0
  501. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderTopColor.js +60 -0
  502. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderTopStyle.js +59 -0
  503. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderTopWidth.js +69 -0
  504. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/borderWidth.js +129 -0
  505. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/bottom.js +58 -0
  506. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/clear.js +50 -0
  507. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/clip.js +68 -0
  508. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/color.js +51 -0
  509. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/display.js +207 -0
  510. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/flex.js +176 -0
  511. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/flexBasis.js +62 -0
  512. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/flexGrow.js +61 -0
  513. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/flexShrink.js +61 -0
  514. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/float.js +50 -0
  515. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/floodColor.js +51 -0
  516. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/font.js +289 -0
  517. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/fontFamily.js +94 -0
  518. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/fontSize.js +64 -0
  519. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/fontStyle.js +63 -0
  520. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/fontVariant.js +73 -0
  521. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/fontWeight.js +68 -0
  522. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/height.js +58 -0
  523. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/left.js +58 -0
  524. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/lightingColor.js +51 -0
  525. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/lineHeight.js +66 -0
  526. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/margin.js +95 -0
  527. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/marginBottom.js +64 -0
  528. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/marginLeft.js +64 -0
  529. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/marginRight.js +64 -0
  530. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/marginTop.js +64 -0
  531. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/opacity.js +59 -0
  532. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/outlineColor.js +51 -0
  533. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/padding.js +93 -0
  534. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/paddingBottom.js +65 -0
  535. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/paddingLeft.js +65 -0
  536. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/paddingRight.js +65 -0
  537. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/paddingTop.js +65 -0
  538. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/right.js +58 -0
  539. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/stopColor.js +51 -0
  540. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/top.js +58 -0
  541. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +51 -0
  542. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +51 -0
  543. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +51 -0
  544. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +51 -0
  545. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +51 -0
  546. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +51 -0
  547. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +51 -0
  548. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +51 -0
  549. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +51 -0
  550. data/lib/readability_js/node/node_modules/cssstyle/lib/properties/width.js +58 -0
  551. data/lib/readability_js/node/node_modules/cssstyle/lib/utils/allExtraProperties.js +155 -0
  552. data/lib/readability_js/node/node_modules/cssstyle/lib/utils/camelize.js +37 -0
  553. data/lib/readability_js/node/node_modules/cssstyle/lib/utils/propertyDescriptors.js +19 -0
  554. data/lib/readability_js/node/node_modules/cssstyle/lib/utils/strings.js +167 -0
  555. data/lib/readability_js/node/node_modules/cssstyle/package.json +74 -0
  556. data/lib/readability_js/node/node_modules/data-urls/LICENSE.txt +7 -0
  557. data/lib/readability_js/node/node_modules/data-urls/README.md +62 -0
  558. data/lib/readability_js/node/node_modules/data-urls/lib/parser.js +69 -0
  559. data/lib/readability_js/node/node_modules/data-urls/lib/utils.js +20 -0
  560. data/lib/readability_js/node/node_modules/data-urls/package.json +52 -0
  561. data/lib/readability_js/node/node_modules/debug/LICENSE +20 -0
  562. data/lib/readability_js/node/node_modules/debug/README.md +481 -0
  563. data/lib/readability_js/node/node_modules/debug/package.json +64 -0
  564. data/lib/readability_js/node/node_modules/debug/src/browser.js +272 -0
  565. data/lib/readability_js/node/node_modules/debug/src/common.js +292 -0
  566. data/lib/readability_js/node/node_modules/debug/src/index.js +10 -0
  567. data/lib/readability_js/node/node_modules/debug/src/node.js +263 -0
  568. data/lib/readability_js/node/node_modules/decimal.js/LICENCE.md +23 -0
  569. data/lib/readability_js/node/node_modules/decimal.js/README.md +246 -0
  570. data/lib/readability_js/node/node_modules/decimal.js/decimal.d.ts +301 -0
  571. data/lib/readability_js/node/node_modules/decimal.js/decimal.js +4951 -0
  572. data/lib/readability_js/node/node_modules/decimal.js/decimal.mjs +4914 -0
  573. data/lib/readability_js/node/node_modules/decimal.js/package.json +55 -0
  574. data/lib/readability_js/node/node_modules/entities/LICENSE +11 -0
  575. data/lib/readability_js/node/node_modules/entities/decode.d.ts +1 -0
  576. data/lib/readability_js/node/node_modules/entities/decode.js +3 -0
  577. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  578. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  579. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  580. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  581. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
  582. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  583. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode.js +511 -0
  584. data/lib/readability_js/node/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  585. data/lib/readability_js/node/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  586. data/lib/readability_js/node/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  587. data/lib/readability_js/node/node_modules/entities/dist/commonjs/encode.js +73 -0
  588. data/lib/readability_js/node/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  589. data/lib/readability_js/node/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
  590. data/lib/readability_js/node/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  591. data/lib/readability_js/node/node_modules/entities/dist/commonjs/escape.js +121 -0
  592. data/lib/readability_js/node/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  593. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  594. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  595. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
  596. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  597. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  598. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  599. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
  600. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  601. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
  602. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  603. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
  604. data/lib/readability_js/node/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  605. data/lib/readability_js/node/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  606. data/lib/readability_js/node/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  607. data/lib/readability_js/node/node_modules/entities/dist/commonjs/index.js +131 -0
  608. data/lib/readability_js/node/node_modules/entities/dist/commonjs/index.js.map +1 -0
  609. data/lib/readability_js/node/node_modules/entities/dist/commonjs/package.json +3 -0
  610. data/lib/readability_js/node/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  611. data/lib/readability_js/node/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  612. data/lib/readability_js/node/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  613. data/lib/readability_js/node/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  614. data/lib/readability_js/node/node_modules/entities/dist/esm/decode.d.ts +209 -0
  615. data/lib/readability_js/node/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  616. data/lib/readability_js/node/node_modules/entities/dist/esm/decode.js +497 -0
  617. data/lib/readability_js/node/node_modules/entities/dist/esm/decode.js.map +1 -0
  618. data/lib/readability_js/node/node_modules/entities/dist/esm/encode.d.ts +22 -0
  619. data/lib/readability_js/node/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  620. data/lib/readability_js/node/node_modules/entities/dist/esm/encode.js +69 -0
  621. data/lib/readability_js/node/node_modules/entities/dist/esm/encode.js.map +1 -0
  622. data/lib/readability_js/node/node_modules/entities/dist/esm/escape.d.ts +43 -0
  623. data/lib/readability_js/node/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  624. data/lib/readability_js/node/node_modules/entities/dist/esm/escape.js +117 -0
  625. data/lib/readability_js/node/node_modules/entities/dist/esm/escape.js.map +1 -0
  626. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  627. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  628. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  629. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  630. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  631. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  632. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
  633. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  634. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
  635. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  636. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
  637. data/lib/readability_js/node/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  638. data/lib/readability_js/node/node_modules/entities/dist/esm/index.d.ts +96 -0
  639. data/lib/readability_js/node/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  640. data/lib/readability_js/node/node_modules/entities/dist/esm/index.js +107 -0
  641. data/lib/readability_js/node/node_modules/entities/dist/esm/index.js.map +1 -0
  642. data/lib/readability_js/node/node_modules/entities/dist/esm/package.json +3 -0
  643. data/lib/readability_js/node/node_modules/entities/escape.d.ts +1 -0
  644. data/lib/readability_js/node/node_modules/entities/escape.js +3 -0
  645. data/lib/readability_js/node/node_modules/entities/package.json +118 -0
  646. data/lib/readability_js/node/node_modules/entities/readme.md +122 -0
  647. data/lib/readability_js/node/node_modules/entities/src/decode-codepoint.ts +81 -0
  648. data/lib/readability_js/node/node_modules/entities/src/decode.spec.ts +320 -0
  649. data/lib/readability_js/node/node_modules/entities/src/decode.ts +620 -0
  650. data/lib/readability_js/node/node_modules/entities/src/encode.spec.ts +78 -0
  651. data/lib/readability_js/node/node_modules/entities/src/encode.ts +77 -0
  652. data/lib/readability_js/node/node_modules/entities/src/escape.spec.ts +14 -0
  653. data/lib/readability_js/node/node_modules/entities/src/escape.ts +148 -0
  654. data/lib/readability_js/node/node_modules/entities/src/generated/.eslintrc.json +10 -0
  655. data/lib/readability_js/node/node_modules/entities/src/generated/decode-data-html.ts +8 -0
  656. data/lib/readability_js/node/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
  657. data/lib/readability_js/node/node_modules/entities/src/generated/encode-html.ts +17 -0
  658. data/lib/readability_js/node/node_modules/entities/src/index.spec.ts +125 -0
  659. data/lib/readability_js/node/node_modules/entities/src/index.ts +188 -0
  660. data/lib/readability_js/node/node_modules/html-encoding-sniffer/LICENSE.txt +7 -0
  661. data/lib/readability_js/node/node_modules/html-encoding-sniffer/README.md +40 -0
  662. data/lib/readability_js/node/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
  663. data/lib/readability_js/node/node_modules/html-encoding-sniffer/package.json +30 -0
  664. data/lib/readability_js/node/node_modules/http-proxy-agent/LICENSE +22 -0
  665. data/lib/readability_js/node/node_modules/http-proxy-agent/README.md +44 -0
  666. data/lib/readability_js/node/node_modules/http-proxy-agent/dist/index.d.ts +44 -0
  667. data/lib/readability_js/node/node_modules/http-proxy-agent/dist/index.d.ts.map +1 -0
  668. data/lib/readability_js/node/node_modules/http-proxy-agent/dist/index.js +148 -0
  669. data/lib/readability_js/node/node_modules/http-proxy-agent/dist/index.js.map +1 -0
  670. data/lib/readability_js/node/node_modules/http-proxy-agent/package.json +47 -0
  671. data/lib/readability_js/node/node_modules/https-proxy-agent/LICENSE +22 -0
  672. data/lib/readability_js/node/node_modules/https-proxy-agent/README.md +70 -0
  673. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
  674. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  675. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/index.js +180 -0
  676. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  677. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
  678. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  679. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  680. data/lib/readability_js/node/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  681. data/lib/readability_js/node/node_modules/https-proxy-agent/package.json +50 -0
  682. data/lib/readability_js/node/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  683. data/lib/readability_js/node/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  684. data/lib/readability_js/node/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  685. data/lib/readability_js/node/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  686. data/lib/readability_js/node/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  687. data/lib/readability_js/node/node_modules/iconv-lite/.idea/modules.xml +8 -0
  688. data/lib/readability_js/node/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  689. data/lib/readability_js/node/node_modules/iconv-lite/Changelog.md +212 -0
  690. data/lib/readability_js/node/node_modules/iconv-lite/LICENSE +21 -0
  691. data/lib/readability_js/node/node_modules/iconv-lite/README.md +130 -0
  692. data/lib/readability_js/node/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  693. data/lib/readability_js/node/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  694. data/lib/readability_js/node/node_modules/iconv-lite/encodings/index.js +23 -0
  695. data/lib/readability_js/node/node_modules/iconv-lite/encodings/internal.js +198 -0
  696. data/lib/readability_js/node/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  697. data/lib/readability_js/node/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  698. data/lib/readability_js/node/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  699. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  700. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  701. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  702. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  703. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  704. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  705. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  706. data/lib/readability_js/node/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  707. data/lib/readability_js/node/node_modules/iconv-lite/encodings/utf16.js +197 -0
  708. data/lib/readability_js/node/node_modules/iconv-lite/encodings/utf32.js +319 -0
  709. data/lib/readability_js/node/node_modules/iconv-lite/encodings/utf7.js +290 -0
  710. data/lib/readability_js/node/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  711. data/lib/readability_js/node/node_modules/iconv-lite/lib/index.d.ts +41 -0
  712. data/lib/readability_js/node/node_modules/iconv-lite/lib/index.js +180 -0
  713. data/lib/readability_js/node/node_modules/iconv-lite/lib/streams.js +109 -0
  714. data/lib/readability_js/node/node_modules/iconv-lite/package.json +44 -0
  715. data/lib/readability_js/node/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
  716. data/lib/readability_js/node/node_modules/is-potential-custom-element-name/README.md +40 -0
  717. data/lib/readability_js/node/node_modules/is-potential-custom-element-name/index.js +9 -0
  718. data/lib/readability_js/node/node_modules/is-potential-custom-element-name/package.json +35 -0
  719. data/lib/readability_js/node/node_modules/jsdom/LICENSE.txt +22 -0
  720. data/lib/readability_js/node/node_modules/jsdom/README.md +551 -0
  721. data/lib/readability_js/node/node_modules/jsdom/lib/api.js +335 -0
  722. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/Window.js +1022 -0
  723. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.css +415 -0
  724. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/js-globals.json +312 -0
  725. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +20 -0
  726. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/parser/html.js +208 -0
  727. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/parser/index.js +37 -0
  728. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
  729. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
  730. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
  731. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +98 -0
  732. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
  733. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
  734. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
  735. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/level2/style.js +57 -0
  736. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/level3/xpath.js +1875 -0
  737. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
  738. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +131 -0
  739. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
  740. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
  741. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/attributes.js +312 -0
  742. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
  743. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
  744. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/crypto/Crypto-impl.js +68 -0
  745. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
  746. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +279 -0
  747. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/custom-elements/ElementInternals-impl.js +56 -0
  748. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/deviceorientation/DeviceMotionEventAcceleration-impl.js +7 -0
  749. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/deviceorientation/DeviceMotionEventRotationRate-impl.js +7 -0
  750. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/documents.js +15 -0
  751. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +59 -0
  752. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +30 -0
  753. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
  754. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
  755. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +36 -0
  756. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/BeforeUnloadEvent-impl.js +12 -0
  757. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/BlobEvent-impl.js +14 -0
  758. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
  759. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
  760. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
  761. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/DeviceMotionEvent-impl.js +49 -0
  762. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/DeviceOrientationEvent-impl.js +10 -0
  763. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
  764. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +195 -0
  765. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +24 -0
  766. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +438 -0
  767. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
  768. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
  769. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
  770. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
  771. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
  772. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +72 -0
  773. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
  774. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/PointerEvent-impl.js +21 -0
  775. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
  776. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
  777. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/PromiseRejectionEvent-impl.js +14 -0
  778. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
  779. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/SubmitEvent-impl.js +13 -0
  780. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
  781. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/TransitionEvent-impl.js +10 -0
  782. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +43 -0
  783. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
  784. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +172 -0
  785. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +65 -0
  786. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
  787. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
  788. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
  789. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
  790. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
  791. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +143 -0
  792. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +249 -0
  793. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +171 -0
  794. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +53 -0
  795. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
  796. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +217 -0
  797. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +117 -0
  798. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BeforeUnloadEvent.js +139 -0
  799. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
  800. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +211 -0
  801. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +30 -0
  802. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BlobEvent.js +157 -0
  803. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BlobEventInit.js +43 -0
  804. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
  805. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +109 -0
  806. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
  807. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +453 -0
  808. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +168 -0
  809. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +65 -0
  810. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +120 -0
  811. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +219 -0
  812. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
  813. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Crypto.js +148 -0
  814. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +34 -0
  815. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +267 -0
  816. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +206 -0
  817. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
  818. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMException.js +222 -0
  819. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +237 -0
  820. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
  821. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMRect.js +276 -0
  822. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMRectInit.js +76 -0
  823. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMRectReadOnly.js +285 -0
  824. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +297 -0
  825. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +537 -0
  826. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEvent.js +183 -0
  827. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEventAcceleration.js +145 -0
  828. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEventAccelerationInit.js +61 -0
  829. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEventInit.js +70 -0
  830. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEventRotationRate.js +145 -0
  831. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceMotionEventRotationRateInit.js +61 -0
  832. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceOrientationEvent.js +183 -0
  833. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DeviceOrientationEventInit.js +80 -0
  834. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Document.js +4509 -0
  835. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +334 -0
  836. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
  837. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +252 -0
  838. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Element.js +3718 -0
  839. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
  840. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +29 -0
  841. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ElementInternals.js +2150 -0
  842. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
  843. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +192 -0
  844. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +92 -0
  845. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Event.js +430 -0
  846. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +36 -0
  847. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +58 -0
  848. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
  849. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
  850. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +221 -0
  851. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +259 -0
  852. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/External.js +130 -0
  853. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/File.js +185 -0
  854. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +298 -0
  855. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +33 -0
  856. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +468 -0
  857. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +144 -0
  858. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
  859. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +468 -0
  860. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Function.js +42 -0
  861. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +31 -0
  862. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +1023 -0
  863. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +822 -0
  864. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +110 -0
  865. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
  866. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +193 -0
  867. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +877 -0
  868. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +522 -0
  869. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +304 -0
  870. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +352 -0
  871. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
  872. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
  873. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +125 -0
  874. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
  875. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
  876. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
  877. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
  878. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +3489 -0
  879. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +378 -0
  880. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +329 -0
  881. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +236 -0
  882. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormControlsCollection.js +318 -0
  883. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +658 -0
  884. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +510 -0
  885. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +708 -0
  886. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +320 -0
  887. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +110 -0
  888. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
  889. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
  890. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +686 -0
  891. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +902 -0
  892. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1927 -0
  893. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +201 -0
  894. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +179 -0
  895. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +166 -0
  896. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +552 -0
  897. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +168 -0
  898. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +554 -0
  899. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +898 -0
  900. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
  901. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +276 -0
  902. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +365 -0
  903. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +214 -0
  904. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +281 -0
  905. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +941 -0
  906. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +197 -0
  907. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +376 -0
  908. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +511 -0
  909. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +392 -0
  910. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
  911. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +276 -0
  912. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +110 -0
  913. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +160 -0
  914. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +228 -0
  915. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +173 -0
  916. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +469 -0
  917. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +989 -0
  918. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +192 -0
  919. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +337 -0
  920. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +110 -0
  921. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +207 -0
  922. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
  923. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +729 -0
  924. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +372 -0
  925. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +799 -0
  926. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +414 -0
  927. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +346 -0
  928. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +123 -0
  929. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1206 -0
  930. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
  931. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
  932. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +363 -0
  933. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +197 -0
  934. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +109 -0
  935. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +340 -0
  936. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +157 -0
  937. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +50 -0
  938. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +418 -0
  939. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/History.js +266 -0
  940. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +168 -0
  941. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +68 -0
  942. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +445 -0
  943. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +116 -0
  944. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Location.js +404 -0
  945. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +317 -0
  946. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +100 -0
  947. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +156 -0
  948. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +326 -0
  949. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +595 -0
  950. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +189 -0
  951. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +34 -0
  952. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +178 -0
  953. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +121 -0
  954. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +229 -0
  955. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +527 -0
  956. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +326 -0
  957. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Node.js +763 -0
  958. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +75 -0
  959. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +207 -0
  960. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +302 -0
  961. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +42 -0
  962. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +56 -0
  963. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +144 -0
  964. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +35 -0
  965. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +142 -0
  966. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +359 -0
  967. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +336 -0
  968. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PointerEvent.js +324 -0
  969. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PointerEventInit.js +241 -0
  970. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +144 -0
  971. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
  972. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +122 -0
  973. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +170 -0
  974. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +65 -0
  975. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PromiseRejectionEvent.js +157 -0
  976. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/PromiseRejectionEventInit.js +42 -0
  977. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/RadioNodeList.js +296 -0
  978. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Range.js +641 -0
  979. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedPreserveAspectRatio.js +136 -0
  980. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedRect.js +136 -0
  981. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +149 -0
  982. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
  983. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGDefsElement.js +109 -0
  984. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGDescElement.js +109 -0
  985. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +3155 -0
  986. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGGElement.js +109 -0
  987. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +139 -0
  988. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGMetadataElement.js +109 -0
  989. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +132 -0
  990. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGPreserveAspectRatio.js +196 -0
  991. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGRect.js +210 -0
  992. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +786 -0
  993. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +511 -0
  994. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGSwitchElement.js +109 -0
  995. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGSymbolElement.js +146 -0
  996. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +109 -0
  997. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +180 -0
  998. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
  999. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
  1000. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +14 -0
  1001. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
  1002. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
  1003. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +569 -0
  1004. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
  1005. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +187 -0
  1006. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
  1007. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
  1008. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +123 -0
  1009. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +72 -0
  1010. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +397 -0
  1011. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +318 -0
  1012. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +99 -0
  1013. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +300 -0
  1014. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SubmitEvent.js +144 -0
  1015. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SubmitEventInit.js +36 -0
  1016. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
  1017. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/Text.js +170 -0
  1018. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
  1019. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +222 -0
  1020. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
  1021. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TransitionEvent.js +170 -0
  1022. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TransitionEventInit.js +65 -0
  1023. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +255 -0
  1024. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
  1025. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +62 -0
  1026. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +249 -0
  1027. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
  1028. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +26 -0
  1029. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +480 -0
  1030. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +191 -0
  1031. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +71 -0
  1032. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +109 -0
  1033. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +663 -0
  1034. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +334 -0
  1035. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +14 -0
  1036. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +109 -0
  1037. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +132 -0
  1038. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/generated/utils.js +252 -0
  1039. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/geometry/DOMRect-impl.js +39 -0
  1040. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/geometry/DOMRectReadOnly-impl.js +72 -0
  1041. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +13 -0
  1042. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
  1043. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/colors.js +245 -0
  1044. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +329 -0
  1045. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
  1046. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +272 -0
  1047. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
  1048. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/details.js +15 -0
  1049. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/events.js +24 -0
  1050. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
  1051. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +309 -0
  1052. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
  1053. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +266 -0
  1054. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
  1055. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/is-window.js +18 -0
  1056. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
  1057. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/json.js +12 -0
  1058. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
  1059. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +16 -0
  1060. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/node.js +68 -0
  1061. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
  1062. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
  1063. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/page-transition-event.js +9 -0
  1064. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +75 -0
  1065. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
  1066. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +162 -0
  1067. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +319 -0
  1068. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +129 -0
  1069. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
  1070. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
  1071. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/system-colors.js +147 -0
  1072. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/text.js +19 -0
  1073. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
  1074. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +65 -0
  1075. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +22 -0
  1076. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/interfaces.js +249 -0
  1077. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
  1078. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
  1079. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
  1080. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
  1081. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
  1082. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
  1083. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
  1084. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
  1085. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
  1086. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
  1087. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
  1088. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
  1089. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
  1090. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/node-document-position.js +10 -0
  1091. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/node-type.js +16 -0
  1092. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/node.js +331 -0
  1093. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
  1094. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
  1095. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
  1096. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
  1097. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
  1098. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
  1099. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
  1100. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +1014 -0
  1101. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
  1102. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
  1103. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
  1104. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +608 -0
  1105. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +22 -0
  1106. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
  1107. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +157 -0
  1108. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
  1109. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
  1110. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
  1111. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
  1112. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +44 -0
  1113. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
  1114. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
  1115. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +136 -0
  1116. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
  1117. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
  1118. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
  1119. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
  1120. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
  1121. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
  1122. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
  1123. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
  1124. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +211 -0
  1125. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
  1126. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
  1127. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
  1128. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormControlsCollection-impl.js +33 -0
  1129. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +248 -0
  1130. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +266 -0
  1131. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
  1132. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
  1133. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
  1134. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
  1135. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
  1136. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +366 -0
  1137. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
  1138. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +131 -0
  1139. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1097 -0
  1140. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
  1141. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
  1142. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
  1143. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +107 -0
  1144. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
  1145. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
  1146. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
  1147. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
  1148. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
  1149. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
  1150. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
  1151. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
  1152. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
  1153. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
  1154. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
  1155. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
  1156. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +88 -0
  1157. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
  1158. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
  1159. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
  1160. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
  1161. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
  1162. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +72 -0
  1163. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
  1164. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +261 -0
  1165. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
  1166. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
  1167. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
  1168. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
  1169. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +73 -0
  1170. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
  1171. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
  1172. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
  1173. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
  1174. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
  1175. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
  1176. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
  1177. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +244 -0
  1178. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
  1179. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
  1180. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
  1181. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
  1182. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
  1183. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
  1184. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
  1185. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +1160 -0
  1186. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
  1187. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
  1188. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
  1189. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +90 -0
  1190. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
  1191. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/RadioNodeList-impl.js +49 -0
  1192. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGDefsElement-impl.js +9 -0
  1193. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGDescElement-impl.js +9 -0
  1194. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
  1195. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGGElement-impl.js +9 -0
  1196. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
  1197. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGMetadataElement-impl.js +9 -0
  1198. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +47 -0
  1199. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGSwitchElement-impl.js +9 -0
  1200. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGSymbolElement-impl.js +9 -0
  1201. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
  1202. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
  1203. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +41 -0
  1204. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
  1205. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
  1206. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
  1207. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
  1208. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
  1209. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +897 -0
  1210. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
  1211. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
  1212. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +358 -0
  1213. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedPreserveAspectRatio-impl.js +24 -0
  1214. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedRect-impl.js +122 -0
  1215. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +42 -0
  1216. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
  1217. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
  1218. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGPreserveAspectRatio-impl.js +100 -0
  1219. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGRect-impl.js +143 -0
  1220. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
  1221. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +107 -0
  1222. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
  1223. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
  1224. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/webidl/DOMException-impl.js +46 -0
  1225. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
  1226. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
  1227. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
  1228. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
  1229. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +148 -0
  1230. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +227 -0
  1231. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
  1232. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
  1233. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window/navigation.js +85 -0
  1234. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/window-properties.js +241 -0
  1235. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +191 -0
  1236. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1005 -0
  1237. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
  1238. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
  1239. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/multipart-form-data.js +105 -0
  1240. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +59 -0
  1241. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +410 -0
  1242. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/utils.js +105 -0
  1243. data/lib/readability_js/node/node_modules/jsdom/lib/jsdom/virtual-console.js +46 -0
  1244. data/lib/readability_js/node/node_modules/jsdom/package.json +93 -0
  1245. data/lib/readability_js/node/node_modules/lru-cache/LICENSE +15 -0
  1246. data/lib/readability_js/node/node_modules/lru-cache/README.md +338 -0
  1247. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.d.ts +1322 -0
  1248. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  1249. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.js +1568 -0
  1250. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  1251. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1252. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  1253. data/lib/readability_js/node/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1254. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.d.ts +1322 -0
  1255. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  1256. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.js +1564 -0
  1257. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  1258. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1259. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  1260. data/lib/readability_js/node/node_modules/lru-cache/dist/esm/package.json +3 -0
  1261. data/lib/readability_js/node/node_modules/lru-cache/package.json +113 -0
  1262. data/lib/readability_js/node/node_modules/mdn-data/LICENSE +116 -0
  1263. data/lib/readability_js/node/node_modules/mdn-data/README.md +59 -0
  1264. data/lib/readability_js/node/node_modules/mdn-data/api/index.js +3 -0
  1265. data/lib/readability_js/node/node_modules/mdn-data/api/inheritance.json +2681 -0
  1266. data/lib/readability_js/node/node_modules/mdn-data/api/inheritance.schema.json +31 -0
  1267. data/lib/readability_js/node/node_modules/mdn-data/css/at-rules.json +504 -0
  1268. data/lib/readability_js/node/node_modules/mdn-data/css/at-rules.schema.json +131 -0
  1269. data/lib/readability_js/node/node_modules/mdn-data/css/definitions.json +80 -0
  1270. data/lib/readability_js/node/node_modules/mdn-data/css/functions.json +593 -0
  1271. data/lib/readability_js/node/node_modules/mdn-data/css/functions.schema.json +45 -0
  1272. data/lib/readability_js/node/node_modules/mdn-data/css/index.js +9 -0
  1273. data/lib/readability_js/node/node_modules/mdn-data/css/properties.json +10806 -0
  1274. data/lib/readability_js/node/node_modules/mdn-data/css/properties.schema.json +449 -0
  1275. data/lib/readability_js/node/node_modules/mdn-data/css/selectors.json +1071 -0
  1276. data/lib/readability_js/node/node_modules/mdn-data/css/selectors.schema.json +36 -0
  1277. data/lib/readability_js/node/node_modules/mdn-data/css/syntaxes.json +899 -0
  1278. data/lib/readability_js/node/node_modules/mdn-data/css/syntaxes.schema.json +15 -0
  1279. data/lib/readability_js/node/node_modules/mdn-data/css/types.json +287 -0
  1280. data/lib/readability_js/node/node_modules/mdn-data/css/types.schema.json +32 -0
  1281. data/lib/readability_js/node/node_modules/mdn-data/css/units.json +213 -0
  1282. data/lib/readability_js/node/node_modules/mdn-data/css/units.schema.json +28 -0
  1283. data/lib/readability_js/node/node_modules/mdn-data/index.js +5 -0
  1284. data/lib/readability_js/node/node_modules/mdn-data/l10n/css.json +1876 -0
  1285. data/lib/readability_js/node/node_modules/mdn-data/l10n/index.js +3 -0
  1286. data/lib/readability_js/node/node_modules/mdn-data/package.json +38 -0
  1287. data/lib/readability_js/node/node_modules/ms/index.js +162 -0
  1288. data/lib/readability_js/node/node_modules/ms/license.md +21 -0
  1289. data/lib/readability_js/node/node_modules/ms/package.json +38 -0
  1290. data/lib/readability_js/node/node_modules/ms/readme.md +59 -0
  1291. data/lib/readability_js/node/node_modules/parse5/LICENSE +19 -0
  1292. data/lib/readability_js/node/node_modules/parse5/README.md +38 -0
  1293. data/lib/readability_js/node/node_modules/parse5/dist/common/doctype.d.ts +4 -0
  1294. data/lib/readability_js/node/node_modules/parse5/dist/common/doctype.js +114 -0
  1295. data/lib/readability_js/node/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
  1296. data/lib/readability_js/node/node_modules/parse5/dist/common/error-codes.js +63 -0
  1297. data/lib/readability_js/node/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
  1298. data/lib/readability_js/node/node_modules/parse5/dist/common/foreign-content.js +228 -0
  1299. data/lib/readability_js/node/node_modules/parse5/dist/common/html.d.ts +289 -0
  1300. data/lib/readability_js/node/node_modules/parse5/dist/common/html.js +523 -0
  1301. data/lib/readability_js/node/node_modules/parse5/dist/common/token.d.ts +84 -0
  1302. data/lib/readability_js/node/node_modules/parse5/dist/common/token.js +20 -0
  1303. data/lib/readability_js/node/node_modules/parse5/dist/common/unicode.d.ts +42 -0
  1304. data/lib/readability_js/node/node_modules/parse5/dist/common/unicode.js +62 -0
  1305. data/lib/readability_js/node/node_modules/parse5/dist/index.d.ts +71 -0
  1306. data/lib/readability_js/node/node_modules/parse5/dist/index.js +42 -0
  1307. data/lib/readability_js/node/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
  1308. data/lib/readability_js/node/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  1309. data/lib/readability_js/node/node_modules/parse5/dist/parser/index.d.ts +221 -0
  1310. data/lib/readability_js/node/node_modules/parse5/dist/parser/index.js +3245 -0
  1311. data/lib/readability_js/node/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
  1312. data/lib/readability_js/node/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  1313. data/lib/readability_js/node/node_modules/parse5/dist/serializer/index.d.ts +60 -0
  1314. data/lib/readability_js/node/node_modules/parse5/dist/serializer/index.js +168 -0
  1315. data/lib/readability_js/node/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
  1316. data/lib/readability_js/node/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  1317. data/lib/readability_js/node/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
  1318. data/lib/readability_js/node/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  1319. data/lib/readability_js/node/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
  1320. data/lib/readability_js/node/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  1321. data/lib/readability_js/node/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
  1322. data/lib/readability_js/node/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
  1323. data/lib/readability_js/node/node_modules/parse5/package.json +48 -0
  1324. data/lib/readability_js/node/node_modules/punycode/LICENSE-MIT.txt +20 -0
  1325. data/lib/readability_js/node/node_modules/punycode/README.md +148 -0
  1326. data/lib/readability_js/node/node_modules/punycode/package.json +58 -0
  1327. data/lib/readability_js/node/node_modules/punycode/punycode.es6.js +444 -0
  1328. data/lib/readability_js/node/node_modules/punycode/punycode.js +443 -0
  1329. data/lib/readability_js/node/node_modules/require-from-string/index.js +34 -0
  1330. data/lib/readability_js/node/node_modules/require-from-string/license +21 -0
  1331. data/lib/readability_js/node/node_modules/require-from-string/package.json +28 -0
  1332. data/lib/readability_js/node/node_modules/require-from-string/readme.md +56 -0
  1333. data/lib/readability_js/node/node_modules/rrweb-cssom/LICENSE.txt +20 -0
  1334. data/lib/readability_js/node/node_modules/rrweb-cssom/README.mdown +74 -0
  1335. data/lib/readability_js/node/node_modules/rrweb-cssom/build/CSSOM.js +1995 -0
  1336. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSConditionRule.js +25 -0
  1337. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSContainerRule.js +50 -0
  1338. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSDocumentRule.js +39 -0
  1339. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSFontFaceRule.js +36 -0
  1340. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSGroupingRule.js +69 -0
  1341. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSHostRule.js +37 -0
  1342. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSImportRule.js +132 -0
  1343. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSKeyframeRule.js +37 -0
  1344. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSKeyframesRule.js +39 -0
  1345. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSLayerBlockRule.js +48 -0
  1346. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSMediaRule.js +53 -0
  1347. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSOM.js +3 -0
  1348. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSRule.js +42 -0
  1349. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSStartingStyleRule.js +37 -0
  1350. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSStyleDeclaration.js +148 -0
  1351. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSStyleRule.js +190 -0
  1352. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSStyleSheet.js +88 -0
  1353. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSSupportsRule.js +36 -0
  1354. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSValue.js +43 -0
  1355. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/CSSValueExpression.js +344 -0
  1356. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/MatcherList.js +62 -0
  1357. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/MediaList.js +61 -0
  1358. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/StyleSheet.js +17 -0
  1359. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/clone.js +80 -0
  1360. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/index.js +26 -0
  1361. data/lib/readability_js/node/node_modules/rrweb-cssom/lib/parse.js +525 -0
  1362. data/lib/readability_js/node/node_modules/rrweb-cssom/package.json +27 -0
  1363. data/lib/readability_js/node/node_modules/safer-buffer/LICENSE +21 -0
  1364. data/lib/readability_js/node/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1365. data/lib/readability_js/node/node_modules/safer-buffer/Readme.md +156 -0
  1366. data/lib/readability_js/node/node_modules/safer-buffer/dangerous.js +58 -0
  1367. data/lib/readability_js/node/node_modules/safer-buffer/package.json +34 -0
  1368. data/lib/readability_js/node/node_modules/safer-buffer/safer.js +77 -0
  1369. data/lib/readability_js/node/node_modules/safer-buffer/tests.js +406 -0
  1370. data/lib/readability_js/node/node_modules/saxes/README.md +323 -0
  1371. data/lib/readability_js/node/node_modules/saxes/package.json +71 -0
  1372. data/lib/readability_js/node/node_modules/saxes/saxes.d.ts +635 -0
  1373. data/lib/readability_js/node/node_modules/saxes/saxes.js +2053 -0
  1374. data/lib/readability_js/node/node_modules/saxes/saxes.js.map +1 -0
  1375. data/lib/readability_js/node/node_modules/source-map-js/LICENSE +28 -0
  1376. data/lib/readability_js/node/node_modules/source-map-js/README.md +765 -0
  1377. data/lib/readability_js/node/node_modules/source-map-js/lib/array-set.js +121 -0
  1378. data/lib/readability_js/node/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1379. data/lib/readability_js/node/node_modules/source-map-js/lib/base64.js +67 -0
  1380. data/lib/readability_js/node/node_modules/source-map-js/lib/binary-search.js +111 -0
  1381. data/lib/readability_js/node/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1382. data/lib/readability_js/node/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1383. data/lib/readability_js/node/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  1384. data/lib/readability_js/node/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1385. data/lib/readability_js/node/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  1386. data/lib/readability_js/node/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1387. data/lib/readability_js/node/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  1388. data/lib/readability_js/node/node_modules/source-map-js/lib/source-node.js +413 -0
  1389. data/lib/readability_js/node/node_modules/source-map-js/lib/util.js +594 -0
  1390. data/lib/readability_js/node/node_modules/source-map-js/package.json +71 -0
  1391. data/lib/readability_js/node/node_modules/source-map-js/source-map.d.ts +104 -0
  1392. data/lib/readability_js/node/node_modules/source-map-js/source-map.js +8 -0
  1393. data/lib/readability_js/node/node_modules/symbol-tree/LICENSE +21 -0
  1394. data/lib/readability_js/node/node_modules/symbol-tree/README.md +545 -0
  1395. data/lib/readability_js/node/node_modules/symbol-tree/lib/SymbolTree.js +838 -0
  1396. data/lib/readability_js/node/node_modules/symbol-tree/lib/SymbolTreeNode.js +54 -0
  1397. data/lib/readability_js/node/node_modules/symbol-tree/lib/TreeIterator.js +69 -0
  1398. data/lib/readability_js/node/node_modules/symbol-tree/lib/TreePosition.js +11 -0
  1399. data/lib/readability_js/node/node_modules/symbol-tree/package.json +47 -0
  1400. data/lib/readability_js/node/node_modules/tldts/LICENSE +13 -0
  1401. data/lib/readability_js/node/node_modules/tldts/README.md +327 -0
  1402. data/lib/readability_js/node/node_modules/tldts/bin/cli.js +21 -0
  1403. data/lib/readability_js/node/node_modules/tldts/dist/cjs/index.js +669 -0
  1404. data/lib/readability_js/node/node_modules/tldts/dist/cjs/index.js.map +1 -0
  1405. data/lib/readability_js/node/node_modules/tldts/dist/cjs/src/data/trie.js +14 -0
  1406. data/lib/readability_js/node/node_modules/tldts/dist/cjs/src/data/trie.js.map +1 -0
  1407. data/lib/readability_js/node/node_modules/tldts/dist/cjs/src/suffix-trie.js +67 -0
  1408. data/lib/readability_js/node/node_modules/tldts/dist/cjs/src/suffix-trie.js.map +1 -0
  1409. data/lib/readability_js/node/node_modules/tldts/dist/cjs/tsconfig.tsbuildinfo +1 -0
  1410. data/lib/readability_js/node/node_modules/tldts/dist/es6/index.js +33 -0
  1411. data/lib/readability_js/node/node_modules/tldts/dist/es6/index.js.map +1 -0
  1412. data/lib/readability_js/node/node_modules/tldts/dist/es6/src/data/trie.js +11 -0
  1413. data/lib/readability_js/node/node_modules/tldts/dist/es6/src/data/trie.js.map +1 -0
  1414. data/lib/readability_js/node/node_modules/tldts/dist/es6/src/suffix-trie.js +64 -0
  1415. data/lib/readability_js/node/node_modules/tldts/dist/es6/src/suffix-trie.js.map +1 -0
  1416. data/lib/readability_js/node/node_modules/tldts/dist/es6/tsconfig.bundle.tsbuildinfo +1 -0
  1417. data/lib/readability_js/node/node_modules/tldts/dist/index.cjs.min.js +2 -0
  1418. data/lib/readability_js/node/node_modules/tldts/dist/index.cjs.min.js.map +1 -0
  1419. data/lib/readability_js/node/node_modules/tldts/dist/index.esm.min.js +2 -0
  1420. data/lib/readability_js/node/node_modules/tldts/dist/index.esm.min.js.map +1 -0
  1421. data/lib/readability_js/node/node_modules/tldts/dist/index.umd.min.js +2 -0
  1422. data/lib/readability_js/node/node_modules/tldts/dist/index.umd.min.js.map +1 -0
  1423. data/lib/readability_js/node/node_modules/tldts/dist/types/index.d.ts +7 -0
  1424. data/lib/readability_js/node/node_modules/tldts/dist/types/src/data/trie.d.ts +5 -0
  1425. data/lib/readability_js/node/node_modules/tldts/dist/types/src/suffix-trie.d.ts +5 -0
  1426. data/lib/readability_js/node/node_modules/tldts/index.ts +62 -0
  1427. data/lib/readability_js/node/node_modules/tldts/package.json +91 -0
  1428. data/lib/readability_js/node/node_modules/tldts/src/data/trie.ts +14 -0
  1429. data/lib/readability_js/node/node_modules/tldts/src/suffix-trie.ts +110 -0
  1430. data/lib/readability_js/node/node_modules/tldts-core/LICENSE +13 -0
  1431. data/lib/readability_js/node/node_modules/tldts-core/README.md +3 -0
  1432. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/index.js +564 -0
  1433. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/index.js.map +1 -0
  1434. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js +15 -0
  1435. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map +1 -0
  1436. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/domain.js +83 -0
  1437. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/domain.js.map +1 -0
  1438. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/extract-hostname.js +149 -0
  1439. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map +1 -0
  1440. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/factory.js +107 -0
  1441. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/factory.js.map +1 -0
  1442. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/is-ip.js +72 -0
  1443. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/is-ip.js.map +1 -0
  1444. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/is-valid.js +69 -0
  1445. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/is-valid.js.map +1 -0
  1446. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js +69 -0
  1447. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map +1 -0
  1448. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/lookup/interface.js +3 -0
  1449. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map +1 -0
  1450. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/options.js +22 -0
  1451. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/options.js.map +1 -0
  1452. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/subdomain.js +14 -0
  1453. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/src/subdomain.js.map +1 -0
  1454. data/lib/readability_js/node/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo +1 -0
  1455. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/index.js +4 -0
  1456. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/index.js.map +1 -0
  1457. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js +12 -0
  1458. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map +1 -0
  1459. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/domain.js +80 -0
  1460. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/domain.js.map +1 -0
  1461. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/extract-hostname.js +146 -0
  1462. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map +1 -0
  1463. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/factory.js +102 -0
  1464. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/factory.js.map +1 -0
  1465. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/is-ip.js +69 -0
  1466. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/is-ip.js.map +1 -0
  1467. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/is-valid.js +66 -0
  1468. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/is-valid.js.map +1 -0
  1469. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js +66 -0
  1470. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map +1 -0
  1471. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/lookup/interface.js +2 -0
  1472. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map +1 -0
  1473. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/options.js +19 -0
  1474. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/options.js.map +1 -0
  1475. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/subdomain.js +11 -0
  1476. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/src/subdomain.js.map +1 -0
  1477. data/lib/readability_js/node/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo +1 -0
  1478. data/lib/readability_js/node/node_modules/tldts-core/dist/types/index.d.ts +4 -0
  1479. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts +6 -0
  1480. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/domain.d.ts +5 -0
  1481. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts +5 -0
  1482. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/factory.d.ts +28 -0
  1483. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/is-ip.d.ts +6 -0
  1484. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/is-valid.d.ts +15 -0
  1485. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts +2 -0
  1486. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts +9 -0
  1487. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/options.d.ts +10 -0
  1488. data/lib/readability_js/node/node_modules/tldts-core/dist/types/src/subdomain.d.ts +4 -0
  1489. data/lib/readability_js/node/node_modules/tldts-core/index.ts +10 -0
  1490. data/lib/readability_js/node/node_modules/tldts-core/package.json +68 -0
  1491. data/lib/readability_js/node/node_modules/tldts-core/src/domain-without-suffix.ts +14 -0
  1492. data/lib/readability_js/node/node_modules/tldts-core/src/domain.ts +100 -0
  1493. data/lib/readability_js/node/node_modules/tldts-core/src/extract-hostname.ts +170 -0
  1494. data/lib/readability_js/node/node_modules/tldts-core/src/factory.ts +163 -0
  1495. data/lib/readability_js/node/node_modules/tldts-core/src/is-ip.ts +87 -0
  1496. data/lib/readability_js/node/node_modules/tldts-core/src/is-valid.ts +79 -0
  1497. data/lib/readability_js/node/node_modules/tldts-core/src/lookup/fast-path.ts +80 -0
  1498. data/lib/readability_js/node/node_modules/tldts-core/src/lookup/interface.ts +10 -0
  1499. data/lib/readability_js/node/node_modules/tldts-core/src/options.ts +39 -0
  1500. data/lib/readability_js/node/node_modules/tldts-core/src/subdomain.ts +11 -0
  1501. data/lib/readability_js/node/node_modules/tough-cookie/LICENSE +12 -0
  1502. data/lib/readability_js/node/node_modules/tough-cookie/README.md +195 -0
  1503. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.cjs +2313 -0
  1504. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.cjs.map +1 -0
  1505. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.d.cts +1879 -0
  1506. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.d.ts +1879 -0
  1507. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.js +2268 -0
  1508. data/lib/readability_js/node/node_modules/tough-cookie/dist/index.js.map +1 -0
  1509. data/lib/readability_js/node/node_modules/tough-cookie/node_modules/.bin/tldts +1 -0
  1510. data/lib/readability_js/node/node_modules/tough-cookie/package.json +149 -0
  1511. data/lib/readability_js/node/node_modules/tr46/LICENSE.md +21 -0
  1512. data/lib/readability_js/node/node_modules/tr46/README.md +76 -0
  1513. data/lib/readability_js/node/node_modules/tr46/index.js +344 -0
  1514. data/lib/readability_js/node/node_modules/tr46/lib/mappingTable.json +1 -0
  1515. data/lib/readability_js/node/node_modules/tr46/lib/regexes.js +29 -0
  1516. data/lib/readability_js/node/node_modules/tr46/lib/statusMapping.js +9 -0
  1517. data/lib/readability_js/node/node_modules/tr46/package.json +47 -0
  1518. data/lib/readability_js/node/node_modules/w3c-xmlserializer/LICENSE.md +25 -0
  1519. data/lib/readability_js/node/node_modules/w3c-xmlserializer/README.md +41 -0
  1520. data/lib/readability_js/node/node_modules/w3c-xmlserializer/lib/attributes.js +125 -0
  1521. data/lib/readability_js/node/node_modules/w3c-xmlserializer/lib/constants.js +44 -0
  1522. data/lib/readability_js/node/node_modules/w3c-xmlserializer/lib/serialize.js +365 -0
  1523. data/lib/readability_js/node/node_modules/w3c-xmlserializer/package.json +32 -0
  1524. data/lib/readability_js/node/node_modules/webidl-conversions/LICENSE.md +12 -0
  1525. data/lib/readability_js/node/node_modules/webidl-conversions/README.md +99 -0
  1526. data/lib/readability_js/node/node_modules/webidl-conversions/lib/index.js +462 -0
  1527. data/lib/readability_js/node/node_modules/webidl-conversions/package.json +34 -0
  1528. data/lib/readability_js/node/node_modules/whatwg-encoding/LICENSE.txt +7 -0
  1529. data/lib/readability_js/node/node_modules/whatwg-encoding/README.md +50 -0
  1530. data/lib/readability_js/node/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
  1531. data/lib/readability_js/node/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
  1532. data/lib/readability_js/node/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
  1533. data/lib/readability_js/node/node_modules/whatwg-encoding/package.json +32 -0
  1534. data/lib/readability_js/node/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
  1535. data/lib/readability_js/node/node_modules/whatwg-mimetype/README.md +101 -0
  1536. data/lib/readability_js/node/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
  1537. data/lib/readability_js/node/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
  1538. data/lib/readability_js/node/node_modules/whatwg-mimetype/lib/parser.js +105 -0
  1539. data/lib/readability_js/node/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
  1540. data/lib/readability_js/node/node_modules/whatwg-mimetype/lib/utils.js +60 -0
  1541. data/lib/readability_js/node/node_modules/whatwg-mimetype/package.json +45 -0
  1542. data/lib/readability_js/node/node_modules/whatwg-url/LICENSE.txt +21 -0
  1543. data/lib/readability_js/node/node_modules/whatwg-url/README.md +106 -0
  1544. data/lib/readability_js/node/node_modules/whatwg-url/index.js +27 -0
  1545. data/lib/readability_js/node/node_modules/whatwg-url/lib/Function.js +42 -0
  1546. data/lib/readability_js/node/node_modules/whatwg-url/lib/URL-impl.js +233 -0
  1547. data/lib/readability_js/node/node_modules/whatwg-url/lib/URL.js +499 -0
  1548. data/lib/readability_js/node/node_modules/whatwg-url/lib/URLSearchParams-impl.js +135 -0
  1549. data/lib/readability_js/node/node_modules/whatwg-url/lib/URLSearchParams.js +505 -0
  1550. data/lib/readability_js/node/node_modules/whatwg-url/lib/VoidFunction.js +26 -0
  1551. data/lib/readability_js/node/node_modules/whatwg-url/lib/encoding.js +16 -0
  1552. data/lib/readability_js/node/node_modules/whatwg-url/lib/infra.js +26 -0
  1553. data/lib/readability_js/node/node_modules/whatwg-url/lib/percent-encoding.js +142 -0
  1554. data/lib/readability_js/node/node_modules/whatwg-url/lib/url-state-machine.js +1277 -0
  1555. data/lib/readability_js/node/node_modules/whatwg-url/lib/urlencoded.js +89 -0
  1556. data/lib/readability_js/node/node_modules/whatwg-url/lib/utils.js +240 -0
  1557. data/lib/readability_js/node/node_modules/whatwg-url/package.json +56 -0
  1558. data/lib/readability_js/node/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
  1559. data/lib/readability_js/node/node_modules/ws/LICENSE +20 -0
  1560. data/lib/readability_js/node/node_modules/ws/README.md +548 -0
  1561. data/lib/readability_js/node/node_modules/ws/browser.js +8 -0
  1562. data/lib/readability_js/node/node_modules/ws/index.js +13 -0
  1563. data/lib/readability_js/node/node_modules/ws/lib/buffer-util.js +131 -0
  1564. data/lib/readability_js/node/node_modules/ws/lib/constants.js +18 -0
  1565. data/lib/readability_js/node/node_modules/ws/lib/event-target.js +292 -0
  1566. data/lib/readability_js/node/node_modules/ws/lib/extension.js +203 -0
  1567. data/lib/readability_js/node/node_modules/ws/lib/limiter.js +55 -0
  1568. data/lib/readability_js/node/node_modules/ws/lib/permessage-deflate.js +528 -0
  1569. data/lib/readability_js/node/node_modules/ws/lib/receiver.js +706 -0
  1570. data/lib/readability_js/node/node_modules/ws/lib/sender.js +602 -0
  1571. data/lib/readability_js/node/node_modules/ws/lib/stream.js +161 -0
  1572. data/lib/readability_js/node/node_modules/ws/lib/subprotocol.js +62 -0
  1573. data/lib/readability_js/node/node_modules/ws/lib/validation.js +152 -0
  1574. data/lib/readability_js/node/node_modules/ws/lib/websocket-server.js +550 -0
  1575. data/lib/readability_js/node/node_modules/ws/lib/websocket.js +1388 -0
  1576. data/lib/readability_js/node/node_modules/ws/package.json +69 -0
  1577. data/lib/readability_js/node/node_modules/ws/wrapper.mjs +8 -0
  1578. data/lib/readability_js/node/node_modules/xml-name-validator/LICENSE.txt +176 -0
  1579. data/lib/readability_js/node/node_modules/xml-name-validator/README.md +35 -0
  1580. data/lib/readability_js/node/node_modules/xml-name-validator/lib/xml-name-validator.js +9 -0
  1581. data/lib/readability_js/node/node_modules/xml-name-validator/package.json +30 -0
  1582. data/lib/readability_js/node/node_modules/xmlchars/LICENSE +18 -0
  1583. data/lib/readability_js/node/node_modules/xmlchars/README.md +33 -0
  1584. data/lib/readability_js/node/node_modules/xmlchars/package.json +51 -0
  1585. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
  1586. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
  1587. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
  1588. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
  1589. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
  1590. data/lib/readability_js/node/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
  1591. data/lib/readability_js/node/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
  1592. data/lib/readability_js/node/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
  1593. data/lib/readability_js/node/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
  1594. data/lib/readability_js/node/node_modules/xmlchars/xmlchars.d.ts +170 -0
  1595. data/lib/readability_js/node/node_modules/xmlchars/xmlchars.js +191 -0
  1596. data/lib/readability_js/node/node_modules/xmlchars/xmlchars.js.map +1 -0
  1597. data/lib/readability_js/node/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
  1598. data/lib/readability_js/node/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
  1599. data/lib/readability_js/node/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
  1600. data/lib/readability_js/node/package.json +9 -0
  1601. data/lib/readability_js/node/readability-example.js +10 -0
  1602. data/lib/readability_js/node/yarn.lock +315 -0
  1603. data/lib/readability_js/nodo.rb +67 -0
  1604. data/lib/readability_js/version.rb +3 -0
  1605. data/lib/readability_js.rb +207 -0
  1606. data/readability_js.gemspec +47 -0
  1607. metadata +1775 -0
@@ -0,0 +1,4509 @@
1
+ "use strict";
2
+
3
+ const conversions = require("webidl-conversions");
4
+ const utils = require("./utils.js");
5
+
6
+ const ElementCreationOptions = require("./ElementCreationOptions.js");
7
+ const ceReactionsPreSteps_helpers_custom_elements = require("../helpers/custom-elements.js").ceReactionsPreSteps;
8
+ const ceReactionsPostSteps_helpers_custom_elements = require("../helpers/custom-elements.js").ceReactionsPostSteps;
9
+ const Node = require("./Node.js");
10
+ const NodeFilter = require("./NodeFilter.js");
11
+ const HTMLElement = require("./HTMLElement.js");
12
+ const EventHandlerNonNull = require("./EventHandlerNonNull.js");
13
+ const OnErrorEventHandlerNonNull = require("./OnErrorEventHandlerNonNull.js");
14
+ const implSymbol = utils.implSymbol;
15
+ const ctorRegistrySymbol = utils.ctorRegistrySymbol;
16
+
17
+ const interfaceName = "Document";
18
+
19
+ exports.is = value => {
20
+ return utils.isObject(value) && Object.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
21
+ };
22
+ exports.isImpl = value => {
23
+ return utils.isObject(value) && value instanceof Impl.implementation;
24
+ };
25
+ exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
26
+ if (exports.is(value)) {
27
+ return utils.implForWrapper(value);
28
+ }
29
+ throw new globalObject.TypeError(`${context} is not of type 'Document'.`);
30
+ };
31
+
32
+ function makeWrapper(globalObject, newTarget) {
33
+ let proto;
34
+ if (newTarget !== undefined) {
35
+ proto = newTarget.prototype;
36
+ }
37
+
38
+ if (!utils.isObject(proto)) {
39
+ proto = globalObject[ctorRegistrySymbol]["Document"].prototype;
40
+ }
41
+
42
+ return Object.create(proto);
43
+ }
44
+
45
+ exports.create = (globalObject, constructorArgs, privateData) => {
46
+ const wrapper = makeWrapper(globalObject);
47
+ return exports.setup(wrapper, globalObject, constructorArgs, privateData);
48
+ };
49
+
50
+ exports.createImpl = (globalObject, constructorArgs, privateData) => {
51
+ const wrapper = exports.create(globalObject, constructorArgs, privateData);
52
+ return utils.implForWrapper(wrapper);
53
+ };
54
+
55
+ function getUnforgeables(globalObject) {
56
+ let unforgeables = unforgeablesMap.get(globalObject);
57
+ if (unforgeables === undefined) {
58
+ unforgeables = Object.create(null);
59
+ utils.define(unforgeables, {
60
+ get location() {
61
+ const esValue = this !== null && this !== undefined ? this : globalObject;
62
+
63
+ if (!exports.is(esValue)) {
64
+ throw new globalObject.TypeError(
65
+ "'get location' called on an object that is not a valid instance of Document."
66
+ );
67
+ }
68
+
69
+ return utils.tryWrapperForImpl(esValue[implSymbol]["location"]);
70
+ },
71
+ set location(V) {
72
+ const esValue = this !== null && this !== undefined ? this : globalObject;
73
+
74
+ if (!exports.is(esValue)) {
75
+ throw new globalObject.TypeError(
76
+ "'set location' called on an object that is not a valid instance of Document."
77
+ );
78
+ }
79
+
80
+ const Q = esValue["location"];
81
+ if (!utils.isObject(Q)) {
82
+ throw new globalObject.TypeError("Property 'location' is not an object");
83
+ }
84
+ Reflect.set(Q, "href", V);
85
+ }
86
+ });
87
+ Object.defineProperties(unforgeables, {
88
+ location: { configurable: false }
89
+ });
90
+ unforgeablesMap.set(globalObject, unforgeables);
91
+ }
92
+ return unforgeables;
93
+ }
94
+
95
+ exports._internalSetup = (wrapper, globalObject) => {
96
+ Node._internalSetup(wrapper, globalObject);
97
+
98
+ utils.define(wrapper, getUnforgeables(globalObject));
99
+ };
100
+
101
+ exports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {
102
+ privateData.wrapper = wrapper;
103
+
104
+ exports._internalSetup(wrapper, globalObject);
105
+ Object.defineProperty(wrapper, implSymbol, {
106
+ value: new Impl.implementation(globalObject, constructorArgs, privateData),
107
+ configurable: true
108
+ });
109
+
110
+ wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
111
+ if (Impl.init) {
112
+ Impl.init(wrapper[implSymbol]);
113
+ }
114
+ return wrapper;
115
+ };
116
+
117
+ exports.new = (globalObject, newTarget) => {
118
+ const wrapper = makeWrapper(globalObject, newTarget);
119
+
120
+ exports._internalSetup(wrapper, globalObject);
121
+ Object.defineProperty(wrapper, implSymbol, {
122
+ value: Object.create(Impl.implementation.prototype),
123
+ configurable: true
124
+ });
125
+
126
+ wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
127
+ if (Impl.init) {
128
+ Impl.init(wrapper[implSymbol]);
129
+ }
130
+ return wrapper[implSymbol];
131
+ };
132
+
133
+ const unforgeablesMap = new WeakMap();
134
+ const exposed = new Set(["Window"]);
135
+
136
+ exports.install = (globalObject, globalNames) => {
137
+ if (!globalNames.some(globalName => exposed.has(globalName))) {
138
+ return;
139
+ }
140
+
141
+ const ctorRegistry = utils.initCtorRegistry(globalObject);
142
+ class Document extends globalObject.Node {
143
+ constructor() {
144
+ return exports.setup(Object.create(new.target.prototype), globalObject, undefined);
145
+ }
146
+
147
+ getElementsByTagName(qualifiedName) {
148
+ const esValue = this !== null && this !== undefined ? this : globalObject;
149
+ if (!exports.is(esValue)) {
150
+ throw new globalObject.TypeError(
151
+ "'getElementsByTagName' called on an object that is not a valid instance of Document."
152
+ );
153
+ }
154
+
155
+ if (arguments.length < 1) {
156
+ throw new globalObject.TypeError(
157
+ `Failed to execute 'getElementsByTagName' on 'Document': 1 argument required, but only ${arguments.length} present.`
158
+ );
159
+ }
160
+ const args = [];
161
+ {
162
+ let curArg = arguments[0];
163
+ curArg = conversions["DOMString"](curArg, {
164
+ context: "Failed to execute 'getElementsByTagName' on 'Document': parameter 1",
165
+ globals: globalObject
166
+ });
167
+ args.push(curArg);
168
+ }
169
+ return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args));
170
+ }
171
+
172
+ getElementsByTagNameNS(namespace, localName) {
173
+ const esValue = this !== null && this !== undefined ? this : globalObject;
174
+ if (!exports.is(esValue)) {
175
+ throw new globalObject.TypeError(
176
+ "'getElementsByTagNameNS' called on an object that is not a valid instance of Document."
177
+ );
178
+ }
179
+
180
+ if (arguments.length < 2) {
181
+ throw new globalObject.TypeError(
182
+ `Failed to execute 'getElementsByTagNameNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`
183
+ );
184
+ }
185
+ const args = [];
186
+ {
187
+ let curArg = arguments[0];
188
+ if (curArg === null || curArg === undefined) {
189
+ curArg = null;
190
+ } else {
191
+ curArg = conversions["DOMString"](curArg, {
192
+ context: "Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 1",
193
+ globals: globalObject
194
+ });
195
+ }
196
+ args.push(curArg);
197
+ }
198
+ {
199
+ let curArg = arguments[1];
200
+ curArg = conversions["DOMString"](curArg, {
201
+ context: "Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 2",
202
+ globals: globalObject
203
+ });
204
+ args.push(curArg);
205
+ }
206
+ return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args));
207
+ }
208
+
209
+ getElementsByClassName(classNames) {
210
+ const esValue = this !== null && this !== undefined ? this : globalObject;
211
+ if (!exports.is(esValue)) {
212
+ throw new globalObject.TypeError(
213
+ "'getElementsByClassName' called on an object that is not a valid instance of Document."
214
+ );
215
+ }
216
+
217
+ if (arguments.length < 1) {
218
+ throw new globalObject.TypeError(
219
+ `Failed to execute 'getElementsByClassName' on 'Document': 1 argument required, but only ${arguments.length} present.`
220
+ );
221
+ }
222
+ const args = [];
223
+ {
224
+ let curArg = arguments[0];
225
+ curArg = conversions["DOMString"](curArg, {
226
+ context: "Failed to execute 'getElementsByClassName' on 'Document': parameter 1",
227
+ globals: globalObject
228
+ });
229
+ args.push(curArg);
230
+ }
231
+ return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args));
232
+ }
233
+
234
+ createElement(localName) {
235
+ const esValue = this !== null && this !== undefined ? this : globalObject;
236
+ if (!exports.is(esValue)) {
237
+ throw new globalObject.TypeError(
238
+ "'createElement' called on an object that is not a valid instance of Document."
239
+ );
240
+ }
241
+
242
+ if (arguments.length < 1) {
243
+ throw new globalObject.TypeError(
244
+ `Failed to execute 'createElement' on 'Document': 1 argument required, but only ${arguments.length} present.`
245
+ );
246
+ }
247
+ const args = [];
248
+ {
249
+ let curArg = arguments[0];
250
+ curArg = conversions["DOMString"](curArg, {
251
+ context: "Failed to execute 'createElement' on 'Document': parameter 1",
252
+ globals: globalObject
253
+ });
254
+ args.push(curArg);
255
+ }
256
+ {
257
+ let curArg = arguments[1];
258
+ if (curArg !== undefined) {
259
+ if (curArg === null || curArg === undefined) {
260
+ curArg = ElementCreationOptions.convert(globalObject, curArg, {
261
+ context: "Failed to execute 'createElement' on 'Document': parameter 2"
262
+ });
263
+ } else if (utils.isObject(curArg)) {
264
+ curArg = ElementCreationOptions.convert(globalObject, curArg, {
265
+ context: "Failed to execute 'createElement' on 'Document': parameter 2" + " dictionary"
266
+ });
267
+ } else {
268
+ curArg = conversions["DOMString"](curArg, {
269
+ context: "Failed to execute 'createElement' on 'Document': parameter 2",
270
+ globals: globalObject
271
+ });
272
+ }
273
+ }
274
+ args.push(curArg);
275
+ }
276
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
277
+ try {
278
+ return utils.tryWrapperForImpl(esValue[implSymbol].createElement(...args));
279
+ } finally {
280
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
281
+ }
282
+ }
283
+
284
+ createElementNS(namespace, qualifiedName) {
285
+ const esValue = this !== null && this !== undefined ? this : globalObject;
286
+ if (!exports.is(esValue)) {
287
+ throw new globalObject.TypeError(
288
+ "'createElementNS' called on an object that is not a valid instance of Document."
289
+ );
290
+ }
291
+
292
+ if (arguments.length < 2) {
293
+ throw new globalObject.TypeError(
294
+ `Failed to execute 'createElementNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`
295
+ );
296
+ }
297
+ const args = [];
298
+ {
299
+ let curArg = arguments[0];
300
+ if (curArg === null || curArg === undefined) {
301
+ curArg = null;
302
+ } else {
303
+ curArg = conversions["DOMString"](curArg, {
304
+ context: "Failed to execute 'createElementNS' on 'Document': parameter 1",
305
+ globals: globalObject
306
+ });
307
+ }
308
+ args.push(curArg);
309
+ }
310
+ {
311
+ let curArg = arguments[1];
312
+ curArg = conversions["DOMString"](curArg, {
313
+ context: "Failed to execute 'createElementNS' on 'Document': parameter 2",
314
+ globals: globalObject
315
+ });
316
+ args.push(curArg);
317
+ }
318
+ {
319
+ let curArg = arguments[2];
320
+ if (curArg !== undefined) {
321
+ if (curArg === null || curArg === undefined) {
322
+ curArg = ElementCreationOptions.convert(globalObject, curArg, {
323
+ context: "Failed to execute 'createElementNS' on 'Document': parameter 3"
324
+ });
325
+ } else if (utils.isObject(curArg)) {
326
+ curArg = ElementCreationOptions.convert(globalObject, curArg, {
327
+ context: "Failed to execute 'createElementNS' on 'Document': parameter 3" + " dictionary"
328
+ });
329
+ } else {
330
+ curArg = conversions["DOMString"](curArg, {
331
+ context: "Failed to execute 'createElementNS' on 'Document': parameter 3",
332
+ globals: globalObject
333
+ });
334
+ }
335
+ }
336
+ args.push(curArg);
337
+ }
338
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
339
+ try {
340
+ return utils.tryWrapperForImpl(esValue[implSymbol].createElementNS(...args));
341
+ } finally {
342
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
343
+ }
344
+ }
345
+
346
+ createDocumentFragment() {
347
+ const esValue = this !== null && this !== undefined ? this : globalObject;
348
+ if (!exports.is(esValue)) {
349
+ throw new globalObject.TypeError(
350
+ "'createDocumentFragment' called on an object that is not a valid instance of Document."
351
+ );
352
+ }
353
+
354
+ return utils.tryWrapperForImpl(esValue[implSymbol].createDocumentFragment());
355
+ }
356
+
357
+ createTextNode(data) {
358
+ const esValue = this !== null && this !== undefined ? this : globalObject;
359
+ if (!exports.is(esValue)) {
360
+ throw new globalObject.TypeError(
361
+ "'createTextNode' called on an object that is not a valid instance of Document."
362
+ );
363
+ }
364
+
365
+ if (arguments.length < 1) {
366
+ throw new globalObject.TypeError(
367
+ `Failed to execute 'createTextNode' on 'Document': 1 argument required, but only ${arguments.length} present.`
368
+ );
369
+ }
370
+ const args = [];
371
+ {
372
+ let curArg = arguments[0];
373
+ curArg = conversions["DOMString"](curArg, {
374
+ context: "Failed to execute 'createTextNode' on 'Document': parameter 1",
375
+ globals: globalObject
376
+ });
377
+ args.push(curArg);
378
+ }
379
+ return utils.tryWrapperForImpl(esValue[implSymbol].createTextNode(...args));
380
+ }
381
+
382
+ createCDATASection(data) {
383
+ const esValue = this !== null && this !== undefined ? this : globalObject;
384
+ if (!exports.is(esValue)) {
385
+ throw new globalObject.TypeError(
386
+ "'createCDATASection' called on an object that is not a valid instance of Document."
387
+ );
388
+ }
389
+
390
+ if (arguments.length < 1) {
391
+ throw new globalObject.TypeError(
392
+ `Failed to execute 'createCDATASection' on 'Document': 1 argument required, but only ${arguments.length} present.`
393
+ );
394
+ }
395
+ const args = [];
396
+ {
397
+ let curArg = arguments[0];
398
+ curArg = conversions["DOMString"](curArg, {
399
+ context: "Failed to execute 'createCDATASection' on 'Document': parameter 1",
400
+ globals: globalObject
401
+ });
402
+ args.push(curArg);
403
+ }
404
+ return utils.tryWrapperForImpl(esValue[implSymbol].createCDATASection(...args));
405
+ }
406
+
407
+ createComment(data) {
408
+ const esValue = this !== null && this !== undefined ? this : globalObject;
409
+ if (!exports.is(esValue)) {
410
+ throw new globalObject.TypeError(
411
+ "'createComment' called on an object that is not a valid instance of Document."
412
+ );
413
+ }
414
+
415
+ if (arguments.length < 1) {
416
+ throw new globalObject.TypeError(
417
+ `Failed to execute 'createComment' on 'Document': 1 argument required, but only ${arguments.length} present.`
418
+ );
419
+ }
420
+ const args = [];
421
+ {
422
+ let curArg = arguments[0];
423
+ curArg = conversions["DOMString"](curArg, {
424
+ context: "Failed to execute 'createComment' on 'Document': parameter 1",
425
+ globals: globalObject
426
+ });
427
+ args.push(curArg);
428
+ }
429
+ return utils.tryWrapperForImpl(esValue[implSymbol].createComment(...args));
430
+ }
431
+
432
+ createProcessingInstruction(target, data) {
433
+ const esValue = this !== null && this !== undefined ? this : globalObject;
434
+ if (!exports.is(esValue)) {
435
+ throw new globalObject.TypeError(
436
+ "'createProcessingInstruction' called on an object that is not a valid instance of Document."
437
+ );
438
+ }
439
+
440
+ if (arguments.length < 2) {
441
+ throw new globalObject.TypeError(
442
+ `Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only ${arguments.length} present.`
443
+ );
444
+ }
445
+ const args = [];
446
+ {
447
+ let curArg = arguments[0];
448
+ curArg = conversions["DOMString"](curArg, {
449
+ context: "Failed to execute 'createProcessingInstruction' on 'Document': parameter 1",
450
+ globals: globalObject
451
+ });
452
+ args.push(curArg);
453
+ }
454
+ {
455
+ let curArg = arguments[1];
456
+ curArg = conversions["DOMString"](curArg, {
457
+ context: "Failed to execute 'createProcessingInstruction' on 'Document': parameter 2",
458
+ globals: globalObject
459
+ });
460
+ args.push(curArg);
461
+ }
462
+ return utils.tryWrapperForImpl(esValue[implSymbol].createProcessingInstruction(...args));
463
+ }
464
+
465
+ importNode(node) {
466
+ const esValue = this !== null && this !== undefined ? this : globalObject;
467
+ if (!exports.is(esValue)) {
468
+ throw new globalObject.TypeError("'importNode' called on an object that is not a valid instance of Document.");
469
+ }
470
+
471
+ if (arguments.length < 1) {
472
+ throw new globalObject.TypeError(
473
+ `Failed to execute 'importNode' on 'Document': 1 argument required, but only ${arguments.length} present.`
474
+ );
475
+ }
476
+ const args = [];
477
+ {
478
+ let curArg = arguments[0];
479
+ curArg = Node.convert(globalObject, curArg, {
480
+ context: "Failed to execute 'importNode' on 'Document': parameter 1"
481
+ });
482
+ args.push(curArg);
483
+ }
484
+ {
485
+ let curArg = arguments[1];
486
+ if (curArg !== undefined) {
487
+ curArg = conversions["boolean"](curArg, {
488
+ context: "Failed to execute 'importNode' on 'Document': parameter 2",
489
+ globals: globalObject
490
+ });
491
+ } else {
492
+ curArg = false;
493
+ }
494
+ args.push(curArg);
495
+ }
496
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
497
+ try {
498
+ return utils.tryWrapperForImpl(esValue[implSymbol].importNode(...args));
499
+ } finally {
500
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
501
+ }
502
+ }
503
+
504
+ adoptNode(node) {
505
+ const esValue = this !== null && this !== undefined ? this : globalObject;
506
+ if (!exports.is(esValue)) {
507
+ throw new globalObject.TypeError("'adoptNode' called on an object that is not a valid instance of Document.");
508
+ }
509
+
510
+ if (arguments.length < 1) {
511
+ throw new globalObject.TypeError(
512
+ `Failed to execute 'adoptNode' on 'Document': 1 argument required, but only ${arguments.length} present.`
513
+ );
514
+ }
515
+ const args = [];
516
+ {
517
+ let curArg = arguments[0];
518
+ curArg = Node.convert(globalObject, curArg, {
519
+ context: "Failed to execute 'adoptNode' on 'Document': parameter 1"
520
+ });
521
+ args.push(curArg);
522
+ }
523
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
524
+ try {
525
+ return utils.tryWrapperForImpl(esValue[implSymbol].adoptNode(...args));
526
+ } finally {
527
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
528
+ }
529
+ }
530
+
531
+ createAttribute(localName) {
532
+ const esValue = this !== null && this !== undefined ? this : globalObject;
533
+ if (!exports.is(esValue)) {
534
+ throw new globalObject.TypeError(
535
+ "'createAttribute' called on an object that is not a valid instance of Document."
536
+ );
537
+ }
538
+
539
+ if (arguments.length < 1) {
540
+ throw new globalObject.TypeError(
541
+ `Failed to execute 'createAttribute' on 'Document': 1 argument required, but only ${arguments.length} present.`
542
+ );
543
+ }
544
+ const args = [];
545
+ {
546
+ let curArg = arguments[0];
547
+ curArg = conversions["DOMString"](curArg, {
548
+ context: "Failed to execute 'createAttribute' on 'Document': parameter 1",
549
+ globals: globalObject
550
+ });
551
+ args.push(curArg);
552
+ }
553
+ return utils.tryWrapperForImpl(esValue[implSymbol].createAttribute(...args));
554
+ }
555
+
556
+ createAttributeNS(namespace, qualifiedName) {
557
+ const esValue = this !== null && this !== undefined ? this : globalObject;
558
+ if (!exports.is(esValue)) {
559
+ throw new globalObject.TypeError(
560
+ "'createAttributeNS' called on an object that is not a valid instance of Document."
561
+ );
562
+ }
563
+
564
+ if (arguments.length < 2) {
565
+ throw new globalObject.TypeError(
566
+ `Failed to execute 'createAttributeNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`
567
+ );
568
+ }
569
+ const args = [];
570
+ {
571
+ let curArg = arguments[0];
572
+ if (curArg === null || curArg === undefined) {
573
+ curArg = null;
574
+ } else {
575
+ curArg = conversions["DOMString"](curArg, {
576
+ context: "Failed to execute 'createAttributeNS' on 'Document': parameter 1",
577
+ globals: globalObject
578
+ });
579
+ }
580
+ args.push(curArg);
581
+ }
582
+ {
583
+ let curArg = arguments[1];
584
+ curArg = conversions["DOMString"](curArg, {
585
+ context: "Failed to execute 'createAttributeNS' on 'Document': parameter 2",
586
+ globals: globalObject
587
+ });
588
+ args.push(curArg);
589
+ }
590
+ return utils.tryWrapperForImpl(esValue[implSymbol].createAttributeNS(...args));
591
+ }
592
+
593
+ createEvent(interface_) {
594
+ const esValue = this !== null && this !== undefined ? this : globalObject;
595
+ if (!exports.is(esValue)) {
596
+ throw new globalObject.TypeError("'createEvent' called on an object that is not a valid instance of Document.");
597
+ }
598
+
599
+ if (arguments.length < 1) {
600
+ throw new globalObject.TypeError(
601
+ `Failed to execute 'createEvent' on 'Document': 1 argument required, but only ${arguments.length} present.`
602
+ );
603
+ }
604
+ const args = [];
605
+ {
606
+ let curArg = arguments[0];
607
+ curArg = conversions["DOMString"](curArg, {
608
+ context: "Failed to execute 'createEvent' on 'Document': parameter 1",
609
+ globals: globalObject
610
+ });
611
+ args.push(curArg);
612
+ }
613
+ return utils.tryWrapperForImpl(esValue[implSymbol].createEvent(...args));
614
+ }
615
+
616
+ createRange() {
617
+ const esValue = this !== null && this !== undefined ? this : globalObject;
618
+ if (!exports.is(esValue)) {
619
+ throw new globalObject.TypeError("'createRange' called on an object that is not a valid instance of Document.");
620
+ }
621
+
622
+ return utils.tryWrapperForImpl(esValue[implSymbol].createRange());
623
+ }
624
+
625
+ createNodeIterator(root) {
626
+ const esValue = this !== null && this !== undefined ? this : globalObject;
627
+ if (!exports.is(esValue)) {
628
+ throw new globalObject.TypeError(
629
+ "'createNodeIterator' called on an object that is not a valid instance of Document."
630
+ );
631
+ }
632
+
633
+ if (arguments.length < 1) {
634
+ throw new globalObject.TypeError(
635
+ `Failed to execute 'createNodeIterator' on 'Document': 1 argument required, but only ${arguments.length} present.`
636
+ );
637
+ }
638
+ const args = [];
639
+ {
640
+ let curArg = arguments[0];
641
+ curArg = Node.convert(globalObject, curArg, {
642
+ context: "Failed to execute 'createNodeIterator' on 'Document': parameter 1"
643
+ });
644
+ args.push(curArg);
645
+ }
646
+ {
647
+ let curArg = arguments[1];
648
+ if (curArg !== undefined) {
649
+ curArg = conversions["unsigned long"](curArg, {
650
+ context: "Failed to execute 'createNodeIterator' on 'Document': parameter 2",
651
+ globals: globalObject
652
+ });
653
+ } else {
654
+ curArg = 0xffffffff;
655
+ }
656
+ args.push(curArg);
657
+ }
658
+ {
659
+ let curArg = arguments[2];
660
+ if (curArg !== undefined) {
661
+ if (curArg === null || curArg === undefined) {
662
+ curArg = null;
663
+ } else {
664
+ curArg = NodeFilter.convert(globalObject, curArg, {
665
+ context: "Failed to execute 'createNodeIterator' on 'Document': parameter 3"
666
+ });
667
+ }
668
+ } else {
669
+ curArg = null;
670
+ }
671
+ args.push(curArg);
672
+ }
673
+ return utils.tryWrapperForImpl(esValue[implSymbol].createNodeIterator(...args));
674
+ }
675
+
676
+ createTreeWalker(root) {
677
+ const esValue = this !== null && this !== undefined ? this : globalObject;
678
+ if (!exports.is(esValue)) {
679
+ throw new globalObject.TypeError(
680
+ "'createTreeWalker' called on an object that is not a valid instance of Document."
681
+ );
682
+ }
683
+
684
+ if (arguments.length < 1) {
685
+ throw new globalObject.TypeError(
686
+ `Failed to execute 'createTreeWalker' on 'Document': 1 argument required, but only ${arguments.length} present.`
687
+ );
688
+ }
689
+ const args = [];
690
+ {
691
+ let curArg = arguments[0];
692
+ curArg = Node.convert(globalObject, curArg, {
693
+ context: "Failed to execute 'createTreeWalker' on 'Document': parameter 1"
694
+ });
695
+ args.push(curArg);
696
+ }
697
+ {
698
+ let curArg = arguments[1];
699
+ if (curArg !== undefined) {
700
+ curArg = conversions["unsigned long"](curArg, {
701
+ context: "Failed to execute 'createTreeWalker' on 'Document': parameter 2",
702
+ globals: globalObject
703
+ });
704
+ } else {
705
+ curArg = 0xffffffff;
706
+ }
707
+ args.push(curArg);
708
+ }
709
+ {
710
+ let curArg = arguments[2];
711
+ if (curArg !== undefined) {
712
+ if (curArg === null || curArg === undefined) {
713
+ curArg = null;
714
+ } else {
715
+ curArg = NodeFilter.convert(globalObject, curArg, {
716
+ context: "Failed to execute 'createTreeWalker' on 'Document': parameter 3"
717
+ });
718
+ }
719
+ } else {
720
+ curArg = null;
721
+ }
722
+ args.push(curArg);
723
+ }
724
+ return utils.tryWrapperForImpl(esValue[implSymbol].createTreeWalker(...args));
725
+ }
726
+
727
+ getElementsByName(elementName) {
728
+ const esValue = this !== null && this !== undefined ? this : globalObject;
729
+ if (!exports.is(esValue)) {
730
+ throw new globalObject.TypeError(
731
+ "'getElementsByName' called on an object that is not a valid instance of Document."
732
+ );
733
+ }
734
+
735
+ if (arguments.length < 1) {
736
+ throw new globalObject.TypeError(
737
+ `Failed to execute 'getElementsByName' on 'Document': 1 argument required, but only ${arguments.length} present.`
738
+ );
739
+ }
740
+ const args = [];
741
+ {
742
+ let curArg = arguments[0];
743
+ curArg = conversions["DOMString"](curArg, {
744
+ context: "Failed to execute 'getElementsByName' on 'Document': parameter 1",
745
+ globals: globalObject
746
+ });
747
+ args.push(curArg);
748
+ }
749
+ return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByName(...args));
750
+ }
751
+
752
+ open() {
753
+ const esValue = this !== null && this !== undefined ? this : globalObject;
754
+ if (!exports.is(esValue)) {
755
+ throw new globalObject.TypeError("'open' called on an object that is not a valid instance of Document.");
756
+ }
757
+ const args = [];
758
+ {
759
+ let curArg = arguments[0];
760
+ if (curArg !== undefined) {
761
+ curArg = conversions["DOMString"](curArg, {
762
+ context: "Failed to execute 'open' on 'Document': parameter 1",
763
+ globals: globalObject
764
+ });
765
+ } else {
766
+ curArg = "text/html";
767
+ }
768
+ args.push(curArg);
769
+ }
770
+ {
771
+ let curArg = arguments[1];
772
+ if (curArg !== undefined) {
773
+ curArg = conversions["DOMString"](curArg, {
774
+ context: "Failed to execute 'open' on 'Document': parameter 2",
775
+ globals: globalObject
776
+ });
777
+ } else {
778
+ curArg = "";
779
+ }
780
+ args.push(curArg);
781
+ }
782
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
783
+ try {
784
+ return utils.tryWrapperForImpl(esValue[implSymbol].open(...args));
785
+ } finally {
786
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
787
+ }
788
+ }
789
+
790
+ close() {
791
+ const esValue = this !== null && this !== undefined ? this : globalObject;
792
+ if (!exports.is(esValue)) {
793
+ throw new globalObject.TypeError("'close' called on an object that is not a valid instance of Document.");
794
+ }
795
+
796
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
797
+ try {
798
+ return esValue[implSymbol].close();
799
+ } finally {
800
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
801
+ }
802
+ }
803
+
804
+ write() {
805
+ const esValue = this !== null && this !== undefined ? this : globalObject;
806
+ if (!exports.is(esValue)) {
807
+ throw new globalObject.TypeError("'write' called on an object that is not a valid instance of Document.");
808
+ }
809
+ const args = [];
810
+ for (let i = 0; i < arguments.length; i++) {
811
+ let curArg = arguments[i];
812
+ curArg = conversions["DOMString"](curArg, {
813
+ context: "Failed to execute 'write' on 'Document': parameter " + (i + 1),
814
+ globals: globalObject
815
+ });
816
+ args.push(curArg);
817
+ }
818
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
819
+ try {
820
+ return esValue[implSymbol].write(...args);
821
+ } finally {
822
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
823
+ }
824
+ }
825
+
826
+ writeln() {
827
+ const esValue = this !== null && this !== undefined ? this : globalObject;
828
+ if (!exports.is(esValue)) {
829
+ throw new globalObject.TypeError("'writeln' called on an object that is not a valid instance of Document.");
830
+ }
831
+ const args = [];
832
+ for (let i = 0; i < arguments.length; i++) {
833
+ let curArg = arguments[i];
834
+ curArg = conversions["DOMString"](curArg, {
835
+ context: "Failed to execute 'writeln' on 'Document': parameter " + (i + 1),
836
+ globals: globalObject
837
+ });
838
+ args.push(curArg);
839
+ }
840
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
841
+ try {
842
+ return esValue[implSymbol].writeln(...args);
843
+ } finally {
844
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
845
+ }
846
+ }
847
+
848
+ hasFocus() {
849
+ const esValue = this !== null && this !== undefined ? this : globalObject;
850
+ if (!exports.is(esValue)) {
851
+ throw new globalObject.TypeError("'hasFocus' called on an object that is not a valid instance of Document.");
852
+ }
853
+
854
+ return esValue[implSymbol].hasFocus();
855
+ }
856
+
857
+ clear() {
858
+ const esValue = this !== null && this !== undefined ? this : globalObject;
859
+ if (!exports.is(esValue)) {
860
+ throw new globalObject.TypeError("'clear' called on an object that is not a valid instance of Document.");
861
+ }
862
+
863
+ return esValue[implSymbol].clear();
864
+ }
865
+
866
+ captureEvents() {
867
+ const esValue = this !== null && this !== undefined ? this : globalObject;
868
+ if (!exports.is(esValue)) {
869
+ throw new globalObject.TypeError(
870
+ "'captureEvents' called on an object that is not a valid instance of Document."
871
+ );
872
+ }
873
+
874
+ return esValue[implSymbol].captureEvents();
875
+ }
876
+
877
+ releaseEvents() {
878
+ const esValue = this !== null && this !== undefined ? this : globalObject;
879
+ if (!exports.is(esValue)) {
880
+ throw new globalObject.TypeError(
881
+ "'releaseEvents' called on an object that is not a valid instance of Document."
882
+ );
883
+ }
884
+
885
+ return esValue[implSymbol].releaseEvents();
886
+ }
887
+
888
+ getSelection() {
889
+ const esValue = this !== null && this !== undefined ? this : globalObject;
890
+ if (!exports.is(esValue)) {
891
+ throw new globalObject.TypeError(
892
+ "'getSelection' called on an object that is not a valid instance of Document."
893
+ );
894
+ }
895
+
896
+ return utils.tryWrapperForImpl(esValue[implSymbol].getSelection());
897
+ }
898
+
899
+ getElementById(elementId) {
900
+ const esValue = this !== null && this !== undefined ? this : globalObject;
901
+ if (!exports.is(esValue)) {
902
+ throw new globalObject.TypeError(
903
+ "'getElementById' called on an object that is not a valid instance of Document."
904
+ );
905
+ }
906
+
907
+ if (arguments.length < 1) {
908
+ throw new globalObject.TypeError(
909
+ `Failed to execute 'getElementById' on 'Document': 1 argument required, but only ${arguments.length} present.`
910
+ );
911
+ }
912
+ const args = [];
913
+ {
914
+ let curArg = arguments[0];
915
+ curArg = conversions["DOMString"](curArg, {
916
+ context: "Failed to execute 'getElementById' on 'Document': parameter 1",
917
+ globals: globalObject
918
+ });
919
+ args.push(curArg);
920
+ }
921
+ return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args));
922
+ }
923
+
924
+ prepend() {
925
+ const esValue = this !== null && this !== undefined ? this : globalObject;
926
+ if (!exports.is(esValue)) {
927
+ throw new globalObject.TypeError("'prepend' called on an object that is not a valid instance of Document.");
928
+ }
929
+ const args = [];
930
+ for (let i = 0; i < arguments.length; i++) {
931
+ let curArg = arguments[i];
932
+ if (Node.is(curArg)) {
933
+ curArg = utils.implForWrapper(curArg);
934
+ } else {
935
+ curArg = conversions["DOMString"](curArg, {
936
+ context: "Failed to execute 'prepend' on 'Document': parameter " + (i + 1),
937
+ globals: globalObject
938
+ });
939
+ }
940
+ args.push(curArg);
941
+ }
942
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
943
+ try {
944
+ return esValue[implSymbol].prepend(...args);
945
+ } finally {
946
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
947
+ }
948
+ }
949
+
950
+ append() {
951
+ const esValue = this !== null && this !== undefined ? this : globalObject;
952
+ if (!exports.is(esValue)) {
953
+ throw new globalObject.TypeError("'append' called on an object that is not a valid instance of Document.");
954
+ }
955
+ const args = [];
956
+ for (let i = 0; i < arguments.length; i++) {
957
+ let curArg = arguments[i];
958
+ if (Node.is(curArg)) {
959
+ curArg = utils.implForWrapper(curArg);
960
+ } else {
961
+ curArg = conversions["DOMString"](curArg, {
962
+ context: "Failed to execute 'append' on 'Document': parameter " + (i + 1),
963
+ globals: globalObject
964
+ });
965
+ }
966
+ args.push(curArg);
967
+ }
968
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
969
+ try {
970
+ return esValue[implSymbol].append(...args);
971
+ } finally {
972
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
973
+ }
974
+ }
975
+
976
+ replaceChildren() {
977
+ const esValue = this !== null && this !== undefined ? this : globalObject;
978
+ if (!exports.is(esValue)) {
979
+ throw new globalObject.TypeError(
980
+ "'replaceChildren' called on an object that is not a valid instance of Document."
981
+ );
982
+ }
983
+ const args = [];
984
+ for (let i = 0; i < arguments.length; i++) {
985
+ let curArg = arguments[i];
986
+ if (Node.is(curArg)) {
987
+ curArg = utils.implForWrapper(curArg);
988
+ } else {
989
+ curArg = conversions["DOMString"](curArg, {
990
+ context: "Failed to execute 'replaceChildren' on 'Document': parameter " + (i + 1),
991
+ globals: globalObject
992
+ });
993
+ }
994
+ args.push(curArg);
995
+ }
996
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
997
+ try {
998
+ return esValue[implSymbol].replaceChildren(...args);
999
+ } finally {
1000
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1001
+ }
1002
+ }
1003
+
1004
+ querySelector(selectors) {
1005
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1006
+ if (!exports.is(esValue)) {
1007
+ throw new globalObject.TypeError(
1008
+ "'querySelector' called on an object that is not a valid instance of Document."
1009
+ );
1010
+ }
1011
+
1012
+ if (arguments.length < 1) {
1013
+ throw new globalObject.TypeError(
1014
+ `Failed to execute 'querySelector' on 'Document': 1 argument required, but only ${arguments.length} present.`
1015
+ );
1016
+ }
1017
+ const args = [];
1018
+ {
1019
+ let curArg = arguments[0];
1020
+ curArg = conversions["DOMString"](curArg, {
1021
+ context: "Failed to execute 'querySelector' on 'Document': parameter 1",
1022
+ globals: globalObject
1023
+ });
1024
+ args.push(curArg);
1025
+ }
1026
+ return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args));
1027
+ }
1028
+
1029
+ querySelectorAll(selectors) {
1030
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1031
+ if (!exports.is(esValue)) {
1032
+ throw new globalObject.TypeError(
1033
+ "'querySelectorAll' called on an object that is not a valid instance of Document."
1034
+ );
1035
+ }
1036
+
1037
+ if (arguments.length < 1) {
1038
+ throw new globalObject.TypeError(
1039
+ `Failed to execute 'querySelectorAll' on 'Document': 1 argument required, but only ${arguments.length} present.`
1040
+ );
1041
+ }
1042
+ const args = [];
1043
+ {
1044
+ let curArg = arguments[0];
1045
+ curArg = conversions["DOMString"](curArg, {
1046
+ context: "Failed to execute 'querySelectorAll' on 'Document': parameter 1",
1047
+ globals: globalObject
1048
+ });
1049
+ args.push(curArg);
1050
+ }
1051
+ return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args));
1052
+ }
1053
+
1054
+ get implementation() {
1055
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1056
+
1057
+ if (!exports.is(esValue)) {
1058
+ throw new globalObject.TypeError(
1059
+ "'get implementation' called on an object that is not a valid instance of Document."
1060
+ );
1061
+ }
1062
+
1063
+ return utils.getSameObject(this, "implementation", () => {
1064
+ return utils.tryWrapperForImpl(esValue[implSymbol]["implementation"]);
1065
+ });
1066
+ }
1067
+
1068
+ get URL() {
1069
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1070
+
1071
+ if (!exports.is(esValue)) {
1072
+ throw new globalObject.TypeError("'get URL' called on an object that is not a valid instance of Document.");
1073
+ }
1074
+
1075
+ return esValue[implSymbol]["URL"];
1076
+ }
1077
+
1078
+ get documentURI() {
1079
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1080
+
1081
+ if (!exports.is(esValue)) {
1082
+ throw new globalObject.TypeError(
1083
+ "'get documentURI' called on an object that is not a valid instance of Document."
1084
+ );
1085
+ }
1086
+
1087
+ return esValue[implSymbol]["documentURI"];
1088
+ }
1089
+
1090
+ get compatMode() {
1091
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1092
+
1093
+ if (!exports.is(esValue)) {
1094
+ throw new globalObject.TypeError(
1095
+ "'get compatMode' called on an object that is not a valid instance of Document."
1096
+ );
1097
+ }
1098
+
1099
+ return esValue[implSymbol]["compatMode"];
1100
+ }
1101
+
1102
+ get characterSet() {
1103
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1104
+
1105
+ if (!exports.is(esValue)) {
1106
+ throw new globalObject.TypeError(
1107
+ "'get characterSet' called on an object that is not a valid instance of Document."
1108
+ );
1109
+ }
1110
+
1111
+ return esValue[implSymbol]["characterSet"];
1112
+ }
1113
+
1114
+ get charset() {
1115
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1116
+
1117
+ if (!exports.is(esValue)) {
1118
+ throw new globalObject.TypeError("'get charset' called on an object that is not a valid instance of Document.");
1119
+ }
1120
+
1121
+ return esValue[implSymbol]["charset"];
1122
+ }
1123
+
1124
+ get inputEncoding() {
1125
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1126
+
1127
+ if (!exports.is(esValue)) {
1128
+ throw new globalObject.TypeError(
1129
+ "'get inputEncoding' called on an object that is not a valid instance of Document."
1130
+ );
1131
+ }
1132
+
1133
+ return esValue[implSymbol]["inputEncoding"];
1134
+ }
1135
+
1136
+ get contentType() {
1137
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1138
+
1139
+ if (!exports.is(esValue)) {
1140
+ throw new globalObject.TypeError(
1141
+ "'get contentType' called on an object that is not a valid instance of Document."
1142
+ );
1143
+ }
1144
+
1145
+ return esValue[implSymbol]["contentType"];
1146
+ }
1147
+
1148
+ get doctype() {
1149
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1150
+
1151
+ if (!exports.is(esValue)) {
1152
+ throw new globalObject.TypeError("'get doctype' called on an object that is not a valid instance of Document.");
1153
+ }
1154
+
1155
+ return utils.tryWrapperForImpl(esValue[implSymbol]["doctype"]);
1156
+ }
1157
+
1158
+ get documentElement() {
1159
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1160
+
1161
+ if (!exports.is(esValue)) {
1162
+ throw new globalObject.TypeError(
1163
+ "'get documentElement' called on an object that is not a valid instance of Document."
1164
+ );
1165
+ }
1166
+
1167
+ return utils.tryWrapperForImpl(esValue[implSymbol]["documentElement"]);
1168
+ }
1169
+
1170
+ get referrer() {
1171
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1172
+
1173
+ if (!exports.is(esValue)) {
1174
+ throw new globalObject.TypeError(
1175
+ "'get referrer' called on an object that is not a valid instance of Document."
1176
+ );
1177
+ }
1178
+
1179
+ return esValue[implSymbol]["referrer"];
1180
+ }
1181
+
1182
+ get cookie() {
1183
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1184
+
1185
+ if (!exports.is(esValue)) {
1186
+ throw new globalObject.TypeError("'get cookie' called on an object that is not a valid instance of Document.");
1187
+ }
1188
+
1189
+ return esValue[implSymbol]["cookie"];
1190
+ }
1191
+
1192
+ set cookie(V) {
1193
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1194
+
1195
+ if (!exports.is(esValue)) {
1196
+ throw new globalObject.TypeError("'set cookie' called on an object that is not a valid instance of Document.");
1197
+ }
1198
+
1199
+ V = conversions["USVString"](V, {
1200
+ context: "Failed to set the 'cookie' property on 'Document': The provided value",
1201
+ globals: globalObject
1202
+ });
1203
+
1204
+ esValue[implSymbol]["cookie"] = V;
1205
+ }
1206
+
1207
+ get lastModified() {
1208
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1209
+
1210
+ if (!exports.is(esValue)) {
1211
+ throw new globalObject.TypeError(
1212
+ "'get lastModified' called on an object that is not a valid instance of Document."
1213
+ );
1214
+ }
1215
+
1216
+ return esValue[implSymbol]["lastModified"];
1217
+ }
1218
+
1219
+ get readyState() {
1220
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1221
+
1222
+ if (!exports.is(esValue)) {
1223
+ throw new globalObject.TypeError(
1224
+ "'get readyState' called on an object that is not a valid instance of Document."
1225
+ );
1226
+ }
1227
+
1228
+ return utils.tryWrapperForImpl(esValue[implSymbol]["readyState"]);
1229
+ }
1230
+
1231
+ get title() {
1232
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1233
+
1234
+ if (!exports.is(esValue)) {
1235
+ throw new globalObject.TypeError("'get title' called on an object that is not a valid instance of Document.");
1236
+ }
1237
+
1238
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1239
+ try {
1240
+ return esValue[implSymbol]["title"];
1241
+ } finally {
1242
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1243
+ }
1244
+ }
1245
+
1246
+ set title(V) {
1247
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1248
+
1249
+ if (!exports.is(esValue)) {
1250
+ throw new globalObject.TypeError("'set title' called on an object that is not a valid instance of Document.");
1251
+ }
1252
+
1253
+ V = conversions["DOMString"](V, {
1254
+ context: "Failed to set the 'title' property on 'Document': The provided value",
1255
+ globals: globalObject
1256
+ });
1257
+
1258
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1259
+ try {
1260
+ esValue[implSymbol]["title"] = V;
1261
+ } finally {
1262
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1263
+ }
1264
+ }
1265
+
1266
+ get dir() {
1267
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1268
+
1269
+ if (!exports.is(esValue)) {
1270
+ throw new globalObject.TypeError("'get dir' called on an object that is not a valid instance of Document.");
1271
+ }
1272
+
1273
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1274
+ try {
1275
+ return esValue[implSymbol]["dir"];
1276
+ } finally {
1277
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1278
+ }
1279
+ }
1280
+
1281
+ set dir(V) {
1282
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1283
+
1284
+ if (!exports.is(esValue)) {
1285
+ throw new globalObject.TypeError("'set dir' called on an object that is not a valid instance of Document.");
1286
+ }
1287
+
1288
+ V = conversions["DOMString"](V, {
1289
+ context: "Failed to set the 'dir' property on 'Document': The provided value",
1290
+ globals: globalObject
1291
+ });
1292
+
1293
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1294
+ try {
1295
+ esValue[implSymbol]["dir"] = V;
1296
+ } finally {
1297
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1298
+ }
1299
+ }
1300
+
1301
+ get body() {
1302
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1303
+
1304
+ if (!exports.is(esValue)) {
1305
+ throw new globalObject.TypeError("'get body' called on an object that is not a valid instance of Document.");
1306
+ }
1307
+
1308
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1309
+ try {
1310
+ return utils.tryWrapperForImpl(esValue[implSymbol]["body"]);
1311
+ } finally {
1312
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1313
+ }
1314
+ }
1315
+
1316
+ set body(V) {
1317
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1318
+
1319
+ if (!exports.is(esValue)) {
1320
+ throw new globalObject.TypeError("'set body' called on an object that is not a valid instance of Document.");
1321
+ }
1322
+
1323
+ if (V === null || V === undefined) {
1324
+ V = null;
1325
+ } else {
1326
+ V = HTMLElement.convert(globalObject, V, {
1327
+ context: "Failed to set the 'body' property on 'Document': The provided value"
1328
+ });
1329
+ }
1330
+
1331
+ ceReactionsPreSteps_helpers_custom_elements(globalObject);
1332
+ try {
1333
+ esValue[implSymbol]["body"] = V;
1334
+ } finally {
1335
+ ceReactionsPostSteps_helpers_custom_elements(globalObject);
1336
+ }
1337
+ }
1338
+
1339
+ get head() {
1340
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1341
+
1342
+ if (!exports.is(esValue)) {
1343
+ throw new globalObject.TypeError("'get head' called on an object that is not a valid instance of Document.");
1344
+ }
1345
+
1346
+ return utils.tryWrapperForImpl(esValue[implSymbol]["head"]);
1347
+ }
1348
+
1349
+ get images() {
1350
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1351
+
1352
+ if (!exports.is(esValue)) {
1353
+ throw new globalObject.TypeError("'get images' called on an object that is not a valid instance of Document.");
1354
+ }
1355
+
1356
+ return utils.getSameObject(this, "images", () => {
1357
+ return utils.tryWrapperForImpl(esValue[implSymbol]["images"]);
1358
+ });
1359
+ }
1360
+
1361
+ get embeds() {
1362
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1363
+
1364
+ if (!exports.is(esValue)) {
1365
+ throw new globalObject.TypeError("'get embeds' called on an object that is not a valid instance of Document.");
1366
+ }
1367
+
1368
+ return utils.getSameObject(this, "embeds", () => {
1369
+ return utils.tryWrapperForImpl(esValue[implSymbol]["embeds"]);
1370
+ });
1371
+ }
1372
+
1373
+ get plugins() {
1374
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1375
+
1376
+ if (!exports.is(esValue)) {
1377
+ throw new globalObject.TypeError("'get plugins' called on an object that is not a valid instance of Document.");
1378
+ }
1379
+
1380
+ return utils.getSameObject(this, "plugins", () => {
1381
+ return utils.tryWrapperForImpl(esValue[implSymbol]["plugins"]);
1382
+ });
1383
+ }
1384
+
1385
+ get links() {
1386
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1387
+
1388
+ if (!exports.is(esValue)) {
1389
+ throw new globalObject.TypeError("'get links' called on an object that is not a valid instance of Document.");
1390
+ }
1391
+
1392
+ return utils.getSameObject(this, "links", () => {
1393
+ return utils.tryWrapperForImpl(esValue[implSymbol]["links"]);
1394
+ });
1395
+ }
1396
+
1397
+ get forms() {
1398
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1399
+
1400
+ if (!exports.is(esValue)) {
1401
+ throw new globalObject.TypeError("'get forms' called on an object that is not a valid instance of Document.");
1402
+ }
1403
+
1404
+ return utils.getSameObject(this, "forms", () => {
1405
+ return utils.tryWrapperForImpl(esValue[implSymbol]["forms"]);
1406
+ });
1407
+ }
1408
+
1409
+ get scripts() {
1410
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1411
+
1412
+ if (!exports.is(esValue)) {
1413
+ throw new globalObject.TypeError("'get scripts' called on an object that is not a valid instance of Document.");
1414
+ }
1415
+
1416
+ return utils.getSameObject(this, "scripts", () => {
1417
+ return utils.tryWrapperForImpl(esValue[implSymbol]["scripts"]);
1418
+ });
1419
+ }
1420
+
1421
+ get currentScript() {
1422
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1423
+
1424
+ if (!exports.is(esValue)) {
1425
+ throw new globalObject.TypeError(
1426
+ "'get currentScript' called on an object that is not a valid instance of Document."
1427
+ );
1428
+ }
1429
+
1430
+ return utils.tryWrapperForImpl(esValue[implSymbol]["currentScript"]);
1431
+ }
1432
+
1433
+ get defaultView() {
1434
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1435
+
1436
+ if (!exports.is(esValue)) {
1437
+ throw new globalObject.TypeError(
1438
+ "'get defaultView' called on an object that is not a valid instance of Document."
1439
+ );
1440
+ }
1441
+
1442
+ return utils.tryWrapperForImpl(esValue[implSymbol]["defaultView"]);
1443
+ }
1444
+
1445
+ get onreadystatechange() {
1446
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1447
+
1448
+ if (!exports.is(esValue)) {
1449
+ return;
1450
+ }
1451
+
1452
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onreadystatechange"]);
1453
+ }
1454
+
1455
+ set onreadystatechange(V) {
1456
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1457
+
1458
+ if (!exports.is(esValue)) {
1459
+ return;
1460
+ }
1461
+
1462
+ if (!utils.isObject(V)) {
1463
+ V = null;
1464
+ } else {
1465
+ V = EventHandlerNonNull.convert(globalObject, V, {
1466
+ context: "Failed to set the 'onreadystatechange' property on 'Document': The provided value"
1467
+ });
1468
+ }
1469
+ esValue[implSymbol]["onreadystatechange"] = V;
1470
+ }
1471
+
1472
+ get anchors() {
1473
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1474
+
1475
+ if (!exports.is(esValue)) {
1476
+ throw new globalObject.TypeError("'get anchors' called on an object that is not a valid instance of Document.");
1477
+ }
1478
+
1479
+ return utils.getSameObject(this, "anchors", () => {
1480
+ return utils.tryWrapperForImpl(esValue[implSymbol]["anchors"]);
1481
+ });
1482
+ }
1483
+
1484
+ get applets() {
1485
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1486
+
1487
+ if (!exports.is(esValue)) {
1488
+ throw new globalObject.TypeError("'get applets' called on an object that is not a valid instance of Document.");
1489
+ }
1490
+
1491
+ return utils.getSameObject(this, "applets", () => {
1492
+ return utils.tryWrapperForImpl(esValue[implSymbol]["applets"]);
1493
+ });
1494
+ }
1495
+
1496
+ get styleSheets() {
1497
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1498
+
1499
+ if (!exports.is(esValue)) {
1500
+ throw new globalObject.TypeError(
1501
+ "'get styleSheets' called on an object that is not a valid instance of Document."
1502
+ );
1503
+ }
1504
+
1505
+ return utils.getSameObject(this, "styleSheets", () => {
1506
+ return utils.tryWrapperForImpl(esValue[implSymbol]["styleSheets"]);
1507
+ });
1508
+ }
1509
+
1510
+ get hidden() {
1511
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1512
+
1513
+ if (!exports.is(esValue)) {
1514
+ throw new globalObject.TypeError("'get hidden' called on an object that is not a valid instance of Document.");
1515
+ }
1516
+
1517
+ return esValue[implSymbol]["hidden"];
1518
+ }
1519
+
1520
+ get visibilityState() {
1521
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1522
+
1523
+ if (!exports.is(esValue)) {
1524
+ throw new globalObject.TypeError(
1525
+ "'get visibilityState' called on an object that is not a valid instance of Document."
1526
+ );
1527
+ }
1528
+
1529
+ return utils.tryWrapperForImpl(esValue[implSymbol]["visibilityState"]);
1530
+ }
1531
+
1532
+ get onvisibilitychange() {
1533
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1534
+
1535
+ if (!exports.is(esValue)) {
1536
+ throw new globalObject.TypeError(
1537
+ "'get onvisibilitychange' called on an object that is not a valid instance of Document."
1538
+ );
1539
+ }
1540
+
1541
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onvisibilitychange"]);
1542
+ }
1543
+
1544
+ set onvisibilitychange(V) {
1545
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1546
+
1547
+ if (!exports.is(esValue)) {
1548
+ throw new globalObject.TypeError(
1549
+ "'set onvisibilitychange' called on an object that is not a valid instance of Document."
1550
+ );
1551
+ }
1552
+
1553
+ if (!utils.isObject(V)) {
1554
+ V = null;
1555
+ } else {
1556
+ V = EventHandlerNonNull.convert(globalObject, V, {
1557
+ context: "Failed to set the 'onvisibilitychange' property on 'Document': The provided value"
1558
+ });
1559
+ }
1560
+ esValue[implSymbol]["onvisibilitychange"] = V;
1561
+ }
1562
+
1563
+ get onabort() {
1564
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1565
+
1566
+ if (!exports.is(esValue)) {
1567
+ throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of Document.");
1568
+ }
1569
+
1570
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"]);
1571
+ }
1572
+
1573
+ set onabort(V) {
1574
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1575
+
1576
+ if (!exports.is(esValue)) {
1577
+ throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of Document.");
1578
+ }
1579
+
1580
+ if (!utils.isObject(V)) {
1581
+ V = null;
1582
+ } else {
1583
+ V = EventHandlerNonNull.convert(globalObject, V, {
1584
+ context: "Failed to set the 'onabort' property on 'Document': The provided value"
1585
+ });
1586
+ }
1587
+ esValue[implSymbol]["onabort"] = V;
1588
+ }
1589
+
1590
+ get onauxclick() {
1591
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1592
+
1593
+ if (!exports.is(esValue)) {
1594
+ throw new globalObject.TypeError(
1595
+ "'get onauxclick' called on an object that is not a valid instance of Document."
1596
+ );
1597
+ }
1598
+
1599
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onauxclick"]);
1600
+ }
1601
+
1602
+ set onauxclick(V) {
1603
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1604
+
1605
+ if (!exports.is(esValue)) {
1606
+ throw new globalObject.TypeError(
1607
+ "'set onauxclick' called on an object that is not a valid instance of Document."
1608
+ );
1609
+ }
1610
+
1611
+ if (!utils.isObject(V)) {
1612
+ V = null;
1613
+ } else {
1614
+ V = EventHandlerNonNull.convert(globalObject, V, {
1615
+ context: "Failed to set the 'onauxclick' property on 'Document': The provided value"
1616
+ });
1617
+ }
1618
+ esValue[implSymbol]["onauxclick"] = V;
1619
+ }
1620
+
1621
+ get onbeforeinput() {
1622
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1623
+
1624
+ if (!exports.is(esValue)) {
1625
+ throw new globalObject.TypeError(
1626
+ "'get onbeforeinput' called on an object that is not a valid instance of Document."
1627
+ );
1628
+ }
1629
+
1630
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeinput"]);
1631
+ }
1632
+
1633
+ set onbeforeinput(V) {
1634
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1635
+
1636
+ if (!exports.is(esValue)) {
1637
+ throw new globalObject.TypeError(
1638
+ "'set onbeforeinput' called on an object that is not a valid instance of Document."
1639
+ );
1640
+ }
1641
+
1642
+ if (!utils.isObject(V)) {
1643
+ V = null;
1644
+ } else {
1645
+ V = EventHandlerNonNull.convert(globalObject, V, {
1646
+ context: "Failed to set the 'onbeforeinput' property on 'Document': The provided value"
1647
+ });
1648
+ }
1649
+ esValue[implSymbol]["onbeforeinput"] = V;
1650
+ }
1651
+
1652
+ get onbeforematch() {
1653
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1654
+
1655
+ if (!exports.is(esValue)) {
1656
+ throw new globalObject.TypeError(
1657
+ "'get onbeforematch' called on an object that is not a valid instance of Document."
1658
+ );
1659
+ }
1660
+
1661
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforematch"]);
1662
+ }
1663
+
1664
+ set onbeforematch(V) {
1665
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1666
+
1667
+ if (!exports.is(esValue)) {
1668
+ throw new globalObject.TypeError(
1669
+ "'set onbeforematch' called on an object that is not a valid instance of Document."
1670
+ );
1671
+ }
1672
+
1673
+ if (!utils.isObject(V)) {
1674
+ V = null;
1675
+ } else {
1676
+ V = EventHandlerNonNull.convert(globalObject, V, {
1677
+ context: "Failed to set the 'onbeforematch' property on 'Document': The provided value"
1678
+ });
1679
+ }
1680
+ esValue[implSymbol]["onbeforematch"] = V;
1681
+ }
1682
+
1683
+ get onbeforetoggle() {
1684
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1685
+
1686
+ if (!exports.is(esValue)) {
1687
+ throw new globalObject.TypeError(
1688
+ "'get onbeforetoggle' called on an object that is not a valid instance of Document."
1689
+ );
1690
+ }
1691
+
1692
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforetoggle"]);
1693
+ }
1694
+
1695
+ set onbeforetoggle(V) {
1696
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1697
+
1698
+ if (!exports.is(esValue)) {
1699
+ throw new globalObject.TypeError(
1700
+ "'set onbeforetoggle' called on an object that is not a valid instance of Document."
1701
+ );
1702
+ }
1703
+
1704
+ if (!utils.isObject(V)) {
1705
+ V = null;
1706
+ } else {
1707
+ V = EventHandlerNonNull.convert(globalObject, V, {
1708
+ context: "Failed to set the 'onbeforetoggle' property on 'Document': The provided value"
1709
+ });
1710
+ }
1711
+ esValue[implSymbol]["onbeforetoggle"] = V;
1712
+ }
1713
+
1714
+ get onblur() {
1715
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1716
+
1717
+ if (!exports.is(esValue)) {
1718
+ throw new globalObject.TypeError("'get onblur' called on an object that is not a valid instance of Document.");
1719
+ }
1720
+
1721
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onblur"]);
1722
+ }
1723
+
1724
+ set onblur(V) {
1725
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1726
+
1727
+ if (!exports.is(esValue)) {
1728
+ throw new globalObject.TypeError("'set onblur' called on an object that is not a valid instance of Document.");
1729
+ }
1730
+
1731
+ if (!utils.isObject(V)) {
1732
+ V = null;
1733
+ } else {
1734
+ V = EventHandlerNonNull.convert(globalObject, V, {
1735
+ context: "Failed to set the 'onblur' property on 'Document': The provided value"
1736
+ });
1737
+ }
1738
+ esValue[implSymbol]["onblur"] = V;
1739
+ }
1740
+
1741
+ get oncancel() {
1742
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1743
+
1744
+ if (!exports.is(esValue)) {
1745
+ throw new globalObject.TypeError(
1746
+ "'get oncancel' called on an object that is not a valid instance of Document."
1747
+ );
1748
+ }
1749
+
1750
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncancel"]);
1751
+ }
1752
+
1753
+ set oncancel(V) {
1754
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1755
+
1756
+ if (!exports.is(esValue)) {
1757
+ throw new globalObject.TypeError(
1758
+ "'set oncancel' called on an object that is not a valid instance of Document."
1759
+ );
1760
+ }
1761
+
1762
+ if (!utils.isObject(V)) {
1763
+ V = null;
1764
+ } else {
1765
+ V = EventHandlerNonNull.convert(globalObject, V, {
1766
+ context: "Failed to set the 'oncancel' property on 'Document': The provided value"
1767
+ });
1768
+ }
1769
+ esValue[implSymbol]["oncancel"] = V;
1770
+ }
1771
+
1772
+ get oncanplay() {
1773
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1774
+
1775
+ if (!exports.is(esValue)) {
1776
+ throw new globalObject.TypeError(
1777
+ "'get oncanplay' called on an object that is not a valid instance of Document."
1778
+ );
1779
+ }
1780
+
1781
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplay"]);
1782
+ }
1783
+
1784
+ set oncanplay(V) {
1785
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1786
+
1787
+ if (!exports.is(esValue)) {
1788
+ throw new globalObject.TypeError(
1789
+ "'set oncanplay' called on an object that is not a valid instance of Document."
1790
+ );
1791
+ }
1792
+
1793
+ if (!utils.isObject(V)) {
1794
+ V = null;
1795
+ } else {
1796
+ V = EventHandlerNonNull.convert(globalObject, V, {
1797
+ context: "Failed to set the 'oncanplay' property on 'Document': The provided value"
1798
+ });
1799
+ }
1800
+ esValue[implSymbol]["oncanplay"] = V;
1801
+ }
1802
+
1803
+ get oncanplaythrough() {
1804
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1805
+
1806
+ if (!exports.is(esValue)) {
1807
+ throw new globalObject.TypeError(
1808
+ "'get oncanplaythrough' called on an object that is not a valid instance of Document."
1809
+ );
1810
+ }
1811
+
1812
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplaythrough"]);
1813
+ }
1814
+
1815
+ set oncanplaythrough(V) {
1816
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1817
+
1818
+ if (!exports.is(esValue)) {
1819
+ throw new globalObject.TypeError(
1820
+ "'set oncanplaythrough' called on an object that is not a valid instance of Document."
1821
+ );
1822
+ }
1823
+
1824
+ if (!utils.isObject(V)) {
1825
+ V = null;
1826
+ } else {
1827
+ V = EventHandlerNonNull.convert(globalObject, V, {
1828
+ context: "Failed to set the 'oncanplaythrough' property on 'Document': The provided value"
1829
+ });
1830
+ }
1831
+ esValue[implSymbol]["oncanplaythrough"] = V;
1832
+ }
1833
+
1834
+ get onchange() {
1835
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1836
+
1837
+ if (!exports.is(esValue)) {
1838
+ throw new globalObject.TypeError(
1839
+ "'get onchange' called on an object that is not a valid instance of Document."
1840
+ );
1841
+ }
1842
+
1843
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onchange"]);
1844
+ }
1845
+
1846
+ set onchange(V) {
1847
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1848
+
1849
+ if (!exports.is(esValue)) {
1850
+ throw new globalObject.TypeError(
1851
+ "'set onchange' called on an object that is not a valid instance of Document."
1852
+ );
1853
+ }
1854
+
1855
+ if (!utils.isObject(V)) {
1856
+ V = null;
1857
+ } else {
1858
+ V = EventHandlerNonNull.convert(globalObject, V, {
1859
+ context: "Failed to set the 'onchange' property on 'Document': The provided value"
1860
+ });
1861
+ }
1862
+ esValue[implSymbol]["onchange"] = V;
1863
+ }
1864
+
1865
+ get onclick() {
1866
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1867
+
1868
+ if (!exports.is(esValue)) {
1869
+ throw new globalObject.TypeError("'get onclick' called on an object that is not a valid instance of Document.");
1870
+ }
1871
+
1872
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onclick"]);
1873
+ }
1874
+
1875
+ set onclick(V) {
1876
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1877
+
1878
+ if (!exports.is(esValue)) {
1879
+ throw new globalObject.TypeError("'set onclick' called on an object that is not a valid instance of Document.");
1880
+ }
1881
+
1882
+ if (!utils.isObject(V)) {
1883
+ V = null;
1884
+ } else {
1885
+ V = EventHandlerNonNull.convert(globalObject, V, {
1886
+ context: "Failed to set the 'onclick' property on 'Document': The provided value"
1887
+ });
1888
+ }
1889
+ esValue[implSymbol]["onclick"] = V;
1890
+ }
1891
+
1892
+ get onclose() {
1893
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1894
+
1895
+ if (!exports.is(esValue)) {
1896
+ throw new globalObject.TypeError("'get onclose' called on an object that is not a valid instance of Document.");
1897
+ }
1898
+
1899
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onclose"]);
1900
+ }
1901
+
1902
+ set onclose(V) {
1903
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1904
+
1905
+ if (!exports.is(esValue)) {
1906
+ throw new globalObject.TypeError("'set onclose' called on an object that is not a valid instance of Document.");
1907
+ }
1908
+
1909
+ if (!utils.isObject(V)) {
1910
+ V = null;
1911
+ } else {
1912
+ V = EventHandlerNonNull.convert(globalObject, V, {
1913
+ context: "Failed to set the 'onclose' property on 'Document': The provided value"
1914
+ });
1915
+ }
1916
+ esValue[implSymbol]["onclose"] = V;
1917
+ }
1918
+
1919
+ get oncontextlost() {
1920
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1921
+
1922
+ if (!exports.is(esValue)) {
1923
+ throw new globalObject.TypeError(
1924
+ "'get oncontextlost' called on an object that is not a valid instance of Document."
1925
+ );
1926
+ }
1927
+
1928
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextlost"]);
1929
+ }
1930
+
1931
+ set oncontextlost(V) {
1932
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1933
+
1934
+ if (!exports.is(esValue)) {
1935
+ throw new globalObject.TypeError(
1936
+ "'set oncontextlost' called on an object that is not a valid instance of Document."
1937
+ );
1938
+ }
1939
+
1940
+ if (!utils.isObject(V)) {
1941
+ V = null;
1942
+ } else {
1943
+ V = EventHandlerNonNull.convert(globalObject, V, {
1944
+ context: "Failed to set the 'oncontextlost' property on 'Document': The provided value"
1945
+ });
1946
+ }
1947
+ esValue[implSymbol]["oncontextlost"] = V;
1948
+ }
1949
+
1950
+ get oncontextmenu() {
1951
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1952
+
1953
+ if (!exports.is(esValue)) {
1954
+ throw new globalObject.TypeError(
1955
+ "'get oncontextmenu' called on an object that is not a valid instance of Document."
1956
+ );
1957
+ }
1958
+
1959
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextmenu"]);
1960
+ }
1961
+
1962
+ set oncontextmenu(V) {
1963
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1964
+
1965
+ if (!exports.is(esValue)) {
1966
+ throw new globalObject.TypeError(
1967
+ "'set oncontextmenu' called on an object that is not a valid instance of Document."
1968
+ );
1969
+ }
1970
+
1971
+ if (!utils.isObject(V)) {
1972
+ V = null;
1973
+ } else {
1974
+ V = EventHandlerNonNull.convert(globalObject, V, {
1975
+ context: "Failed to set the 'oncontextmenu' property on 'Document': The provided value"
1976
+ });
1977
+ }
1978
+ esValue[implSymbol]["oncontextmenu"] = V;
1979
+ }
1980
+
1981
+ get oncontextrestored() {
1982
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1983
+
1984
+ if (!exports.is(esValue)) {
1985
+ throw new globalObject.TypeError(
1986
+ "'get oncontextrestored' called on an object that is not a valid instance of Document."
1987
+ );
1988
+ }
1989
+
1990
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextrestored"]);
1991
+ }
1992
+
1993
+ set oncontextrestored(V) {
1994
+ const esValue = this !== null && this !== undefined ? this : globalObject;
1995
+
1996
+ if (!exports.is(esValue)) {
1997
+ throw new globalObject.TypeError(
1998
+ "'set oncontextrestored' called on an object that is not a valid instance of Document."
1999
+ );
2000
+ }
2001
+
2002
+ if (!utils.isObject(V)) {
2003
+ V = null;
2004
+ } else {
2005
+ V = EventHandlerNonNull.convert(globalObject, V, {
2006
+ context: "Failed to set the 'oncontextrestored' property on 'Document': The provided value"
2007
+ });
2008
+ }
2009
+ esValue[implSymbol]["oncontextrestored"] = V;
2010
+ }
2011
+
2012
+ get oncopy() {
2013
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2014
+
2015
+ if (!exports.is(esValue)) {
2016
+ throw new globalObject.TypeError("'get oncopy' called on an object that is not a valid instance of Document.");
2017
+ }
2018
+
2019
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncopy"]);
2020
+ }
2021
+
2022
+ set oncopy(V) {
2023
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2024
+
2025
+ if (!exports.is(esValue)) {
2026
+ throw new globalObject.TypeError("'set oncopy' called on an object that is not a valid instance of Document.");
2027
+ }
2028
+
2029
+ if (!utils.isObject(V)) {
2030
+ V = null;
2031
+ } else {
2032
+ V = EventHandlerNonNull.convert(globalObject, V, {
2033
+ context: "Failed to set the 'oncopy' property on 'Document': The provided value"
2034
+ });
2035
+ }
2036
+ esValue[implSymbol]["oncopy"] = V;
2037
+ }
2038
+
2039
+ get oncuechange() {
2040
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2041
+
2042
+ if (!exports.is(esValue)) {
2043
+ throw new globalObject.TypeError(
2044
+ "'get oncuechange' called on an object that is not a valid instance of Document."
2045
+ );
2046
+ }
2047
+
2048
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncuechange"]);
2049
+ }
2050
+
2051
+ set oncuechange(V) {
2052
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2053
+
2054
+ if (!exports.is(esValue)) {
2055
+ throw new globalObject.TypeError(
2056
+ "'set oncuechange' called on an object that is not a valid instance of Document."
2057
+ );
2058
+ }
2059
+
2060
+ if (!utils.isObject(V)) {
2061
+ V = null;
2062
+ } else {
2063
+ V = EventHandlerNonNull.convert(globalObject, V, {
2064
+ context: "Failed to set the 'oncuechange' property on 'Document': The provided value"
2065
+ });
2066
+ }
2067
+ esValue[implSymbol]["oncuechange"] = V;
2068
+ }
2069
+
2070
+ get oncut() {
2071
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2072
+
2073
+ if (!exports.is(esValue)) {
2074
+ throw new globalObject.TypeError("'get oncut' called on an object that is not a valid instance of Document.");
2075
+ }
2076
+
2077
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oncut"]);
2078
+ }
2079
+
2080
+ set oncut(V) {
2081
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2082
+
2083
+ if (!exports.is(esValue)) {
2084
+ throw new globalObject.TypeError("'set oncut' called on an object that is not a valid instance of Document.");
2085
+ }
2086
+
2087
+ if (!utils.isObject(V)) {
2088
+ V = null;
2089
+ } else {
2090
+ V = EventHandlerNonNull.convert(globalObject, V, {
2091
+ context: "Failed to set the 'oncut' property on 'Document': The provided value"
2092
+ });
2093
+ }
2094
+ esValue[implSymbol]["oncut"] = V;
2095
+ }
2096
+
2097
+ get ondblclick() {
2098
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2099
+
2100
+ if (!exports.is(esValue)) {
2101
+ throw new globalObject.TypeError(
2102
+ "'get ondblclick' called on an object that is not a valid instance of Document."
2103
+ );
2104
+ }
2105
+
2106
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondblclick"]);
2107
+ }
2108
+
2109
+ set ondblclick(V) {
2110
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2111
+
2112
+ if (!exports.is(esValue)) {
2113
+ throw new globalObject.TypeError(
2114
+ "'set ondblclick' called on an object that is not a valid instance of Document."
2115
+ );
2116
+ }
2117
+
2118
+ if (!utils.isObject(V)) {
2119
+ V = null;
2120
+ } else {
2121
+ V = EventHandlerNonNull.convert(globalObject, V, {
2122
+ context: "Failed to set the 'ondblclick' property on 'Document': The provided value"
2123
+ });
2124
+ }
2125
+ esValue[implSymbol]["ondblclick"] = V;
2126
+ }
2127
+
2128
+ get ondrag() {
2129
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2130
+
2131
+ if (!exports.is(esValue)) {
2132
+ throw new globalObject.TypeError("'get ondrag' called on an object that is not a valid instance of Document.");
2133
+ }
2134
+
2135
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondrag"]);
2136
+ }
2137
+
2138
+ set ondrag(V) {
2139
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2140
+
2141
+ if (!exports.is(esValue)) {
2142
+ throw new globalObject.TypeError("'set ondrag' called on an object that is not a valid instance of Document.");
2143
+ }
2144
+
2145
+ if (!utils.isObject(V)) {
2146
+ V = null;
2147
+ } else {
2148
+ V = EventHandlerNonNull.convert(globalObject, V, {
2149
+ context: "Failed to set the 'ondrag' property on 'Document': The provided value"
2150
+ });
2151
+ }
2152
+ esValue[implSymbol]["ondrag"] = V;
2153
+ }
2154
+
2155
+ get ondragend() {
2156
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2157
+
2158
+ if (!exports.is(esValue)) {
2159
+ throw new globalObject.TypeError(
2160
+ "'get ondragend' called on an object that is not a valid instance of Document."
2161
+ );
2162
+ }
2163
+
2164
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondragend"]);
2165
+ }
2166
+
2167
+ set ondragend(V) {
2168
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2169
+
2170
+ if (!exports.is(esValue)) {
2171
+ throw new globalObject.TypeError(
2172
+ "'set ondragend' called on an object that is not a valid instance of Document."
2173
+ );
2174
+ }
2175
+
2176
+ if (!utils.isObject(V)) {
2177
+ V = null;
2178
+ } else {
2179
+ V = EventHandlerNonNull.convert(globalObject, V, {
2180
+ context: "Failed to set the 'ondragend' property on 'Document': The provided value"
2181
+ });
2182
+ }
2183
+ esValue[implSymbol]["ondragend"] = V;
2184
+ }
2185
+
2186
+ get ondragenter() {
2187
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2188
+
2189
+ if (!exports.is(esValue)) {
2190
+ throw new globalObject.TypeError(
2191
+ "'get ondragenter' called on an object that is not a valid instance of Document."
2192
+ );
2193
+ }
2194
+
2195
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondragenter"]);
2196
+ }
2197
+
2198
+ set ondragenter(V) {
2199
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2200
+
2201
+ if (!exports.is(esValue)) {
2202
+ throw new globalObject.TypeError(
2203
+ "'set ondragenter' called on an object that is not a valid instance of Document."
2204
+ );
2205
+ }
2206
+
2207
+ if (!utils.isObject(V)) {
2208
+ V = null;
2209
+ } else {
2210
+ V = EventHandlerNonNull.convert(globalObject, V, {
2211
+ context: "Failed to set the 'ondragenter' property on 'Document': The provided value"
2212
+ });
2213
+ }
2214
+ esValue[implSymbol]["ondragenter"] = V;
2215
+ }
2216
+
2217
+ get ondragleave() {
2218
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2219
+
2220
+ if (!exports.is(esValue)) {
2221
+ throw new globalObject.TypeError(
2222
+ "'get ondragleave' called on an object that is not a valid instance of Document."
2223
+ );
2224
+ }
2225
+
2226
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondragleave"]);
2227
+ }
2228
+
2229
+ set ondragleave(V) {
2230
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2231
+
2232
+ if (!exports.is(esValue)) {
2233
+ throw new globalObject.TypeError(
2234
+ "'set ondragleave' called on an object that is not a valid instance of Document."
2235
+ );
2236
+ }
2237
+
2238
+ if (!utils.isObject(V)) {
2239
+ V = null;
2240
+ } else {
2241
+ V = EventHandlerNonNull.convert(globalObject, V, {
2242
+ context: "Failed to set the 'ondragleave' property on 'Document': The provided value"
2243
+ });
2244
+ }
2245
+ esValue[implSymbol]["ondragleave"] = V;
2246
+ }
2247
+
2248
+ get ondragover() {
2249
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2250
+
2251
+ if (!exports.is(esValue)) {
2252
+ throw new globalObject.TypeError(
2253
+ "'get ondragover' called on an object that is not a valid instance of Document."
2254
+ );
2255
+ }
2256
+
2257
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondragover"]);
2258
+ }
2259
+
2260
+ set ondragover(V) {
2261
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2262
+
2263
+ if (!exports.is(esValue)) {
2264
+ throw new globalObject.TypeError(
2265
+ "'set ondragover' called on an object that is not a valid instance of Document."
2266
+ );
2267
+ }
2268
+
2269
+ if (!utils.isObject(V)) {
2270
+ V = null;
2271
+ } else {
2272
+ V = EventHandlerNonNull.convert(globalObject, V, {
2273
+ context: "Failed to set the 'ondragover' property on 'Document': The provided value"
2274
+ });
2275
+ }
2276
+ esValue[implSymbol]["ondragover"] = V;
2277
+ }
2278
+
2279
+ get ondragstart() {
2280
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2281
+
2282
+ if (!exports.is(esValue)) {
2283
+ throw new globalObject.TypeError(
2284
+ "'get ondragstart' called on an object that is not a valid instance of Document."
2285
+ );
2286
+ }
2287
+
2288
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondragstart"]);
2289
+ }
2290
+
2291
+ set ondragstart(V) {
2292
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2293
+
2294
+ if (!exports.is(esValue)) {
2295
+ throw new globalObject.TypeError(
2296
+ "'set ondragstart' called on an object that is not a valid instance of Document."
2297
+ );
2298
+ }
2299
+
2300
+ if (!utils.isObject(V)) {
2301
+ V = null;
2302
+ } else {
2303
+ V = EventHandlerNonNull.convert(globalObject, V, {
2304
+ context: "Failed to set the 'ondragstart' property on 'Document': The provided value"
2305
+ });
2306
+ }
2307
+ esValue[implSymbol]["ondragstart"] = V;
2308
+ }
2309
+
2310
+ get ondrop() {
2311
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2312
+
2313
+ if (!exports.is(esValue)) {
2314
+ throw new globalObject.TypeError("'get ondrop' called on an object that is not a valid instance of Document.");
2315
+ }
2316
+
2317
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondrop"]);
2318
+ }
2319
+
2320
+ set ondrop(V) {
2321
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2322
+
2323
+ if (!exports.is(esValue)) {
2324
+ throw new globalObject.TypeError("'set ondrop' called on an object that is not a valid instance of Document.");
2325
+ }
2326
+
2327
+ if (!utils.isObject(V)) {
2328
+ V = null;
2329
+ } else {
2330
+ V = EventHandlerNonNull.convert(globalObject, V, {
2331
+ context: "Failed to set the 'ondrop' property on 'Document': The provided value"
2332
+ });
2333
+ }
2334
+ esValue[implSymbol]["ondrop"] = V;
2335
+ }
2336
+
2337
+ get ondurationchange() {
2338
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2339
+
2340
+ if (!exports.is(esValue)) {
2341
+ throw new globalObject.TypeError(
2342
+ "'get ondurationchange' called on an object that is not a valid instance of Document."
2343
+ );
2344
+ }
2345
+
2346
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ondurationchange"]);
2347
+ }
2348
+
2349
+ set ondurationchange(V) {
2350
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2351
+
2352
+ if (!exports.is(esValue)) {
2353
+ throw new globalObject.TypeError(
2354
+ "'set ondurationchange' called on an object that is not a valid instance of Document."
2355
+ );
2356
+ }
2357
+
2358
+ if (!utils.isObject(V)) {
2359
+ V = null;
2360
+ } else {
2361
+ V = EventHandlerNonNull.convert(globalObject, V, {
2362
+ context: "Failed to set the 'ondurationchange' property on 'Document': The provided value"
2363
+ });
2364
+ }
2365
+ esValue[implSymbol]["ondurationchange"] = V;
2366
+ }
2367
+
2368
+ get onemptied() {
2369
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2370
+
2371
+ if (!exports.is(esValue)) {
2372
+ throw new globalObject.TypeError(
2373
+ "'get onemptied' called on an object that is not a valid instance of Document."
2374
+ );
2375
+ }
2376
+
2377
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onemptied"]);
2378
+ }
2379
+
2380
+ set onemptied(V) {
2381
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2382
+
2383
+ if (!exports.is(esValue)) {
2384
+ throw new globalObject.TypeError(
2385
+ "'set onemptied' called on an object that is not a valid instance of Document."
2386
+ );
2387
+ }
2388
+
2389
+ if (!utils.isObject(V)) {
2390
+ V = null;
2391
+ } else {
2392
+ V = EventHandlerNonNull.convert(globalObject, V, {
2393
+ context: "Failed to set the 'onemptied' property on 'Document': The provided value"
2394
+ });
2395
+ }
2396
+ esValue[implSymbol]["onemptied"] = V;
2397
+ }
2398
+
2399
+ get onended() {
2400
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2401
+
2402
+ if (!exports.is(esValue)) {
2403
+ throw new globalObject.TypeError("'get onended' called on an object that is not a valid instance of Document.");
2404
+ }
2405
+
2406
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onended"]);
2407
+ }
2408
+
2409
+ set onended(V) {
2410
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2411
+
2412
+ if (!exports.is(esValue)) {
2413
+ throw new globalObject.TypeError("'set onended' called on an object that is not a valid instance of Document.");
2414
+ }
2415
+
2416
+ if (!utils.isObject(V)) {
2417
+ V = null;
2418
+ } else {
2419
+ V = EventHandlerNonNull.convert(globalObject, V, {
2420
+ context: "Failed to set the 'onended' property on 'Document': The provided value"
2421
+ });
2422
+ }
2423
+ esValue[implSymbol]["onended"] = V;
2424
+ }
2425
+
2426
+ get onerror() {
2427
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2428
+
2429
+ if (!exports.is(esValue)) {
2430
+ throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of Document.");
2431
+ }
2432
+
2433
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"]);
2434
+ }
2435
+
2436
+ set onerror(V) {
2437
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2438
+
2439
+ if (!exports.is(esValue)) {
2440
+ throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of Document.");
2441
+ }
2442
+
2443
+ if (!utils.isObject(V)) {
2444
+ V = null;
2445
+ } else {
2446
+ V = OnErrorEventHandlerNonNull.convert(globalObject, V, {
2447
+ context: "Failed to set the 'onerror' property on 'Document': The provided value"
2448
+ });
2449
+ }
2450
+ esValue[implSymbol]["onerror"] = V;
2451
+ }
2452
+
2453
+ get onfocus() {
2454
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2455
+
2456
+ if (!exports.is(esValue)) {
2457
+ throw new globalObject.TypeError("'get onfocus' called on an object that is not a valid instance of Document.");
2458
+ }
2459
+
2460
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onfocus"]);
2461
+ }
2462
+
2463
+ set onfocus(V) {
2464
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2465
+
2466
+ if (!exports.is(esValue)) {
2467
+ throw new globalObject.TypeError("'set onfocus' called on an object that is not a valid instance of Document.");
2468
+ }
2469
+
2470
+ if (!utils.isObject(V)) {
2471
+ V = null;
2472
+ } else {
2473
+ V = EventHandlerNonNull.convert(globalObject, V, {
2474
+ context: "Failed to set the 'onfocus' property on 'Document': The provided value"
2475
+ });
2476
+ }
2477
+ esValue[implSymbol]["onfocus"] = V;
2478
+ }
2479
+
2480
+ get onformdata() {
2481
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2482
+
2483
+ if (!exports.is(esValue)) {
2484
+ throw new globalObject.TypeError(
2485
+ "'get onformdata' called on an object that is not a valid instance of Document."
2486
+ );
2487
+ }
2488
+
2489
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onformdata"]);
2490
+ }
2491
+
2492
+ set onformdata(V) {
2493
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2494
+
2495
+ if (!exports.is(esValue)) {
2496
+ throw new globalObject.TypeError(
2497
+ "'set onformdata' called on an object that is not a valid instance of Document."
2498
+ );
2499
+ }
2500
+
2501
+ if (!utils.isObject(V)) {
2502
+ V = null;
2503
+ } else {
2504
+ V = EventHandlerNonNull.convert(globalObject, V, {
2505
+ context: "Failed to set the 'onformdata' property on 'Document': The provided value"
2506
+ });
2507
+ }
2508
+ esValue[implSymbol]["onformdata"] = V;
2509
+ }
2510
+
2511
+ get oninput() {
2512
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2513
+
2514
+ if (!exports.is(esValue)) {
2515
+ throw new globalObject.TypeError("'get oninput' called on an object that is not a valid instance of Document.");
2516
+ }
2517
+
2518
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oninput"]);
2519
+ }
2520
+
2521
+ set oninput(V) {
2522
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2523
+
2524
+ if (!exports.is(esValue)) {
2525
+ throw new globalObject.TypeError("'set oninput' called on an object that is not a valid instance of Document.");
2526
+ }
2527
+
2528
+ if (!utils.isObject(V)) {
2529
+ V = null;
2530
+ } else {
2531
+ V = EventHandlerNonNull.convert(globalObject, V, {
2532
+ context: "Failed to set the 'oninput' property on 'Document': The provided value"
2533
+ });
2534
+ }
2535
+ esValue[implSymbol]["oninput"] = V;
2536
+ }
2537
+
2538
+ get oninvalid() {
2539
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2540
+
2541
+ if (!exports.is(esValue)) {
2542
+ throw new globalObject.TypeError(
2543
+ "'get oninvalid' called on an object that is not a valid instance of Document."
2544
+ );
2545
+ }
2546
+
2547
+ return utils.tryWrapperForImpl(esValue[implSymbol]["oninvalid"]);
2548
+ }
2549
+
2550
+ set oninvalid(V) {
2551
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2552
+
2553
+ if (!exports.is(esValue)) {
2554
+ throw new globalObject.TypeError(
2555
+ "'set oninvalid' called on an object that is not a valid instance of Document."
2556
+ );
2557
+ }
2558
+
2559
+ if (!utils.isObject(V)) {
2560
+ V = null;
2561
+ } else {
2562
+ V = EventHandlerNonNull.convert(globalObject, V, {
2563
+ context: "Failed to set the 'oninvalid' property on 'Document': The provided value"
2564
+ });
2565
+ }
2566
+ esValue[implSymbol]["oninvalid"] = V;
2567
+ }
2568
+
2569
+ get onkeydown() {
2570
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2571
+
2572
+ if (!exports.is(esValue)) {
2573
+ throw new globalObject.TypeError(
2574
+ "'get onkeydown' called on an object that is not a valid instance of Document."
2575
+ );
2576
+ }
2577
+
2578
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onkeydown"]);
2579
+ }
2580
+
2581
+ set onkeydown(V) {
2582
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2583
+
2584
+ if (!exports.is(esValue)) {
2585
+ throw new globalObject.TypeError(
2586
+ "'set onkeydown' called on an object that is not a valid instance of Document."
2587
+ );
2588
+ }
2589
+
2590
+ if (!utils.isObject(V)) {
2591
+ V = null;
2592
+ } else {
2593
+ V = EventHandlerNonNull.convert(globalObject, V, {
2594
+ context: "Failed to set the 'onkeydown' property on 'Document': The provided value"
2595
+ });
2596
+ }
2597
+ esValue[implSymbol]["onkeydown"] = V;
2598
+ }
2599
+
2600
+ get onkeypress() {
2601
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2602
+
2603
+ if (!exports.is(esValue)) {
2604
+ throw new globalObject.TypeError(
2605
+ "'get onkeypress' called on an object that is not a valid instance of Document."
2606
+ );
2607
+ }
2608
+
2609
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onkeypress"]);
2610
+ }
2611
+
2612
+ set onkeypress(V) {
2613
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2614
+
2615
+ if (!exports.is(esValue)) {
2616
+ throw new globalObject.TypeError(
2617
+ "'set onkeypress' called on an object that is not a valid instance of Document."
2618
+ );
2619
+ }
2620
+
2621
+ if (!utils.isObject(V)) {
2622
+ V = null;
2623
+ } else {
2624
+ V = EventHandlerNonNull.convert(globalObject, V, {
2625
+ context: "Failed to set the 'onkeypress' property on 'Document': The provided value"
2626
+ });
2627
+ }
2628
+ esValue[implSymbol]["onkeypress"] = V;
2629
+ }
2630
+
2631
+ get onkeyup() {
2632
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2633
+
2634
+ if (!exports.is(esValue)) {
2635
+ throw new globalObject.TypeError("'get onkeyup' called on an object that is not a valid instance of Document.");
2636
+ }
2637
+
2638
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onkeyup"]);
2639
+ }
2640
+
2641
+ set onkeyup(V) {
2642
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2643
+
2644
+ if (!exports.is(esValue)) {
2645
+ throw new globalObject.TypeError("'set onkeyup' called on an object that is not a valid instance of Document.");
2646
+ }
2647
+
2648
+ if (!utils.isObject(V)) {
2649
+ V = null;
2650
+ } else {
2651
+ V = EventHandlerNonNull.convert(globalObject, V, {
2652
+ context: "Failed to set the 'onkeyup' property on 'Document': The provided value"
2653
+ });
2654
+ }
2655
+ esValue[implSymbol]["onkeyup"] = V;
2656
+ }
2657
+
2658
+ get onload() {
2659
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2660
+
2661
+ if (!exports.is(esValue)) {
2662
+ throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of Document.");
2663
+ }
2664
+
2665
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onload"]);
2666
+ }
2667
+
2668
+ set onload(V) {
2669
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2670
+
2671
+ if (!exports.is(esValue)) {
2672
+ throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of Document.");
2673
+ }
2674
+
2675
+ if (!utils.isObject(V)) {
2676
+ V = null;
2677
+ } else {
2678
+ V = EventHandlerNonNull.convert(globalObject, V, {
2679
+ context: "Failed to set the 'onload' property on 'Document': The provided value"
2680
+ });
2681
+ }
2682
+ esValue[implSymbol]["onload"] = V;
2683
+ }
2684
+
2685
+ get onloadeddata() {
2686
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2687
+
2688
+ if (!exports.is(esValue)) {
2689
+ throw new globalObject.TypeError(
2690
+ "'get onloadeddata' called on an object that is not a valid instance of Document."
2691
+ );
2692
+ }
2693
+
2694
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onloadeddata"]);
2695
+ }
2696
+
2697
+ set onloadeddata(V) {
2698
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2699
+
2700
+ if (!exports.is(esValue)) {
2701
+ throw new globalObject.TypeError(
2702
+ "'set onloadeddata' called on an object that is not a valid instance of Document."
2703
+ );
2704
+ }
2705
+
2706
+ if (!utils.isObject(V)) {
2707
+ V = null;
2708
+ } else {
2709
+ V = EventHandlerNonNull.convert(globalObject, V, {
2710
+ context: "Failed to set the 'onloadeddata' property on 'Document': The provided value"
2711
+ });
2712
+ }
2713
+ esValue[implSymbol]["onloadeddata"] = V;
2714
+ }
2715
+
2716
+ get onloadedmetadata() {
2717
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2718
+
2719
+ if (!exports.is(esValue)) {
2720
+ throw new globalObject.TypeError(
2721
+ "'get onloadedmetadata' called on an object that is not a valid instance of Document."
2722
+ );
2723
+ }
2724
+
2725
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onloadedmetadata"]);
2726
+ }
2727
+
2728
+ set onloadedmetadata(V) {
2729
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2730
+
2731
+ if (!exports.is(esValue)) {
2732
+ throw new globalObject.TypeError(
2733
+ "'set onloadedmetadata' called on an object that is not a valid instance of Document."
2734
+ );
2735
+ }
2736
+
2737
+ if (!utils.isObject(V)) {
2738
+ V = null;
2739
+ } else {
2740
+ V = EventHandlerNonNull.convert(globalObject, V, {
2741
+ context: "Failed to set the 'onloadedmetadata' property on 'Document': The provided value"
2742
+ });
2743
+ }
2744
+ esValue[implSymbol]["onloadedmetadata"] = V;
2745
+ }
2746
+
2747
+ get onloadstart() {
2748
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2749
+
2750
+ if (!exports.is(esValue)) {
2751
+ throw new globalObject.TypeError(
2752
+ "'get onloadstart' called on an object that is not a valid instance of Document."
2753
+ );
2754
+ }
2755
+
2756
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"]);
2757
+ }
2758
+
2759
+ set onloadstart(V) {
2760
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2761
+
2762
+ if (!exports.is(esValue)) {
2763
+ throw new globalObject.TypeError(
2764
+ "'set onloadstart' called on an object that is not a valid instance of Document."
2765
+ );
2766
+ }
2767
+
2768
+ if (!utils.isObject(V)) {
2769
+ V = null;
2770
+ } else {
2771
+ V = EventHandlerNonNull.convert(globalObject, V, {
2772
+ context: "Failed to set the 'onloadstart' property on 'Document': The provided value"
2773
+ });
2774
+ }
2775
+ esValue[implSymbol]["onloadstart"] = V;
2776
+ }
2777
+
2778
+ get onmousedown() {
2779
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2780
+
2781
+ if (!exports.is(esValue)) {
2782
+ throw new globalObject.TypeError(
2783
+ "'get onmousedown' called on an object that is not a valid instance of Document."
2784
+ );
2785
+ }
2786
+
2787
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmousedown"]);
2788
+ }
2789
+
2790
+ set onmousedown(V) {
2791
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2792
+
2793
+ if (!exports.is(esValue)) {
2794
+ throw new globalObject.TypeError(
2795
+ "'set onmousedown' called on an object that is not a valid instance of Document."
2796
+ );
2797
+ }
2798
+
2799
+ if (!utils.isObject(V)) {
2800
+ V = null;
2801
+ } else {
2802
+ V = EventHandlerNonNull.convert(globalObject, V, {
2803
+ context: "Failed to set the 'onmousedown' property on 'Document': The provided value"
2804
+ });
2805
+ }
2806
+ esValue[implSymbol]["onmousedown"] = V;
2807
+ }
2808
+
2809
+ get onmouseenter() {
2810
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2811
+
2812
+ if (!exports.is(esValue)) {
2813
+ return;
2814
+ }
2815
+
2816
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseenter"]);
2817
+ }
2818
+
2819
+ set onmouseenter(V) {
2820
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2821
+
2822
+ if (!exports.is(esValue)) {
2823
+ return;
2824
+ }
2825
+
2826
+ if (!utils.isObject(V)) {
2827
+ V = null;
2828
+ } else {
2829
+ V = EventHandlerNonNull.convert(globalObject, V, {
2830
+ context: "Failed to set the 'onmouseenter' property on 'Document': The provided value"
2831
+ });
2832
+ }
2833
+ esValue[implSymbol]["onmouseenter"] = V;
2834
+ }
2835
+
2836
+ get onmouseleave() {
2837
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2838
+
2839
+ if (!exports.is(esValue)) {
2840
+ return;
2841
+ }
2842
+
2843
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseleave"]);
2844
+ }
2845
+
2846
+ set onmouseleave(V) {
2847
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2848
+
2849
+ if (!exports.is(esValue)) {
2850
+ return;
2851
+ }
2852
+
2853
+ if (!utils.isObject(V)) {
2854
+ V = null;
2855
+ } else {
2856
+ V = EventHandlerNonNull.convert(globalObject, V, {
2857
+ context: "Failed to set the 'onmouseleave' property on 'Document': The provided value"
2858
+ });
2859
+ }
2860
+ esValue[implSymbol]["onmouseleave"] = V;
2861
+ }
2862
+
2863
+ get onmousemove() {
2864
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2865
+
2866
+ if (!exports.is(esValue)) {
2867
+ throw new globalObject.TypeError(
2868
+ "'get onmousemove' called on an object that is not a valid instance of Document."
2869
+ );
2870
+ }
2871
+
2872
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmousemove"]);
2873
+ }
2874
+
2875
+ set onmousemove(V) {
2876
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2877
+
2878
+ if (!exports.is(esValue)) {
2879
+ throw new globalObject.TypeError(
2880
+ "'set onmousemove' called on an object that is not a valid instance of Document."
2881
+ );
2882
+ }
2883
+
2884
+ if (!utils.isObject(V)) {
2885
+ V = null;
2886
+ } else {
2887
+ V = EventHandlerNonNull.convert(globalObject, V, {
2888
+ context: "Failed to set the 'onmousemove' property on 'Document': The provided value"
2889
+ });
2890
+ }
2891
+ esValue[implSymbol]["onmousemove"] = V;
2892
+ }
2893
+
2894
+ get onmouseout() {
2895
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2896
+
2897
+ if (!exports.is(esValue)) {
2898
+ throw new globalObject.TypeError(
2899
+ "'get onmouseout' called on an object that is not a valid instance of Document."
2900
+ );
2901
+ }
2902
+
2903
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseout"]);
2904
+ }
2905
+
2906
+ set onmouseout(V) {
2907
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2908
+
2909
+ if (!exports.is(esValue)) {
2910
+ throw new globalObject.TypeError(
2911
+ "'set onmouseout' called on an object that is not a valid instance of Document."
2912
+ );
2913
+ }
2914
+
2915
+ if (!utils.isObject(V)) {
2916
+ V = null;
2917
+ } else {
2918
+ V = EventHandlerNonNull.convert(globalObject, V, {
2919
+ context: "Failed to set the 'onmouseout' property on 'Document': The provided value"
2920
+ });
2921
+ }
2922
+ esValue[implSymbol]["onmouseout"] = V;
2923
+ }
2924
+
2925
+ get onmouseover() {
2926
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2927
+
2928
+ if (!exports.is(esValue)) {
2929
+ throw new globalObject.TypeError(
2930
+ "'get onmouseover' called on an object that is not a valid instance of Document."
2931
+ );
2932
+ }
2933
+
2934
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseover"]);
2935
+ }
2936
+
2937
+ set onmouseover(V) {
2938
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2939
+
2940
+ if (!exports.is(esValue)) {
2941
+ throw new globalObject.TypeError(
2942
+ "'set onmouseover' called on an object that is not a valid instance of Document."
2943
+ );
2944
+ }
2945
+
2946
+ if (!utils.isObject(V)) {
2947
+ V = null;
2948
+ } else {
2949
+ V = EventHandlerNonNull.convert(globalObject, V, {
2950
+ context: "Failed to set the 'onmouseover' property on 'Document': The provided value"
2951
+ });
2952
+ }
2953
+ esValue[implSymbol]["onmouseover"] = V;
2954
+ }
2955
+
2956
+ get onmouseup() {
2957
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2958
+
2959
+ if (!exports.is(esValue)) {
2960
+ throw new globalObject.TypeError(
2961
+ "'get onmouseup' called on an object that is not a valid instance of Document."
2962
+ );
2963
+ }
2964
+
2965
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseup"]);
2966
+ }
2967
+
2968
+ set onmouseup(V) {
2969
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2970
+
2971
+ if (!exports.is(esValue)) {
2972
+ throw new globalObject.TypeError(
2973
+ "'set onmouseup' called on an object that is not a valid instance of Document."
2974
+ );
2975
+ }
2976
+
2977
+ if (!utils.isObject(V)) {
2978
+ V = null;
2979
+ } else {
2980
+ V = EventHandlerNonNull.convert(globalObject, V, {
2981
+ context: "Failed to set the 'onmouseup' property on 'Document': The provided value"
2982
+ });
2983
+ }
2984
+ esValue[implSymbol]["onmouseup"] = V;
2985
+ }
2986
+
2987
+ get onpaste() {
2988
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2989
+
2990
+ if (!exports.is(esValue)) {
2991
+ throw new globalObject.TypeError("'get onpaste' called on an object that is not a valid instance of Document.");
2992
+ }
2993
+
2994
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpaste"]);
2995
+ }
2996
+
2997
+ set onpaste(V) {
2998
+ const esValue = this !== null && this !== undefined ? this : globalObject;
2999
+
3000
+ if (!exports.is(esValue)) {
3001
+ throw new globalObject.TypeError("'set onpaste' called on an object that is not a valid instance of Document.");
3002
+ }
3003
+
3004
+ if (!utils.isObject(V)) {
3005
+ V = null;
3006
+ } else {
3007
+ V = EventHandlerNonNull.convert(globalObject, V, {
3008
+ context: "Failed to set the 'onpaste' property on 'Document': The provided value"
3009
+ });
3010
+ }
3011
+ esValue[implSymbol]["onpaste"] = V;
3012
+ }
3013
+
3014
+ get onpause() {
3015
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3016
+
3017
+ if (!exports.is(esValue)) {
3018
+ throw new globalObject.TypeError("'get onpause' called on an object that is not a valid instance of Document.");
3019
+ }
3020
+
3021
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpause"]);
3022
+ }
3023
+
3024
+ set onpause(V) {
3025
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3026
+
3027
+ if (!exports.is(esValue)) {
3028
+ throw new globalObject.TypeError("'set onpause' called on an object that is not a valid instance of Document.");
3029
+ }
3030
+
3031
+ if (!utils.isObject(V)) {
3032
+ V = null;
3033
+ } else {
3034
+ V = EventHandlerNonNull.convert(globalObject, V, {
3035
+ context: "Failed to set the 'onpause' property on 'Document': The provided value"
3036
+ });
3037
+ }
3038
+ esValue[implSymbol]["onpause"] = V;
3039
+ }
3040
+
3041
+ get onplay() {
3042
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3043
+
3044
+ if (!exports.is(esValue)) {
3045
+ throw new globalObject.TypeError("'get onplay' called on an object that is not a valid instance of Document.");
3046
+ }
3047
+
3048
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onplay"]);
3049
+ }
3050
+
3051
+ set onplay(V) {
3052
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3053
+
3054
+ if (!exports.is(esValue)) {
3055
+ throw new globalObject.TypeError("'set onplay' called on an object that is not a valid instance of Document.");
3056
+ }
3057
+
3058
+ if (!utils.isObject(V)) {
3059
+ V = null;
3060
+ } else {
3061
+ V = EventHandlerNonNull.convert(globalObject, V, {
3062
+ context: "Failed to set the 'onplay' property on 'Document': The provided value"
3063
+ });
3064
+ }
3065
+ esValue[implSymbol]["onplay"] = V;
3066
+ }
3067
+
3068
+ get onplaying() {
3069
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3070
+
3071
+ if (!exports.is(esValue)) {
3072
+ throw new globalObject.TypeError(
3073
+ "'get onplaying' called on an object that is not a valid instance of Document."
3074
+ );
3075
+ }
3076
+
3077
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onplaying"]);
3078
+ }
3079
+
3080
+ set onplaying(V) {
3081
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3082
+
3083
+ if (!exports.is(esValue)) {
3084
+ throw new globalObject.TypeError(
3085
+ "'set onplaying' called on an object that is not a valid instance of Document."
3086
+ );
3087
+ }
3088
+
3089
+ if (!utils.isObject(V)) {
3090
+ V = null;
3091
+ } else {
3092
+ V = EventHandlerNonNull.convert(globalObject, V, {
3093
+ context: "Failed to set the 'onplaying' property on 'Document': The provided value"
3094
+ });
3095
+ }
3096
+ esValue[implSymbol]["onplaying"] = V;
3097
+ }
3098
+
3099
+ get onprogress() {
3100
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3101
+
3102
+ if (!exports.is(esValue)) {
3103
+ throw new globalObject.TypeError(
3104
+ "'get onprogress' called on an object that is not a valid instance of Document."
3105
+ );
3106
+ }
3107
+
3108
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"]);
3109
+ }
3110
+
3111
+ set onprogress(V) {
3112
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3113
+
3114
+ if (!exports.is(esValue)) {
3115
+ throw new globalObject.TypeError(
3116
+ "'set onprogress' called on an object that is not a valid instance of Document."
3117
+ );
3118
+ }
3119
+
3120
+ if (!utils.isObject(V)) {
3121
+ V = null;
3122
+ } else {
3123
+ V = EventHandlerNonNull.convert(globalObject, V, {
3124
+ context: "Failed to set the 'onprogress' property on 'Document': The provided value"
3125
+ });
3126
+ }
3127
+ esValue[implSymbol]["onprogress"] = V;
3128
+ }
3129
+
3130
+ get onratechange() {
3131
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3132
+
3133
+ if (!exports.is(esValue)) {
3134
+ throw new globalObject.TypeError(
3135
+ "'get onratechange' called on an object that is not a valid instance of Document."
3136
+ );
3137
+ }
3138
+
3139
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onratechange"]);
3140
+ }
3141
+
3142
+ set onratechange(V) {
3143
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3144
+
3145
+ if (!exports.is(esValue)) {
3146
+ throw new globalObject.TypeError(
3147
+ "'set onratechange' called on an object that is not a valid instance of Document."
3148
+ );
3149
+ }
3150
+
3151
+ if (!utils.isObject(V)) {
3152
+ V = null;
3153
+ } else {
3154
+ V = EventHandlerNonNull.convert(globalObject, V, {
3155
+ context: "Failed to set the 'onratechange' property on 'Document': The provided value"
3156
+ });
3157
+ }
3158
+ esValue[implSymbol]["onratechange"] = V;
3159
+ }
3160
+
3161
+ get onreset() {
3162
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3163
+
3164
+ if (!exports.is(esValue)) {
3165
+ throw new globalObject.TypeError("'get onreset' called on an object that is not a valid instance of Document.");
3166
+ }
3167
+
3168
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onreset"]);
3169
+ }
3170
+
3171
+ set onreset(V) {
3172
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3173
+
3174
+ if (!exports.is(esValue)) {
3175
+ throw new globalObject.TypeError("'set onreset' called on an object that is not a valid instance of Document.");
3176
+ }
3177
+
3178
+ if (!utils.isObject(V)) {
3179
+ V = null;
3180
+ } else {
3181
+ V = EventHandlerNonNull.convert(globalObject, V, {
3182
+ context: "Failed to set the 'onreset' property on 'Document': The provided value"
3183
+ });
3184
+ }
3185
+ esValue[implSymbol]["onreset"] = V;
3186
+ }
3187
+
3188
+ get onresize() {
3189
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3190
+
3191
+ if (!exports.is(esValue)) {
3192
+ throw new globalObject.TypeError(
3193
+ "'get onresize' called on an object that is not a valid instance of Document."
3194
+ );
3195
+ }
3196
+
3197
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onresize"]);
3198
+ }
3199
+
3200
+ set onresize(V) {
3201
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3202
+
3203
+ if (!exports.is(esValue)) {
3204
+ throw new globalObject.TypeError(
3205
+ "'set onresize' called on an object that is not a valid instance of Document."
3206
+ );
3207
+ }
3208
+
3209
+ if (!utils.isObject(V)) {
3210
+ V = null;
3211
+ } else {
3212
+ V = EventHandlerNonNull.convert(globalObject, V, {
3213
+ context: "Failed to set the 'onresize' property on 'Document': The provided value"
3214
+ });
3215
+ }
3216
+ esValue[implSymbol]["onresize"] = V;
3217
+ }
3218
+
3219
+ get onscroll() {
3220
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3221
+
3222
+ if (!exports.is(esValue)) {
3223
+ throw new globalObject.TypeError(
3224
+ "'get onscroll' called on an object that is not a valid instance of Document."
3225
+ );
3226
+ }
3227
+
3228
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onscroll"]);
3229
+ }
3230
+
3231
+ set onscroll(V) {
3232
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3233
+
3234
+ if (!exports.is(esValue)) {
3235
+ throw new globalObject.TypeError(
3236
+ "'set onscroll' called on an object that is not a valid instance of Document."
3237
+ );
3238
+ }
3239
+
3240
+ if (!utils.isObject(V)) {
3241
+ V = null;
3242
+ } else {
3243
+ V = EventHandlerNonNull.convert(globalObject, V, {
3244
+ context: "Failed to set the 'onscroll' property on 'Document': The provided value"
3245
+ });
3246
+ }
3247
+ esValue[implSymbol]["onscroll"] = V;
3248
+ }
3249
+
3250
+ get onscrollend() {
3251
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3252
+
3253
+ if (!exports.is(esValue)) {
3254
+ throw new globalObject.TypeError(
3255
+ "'get onscrollend' called on an object that is not a valid instance of Document."
3256
+ );
3257
+ }
3258
+
3259
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onscrollend"]);
3260
+ }
3261
+
3262
+ set onscrollend(V) {
3263
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3264
+
3265
+ if (!exports.is(esValue)) {
3266
+ throw new globalObject.TypeError(
3267
+ "'set onscrollend' called on an object that is not a valid instance of Document."
3268
+ );
3269
+ }
3270
+
3271
+ if (!utils.isObject(V)) {
3272
+ V = null;
3273
+ } else {
3274
+ V = EventHandlerNonNull.convert(globalObject, V, {
3275
+ context: "Failed to set the 'onscrollend' property on 'Document': The provided value"
3276
+ });
3277
+ }
3278
+ esValue[implSymbol]["onscrollend"] = V;
3279
+ }
3280
+
3281
+ get onsecuritypolicyviolation() {
3282
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3283
+
3284
+ if (!exports.is(esValue)) {
3285
+ throw new globalObject.TypeError(
3286
+ "'get onsecuritypolicyviolation' called on an object that is not a valid instance of Document."
3287
+ );
3288
+ }
3289
+
3290
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onsecuritypolicyviolation"]);
3291
+ }
3292
+
3293
+ set onsecuritypolicyviolation(V) {
3294
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3295
+
3296
+ if (!exports.is(esValue)) {
3297
+ throw new globalObject.TypeError(
3298
+ "'set onsecuritypolicyviolation' called on an object that is not a valid instance of Document."
3299
+ );
3300
+ }
3301
+
3302
+ if (!utils.isObject(V)) {
3303
+ V = null;
3304
+ } else {
3305
+ V = EventHandlerNonNull.convert(globalObject, V, {
3306
+ context: "Failed to set the 'onsecuritypolicyviolation' property on 'Document': The provided value"
3307
+ });
3308
+ }
3309
+ esValue[implSymbol]["onsecuritypolicyviolation"] = V;
3310
+ }
3311
+
3312
+ get onseeked() {
3313
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3314
+
3315
+ if (!exports.is(esValue)) {
3316
+ throw new globalObject.TypeError(
3317
+ "'get onseeked' called on an object that is not a valid instance of Document."
3318
+ );
3319
+ }
3320
+
3321
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onseeked"]);
3322
+ }
3323
+
3324
+ set onseeked(V) {
3325
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3326
+
3327
+ if (!exports.is(esValue)) {
3328
+ throw new globalObject.TypeError(
3329
+ "'set onseeked' called on an object that is not a valid instance of Document."
3330
+ );
3331
+ }
3332
+
3333
+ if (!utils.isObject(V)) {
3334
+ V = null;
3335
+ } else {
3336
+ V = EventHandlerNonNull.convert(globalObject, V, {
3337
+ context: "Failed to set the 'onseeked' property on 'Document': The provided value"
3338
+ });
3339
+ }
3340
+ esValue[implSymbol]["onseeked"] = V;
3341
+ }
3342
+
3343
+ get onseeking() {
3344
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3345
+
3346
+ if (!exports.is(esValue)) {
3347
+ throw new globalObject.TypeError(
3348
+ "'get onseeking' called on an object that is not a valid instance of Document."
3349
+ );
3350
+ }
3351
+
3352
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onseeking"]);
3353
+ }
3354
+
3355
+ set onseeking(V) {
3356
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3357
+
3358
+ if (!exports.is(esValue)) {
3359
+ throw new globalObject.TypeError(
3360
+ "'set onseeking' called on an object that is not a valid instance of Document."
3361
+ );
3362
+ }
3363
+
3364
+ if (!utils.isObject(V)) {
3365
+ V = null;
3366
+ } else {
3367
+ V = EventHandlerNonNull.convert(globalObject, V, {
3368
+ context: "Failed to set the 'onseeking' property on 'Document': The provided value"
3369
+ });
3370
+ }
3371
+ esValue[implSymbol]["onseeking"] = V;
3372
+ }
3373
+
3374
+ get onselect() {
3375
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3376
+
3377
+ if (!exports.is(esValue)) {
3378
+ throw new globalObject.TypeError(
3379
+ "'get onselect' called on an object that is not a valid instance of Document."
3380
+ );
3381
+ }
3382
+
3383
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onselect"]);
3384
+ }
3385
+
3386
+ set onselect(V) {
3387
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3388
+
3389
+ if (!exports.is(esValue)) {
3390
+ throw new globalObject.TypeError(
3391
+ "'set onselect' called on an object that is not a valid instance of Document."
3392
+ );
3393
+ }
3394
+
3395
+ if (!utils.isObject(V)) {
3396
+ V = null;
3397
+ } else {
3398
+ V = EventHandlerNonNull.convert(globalObject, V, {
3399
+ context: "Failed to set the 'onselect' property on 'Document': The provided value"
3400
+ });
3401
+ }
3402
+ esValue[implSymbol]["onselect"] = V;
3403
+ }
3404
+
3405
+ get onslotchange() {
3406
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3407
+
3408
+ if (!exports.is(esValue)) {
3409
+ throw new globalObject.TypeError(
3410
+ "'get onslotchange' called on an object that is not a valid instance of Document."
3411
+ );
3412
+ }
3413
+
3414
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onslotchange"]);
3415
+ }
3416
+
3417
+ set onslotchange(V) {
3418
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3419
+
3420
+ if (!exports.is(esValue)) {
3421
+ throw new globalObject.TypeError(
3422
+ "'set onslotchange' called on an object that is not a valid instance of Document."
3423
+ );
3424
+ }
3425
+
3426
+ if (!utils.isObject(V)) {
3427
+ V = null;
3428
+ } else {
3429
+ V = EventHandlerNonNull.convert(globalObject, V, {
3430
+ context: "Failed to set the 'onslotchange' property on 'Document': The provided value"
3431
+ });
3432
+ }
3433
+ esValue[implSymbol]["onslotchange"] = V;
3434
+ }
3435
+
3436
+ get onstalled() {
3437
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3438
+
3439
+ if (!exports.is(esValue)) {
3440
+ throw new globalObject.TypeError(
3441
+ "'get onstalled' called on an object that is not a valid instance of Document."
3442
+ );
3443
+ }
3444
+
3445
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onstalled"]);
3446
+ }
3447
+
3448
+ set onstalled(V) {
3449
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3450
+
3451
+ if (!exports.is(esValue)) {
3452
+ throw new globalObject.TypeError(
3453
+ "'set onstalled' called on an object that is not a valid instance of Document."
3454
+ );
3455
+ }
3456
+
3457
+ if (!utils.isObject(V)) {
3458
+ V = null;
3459
+ } else {
3460
+ V = EventHandlerNonNull.convert(globalObject, V, {
3461
+ context: "Failed to set the 'onstalled' property on 'Document': The provided value"
3462
+ });
3463
+ }
3464
+ esValue[implSymbol]["onstalled"] = V;
3465
+ }
3466
+
3467
+ get onsubmit() {
3468
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3469
+
3470
+ if (!exports.is(esValue)) {
3471
+ throw new globalObject.TypeError(
3472
+ "'get onsubmit' called on an object that is not a valid instance of Document."
3473
+ );
3474
+ }
3475
+
3476
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onsubmit"]);
3477
+ }
3478
+
3479
+ set onsubmit(V) {
3480
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3481
+
3482
+ if (!exports.is(esValue)) {
3483
+ throw new globalObject.TypeError(
3484
+ "'set onsubmit' called on an object that is not a valid instance of Document."
3485
+ );
3486
+ }
3487
+
3488
+ if (!utils.isObject(V)) {
3489
+ V = null;
3490
+ } else {
3491
+ V = EventHandlerNonNull.convert(globalObject, V, {
3492
+ context: "Failed to set the 'onsubmit' property on 'Document': The provided value"
3493
+ });
3494
+ }
3495
+ esValue[implSymbol]["onsubmit"] = V;
3496
+ }
3497
+
3498
+ get onsuspend() {
3499
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3500
+
3501
+ if (!exports.is(esValue)) {
3502
+ throw new globalObject.TypeError(
3503
+ "'get onsuspend' called on an object that is not a valid instance of Document."
3504
+ );
3505
+ }
3506
+
3507
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onsuspend"]);
3508
+ }
3509
+
3510
+ set onsuspend(V) {
3511
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3512
+
3513
+ if (!exports.is(esValue)) {
3514
+ throw new globalObject.TypeError(
3515
+ "'set onsuspend' called on an object that is not a valid instance of Document."
3516
+ );
3517
+ }
3518
+
3519
+ if (!utils.isObject(V)) {
3520
+ V = null;
3521
+ } else {
3522
+ V = EventHandlerNonNull.convert(globalObject, V, {
3523
+ context: "Failed to set the 'onsuspend' property on 'Document': The provided value"
3524
+ });
3525
+ }
3526
+ esValue[implSymbol]["onsuspend"] = V;
3527
+ }
3528
+
3529
+ get ontimeupdate() {
3530
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3531
+
3532
+ if (!exports.is(esValue)) {
3533
+ throw new globalObject.TypeError(
3534
+ "'get ontimeupdate' called on an object that is not a valid instance of Document."
3535
+ );
3536
+ }
3537
+
3538
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontimeupdate"]);
3539
+ }
3540
+
3541
+ set ontimeupdate(V) {
3542
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3543
+
3544
+ if (!exports.is(esValue)) {
3545
+ throw new globalObject.TypeError(
3546
+ "'set ontimeupdate' called on an object that is not a valid instance of Document."
3547
+ );
3548
+ }
3549
+
3550
+ if (!utils.isObject(V)) {
3551
+ V = null;
3552
+ } else {
3553
+ V = EventHandlerNonNull.convert(globalObject, V, {
3554
+ context: "Failed to set the 'ontimeupdate' property on 'Document': The provided value"
3555
+ });
3556
+ }
3557
+ esValue[implSymbol]["ontimeupdate"] = V;
3558
+ }
3559
+
3560
+ get ontoggle() {
3561
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3562
+
3563
+ if (!exports.is(esValue)) {
3564
+ throw new globalObject.TypeError(
3565
+ "'get ontoggle' called on an object that is not a valid instance of Document."
3566
+ );
3567
+ }
3568
+
3569
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontoggle"]);
3570
+ }
3571
+
3572
+ set ontoggle(V) {
3573
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3574
+
3575
+ if (!exports.is(esValue)) {
3576
+ throw new globalObject.TypeError(
3577
+ "'set ontoggle' called on an object that is not a valid instance of Document."
3578
+ );
3579
+ }
3580
+
3581
+ if (!utils.isObject(V)) {
3582
+ V = null;
3583
+ } else {
3584
+ V = EventHandlerNonNull.convert(globalObject, V, {
3585
+ context: "Failed to set the 'ontoggle' property on 'Document': The provided value"
3586
+ });
3587
+ }
3588
+ esValue[implSymbol]["ontoggle"] = V;
3589
+ }
3590
+
3591
+ get onvolumechange() {
3592
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3593
+
3594
+ if (!exports.is(esValue)) {
3595
+ throw new globalObject.TypeError(
3596
+ "'get onvolumechange' called on an object that is not a valid instance of Document."
3597
+ );
3598
+ }
3599
+
3600
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onvolumechange"]);
3601
+ }
3602
+
3603
+ set onvolumechange(V) {
3604
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3605
+
3606
+ if (!exports.is(esValue)) {
3607
+ throw new globalObject.TypeError(
3608
+ "'set onvolumechange' called on an object that is not a valid instance of Document."
3609
+ );
3610
+ }
3611
+
3612
+ if (!utils.isObject(V)) {
3613
+ V = null;
3614
+ } else {
3615
+ V = EventHandlerNonNull.convert(globalObject, V, {
3616
+ context: "Failed to set the 'onvolumechange' property on 'Document': The provided value"
3617
+ });
3618
+ }
3619
+ esValue[implSymbol]["onvolumechange"] = V;
3620
+ }
3621
+
3622
+ get onwaiting() {
3623
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3624
+
3625
+ if (!exports.is(esValue)) {
3626
+ throw new globalObject.TypeError(
3627
+ "'get onwaiting' called on an object that is not a valid instance of Document."
3628
+ );
3629
+ }
3630
+
3631
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwaiting"]);
3632
+ }
3633
+
3634
+ set onwaiting(V) {
3635
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3636
+
3637
+ if (!exports.is(esValue)) {
3638
+ throw new globalObject.TypeError(
3639
+ "'set onwaiting' called on an object that is not a valid instance of Document."
3640
+ );
3641
+ }
3642
+
3643
+ if (!utils.isObject(V)) {
3644
+ V = null;
3645
+ } else {
3646
+ V = EventHandlerNonNull.convert(globalObject, V, {
3647
+ context: "Failed to set the 'onwaiting' property on 'Document': The provided value"
3648
+ });
3649
+ }
3650
+ esValue[implSymbol]["onwaiting"] = V;
3651
+ }
3652
+
3653
+ get onwebkitanimationend() {
3654
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3655
+
3656
+ if (!exports.is(esValue)) {
3657
+ throw new globalObject.TypeError(
3658
+ "'get onwebkitanimationend' called on an object that is not a valid instance of Document."
3659
+ );
3660
+ }
3661
+
3662
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwebkitanimationend"]);
3663
+ }
3664
+
3665
+ set onwebkitanimationend(V) {
3666
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3667
+
3668
+ if (!exports.is(esValue)) {
3669
+ throw new globalObject.TypeError(
3670
+ "'set onwebkitanimationend' called on an object that is not a valid instance of Document."
3671
+ );
3672
+ }
3673
+
3674
+ if (!utils.isObject(V)) {
3675
+ V = null;
3676
+ } else {
3677
+ V = EventHandlerNonNull.convert(globalObject, V, {
3678
+ context: "Failed to set the 'onwebkitanimationend' property on 'Document': The provided value"
3679
+ });
3680
+ }
3681
+ esValue[implSymbol]["onwebkitanimationend"] = V;
3682
+ }
3683
+
3684
+ get onwebkitanimationiteration() {
3685
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3686
+
3687
+ if (!exports.is(esValue)) {
3688
+ throw new globalObject.TypeError(
3689
+ "'get onwebkitanimationiteration' called on an object that is not a valid instance of Document."
3690
+ );
3691
+ }
3692
+
3693
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwebkitanimationiteration"]);
3694
+ }
3695
+
3696
+ set onwebkitanimationiteration(V) {
3697
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3698
+
3699
+ if (!exports.is(esValue)) {
3700
+ throw new globalObject.TypeError(
3701
+ "'set onwebkitanimationiteration' called on an object that is not a valid instance of Document."
3702
+ );
3703
+ }
3704
+
3705
+ if (!utils.isObject(V)) {
3706
+ V = null;
3707
+ } else {
3708
+ V = EventHandlerNonNull.convert(globalObject, V, {
3709
+ context: "Failed to set the 'onwebkitanimationiteration' property on 'Document': The provided value"
3710
+ });
3711
+ }
3712
+ esValue[implSymbol]["onwebkitanimationiteration"] = V;
3713
+ }
3714
+
3715
+ get onwebkitanimationstart() {
3716
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3717
+
3718
+ if (!exports.is(esValue)) {
3719
+ throw new globalObject.TypeError(
3720
+ "'get onwebkitanimationstart' called on an object that is not a valid instance of Document."
3721
+ );
3722
+ }
3723
+
3724
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwebkitanimationstart"]);
3725
+ }
3726
+
3727
+ set onwebkitanimationstart(V) {
3728
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3729
+
3730
+ if (!exports.is(esValue)) {
3731
+ throw new globalObject.TypeError(
3732
+ "'set onwebkitanimationstart' called on an object that is not a valid instance of Document."
3733
+ );
3734
+ }
3735
+
3736
+ if (!utils.isObject(V)) {
3737
+ V = null;
3738
+ } else {
3739
+ V = EventHandlerNonNull.convert(globalObject, V, {
3740
+ context: "Failed to set the 'onwebkitanimationstart' property on 'Document': The provided value"
3741
+ });
3742
+ }
3743
+ esValue[implSymbol]["onwebkitanimationstart"] = V;
3744
+ }
3745
+
3746
+ get onwebkittransitionend() {
3747
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3748
+
3749
+ if (!exports.is(esValue)) {
3750
+ throw new globalObject.TypeError(
3751
+ "'get onwebkittransitionend' called on an object that is not a valid instance of Document."
3752
+ );
3753
+ }
3754
+
3755
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwebkittransitionend"]);
3756
+ }
3757
+
3758
+ set onwebkittransitionend(V) {
3759
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3760
+
3761
+ if (!exports.is(esValue)) {
3762
+ throw new globalObject.TypeError(
3763
+ "'set onwebkittransitionend' called on an object that is not a valid instance of Document."
3764
+ );
3765
+ }
3766
+
3767
+ if (!utils.isObject(V)) {
3768
+ V = null;
3769
+ } else {
3770
+ V = EventHandlerNonNull.convert(globalObject, V, {
3771
+ context: "Failed to set the 'onwebkittransitionend' property on 'Document': The provided value"
3772
+ });
3773
+ }
3774
+ esValue[implSymbol]["onwebkittransitionend"] = V;
3775
+ }
3776
+
3777
+ get onwheel() {
3778
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3779
+
3780
+ if (!exports.is(esValue)) {
3781
+ throw new globalObject.TypeError("'get onwheel' called on an object that is not a valid instance of Document.");
3782
+ }
3783
+
3784
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onwheel"]);
3785
+ }
3786
+
3787
+ set onwheel(V) {
3788
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3789
+
3790
+ if (!exports.is(esValue)) {
3791
+ throw new globalObject.TypeError("'set onwheel' called on an object that is not a valid instance of Document.");
3792
+ }
3793
+
3794
+ if (!utils.isObject(V)) {
3795
+ V = null;
3796
+ } else {
3797
+ V = EventHandlerNonNull.convert(globalObject, V, {
3798
+ context: "Failed to set the 'onwheel' property on 'Document': The provided value"
3799
+ });
3800
+ }
3801
+ esValue[implSymbol]["onwheel"] = V;
3802
+ }
3803
+
3804
+ get ontouchstart() {
3805
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3806
+
3807
+ if (!exports.is(esValue)) {
3808
+ throw new globalObject.TypeError(
3809
+ "'get ontouchstart' called on an object that is not a valid instance of Document."
3810
+ );
3811
+ }
3812
+
3813
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontouchstart"]);
3814
+ }
3815
+
3816
+ set ontouchstart(V) {
3817
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3818
+
3819
+ if (!exports.is(esValue)) {
3820
+ throw new globalObject.TypeError(
3821
+ "'set ontouchstart' called on an object that is not a valid instance of Document."
3822
+ );
3823
+ }
3824
+
3825
+ if (!utils.isObject(V)) {
3826
+ V = null;
3827
+ } else {
3828
+ V = EventHandlerNonNull.convert(globalObject, V, {
3829
+ context: "Failed to set the 'ontouchstart' property on 'Document': The provided value"
3830
+ });
3831
+ }
3832
+ esValue[implSymbol]["ontouchstart"] = V;
3833
+ }
3834
+
3835
+ get ontouchend() {
3836
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3837
+
3838
+ if (!exports.is(esValue)) {
3839
+ throw new globalObject.TypeError(
3840
+ "'get ontouchend' called on an object that is not a valid instance of Document."
3841
+ );
3842
+ }
3843
+
3844
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontouchend"]);
3845
+ }
3846
+
3847
+ set ontouchend(V) {
3848
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3849
+
3850
+ if (!exports.is(esValue)) {
3851
+ throw new globalObject.TypeError(
3852
+ "'set ontouchend' called on an object that is not a valid instance of Document."
3853
+ );
3854
+ }
3855
+
3856
+ if (!utils.isObject(V)) {
3857
+ V = null;
3858
+ } else {
3859
+ V = EventHandlerNonNull.convert(globalObject, V, {
3860
+ context: "Failed to set the 'ontouchend' property on 'Document': The provided value"
3861
+ });
3862
+ }
3863
+ esValue[implSymbol]["ontouchend"] = V;
3864
+ }
3865
+
3866
+ get ontouchmove() {
3867
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3868
+
3869
+ if (!exports.is(esValue)) {
3870
+ throw new globalObject.TypeError(
3871
+ "'get ontouchmove' called on an object that is not a valid instance of Document."
3872
+ );
3873
+ }
3874
+
3875
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontouchmove"]);
3876
+ }
3877
+
3878
+ set ontouchmove(V) {
3879
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3880
+
3881
+ if (!exports.is(esValue)) {
3882
+ throw new globalObject.TypeError(
3883
+ "'set ontouchmove' called on an object that is not a valid instance of Document."
3884
+ );
3885
+ }
3886
+
3887
+ if (!utils.isObject(V)) {
3888
+ V = null;
3889
+ } else {
3890
+ V = EventHandlerNonNull.convert(globalObject, V, {
3891
+ context: "Failed to set the 'ontouchmove' property on 'Document': The provided value"
3892
+ });
3893
+ }
3894
+ esValue[implSymbol]["ontouchmove"] = V;
3895
+ }
3896
+
3897
+ get ontouchcancel() {
3898
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3899
+
3900
+ if (!exports.is(esValue)) {
3901
+ throw new globalObject.TypeError(
3902
+ "'get ontouchcancel' called on an object that is not a valid instance of Document."
3903
+ );
3904
+ }
3905
+
3906
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ontouchcancel"]);
3907
+ }
3908
+
3909
+ set ontouchcancel(V) {
3910
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3911
+
3912
+ if (!exports.is(esValue)) {
3913
+ throw new globalObject.TypeError(
3914
+ "'set ontouchcancel' called on an object that is not a valid instance of Document."
3915
+ );
3916
+ }
3917
+
3918
+ if (!utils.isObject(V)) {
3919
+ V = null;
3920
+ } else {
3921
+ V = EventHandlerNonNull.convert(globalObject, V, {
3922
+ context: "Failed to set the 'ontouchcancel' property on 'Document': The provided value"
3923
+ });
3924
+ }
3925
+ esValue[implSymbol]["ontouchcancel"] = V;
3926
+ }
3927
+
3928
+ get onpointerover() {
3929
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3930
+
3931
+ if (!exports.is(esValue)) {
3932
+ throw new globalObject.TypeError(
3933
+ "'get onpointerover' called on an object that is not a valid instance of Document."
3934
+ );
3935
+ }
3936
+
3937
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerover"]);
3938
+ }
3939
+
3940
+ set onpointerover(V) {
3941
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3942
+
3943
+ if (!exports.is(esValue)) {
3944
+ throw new globalObject.TypeError(
3945
+ "'set onpointerover' called on an object that is not a valid instance of Document."
3946
+ );
3947
+ }
3948
+
3949
+ if (!utils.isObject(V)) {
3950
+ V = null;
3951
+ } else {
3952
+ V = EventHandlerNonNull.convert(globalObject, V, {
3953
+ context: "Failed to set the 'onpointerover' property on 'Document': The provided value"
3954
+ });
3955
+ }
3956
+ esValue[implSymbol]["onpointerover"] = V;
3957
+ }
3958
+
3959
+ get onpointerenter() {
3960
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3961
+
3962
+ if (!exports.is(esValue)) {
3963
+ throw new globalObject.TypeError(
3964
+ "'get onpointerenter' called on an object that is not a valid instance of Document."
3965
+ );
3966
+ }
3967
+
3968
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerenter"]);
3969
+ }
3970
+
3971
+ set onpointerenter(V) {
3972
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3973
+
3974
+ if (!exports.is(esValue)) {
3975
+ throw new globalObject.TypeError(
3976
+ "'set onpointerenter' called on an object that is not a valid instance of Document."
3977
+ );
3978
+ }
3979
+
3980
+ if (!utils.isObject(V)) {
3981
+ V = null;
3982
+ } else {
3983
+ V = EventHandlerNonNull.convert(globalObject, V, {
3984
+ context: "Failed to set the 'onpointerenter' property on 'Document': The provided value"
3985
+ });
3986
+ }
3987
+ esValue[implSymbol]["onpointerenter"] = V;
3988
+ }
3989
+
3990
+ get onpointerdown() {
3991
+ const esValue = this !== null && this !== undefined ? this : globalObject;
3992
+
3993
+ if (!exports.is(esValue)) {
3994
+ throw new globalObject.TypeError(
3995
+ "'get onpointerdown' called on an object that is not a valid instance of Document."
3996
+ );
3997
+ }
3998
+
3999
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerdown"]);
4000
+ }
4001
+
4002
+ set onpointerdown(V) {
4003
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4004
+
4005
+ if (!exports.is(esValue)) {
4006
+ throw new globalObject.TypeError(
4007
+ "'set onpointerdown' called on an object that is not a valid instance of Document."
4008
+ );
4009
+ }
4010
+
4011
+ if (!utils.isObject(V)) {
4012
+ V = null;
4013
+ } else {
4014
+ V = EventHandlerNonNull.convert(globalObject, V, {
4015
+ context: "Failed to set the 'onpointerdown' property on 'Document': The provided value"
4016
+ });
4017
+ }
4018
+ esValue[implSymbol]["onpointerdown"] = V;
4019
+ }
4020
+
4021
+ get onpointermove() {
4022
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4023
+
4024
+ if (!exports.is(esValue)) {
4025
+ throw new globalObject.TypeError(
4026
+ "'get onpointermove' called on an object that is not a valid instance of Document."
4027
+ );
4028
+ }
4029
+
4030
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointermove"]);
4031
+ }
4032
+
4033
+ set onpointermove(V) {
4034
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4035
+
4036
+ if (!exports.is(esValue)) {
4037
+ throw new globalObject.TypeError(
4038
+ "'set onpointermove' called on an object that is not a valid instance of Document."
4039
+ );
4040
+ }
4041
+
4042
+ if (!utils.isObject(V)) {
4043
+ V = null;
4044
+ } else {
4045
+ V = EventHandlerNonNull.convert(globalObject, V, {
4046
+ context: "Failed to set the 'onpointermove' property on 'Document': The provided value"
4047
+ });
4048
+ }
4049
+ esValue[implSymbol]["onpointermove"] = V;
4050
+ }
4051
+
4052
+ get onpointerrawupdate() {
4053
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4054
+
4055
+ if (!exports.is(esValue)) {
4056
+ throw new globalObject.TypeError(
4057
+ "'get onpointerrawupdate' called on an object that is not a valid instance of Document."
4058
+ );
4059
+ }
4060
+
4061
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerrawupdate"]);
4062
+ }
4063
+
4064
+ set onpointerrawupdate(V) {
4065
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4066
+
4067
+ if (!exports.is(esValue)) {
4068
+ throw new globalObject.TypeError(
4069
+ "'set onpointerrawupdate' called on an object that is not a valid instance of Document."
4070
+ );
4071
+ }
4072
+
4073
+ if (!utils.isObject(V)) {
4074
+ V = null;
4075
+ } else {
4076
+ V = EventHandlerNonNull.convert(globalObject, V, {
4077
+ context: "Failed to set the 'onpointerrawupdate' property on 'Document': The provided value"
4078
+ });
4079
+ }
4080
+ esValue[implSymbol]["onpointerrawupdate"] = V;
4081
+ }
4082
+
4083
+ get onpointerup() {
4084
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4085
+
4086
+ if (!exports.is(esValue)) {
4087
+ throw new globalObject.TypeError(
4088
+ "'get onpointerup' called on an object that is not a valid instance of Document."
4089
+ );
4090
+ }
4091
+
4092
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerup"]);
4093
+ }
4094
+
4095
+ set onpointerup(V) {
4096
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4097
+
4098
+ if (!exports.is(esValue)) {
4099
+ throw new globalObject.TypeError(
4100
+ "'set onpointerup' called on an object that is not a valid instance of Document."
4101
+ );
4102
+ }
4103
+
4104
+ if (!utils.isObject(V)) {
4105
+ V = null;
4106
+ } else {
4107
+ V = EventHandlerNonNull.convert(globalObject, V, {
4108
+ context: "Failed to set the 'onpointerup' property on 'Document': The provided value"
4109
+ });
4110
+ }
4111
+ esValue[implSymbol]["onpointerup"] = V;
4112
+ }
4113
+
4114
+ get onpointercancel() {
4115
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4116
+
4117
+ if (!exports.is(esValue)) {
4118
+ throw new globalObject.TypeError(
4119
+ "'get onpointercancel' called on an object that is not a valid instance of Document."
4120
+ );
4121
+ }
4122
+
4123
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointercancel"]);
4124
+ }
4125
+
4126
+ set onpointercancel(V) {
4127
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4128
+
4129
+ if (!exports.is(esValue)) {
4130
+ throw new globalObject.TypeError(
4131
+ "'set onpointercancel' called on an object that is not a valid instance of Document."
4132
+ );
4133
+ }
4134
+
4135
+ if (!utils.isObject(V)) {
4136
+ V = null;
4137
+ } else {
4138
+ V = EventHandlerNonNull.convert(globalObject, V, {
4139
+ context: "Failed to set the 'onpointercancel' property on 'Document': The provided value"
4140
+ });
4141
+ }
4142
+ esValue[implSymbol]["onpointercancel"] = V;
4143
+ }
4144
+
4145
+ get onpointerout() {
4146
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4147
+
4148
+ if (!exports.is(esValue)) {
4149
+ throw new globalObject.TypeError(
4150
+ "'get onpointerout' called on an object that is not a valid instance of Document."
4151
+ );
4152
+ }
4153
+
4154
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerout"]);
4155
+ }
4156
+
4157
+ set onpointerout(V) {
4158
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4159
+
4160
+ if (!exports.is(esValue)) {
4161
+ throw new globalObject.TypeError(
4162
+ "'set onpointerout' called on an object that is not a valid instance of Document."
4163
+ );
4164
+ }
4165
+
4166
+ if (!utils.isObject(V)) {
4167
+ V = null;
4168
+ } else {
4169
+ V = EventHandlerNonNull.convert(globalObject, V, {
4170
+ context: "Failed to set the 'onpointerout' property on 'Document': The provided value"
4171
+ });
4172
+ }
4173
+ esValue[implSymbol]["onpointerout"] = V;
4174
+ }
4175
+
4176
+ get onpointerleave() {
4177
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4178
+
4179
+ if (!exports.is(esValue)) {
4180
+ throw new globalObject.TypeError(
4181
+ "'get onpointerleave' called on an object that is not a valid instance of Document."
4182
+ );
4183
+ }
4184
+
4185
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onpointerleave"]);
4186
+ }
4187
+
4188
+ set onpointerleave(V) {
4189
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4190
+
4191
+ if (!exports.is(esValue)) {
4192
+ throw new globalObject.TypeError(
4193
+ "'set onpointerleave' called on an object that is not a valid instance of Document."
4194
+ );
4195
+ }
4196
+
4197
+ if (!utils.isObject(V)) {
4198
+ V = null;
4199
+ } else {
4200
+ V = EventHandlerNonNull.convert(globalObject, V, {
4201
+ context: "Failed to set the 'onpointerleave' property on 'Document': The provided value"
4202
+ });
4203
+ }
4204
+ esValue[implSymbol]["onpointerleave"] = V;
4205
+ }
4206
+
4207
+ get ongotpointercapture() {
4208
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4209
+
4210
+ if (!exports.is(esValue)) {
4211
+ throw new globalObject.TypeError(
4212
+ "'get ongotpointercapture' called on an object that is not a valid instance of Document."
4213
+ );
4214
+ }
4215
+
4216
+ return utils.tryWrapperForImpl(esValue[implSymbol]["ongotpointercapture"]);
4217
+ }
4218
+
4219
+ set ongotpointercapture(V) {
4220
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4221
+
4222
+ if (!exports.is(esValue)) {
4223
+ throw new globalObject.TypeError(
4224
+ "'set ongotpointercapture' called on an object that is not a valid instance of Document."
4225
+ );
4226
+ }
4227
+
4228
+ if (!utils.isObject(V)) {
4229
+ V = null;
4230
+ } else {
4231
+ V = EventHandlerNonNull.convert(globalObject, V, {
4232
+ context: "Failed to set the 'ongotpointercapture' property on 'Document': The provided value"
4233
+ });
4234
+ }
4235
+ esValue[implSymbol]["ongotpointercapture"] = V;
4236
+ }
4237
+
4238
+ get onlostpointercapture() {
4239
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4240
+
4241
+ if (!exports.is(esValue)) {
4242
+ throw new globalObject.TypeError(
4243
+ "'get onlostpointercapture' called on an object that is not a valid instance of Document."
4244
+ );
4245
+ }
4246
+
4247
+ return utils.tryWrapperForImpl(esValue[implSymbol]["onlostpointercapture"]);
4248
+ }
4249
+
4250
+ set onlostpointercapture(V) {
4251
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4252
+
4253
+ if (!exports.is(esValue)) {
4254
+ throw new globalObject.TypeError(
4255
+ "'set onlostpointercapture' called on an object that is not a valid instance of Document."
4256
+ );
4257
+ }
4258
+
4259
+ if (!utils.isObject(V)) {
4260
+ V = null;
4261
+ } else {
4262
+ V = EventHandlerNonNull.convert(globalObject, V, {
4263
+ context: "Failed to set the 'onlostpointercapture' property on 'Document': The provided value"
4264
+ });
4265
+ }
4266
+ esValue[implSymbol]["onlostpointercapture"] = V;
4267
+ }
4268
+
4269
+ get activeElement() {
4270
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4271
+
4272
+ if (!exports.is(esValue)) {
4273
+ throw new globalObject.TypeError(
4274
+ "'get activeElement' called on an object that is not a valid instance of Document."
4275
+ );
4276
+ }
4277
+
4278
+ return utils.tryWrapperForImpl(esValue[implSymbol]["activeElement"]);
4279
+ }
4280
+
4281
+ get children() {
4282
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4283
+
4284
+ if (!exports.is(esValue)) {
4285
+ throw new globalObject.TypeError(
4286
+ "'get children' called on an object that is not a valid instance of Document."
4287
+ );
4288
+ }
4289
+
4290
+ return utils.getSameObject(this, "children", () => {
4291
+ return utils.tryWrapperForImpl(esValue[implSymbol]["children"]);
4292
+ });
4293
+ }
4294
+
4295
+ get firstElementChild() {
4296
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4297
+
4298
+ if (!exports.is(esValue)) {
4299
+ throw new globalObject.TypeError(
4300
+ "'get firstElementChild' called on an object that is not a valid instance of Document."
4301
+ );
4302
+ }
4303
+
4304
+ return utils.tryWrapperForImpl(esValue[implSymbol]["firstElementChild"]);
4305
+ }
4306
+
4307
+ get lastElementChild() {
4308
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4309
+
4310
+ if (!exports.is(esValue)) {
4311
+ throw new globalObject.TypeError(
4312
+ "'get lastElementChild' called on an object that is not a valid instance of Document."
4313
+ );
4314
+ }
4315
+
4316
+ return utils.tryWrapperForImpl(esValue[implSymbol]["lastElementChild"]);
4317
+ }
4318
+
4319
+ get childElementCount() {
4320
+ const esValue = this !== null && this !== undefined ? this : globalObject;
4321
+
4322
+ if (!exports.is(esValue)) {
4323
+ throw new globalObject.TypeError(
4324
+ "'get childElementCount' called on an object that is not a valid instance of Document."
4325
+ );
4326
+ }
4327
+
4328
+ return esValue[implSymbol]["childElementCount"];
4329
+ }
4330
+ }
4331
+ Object.defineProperties(Document.prototype, {
4332
+ getElementsByTagName: { enumerable: true },
4333
+ getElementsByTagNameNS: { enumerable: true },
4334
+ getElementsByClassName: { enumerable: true },
4335
+ createElement: { enumerable: true },
4336
+ createElementNS: { enumerable: true },
4337
+ createDocumentFragment: { enumerable: true },
4338
+ createTextNode: { enumerable: true },
4339
+ createCDATASection: { enumerable: true },
4340
+ createComment: { enumerable: true },
4341
+ createProcessingInstruction: { enumerable: true },
4342
+ importNode: { enumerable: true },
4343
+ adoptNode: { enumerable: true },
4344
+ createAttribute: { enumerable: true },
4345
+ createAttributeNS: { enumerable: true },
4346
+ createEvent: { enumerable: true },
4347
+ createRange: { enumerable: true },
4348
+ createNodeIterator: { enumerable: true },
4349
+ createTreeWalker: { enumerable: true },
4350
+ getElementsByName: { enumerable: true },
4351
+ open: { enumerable: true },
4352
+ close: { enumerable: true },
4353
+ write: { enumerable: true },
4354
+ writeln: { enumerable: true },
4355
+ hasFocus: { enumerable: true },
4356
+ clear: { enumerable: true },
4357
+ captureEvents: { enumerable: true },
4358
+ releaseEvents: { enumerable: true },
4359
+ getSelection: { enumerable: true },
4360
+ getElementById: { enumerable: true },
4361
+ prepend: { enumerable: true },
4362
+ append: { enumerable: true },
4363
+ replaceChildren: { enumerable: true },
4364
+ querySelector: { enumerable: true },
4365
+ querySelectorAll: { enumerable: true },
4366
+ implementation: { enumerable: true },
4367
+ URL: { enumerable: true },
4368
+ documentURI: { enumerable: true },
4369
+ compatMode: { enumerable: true },
4370
+ characterSet: { enumerable: true },
4371
+ charset: { enumerable: true },
4372
+ inputEncoding: { enumerable: true },
4373
+ contentType: { enumerable: true },
4374
+ doctype: { enumerable: true },
4375
+ documentElement: { enumerable: true },
4376
+ referrer: { enumerable: true },
4377
+ cookie: { enumerable: true },
4378
+ lastModified: { enumerable: true },
4379
+ readyState: { enumerable: true },
4380
+ title: { enumerable: true },
4381
+ dir: { enumerable: true },
4382
+ body: { enumerable: true },
4383
+ head: { enumerable: true },
4384
+ images: { enumerable: true },
4385
+ embeds: { enumerable: true },
4386
+ plugins: { enumerable: true },
4387
+ links: { enumerable: true },
4388
+ forms: { enumerable: true },
4389
+ scripts: { enumerable: true },
4390
+ currentScript: { enumerable: true },
4391
+ defaultView: { enumerable: true },
4392
+ onreadystatechange: { enumerable: true },
4393
+ anchors: { enumerable: true },
4394
+ applets: { enumerable: true },
4395
+ styleSheets: { enumerable: true },
4396
+ hidden: { enumerable: true },
4397
+ visibilityState: { enumerable: true },
4398
+ onvisibilitychange: { enumerable: true },
4399
+ onabort: { enumerable: true },
4400
+ onauxclick: { enumerable: true },
4401
+ onbeforeinput: { enumerable: true },
4402
+ onbeforematch: { enumerable: true },
4403
+ onbeforetoggle: { enumerable: true },
4404
+ onblur: { enumerable: true },
4405
+ oncancel: { enumerable: true },
4406
+ oncanplay: { enumerable: true },
4407
+ oncanplaythrough: { enumerable: true },
4408
+ onchange: { enumerable: true },
4409
+ onclick: { enumerable: true },
4410
+ onclose: { enumerable: true },
4411
+ oncontextlost: { enumerable: true },
4412
+ oncontextmenu: { enumerable: true },
4413
+ oncontextrestored: { enumerable: true },
4414
+ oncopy: { enumerable: true },
4415
+ oncuechange: { enumerable: true },
4416
+ oncut: { enumerable: true },
4417
+ ondblclick: { enumerable: true },
4418
+ ondrag: { enumerable: true },
4419
+ ondragend: { enumerable: true },
4420
+ ondragenter: { enumerable: true },
4421
+ ondragleave: { enumerable: true },
4422
+ ondragover: { enumerable: true },
4423
+ ondragstart: { enumerable: true },
4424
+ ondrop: { enumerable: true },
4425
+ ondurationchange: { enumerable: true },
4426
+ onemptied: { enumerable: true },
4427
+ onended: { enumerable: true },
4428
+ onerror: { enumerable: true },
4429
+ onfocus: { enumerable: true },
4430
+ onformdata: { enumerable: true },
4431
+ oninput: { enumerable: true },
4432
+ oninvalid: { enumerable: true },
4433
+ onkeydown: { enumerable: true },
4434
+ onkeypress: { enumerable: true },
4435
+ onkeyup: { enumerable: true },
4436
+ onload: { enumerable: true },
4437
+ onloadeddata: { enumerable: true },
4438
+ onloadedmetadata: { enumerable: true },
4439
+ onloadstart: { enumerable: true },
4440
+ onmousedown: { enumerable: true },
4441
+ onmouseenter: { enumerable: true },
4442
+ onmouseleave: { enumerable: true },
4443
+ onmousemove: { enumerable: true },
4444
+ onmouseout: { enumerable: true },
4445
+ onmouseover: { enumerable: true },
4446
+ onmouseup: { enumerable: true },
4447
+ onpaste: { enumerable: true },
4448
+ onpause: { enumerable: true },
4449
+ onplay: { enumerable: true },
4450
+ onplaying: { enumerable: true },
4451
+ onprogress: { enumerable: true },
4452
+ onratechange: { enumerable: true },
4453
+ onreset: { enumerable: true },
4454
+ onresize: { enumerable: true },
4455
+ onscroll: { enumerable: true },
4456
+ onscrollend: { enumerable: true },
4457
+ onsecuritypolicyviolation: { enumerable: true },
4458
+ onseeked: { enumerable: true },
4459
+ onseeking: { enumerable: true },
4460
+ onselect: { enumerable: true },
4461
+ onslotchange: { enumerable: true },
4462
+ onstalled: { enumerable: true },
4463
+ onsubmit: { enumerable: true },
4464
+ onsuspend: { enumerable: true },
4465
+ ontimeupdate: { enumerable: true },
4466
+ ontoggle: { enumerable: true },
4467
+ onvolumechange: { enumerable: true },
4468
+ onwaiting: { enumerable: true },
4469
+ onwebkitanimationend: { enumerable: true },
4470
+ onwebkitanimationiteration: { enumerable: true },
4471
+ onwebkitanimationstart: { enumerable: true },
4472
+ onwebkittransitionend: { enumerable: true },
4473
+ onwheel: { enumerable: true },
4474
+ ontouchstart: { enumerable: true },
4475
+ ontouchend: { enumerable: true },
4476
+ ontouchmove: { enumerable: true },
4477
+ ontouchcancel: { enumerable: true },
4478
+ onpointerover: { enumerable: true },
4479
+ onpointerenter: { enumerable: true },
4480
+ onpointerdown: { enumerable: true },
4481
+ onpointermove: { enumerable: true },
4482
+ onpointerrawupdate: { enumerable: true },
4483
+ onpointerup: { enumerable: true },
4484
+ onpointercancel: { enumerable: true },
4485
+ onpointerout: { enumerable: true },
4486
+ onpointerleave: { enumerable: true },
4487
+ ongotpointercapture: { enumerable: true },
4488
+ onlostpointercapture: { enumerable: true },
4489
+ activeElement: { enumerable: true },
4490
+ children: { enumerable: true },
4491
+ firstElementChild: { enumerable: true },
4492
+ lastElementChild: { enumerable: true },
4493
+ childElementCount: { enumerable: true },
4494
+ [Symbol.toStringTag]: { value: "Document", configurable: true },
4495
+ [Symbol.unscopables]: {
4496
+ value: { prepend: true, append: true, replaceChildren: true, __proto__: null },
4497
+ configurable: true
4498
+ }
4499
+ });
4500
+ ctorRegistry[interfaceName] = Document;
4501
+
4502
+ Object.defineProperty(globalObject, interfaceName, {
4503
+ configurable: true,
4504
+ writable: true,
4505
+ value: Document
4506
+ });
4507
+ };
4508
+
4509
+ const Impl = require("../nodes/Document-impl.js");