@zipify/wysiwyg 1.2.1-0 → 1.2.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 (1151) hide show
  1. package/.github/actions/lint-css/action.yaml +1 -3
  2. package/dist/cli.js +3 -3
  3. package/dist/wysiwyg.css +24 -25
  4. package/dist/wysiwyg.mjs +626 -601
  5. package/jest.config.js +3 -0
  6. package/lib/components/base/Modal.vue +21 -2
  7. package/lib/components/base/__tests__/Modal.test.js +1 -0
  8. package/lib/components/toolbar/controls/link/LinkControl.vue +18 -7
  9. package/lib/components/toolbar/controls/link/LinkControlHeader.vue +1 -1
  10. package/lib/components/toolbar/controls/link/__tests__/LinkControl.test.js +7 -7
  11. package/lib/components/toolbar/controls/link/composables/useLink.js +3 -1
  12. package/lib/composables/__tests__/__snapshots__/useEditor.test.js.snap +1 -1
  13. package/lib/composables/useEditor.js +4 -3
  14. package/lib/extensions/FontFamily.js +2 -3
  15. package/lib/extensions/FontWeight.js +2 -0
  16. package/lib/extensions/StylePreset.js +33 -3
  17. package/lib/extensions/TextDecoration.js +1 -6
  18. package/lib/extensions/__tests__/FontFamily.test.js +3 -1
  19. package/lib/extensions/__tests__/FontWeight.test.js +8 -0
  20. package/lib/extensions/__tests__/StylePreset.test.js +52 -2
  21. package/lib/extensions/__tests__/TextDecoration.test.js +2 -62
  22. package/lib/extensions/__tests__/__snapshots__/Alignment.test.js.snap +2 -2
  23. package/lib/extensions/__tests__/__snapshots__/BackgroundColor.test.js.snap +1 -1
  24. package/lib/extensions/__tests__/__snapshots__/FontColor.test.js.snap +1 -1
  25. package/lib/extensions/__tests__/__snapshots__/FontFamily.test.js.snap +1 -1
  26. package/lib/extensions/__tests__/__snapshots__/FontSize.test.js.snap +2 -2
  27. package/lib/extensions/__tests__/__snapshots__/FontStyle.test.js.snap +1 -1
  28. package/lib/extensions/__tests__/__snapshots__/FontWeight.test.js.snap +26 -1
  29. package/lib/extensions/__tests__/__snapshots__/LineHeight.test.js.snap +2 -2
  30. package/lib/extensions/__tests__/__snapshots__/Margin.test.js.snap +2 -2
  31. package/lib/extensions/__tests__/__snapshots__/StylePreset.test.js.snap +22 -2
  32. package/lib/extensions/__tests__/__snapshots__/TextDecoration.test.js.snap +3 -3
  33. package/lib/extensions/index.js +9 -4
  34. package/package.json +23 -28
  35. package/config/build/lambda.config.js +0 -39
  36. package/dist/lambda-to-json.zip +0 -0
  37. package/lib/components/toolbar/controls/link/LinkControlApply.vue +0 -35
  38. package/lib/entry-lambda-to-json.js +0 -8
  39. package/node_modules_lambda/.bin/acorn +0 -4
  40. package/node_modules_lambda/.bin/escodegen +0 -77
  41. package/node_modules_lambda/.bin/esgenerate +0 -64
  42. package/node_modules_lambda/.bin/esparse +0 -139
  43. package/node_modules_lambda/.bin/esvalidate +0 -236
  44. package/node_modules_lambda/.package-lock.json +0 -602
  45. package/node_modules_lambda/@tootallnate/once/LICENSE +0 -21
  46. package/node_modules_lambda/@tootallnate/once/README.md +0 -93
  47. package/node_modules_lambda/@tootallnate/once/dist/index.d.ts +0 -7
  48. package/node_modules_lambda/@tootallnate/once/dist/index.js +0 -24
  49. package/node_modules_lambda/@tootallnate/once/dist/index.js.map +0 -1
  50. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.d.ts +0 -231
  51. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js +0 -3
  52. package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
  53. package/node_modules_lambda/@tootallnate/once/dist/types.d.ts +0 -17
  54. package/node_modules_lambda/@tootallnate/once/dist/types.js +0 -3
  55. package/node_modules_lambda/@tootallnate/once/dist/types.js.map +0 -1
  56. package/node_modules_lambda/@tootallnate/once/package.json +0 -52
  57. package/node_modules_lambda/abab/LICENSE.md +0 -13
  58. package/node_modules_lambda/abab/README.md +0 -51
  59. package/node_modules_lambda/abab/index.d.ts +0 -2
  60. package/node_modules_lambda/abab/index.js +0 -9
  61. package/node_modules_lambda/abab/lib/atob.js +0 -101
  62. package/node_modules_lambda/abab/lib/btoa.js +0 -62
  63. package/node_modules_lambda/abab/package.json +0 -42
  64. package/node_modules_lambda/acorn/CHANGELOG.md +0 -798
  65. package/node_modules_lambda/acorn/LICENSE +0 -21
  66. package/node_modules_lambda/acorn/README.md +0 -273
  67. package/node_modules_lambda/acorn/bin/acorn +0 -4
  68. package/node_modules_lambda/acorn/dist/acorn.d.ts +0 -252
  69. package/node_modules_lambda/acorn/dist/acorn.js +0 -5608
  70. package/node_modules_lambda/acorn/dist/acorn.mjs +0 -5577
  71. package/node_modules_lambda/acorn/dist/acorn.mjs.d.ts +0 -2
  72. package/node_modules_lambda/acorn/dist/bin.js +0 -91
  73. package/node_modules_lambda/acorn/package.json +0 -50
  74. package/node_modules_lambda/acorn-globals/LICENSE +0 -19
  75. package/node_modules_lambda/acorn-globals/README.md +0 -81
  76. package/node_modules_lambda/acorn-globals/index.js +0 -179
  77. package/node_modules_lambda/acorn-globals/node_modules/.bin/acorn +0 -4
  78. package/node_modules_lambda/acorn-globals/node_modules/acorn/CHANGELOG.md +0 -620
  79. package/node_modules_lambda/acorn-globals/node_modules/acorn/LICENSE +0 -21
  80. package/node_modules_lambda/acorn-globals/node_modules/acorn/README.md +0 -269
  81. package/node_modules_lambda/acorn-globals/node_modules/acorn/bin/acorn +0 -4
  82. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.d.ts +0 -209
  83. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js +0 -5186
  84. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.js.map +0 -1
  85. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs +0 -5155
  86. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  87. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +0 -1
  88. package/node_modules_lambda/acorn-globals/node_modules/acorn/dist/bin.js +0 -64
  89. package/node_modules_lambda/acorn-globals/node_modules/acorn/package.json +0 -35
  90. package/node_modules_lambda/acorn-globals/package.json +0 -35
  91. package/node_modules_lambda/acorn-walk/CHANGELOG.md +0 -131
  92. package/node_modules_lambda/acorn-walk/LICENSE +0 -19
  93. package/node_modules_lambda/acorn-walk/README.md +0 -126
  94. package/node_modules_lambda/acorn-walk/dist/walk.d.ts +0 -112
  95. package/node_modules_lambda/acorn-walk/dist/walk.js +0 -463
  96. package/node_modules_lambda/acorn-walk/dist/walk.js.map +0 -1
  97. package/node_modules_lambda/acorn-walk/dist/walk.mjs +0 -443
  98. package/node_modules_lambda/acorn-walk/dist/walk.mjs.map +0 -1
  99. package/node_modules_lambda/acorn-walk/package.json +0 -34
  100. package/node_modules_lambda/agent-base/README.md +0 -145
  101. package/node_modules_lambda/agent-base/dist/src/index.d.ts +0 -78
  102. package/node_modules_lambda/agent-base/dist/src/index.js +0 -203
  103. package/node_modules_lambda/agent-base/dist/src/index.js.map +0 -1
  104. package/node_modules_lambda/agent-base/dist/src/promisify.d.ts +0 -4
  105. package/node_modules_lambda/agent-base/dist/src/promisify.js +0 -18
  106. package/node_modules_lambda/agent-base/dist/src/promisify.js.map +0 -1
  107. package/node_modules_lambda/agent-base/package.json +0 -64
  108. package/node_modules_lambda/agent-base/src/index.ts +0 -345
  109. package/node_modules_lambda/agent-base/src/promisify.ts +0 -33
  110. package/node_modules_lambda/asynckit/LICENSE +0 -21
  111. package/node_modules_lambda/asynckit/README.md +0 -233
  112. package/node_modules_lambda/asynckit/bench.js +0 -76
  113. package/node_modules_lambda/asynckit/index.js +0 -6
  114. package/node_modules_lambda/asynckit/lib/abort.js +0 -29
  115. package/node_modules_lambda/asynckit/lib/async.js +0 -34
  116. package/node_modules_lambda/asynckit/lib/defer.js +0 -26
  117. package/node_modules_lambda/asynckit/lib/iterate.js +0 -75
  118. package/node_modules_lambda/asynckit/lib/readable_asynckit.js +0 -91
  119. package/node_modules_lambda/asynckit/lib/readable_parallel.js +0 -25
  120. package/node_modules_lambda/asynckit/lib/readable_serial.js +0 -25
  121. package/node_modules_lambda/asynckit/lib/readable_serial_ordered.js +0 -29
  122. package/node_modules_lambda/asynckit/lib/state.js +0 -37
  123. package/node_modules_lambda/asynckit/lib/streamify.js +0 -141
  124. package/node_modules_lambda/asynckit/lib/terminator.js +0 -29
  125. package/node_modules_lambda/asynckit/package.json +0 -63
  126. package/node_modules_lambda/asynckit/parallel.js +0 -43
  127. package/node_modules_lambda/asynckit/serial.js +0 -17
  128. package/node_modules_lambda/asynckit/serialOrdered.js +0 -75
  129. package/node_modules_lambda/asynckit/stream.js +0 -21
  130. package/node_modules_lambda/browser-process-hrtime/LICENSE +0 -9
  131. package/node_modules_lambda/browser-process-hrtime/README.md +0 -27
  132. package/node_modules_lambda/browser-process-hrtime/index.d.ts +0 -4
  133. package/node_modules_lambda/browser-process-hrtime/index.js +0 -28
  134. package/node_modules_lambda/browser-process-hrtime/package.json +0 -15
  135. package/node_modules_lambda/combined-stream/License +0 -19
  136. package/node_modules_lambda/combined-stream/Readme.md +0 -138
  137. package/node_modules_lambda/combined-stream/lib/combined_stream.js +0 -208
  138. package/node_modules_lambda/combined-stream/package.json +0 -25
  139. package/node_modules_lambda/combined-stream/yarn.lock +0 -17
  140. package/node_modules_lambda/cssom/LICENSE.txt +0 -20
  141. package/node_modules_lambda/cssom/README.mdown +0 -67
  142. package/node_modules_lambda/cssom/lib/CSSConditionRule.js +0 -25
  143. package/node_modules_lambda/cssom/lib/CSSDocumentRule.js +0 -39
  144. package/node_modules_lambda/cssom/lib/CSSFontFaceRule.js +0 -36
  145. package/node_modules_lambda/cssom/lib/CSSGroupingRule.js +0 -68
  146. package/node_modules_lambda/cssom/lib/CSSHostRule.js +0 -37
  147. package/node_modules_lambda/cssom/lib/CSSImportRule.js +0 -132
  148. package/node_modules_lambda/cssom/lib/CSSKeyframeRule.js +0 -37
  149. package/node_modules_lambda/cssom/lib/CSSKeyframesRule.js +0 -39
  150. package/node_modules_lambda/cssom/lib/CSSMediaRule.js +0 -53
  151. package/node_modules_lambda/cssom/lib/CSSOM.js +0 -3
  152. package/node_modules_lambda/cssom/lib/CSSRule.js +0 -43
  153. package/node_modules_lambda/cssom/lib/CSSStyleDeclaration.js +0 -148
  154. package/node_modules_lambda/cssom/lib/CSSStyleRule.js +0 -190
  155. package/node_modules_lambda/cssom/lib/CSSStyleSheet.js +0 -88
  156. package/node_modules_lambda/cssom/lib/CSSSupportsRule.js +0 -36
  157. package/node_modules_lambda/cssom/lib/CSSValue.js +0 -43
  158. package/node_modules_lambda/cssom/lib/CSSValueExpression.js +0 -344
  159. package/node_modules_lambda/cssom/lib/MatcherList.js +0 -62
  160. package/node_modules_lambda/cssom/lib/MediaList.js +0 -61
  161. package/node_modules_lambda/cssom/lib/StyleSheet.js +0 -17
  162. package/node_modules_lambda/cssom/lib/clone.js +0 -74
  163. package/node_modules_lambda/cssom/lib/index.js +0 -23
  164. package/node_modules_lambda/cssom/lib/parse.js +0 -465
  165. package/node_modules_lambda/cssom/package.json +0 -18
  166. package/node_modules_lambda/cssstyle/LICENSE +0 -20
  167. package/node_modules_lambda/cssstyle/README.md +0 -15
  168. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.js +0 -260
  169. package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.test.js +0 -556
  170. package/node_modules_lambda/cssstyle/lib/allExtraProperties.js +0 -67
  171. package/node_modules_lambda/cssstyle/lib/allProperties.js +0 -462
  172. package/node_modules_lambda/cssstyle/lib/allWebkitProperties.js +0 -194
  173. package/node_modules_lambda/cssstyle/lib/constants.js +0 -6
  174. package/node_modules_lambda/cssstyle/lib/implementedProperties.js +0 -90
  175. package/node_modules_lambda/cssstyle/lib/named_colors.json +0 -152
  176. package/node_modules_lambda/cssstyle/lib/parsers.js +0 -722
  177. package/node_modules_lambda/cssstyle/lib/parsers.test.js +0 -139
  178. package/node_modules_lambda/cssstyle/lib/properties/azimuth.js +0 -67
  179. package/node_modules_lambda/cssstyle/lib/properties/background.js +0 -19
  180. package/node_modules_lambda/cssstyle/lib/properties/backgroundAttachment.js +0 -24
  181. package/node_modules_lambda/cssstyle/lib/properties/backgroundColor.js +0 -36
  182. package/node_modules_lambda/cssstyle/lib/properties/backgroundImage.js +0 -32
  183. package/node_modules_lambda/cssstyle/lib/properties/backgroundPosition.js +0 -58
  184. package/node_modules_lambda/cssstyle/lib/properties/backgroundRepeat.js +0 -32
  185. package/node_modules_lambda/cssstyle/lib/properties/border.js +0 -33
  186. package/node_modules_lambda/cssstyle/lib/properties/borderBottom.js +0 -17
  187. package/node_modules_lambda/cssstyle/lib/properties/borderBottomColor.js +0 -16
  188. package/node_modules_lambda/cssstyle/lib/properties/borderBottomStyle.js +0 -21
  189. package/node_modules_lambda/cssstyle/lib/properties/borderBottomWidth.js +0 -16
  190. package/node_modules_lambda/cssstyle/lib/properties/borderCollapse.js +0 -26
  191. package/node_modules_lambda/cssstyle/lib/properties/borderColor.js +0 -30
  192. package/node_modules_lambda/cssstyle/lib/properties/borderLeft.js +0 -17
  193. package/node_modules_lambda/cssstyle/lib/properties/borderLeftColor.js +0 -16
  194. package/node_modules_lambda/cssstyle/lib/properties/borderLeftStyle.js +0 -21
  195. package/node_modules_lambda/cssstyle/lib/properties/borderLeftWidth.js +0 -16
  196. package/node_modules_lambda/cssstyle/lib/properties/borderRight.js +0 -17
  197. package/node_modules_lambda/cssstyle/lib/properties/borderRightColor.js +0 -16
  198. package/node_modules_lambda/cssstyle/lib/properties/borderRightStyle.js +0 -21
  199. package/node_modules_lambda/cssstyle/lib/properties/borderRightWidth.js +0 -16
  200. package/node_modules_lambda/cssstyle/lib/properties/borderSpacing.js +0 -41
  201. package/node_modules_lambda/cssstyle/lib/properties/borderStyle.js +0 -38
  202. package/node_modules_lambda/cssstyle/lib/properties/borderTop.js +0 -17
  203. package/node_modules_lambda/cssstyle/lib/properties/borderTopColor.js +0 -16
  204. package/node_modules_lambda/cssstyle/lib/properties/borderTopStyle.js +0 -21
  205. package/node_modules_lambda/cssstyle/lib/properties/borderTopWidth.js +0 -17
  206. package/node_modules_lambda/cssstyle/lib/properties/borderWidth.js +0 -46
  207. package/node_modules_lambda/cssstyle/lib/properties/bottom.js +0 -14
  208. package/node_modules_lambda/cssstyle/lib/properties/clear.js +0 -16
  209. package/node_modules_lambda/cssstyle/lib/properties/clip.js +0 -47
  210. package/node_modules_lambda/cssstyle/lib/properties/color.js +0 -14
  211. package/node_modules_lambda/cssstyle/lib/properties/cssFloat.js +0 -12
  212. package/node_modules_lambda/cssstyle/lib/properties/flex.js +0 -45
  213. package/node_modules_lambda/cssstyle/lib/properties/flexBasis.js +0 -28
  214. package/node_modules_lambda/cssstyle/lib/properties/flexGrow.js +0 -19
  215. package/node_modules_lambda/cssstyle/lib/properties/flexShrink.js +0 -19
  216. package/node_modules_lambda/cssstyle/lib/properties/float.js +0 -12
  217. package/node_modules_lambda/cssstyle/lib/properties/floodColor.js +0 -14
  218. package/node_modules_lambda/cssstyle/lib/properties/font.js +0 -43
  219. package/node_modules_lambda/cssstyle/lib/properties/fontFamily.js +0 -33
  220. package/node_modules_lambda/cssstyle/lib/properties/fontSize.js +0 -38
  221. package/node_modules_lambda/cssstyle/lib/properties/fontStyle.js +0 -18
  222. package/node_modules_lambda/cssstyle/lib/properties/fontVariant.js +0 -18
  223. package/node_modules_lambda/cssstyle/lib/properties/fontWeight.js +0 -33
  224. package/node_modules_lambda/cssstyle/lib/properties/height.js +0 -24
  225. package/node_modules_lambda/cssstyle/lib/properties/left.js +0 -14
  226. package/node_modules_lambda/cssstyle/lib/properties/lightingColor.js +0 -14
  227. package/node_modules_lambda/cssstyle/lib/properties/lineHeight.js +0 -26
  228. package/node_modules_lambda/cssstyle/lib/properties/margin.js +0 -68
  229. package/node_modules_lambda/cssstyle/lib/properties/marginBottom.js +0 -13
  230. package/node_modules_lambda/cssstyle/lib/properties/marginLeft.js +0 -13
  231. package/node_modules_lambda/cssstyle/lib/properties/marginRight.js +0 -13
  232. package/node_modules_lambda/cssstyle/lib/properties/marginTop.js +0 -13
  233. package/node_modules_lambda/cssstyle/lib/properties/opacity.js +0 -14
  234. package/node_modules_lambda/cssstyle/lib/properties/outlineColor.js +0 -14
  235. package/node_modules_lambda/cssstyle/lib/properties/padding.js +0 -61
  236. package/node_modules_lambda/cssstyle/lib/properties/paddingBottom.js +0 -13
  237. package/node_modules_lambda/cssstyle/lib/properties/paddingLeft.js +0 -13
  238. package/node_modules_lambda/cssstyle/lib/properties/paddingRight.js +0 -13
  239. package/node_modules_lambda/cssstyle/lib/properties/paddingTop.js +0 -13
  240. package/node_modules_lambda/cssstyle/lib/properties/right.js +0 -14
  241. package/node_modules_lambda/cssstyle/lib/properties/stopColor.js +0 -14
  242. package/node_modules_lambda/cssstyle/lib/properties/textLineThroughColor.js +0 -14
  243. package/node_modules_lambda/cssstyle/lib/properties/textOverlineColor.js +0 -14
  244. package/node_modules_lambda/cssstyle/lib/properties/textUnderlineColor.js +0 -14
  245. package/node_modules_lambda/cssstyle/lib/properties/top.js +0 -14
  246. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
  247. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
  248. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
  249. package/node_modules_lambda/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
  250. package/node_modules_lambda/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
  251. package/node_modules_lambda/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
  252. package/node_modules_lambda/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
  253. package/node_modules_lambda/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
  254. package/node_modules_lambda/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
  255. package/node_modules_lambda/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
  256. package/node_modules_lambda/cssstyle/lib/properties/width.js +0 -24
  257. package/node_modules_lambda/cssstyle/lib/properties.js +0 -1833
  258. package/node_modules_lambda/cssstyle/lib/utils/colorSpace.js +0 -21
  259. package/node_modules_lambda/cssstyle/lib/utils/getBasicPropertyDescriptor.js +0 -14
  260. package/node_modules_lambda/cssstyle/node_modules/cssom/LICENSE.txt +0 -20
  261. package/node_modules_lambda/cssstyle/node_modules/cssom/README.mdown +0 -67
  262. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
  263. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
  264. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSHostRule.js +0 -37
  265. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSImportRule.js +0 -132
  266. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
  267. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
  268. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +0 -41
  269. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSOM.js +0 -3
  270. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSRule.js +0 -43
  271. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
  272. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +0 -190
  273. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
  274. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
  275. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValue.js +0 -43
  276. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +0 -344
  277. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MatcherList.js +0 -62
  278. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/MediaList.js +0 -61
  279. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/StyleSheet.js +0 -17
  280. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/clone.js +0 -82
  281. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/index.js +0 -21
  282. package/node_modules_lambda/cssstyle/node_modules/cssom/lib/parse.js +0 -464
  283. package/node_modules_lambda/cssstyle/node_modules/cssom/package.json +0 -18
  284. package/node_modules_lambda/cssstyle/package.json +0 -72
  285. package/node_modules_lambda/data-urls/LICENSE.txt +0 -7
  286. package/node_modules_lambda/data-urls/README.md +0 -62
  287. package/node_modules_lambda/data-urls/lib/parser.js +0 -69
  288. package/node_modules_lambda/data-urls/lib/utils.js +0 -18
  289. package/node_modules_lambda/data-urls/node_modules/whatwg-url/LICENSE.txt +0 -21
  290. package/node_modules_lambda/data-urls/node_modules/whatwg-url/README.md +0 -106
  291. package/node_modules_lambda/data-urls/node_modules/whatwg-url/index.js +0 -27
  292. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/Function.js +0 -42
  293. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL-impl.js +0 -209
  294. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URL.js +0 -442
  295. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  296. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/URLSearchParams.js +0 -472
  297. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/VoidFunction.js +0 -26
  298. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/encoding.js +0 -16
  299. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/infra.js +0 -26
  300. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/percent-encoding.js +0 -142
  301. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/url-state-machine.js +0 -1244
  302. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/urlencoded.js +0 -106
  303. package/node_modules_lambda/data-urls/node_modules/whatwg-url/lib/utils.js +0 -190
  304. package/node_modules_lambda/data-urls/node_modules/whatwg-url/package.json +0 -58
  305. package/node_modules_lambda/data-urls/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
  306. package/node_modules_lambda/data-urls/package.json +0 -54
  307. package/node_modules_lambda/debug/LICENSE +0 -20
  308. package/node_modules_lambda/debug/README.md +0 -481
  309. package/node_modules_lambda/debug/package.json +0 -59
  310. package/node_modules_lambda/debug/src/browser.js +0 -269
  311. package/node_modules_lambda/debug/src/common.js +0 -274
  312. package/node_modules_lambda/debug/src/index.js +0 -10
  313. package/node_modules_lambda/debug/src/node.js +0 -263
  314. package/node_modules_lambda/decimal.js/CHANGELOG.md +0 -231
  315. package/node_modules_lambda/decimal.js/LICENCE.md +0 -23
  316. package/node_modules_lambda/decimal.js/README.md +0 -246
  317. package/node_modules_lambda/decimal.js/decimal.d.ts +0 -300
  318. package/node_modules_lambda/decimal.js/decimal.js +0 -4934
  319. package/node_modules_lambda/decimal.js/decimal.mjs +0 -4898
  320. package/node_modules_lambda/decimal.js/package.json +0 -40
  321. package/node_modules_lambda/deep-is/.travis.yml +0 -5
  322. package/node_modules_lambda/deep-is/LICENSE +0 -22
  323. package/node_modules_lambda/deep-is/README.markdown +0 -70
  324. package/node_modules_lambda/deep-is/example/cmp.js +0 -11
  325. package/node_modules_lambda/deep-is/index.js +0 -102
  326. package/node_modules_lambda/deep-is/package.json +0 -58
  327. package/node_modules_lambda/deep-is/test/NaN.js +0 -16
  328. package/node_modules_lambda/deep-is/test/cmp.js +0 -23
  329. package/node_modules_lambda/deep-is/test/neg-vs-pos-0.js +0 -15
  330. package/node_modules_lambda/delayed-stream/License +0 -19
  331. package/node_modules_lambda/delayed-stream/Makefile +0 -7
  332. package/node_modules_lambda/delayed-stream/Readme.md +0 -141
  333. package/node_modules_lambda/delayed-stream/lib/delayed_stream.js +0 -107
  334. package/node_modules_lambda/delayed-stream/package.json +0 -27
  335. package/node_modules_lambda/domexception/LICENSE.txt +0 -21
  336. package/node_modules_lambda/domexception/README.md +0 -31
  337. package/node_modules_lambda/domexception/index.js +0 -7
  338. package/node_modules_lambda/domexception/lib/DOMException-impl.js +0 -22
  339. package/node_modules_lambda/domexception/lib/DOMException.js +0 -222
  340. package/node_modules_lambda/domexception/lib/Function.js +0 -42
  341. package/node_modules_lambda/domexception/lib/VoidFunction.js +0 -26
  342. package/node_modules_lambda/domexception/lib/legacy-error-codes.json +0 -24
  343. package/node_modules_lambda/domexception/lib/utils.js +0 -190
  344. package/node_modules_lambda/domexception/package.json +0 -42
  345. package/node_modules_lambda/domexception/webidl2js-wrapper.js +0 -15
  346. package/node_modules_lambda/escodegen/LICENSE.BSD +0 -21
  347. package/node_modules_lambda/escodegen/README.md +0 -84
  348. package/node_modules_lambda/escodegen/bin/escodegen.js +0 -77
  349. package/node_modules_lambda/escodegen/bin/esgenerate.js +0 -64
  350. package/node_modules_lambda/escodegen/escodegen.js +0 -2647
  351. package/node_modules_lambda/escodegen/node_modules/estraverse/.jshintrc +0 -16
  352. package/node_modules_lambda/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
  353. package/node_modules_lambda/escodegen/node_modules/estraverse/README.md +0 -153
  354. package/node_modules_lambda/escodegen/node_modules/estraverse/estraverse.js +0 -805
  355. package/node_modules_lambda/escodegen/node_modules/estraverse/gulpfile.js +0 -70
  356. package/node_modules_lambda/escodegen/node_modules/estraverse/package.json +0 -40
  357. package/node_modules_lambda/escodegen/node_modules/levn/LICENSE +0 -22
  358. package/node_modules_lambda/escodegen/node_modules/levn/README.md +0 -196
  359. package/node_modules_lambda/escodegen/node_modules/levn/lib/cast.js +0 -298
  360. package/node_modules_lambda/escodegen/node_modules/levn/lib/coerce.js +0 -285
  361. package/node_modules_lambda/escodegen/node_modules/levn/lib/index.js +0 -22
  362. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse-string.js +0 -113
  363. package/node_modules_lambda/escodegen/node_modules/levn/lib/parse.js +0 -102
  364. package/node_modules_lambda/escodegen/node_modules/levn/package.json +0 -47
  365. package/node_modules_lambda/escodegen/node_modules/optionator/CHANGELOG.md +0 -56
  366. package/node_modules_lambda/escodegen/node_modules/optionator/LICENSE +0 -22
  367. package/node_modules_lambda/escodegen/node_modules/optionator/README.md +0 -238
  368. package/node_modules_lambda/escodegen/node_modules/optionator/lib/help.js +0 -260
  369. package/node_modules_lambda/escodegen/node_modules/optionator/lib/index.js +0 -465
  370. package/node_modules_lambda/escodegen/node_modules/optionator/lib/util.js +0 -54
  371. package/node_modules_lambda/escodegen/node_modules/optionator/package.json +0 -44
  372. package/node_modules_lambda/escodegen/node_modules/prelude-ls/CHANGELOG.md +0 -99
  373. package/node_modules_lambda/escodegen/node_modules/prelude-ls/LICENSE +0 -22
  374. package/node_modules_lambda/escodegen/node_modules/prelude-ls/README.md +0 -15
  375. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Func.js +0 -65
  376. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/List.js +0 -686
  377. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Num.js +0 -130
  378. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Obj.js +0 -154
  379. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/Str.js +0 -92
  380. package/node_modules_lambda/escodegen/node_modules/prelude-ls/lib/index.js +0 -178
  381. package/node_modules_lambda/escodegen/node_modules/prelude-ls/package.json +0 -52
  382. package/node_modules_lambda/escodegen/node_modules/source-map/CHANGELOG.md +0 -301
  383. package/node_modules_lambda/escodegen/node_modules/source-map/LICENSE +0 -28
  384. package/node_modules_lambda/escodegen/node_modules/source-map/README.md +0 -742
  385. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.debug.js +0 -3234
  386. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.js +0 -3233
  387. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js +0 -2
  388. package/node_modules_lambda/escodegen/node_modules/source-map/dist/source-map.min.js.map +0 -1
  389. package/node_modules_lambda/escodegen/node_modules/source-map/lib/array-set.js +0 -121
  390. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64-vlq.js +0 -140
  391. package/node_modules_lambda/escodegen/node_modules/source-map/lib/base64.js +0 -67
  392. package/node_modules_lambda/escodegen/node_modules/source-map/lib/binary-search.js +0 -111
  393. package/node_modules_lambda/escodegen/node_modules/source-map/lib/mapping-list.js +0 -79
  394. package/node_modules_lambda/escodegen/node_modules/source-map/lib/quick-sort.js +0 -114
  395. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  396. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-map-generator.js +0 -425
  397. package/node_modules_lambda/escodegen/node_modules/source-map/lib/source-node.js +0 -413
  398. package/node_modules_lambda/escodegen/node_modules/source-map/lib/util.js +0 -488
  399. package/node_modules_lambda/escodegen/node_modules/source-map/package.json +0 -73
  400. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.d.ts +0 -98
  401. package/node_modules_lambda/escodegen/node_modules/source-map/source-map.js +0 -8
  402. package/node_modules_lambda/escodegen/node_modules/type-check/LICENSE +0 -22
  403. package/node_modules_lambda/escodegen/node_modules/type-check/README.md +0 -210
  404. package/node_modules_lambda/escodegen/node_modules/type-check/lib/check.js +0 -126
  405. package/node_modules_lambda/escodegen/node_modules/type-check/lib/index.js +0 -16
  406. package/node_modules_lambda/escodegen/node_modules/type-check/lib/parse-type.js +0 -196
  407. package/node_modules_lambda/escodegen/node_modules/type-check/package.json +0 -40
  408. package/node_modules_lambda/escodegen/package.json +0 -62
  409. package/node_modules_lambda/esprima/ChangeLog +0 -235
  410. package/node_modules_lambda/esprima/LICENSE.BSD +0 -21
  411. package/node_modules_lambda/esprima/README.md +0 -46
  412. package/node_modules_lambda/esprima/bin/esparse.js +0 -139
  413. package/node_modules_lambda/esprima/bin/esvalidate.js +0 -236
  414. package/node_modules_lambda/esprima/dist/esprima.js +0 -6709
  415. package/node_modules_lambda/esprima/package.json +0 -112
  416. package/node_modules_lambda/esutils/LICENSE.BSD +0 -19
  417. package/node_modules_lambda/esutils/README.md +0 -174
  418. package/node_modules_lambda/esutils/lib/ast.js +0 -144
  419. package/node_modules_lambda/esutils/lib/code.js +0 -135
  420. package/node_modules_lambda/esutils/lib/keyword.js +0 -165
  421. package/node_modules_lambda/esutils/lib/utils.js +0 -33
  422. package/node_modules_lambda/esutils/package.json +0 -44
  423. package/node_modules_lambda/fast-levenshtein/LICENSE.md +0 -25
  424. package/node_modules_lambda/fast-levenshtein/README.md +0 -104
  425. package/node_modules_lambda/fast-levenshtein/levenshtein.js +0 -136
  426. package/node_modules_lambda/fast-levenshtein/package.json +0 -39
  427. package/node_modules_lambda/form-data/License +0 -19
  428. package/node_modules_lambda/form-data/README.md.bak +0 -358
  429. package/node_modules_lambda/form-data/Readme.md +0 -358
  430. package/node_modules_lambda/form-data/index.d.ts +0 -62
  431. package/node_modules_lambda/form-data/lib/browser.js +0 -2
  432. package/node_modules_lambda/form-data/lib/form_data.js +0 -501
  433. package/node_modules_lambda/form-data/lib/populate.js +0 -10
  434. package/node_modules_lambda/form-data/package.json +0 -68
  435. package/node_modules_lambda/html-encoding-sniffer/LICENSE.txt +0 -7
  436. package/node_modules_lambda/html-encoding-sniffer/README.md +0 -40
  437. package/node_modules_lambda/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -295
  438. package/node_modules_lambda/html-encoding-sniffer/package.json +0 -31
  439. package/node_modules_lambda/http-proxy-agent/README.md +0 -74
  440. package/node_modules_lambda/http-proxy-agent/dist/agent.d.ts +0 -32
  441. package/node_modules_lambda/http-proxy-agent/dist/agent.js +0 -145
  442. package/node_modules_lambda/http-proxy-agent/dist/agent.js.map +0 -1
  443. package/node_modules_lambda/http-proxy-agent/dist/index.d.ts +0 -21
  444. package/node_modules_lambda/http-proxy-agent/dist/index.js +0 -14
  445. package/node_modules_lambda/http-proxy-agent/dist/index.js.map +0 -1
  446. package/node_modules_lambda/http-proxy-agent/package.json +0 -57
  447. package/node_modules_lambda/https-proxy-agent/README.md +0 -137
  448. package/node_modules_lambda/https-proxy-agent/dist/agent.d.ts +0 -30
  449. package/node_modules_lambda/https-proxy-agent/dist/agent.js +0 -177
  450. package/node_modules_lambda/https-proxy-agent/dist/agent.js.map +0 -1
  451. package/node_modules_lambda/https-proxy-agent/dist/index.d.ts +0 -23
  452. package/node_modules_lambda/https-proxy-agent/dist/index.js +0 -14
  453. package/node_modules_lambda/https-proxy-agent/dist/index.js.map +0 -1
  454. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  455. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  456. package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  457. package/node_modules_lambda/https-proxy-agent/package.json +0 -56
  458. package/node_modules_lambda/is-potential-custom-element-name/LICENSE-MIT.txt +0 -20
  459. package/node_modules_lambda/is-potential-custom-element-name/README.md +0 -40
  460. package/node_modules_lambda/is-potential-custom-element-name/index.js +0 -9
  461. package/node_modules_lambda/is-potential-custom-element-name/package.json +0 -35
  462. package/node_modules_lambda/jsdom/LICENSE.txt +0 -22
  463. package/node_modules_lambda/jsdom/README.md +0 -522
  464. package/node_modules_lambda/jsdom/lib/api.js +0 -333
  465. package/node_modules_lambda/jsdom/lib/jsdom/browser/Window.js +0 -933
  466. package/node_modules_lambda/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
  467. package/node_modules_lambda/jsdom/lib/jsdom/browser/js-globals.json +0 -307
  468. package/node_modules_lambda/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  469. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/html.js +0 -224
  470. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/index.js +0 -37
  471. package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
  472. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
  473. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
  474. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -95
  475. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
  476. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
  477. package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
  478. package/node_modules_lambda/jsdom/lib/jsdom/level2/style.js +0 -57
  479. package/node_modules_lambda/jsdom/lib/jsdom/level3/xpath.js +0 -1874
  480. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
  481. package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -69
  482. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
  483. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
  484. package/node_modules_lambda/jsdom/lib/jsdom/living/attributes.js +0 -312
  485. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
  486. package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
  487. package/node_modules_lambda/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
  488. package/node_modules_lambda/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -265
  489. package/node_modules_lambda/jsdom/lib/jsdom/living/documents.js +0 -15
  490. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -58
  491. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -29
  492. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
  493. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
  494. package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -45
  495. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
  496. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
  497. package/node_modules_lambda/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
  498. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
  499. package/node_modules_lambda/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
  500. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -18
  501. package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -405
  502. package/node_modules_lambda/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
  503. package/node_modules_lambda/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
  504. package/node_modules_lambda/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
  505. package/node_modules_lambda/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
  506. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
  507. package/node_modules_lambda/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -49
  508. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
  509. package/node_modules_lambda/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
  510. package/node_modules_lambda/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
  511. package/node_modules_lambda/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
  512. package/node_modules_lambda/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
  513. package/node_modules_lambda/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
  514. package/node_modules_lambda/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
  515. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -170
  516. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-list.js +0 -54
  517. package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
  518. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
  519. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
  520. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
  521. package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
  522. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortController.js +0 -143
  523. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -184
  524. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -171
  525. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -44
  526. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
  527. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Attr.js +0 -217
  528. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BarProp.js +0 -117
  529. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
  530. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Blob.js +0 -203
  531. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -30
  532. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
  533. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -109
  534. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
  535. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -453
  536. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -168
  537. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -65
  538. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Comment.js +0 -120
  539. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -219
  540. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
  541. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -34
  542. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
  543. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -206
  544. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
  545. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -237
  546. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
  547. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -323
  548. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -563
  549. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Document.js +0 -3593
  550. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -334
  551. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
  552. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -252
  553. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Element.js +0 -1718
  554. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
  555. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -29
  556. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
  557. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -192
  558. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -92
  559. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Event.js +0 -430
  560. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -36
  561. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventInit.js +0 -58
  562. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
  563. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
  564. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -221
  565. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -259
  566. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/External.js +0 -130
  567. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/File.js +0 -177
  568. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileList.js +0 -324
  569. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -33
  570. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileReader.js +0 -468
  571. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -144
  572. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
  573. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FormData.js +0 -452
  574. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Function.js +0 -42
  575. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -31
  576. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -1023
  577. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -822
  578. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -110
  579. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
  580. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -193
  581. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -877
  582. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -522
  583. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -304
  584. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -378
  585. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
  586. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
  587. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -125
  588. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
  589. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
  590. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
  591. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
  592. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -2549
  593. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -371
  594. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -329
  595. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -236
  596. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -501
  597. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -494
  598. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -708
  599. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -320
  600. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -110
  601. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
  602. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
  603. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -670
  604. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -870
  605. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1875
  606. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -199
  607. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -179
  608. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -166
  609. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -542
  610. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -168
  611. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -546
  612. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -888
  613. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
  614. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -276
  615. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -365
  616. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -207
  617. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -281
  618. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -921
  619. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -197
  620. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -376
  621. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -537
  622. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -392
  623. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
  624. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -276
  625. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -110
  626. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -158
  627. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -218
  628. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -166
  629. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -459
  630. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -1013
  631. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -192
  632. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -330
  633. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -110
  634. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -207
  635. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
  636. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -700
  637. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -364
  638. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -799
  639. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -414
  640. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -346
  641. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -123
  642. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1171
  643. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
  644. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
  645. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -356
  646. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -197
  647. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -109
  648. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -329
  649. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -157
  650. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -50
  651. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Headers.js +0 -408
  652. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/History.js +0 -266
  653. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -168
  654. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -68
  655. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -445
  656. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -116
  657. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Location.js +0 -404
  658. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -317
  659. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -100
  660. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeType.js +0 -156
  661. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -352
  662. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -499
  663. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -111
  664. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -34
  665. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -178
  666. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -121
  667. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -229
  668. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -553
  669. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Navigator.js +0 -326
  670. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Node.js +0 -763
  671. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -75
  672. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -207
  673. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeList.js +0 -328
  674. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -42
  675. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -56
  676. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -144
  677. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -35
  678. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Performance.js +0 -142
  679. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Plugin.js +0 -385
  680. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -362
  681. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -144
  682. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  683. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -122
  684. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -170
  685. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -65
  686. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Range.js +0 -641
  687. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -149
  688. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
  689. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -2227
  690. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -139
  691. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -132
  692. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -737
  693. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -537
  694. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -109
  695. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Screen.js +0 -180
  696. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
  697. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
  698. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -14
  699. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
  700. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
  701. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Selection.js +0 -569
  702. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
  703. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -187
  704. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
  705. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
  706. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -123
  707. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -72
  708. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Storage.js +0 -423
  709. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -318
  710. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -99
  711. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -326
  712. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
  713. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Text.js +0 -170
  714. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
  715. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -222
  716. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
  717. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -255
  718. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
  719. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -62
  720. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -249
  721. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
  722. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -26
  723. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -476
  724. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -191
  725. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -71
  726. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -109
  727. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -655
  728. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -334
  729. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -14
  730. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -109
  731. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -132
  732. package/node_modules_lambda/jsdom/lib/jsdom/living/generated/utils.js +0 -190
  733. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -15
  734. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
  735. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-element.js +0 -320
  736. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
  737. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -270
  738. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
  739. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/details.js +0 -15
  740. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -54
  741. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/events.js +0 -24
  742. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
  743. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -306
  744. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
  745. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/http-request.js +0 -254
  746. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
  747. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
  748. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/json.js +0 -12
  749. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
  750. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -15
  751. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/node.js +0 -68
  752. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
  753. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
  754. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/page-transition-event.js +0 -9
  755. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
  756. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
  757. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
  758. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/strings.js +0 -148
  759. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -114
  760. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -113
  761. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
  762. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
  763. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/text.js +0 -19
  764. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
  765. package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -65
  766. package/node_modules_lambda/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -25
  767. package/node_modules_lambda/jsdom/lib/jsdom/living/interfaces.js +0 -217
  768. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
  769. package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
  770. package/node_modules_lambda/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
  771. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
  772. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
  773. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
  774. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  775. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  776. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  777. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  778. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  779. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
  780. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
  781. package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
  782. package/node_modules_lambda/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  783. package/node_modules_lambda/jsdom/lib/jsdom/living/node-type.js +0 -16
  784. package/node_modules_lambda/jsdom/lib/jsdom/living/node.js +0 -331
  785. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
  786. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
  787. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
  788. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
  789. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
  790. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
  791. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
  792. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -946
  793. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
  794. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
  795. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
  796. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -582
  797. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -25
  798. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  799. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -95
  800. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
  801. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
  802. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  803. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  804. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
  805. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
  806. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
  807. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
  808. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
  809. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  810. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  811. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
  812. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
  813. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  814. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  815. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  816. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -160
  817. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
  818. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
  819. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  820. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -232
  821. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -261
  822. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
  823. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  824. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  825. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  826. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  827. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -371
  828. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  829. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -132
  830. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1129
  831. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  832. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
  833. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
  834. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -101
  835. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  836. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
  837. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
  838. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  839. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  840. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
  841. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  842. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
  843. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
  844. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  845. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
  846. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
  847. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -85
  848. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
  849. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  850. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  851. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
  852. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  853. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -74
  854. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  855. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -265
  856. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
  857. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
  858. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
  859. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  860. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -74
  861. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  862. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
  863. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  864. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
  865. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
  866. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
  867. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
  868. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -272
  869. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  870. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  871. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
  872. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  873. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  874. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
  875. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
  876. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1159
  877. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
  878. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  879. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
  880. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
  881. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  882. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
  883. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
  884. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -42
  885. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
  886. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
  887. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -40
  888. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
  889. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
  890. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
  891. package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  892. package/node_modules_lambda/jsdom/lib/jsdom/living/post-message.js +0 -39
  893. package/node_modules_lambda/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
  894. package/node_modules_lambda/jsdom/lib/jsdom/living/range/Range-impl.js +0 -897
  895. package/node_modules_lambda/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
  896. package/node_modules_lambda/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
  897. package/node_modules_lambda/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -342
  898. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -38
  899. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
  900. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
  901. package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
  902. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -127
  903. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
  904. package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
  905. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +0 -175
  906. package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
  907. package/node_modules_lambda/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
  908. package/node_modules_lambda/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
  909. package/node_modules_lambda/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
  910. package/node_modules_lambda/jsdom/lib/jsdom/living/window/History-impl.js +0 -134
  911. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Location-impl.js +0 -238
  912. package/node_modules_lambda/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
  913. package/node_modules_lambda/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
  914. package/node_modules_lambda/jsdom/lib/jsdom/living/window/navigation.js +0 -85
  915. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -171
  916. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1023
  917. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
  918. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
  919. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -60
  920. package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -438
  921. package/node_modules_lambda/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
  922. package/node_modules_lambda/jsdom/lib/jsdom/utils.js +0 -165
  923. package/node_modules_lambda/jsdom/lib/jsdom/virtual-console.js +0 -34
  924. package/node_modules_lambda/jsdom/lib/jsdom/vm-shim.js +0 -106
  925. package/node_modules_lambda/jsdom/package.json +0 -116
  926. package/node_modules_lambda/mime-db/HISTORY.md +0 -507
  927. package/node_modules_lambda/mime-db/LICENSE +0 -23
  928. package/node_modules_lambda/mime-db/README.md +0 -100
  929. package/node_modules_lambda/mime-db/db.json +0 -8519
  930. package/node_modules_lambda/mime-db/index.js +0 -12
  931. package/node_modules_lambda/mime-db/package.json +0 -60
  932. package/node_modules_lambda/mime-types/HISTORY.md +0 -397
  933. package/node_modules_lambda/mime-types/LICENSE +0 -23
  934. package/node_modules_lambda/mime-types/README.md +0 -113
  935. package/node_modules_lambda/mime-types/index.js +0 -188
  936. package/node_modules_lambda/mime-types/package.json +0 -44
  937. package/node_modules_lambda/ms/index.js +0 -162
  938. package/node_modules_lambda/ms/license.md +0 -21
  939. package/node_modules_lambda/ms/package.json +0 -37
  940. package/node_modules_lambda/ms/readme.md +0 -60
  941. package/node_modules_lambda/nwsapi/LICENSE +0 -22
  942. package/node_modules_lambda/nwsapi/README.md +0 -132
  943. package/node_modules_lambda/nwsapi/dist/lint.log +0 -0
  944. package/node_modules_lambda/nwsapi/package.json +0 -38
  945. package/node_modules_lambda/nwsapi/src/modules/nwsapi-jquery.js +0 -135
  946. package/node_modules_lambda/nwsapi/src/modules/nwsapi-traversal.js +0 -90
  947. package/node_modules_lambda/nwsapi/src/nwsapi.js +0 -1800
  948. package/node_modules_lambda/parse5/LICENSE +0 -19
  949. package/node_modules_lambda/parse5/README.md +0 -38
  950. package/node_modules_lambda/parse5/lib/common/doctype.js +0 -162
  951. package/node_modules_lambda/parse5/lib/common/error-codes.js +0 -65
  952. package/node_modules_lambda/parse5/lib/common/foreign-content.js +0 -265
  953. package/node_modules_lambda/parse5/lib/common/html.js +0 -272
  954. package/node_modules_lambda/parse5/lib/common/unicode.js +0 -109
  955. package/node_modules_lambda/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  956. package/node_modules_lambda/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  957. package/node_modules_lambda/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  958. package/node_modules_lambda/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  959. package/node_modules_lambda/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  960. package/node_modules_lambda/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  961. package/node_modules_lambda/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  962. package/node_modules_lambda/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  963. package/node_modules_lambda/parse5/lib/index.js +0 -29
  964. package/node_modules_lambda/parse5/lib/parser/formatting-element-list.js +0 -181
  965. package/node_modules_lambda/parse5/lib/parser/index.js +0 -2956
  966. package/node_modules_lambda/parse5/lib/parser/open-element-stack.js +0 -482
  967. package/node_modules_lambda/parse5/lib/serializer/index.js +0 -176
  968. package/node_modules_lambda/parse5/lib/tokenizer/index.js +0 -2196
  969. package/node_modules_lambda/parse5/lib/tokenizer/named-entity-data.js +0 -5
  970. package/node_modules_lambda/parse5/lib/tokenizer/preprocessor.js +0 -159
  971. package/node_modules_lambda/parse5/lib/tree-adapters/default.js +0 -221
  972. package/node_modules_lambda/parse5/lib/utils/merge-options.js +0 -13
  973. package/node_modules_lambda/parse5/lib/utils/mixin.js +0 -39
  974. package/node_modules_lambda/parse5/package.json +0 -35
  975. package/node_modules_lambda/psl/LICENSE +0 -9
  976. package/node_modules_lambda/psl/README.md +0 -215
  977. package/node_modules_lambda/psl/browserstack-logo.svg +0 -90
  978. package/node_modules_lambda/psl/data/rules.json +0 -8834
  979. package/node_modules_lambda/psl/dist/psl.js +0 -9645
  980. package/node_modules_lambda/psl/dist/psl.min.js +0 -1
  981. package/node_modules_lambda/psl/index.js +0 -269
  982. package/node_modules_lambda/psl/package.json +0 -44
  983. package/node_modules_lambda/punycode/LICENSE-MIT.txt +0 -20
  984. package/node_modules_lambda/punycode/README.md +0 -122
  985. package/node_modules_lambda/punycode/package.json +0 -58
  986. package/node_modules_lambda/punycode/punycode.es6.js +0 -441
  987. package/node_modules_lambda/punycode/punycode.js +0 -440
  988. package/node_modules_lambda/safer-buffer/LICENSE +0 -21
  989. package/node_modules_lambda/safer-buffer/Porting-Buffer.md +0 -268
  990. package/node_modules_lambda/safer-buffer/Readme.md +0 -156
  991. package/node_modules_lambda/safer-buffer/dangerous.js +0 -58
  992. package/node_modules_lambda/safer-buffer/package.json +0 -34
  993. package/node_modules_lambda/safer-buffer/safer.js +0 -77
  994. package/node_modules_lambda/safer-buffer/tests.js +0 -406
  995. package/node_modules_lambda/saxes/README.md +0 -323
  996. package/node_modules_lambda/saxes/package.json +0 -70
  997. package/node_modules_lambda/saxes/saxes.d.ts +0 -635
  998. package/node_modules_lambda/saxes/saxes.js +0 -2064
  999. package/node_modules_lambda/saxes/saxes.js.map +0 -1
  1000. package/node_modules_lambda/symbol-tree/LICENSE +0 -21
  1001. package/node_modules_lambda/symbol-tree/README.md +0 -545
  1002. package/node_modules_lambda/symbol-tree/lib/SymbolTree.js +0 -838
  1003. package/node_modules_lambda/symbol-tree/lib/SymbolTreeNode.js +0 -54
  1004. package/node_modules_lambda/symbol-tree/lib/TreeIterator.js +0 -69
  1005. package/node_modules_lambda/symbol-tree/lib/TreePosition.js +0 -11
  1006. package/node_modules_lambda/symbol-tree/package.json +0 -47
  1007. package/node_modules_lambda/tough-cookie/LICENSE +0 -12
  1008. package/node_modules_lambda/tough-cookie/README.md +0 -582
  1009. package/node_modules_lambda/tough-cookie/lib/cookie.js +0 -1671
  1010. package/node_modules_lambda/tough-cookie/lib/memstore.js +0 -190
  1011. package/node_modules_lambda/tough-cookie/lib/pathMatch.js +0 -61
  1012. package/node_modules_lambda/tough-cookie/lib/permuteDomain.js +0 -70
  1013. package/node_modules_lambda/tough-cookie/lib/pubsuffix-psl.js +0 -38
  1014. package/node_modules_lambda/tough-cookie/lib/store.js +0 -76
  1015. package/node_modules_lambda/tough-cookie/lib/version.js +0 -2
  1016. package/node_modules_lambda/tough-cookie/package.json +0 -109
  1017. package/node_modules_lambda/tr46/LICENSE.md +0 -21
  1018. package/node_modules_lambda/tr46/README.md +0 -78
  1019. package/node_modules_lambda/tr46/index.js +0 -298
  1020. package/node_modules_lambda/tr46/lib/mappingTable.json +0 -1
  1021. package/node_modules_lambda/tr46/lib/regexes.js +0 -29
  1022. package/node_modules_lambda/tr46/lib/statusMapping.js +0 -11
  1023. package/node_modules_lambda/tr46/package.json +0 -47
  1024. package/node_modules_lambda/universalify/LICENSE +0 -20
  1025. package/node_modules_lambda/universalify/README.md +0 -76
  1026. package/node_modules_lambda/universalify/index.js +0 -25
  1027. package/node_modules_lambda/universalify/package.json +0 -34
  1028. package/node_modules_lambda/w3c-hr-time/CHANGELOG.md +0 -19
  1029. package/node_modules_lambda/w3c-hr-time/LICENSE.md +0 -21
  1030. package/node_modules_lambda/w3c-hr-time/README.md +0 -130
  1031. package/node_modules_lambda/w3c-hr-time/index.js +0 -11
  1032. package/node_modules_lambda/w3c-hr-time/lib/calculate-clock-offset.js +0 -39
  1033. package/node_modules_lambda/w3c-hr-time/lib/clock-is-accurate.js +0 -61
  1034. package/node_modules_lambda/w3c-hr-time/lib/global-monotonic-clock.js +0 -10
  1035. package/node_modules_lambda/w3c-hr-time/lib/performance.js +0 -53
  1036. package/node_modules_lambda/w3c-hr-time/lib/utils.js +0 -11
  1037. package/node_modules_lambda/w3c-hr-time/package.json +0 -26
  1038. package/node_modules_lambda/w3c-xmlserializer/LICENSE.md +0 -25
  1039. package/node_modules_lambda/w3c-xmlserializer/README.md +0 -41
  1040. package/node_modules_lambda/w3c-xmlserializer/lib/attributes.js +0 -125
  1041. package/node_modules_lambda/w3c-xmlserializer/lib/constants.js +0 -44
  1042. package/node_modules_lambda/w3c-xmlserializer/lib/serialize.js +0 -365
  1043. package/node_modules_lambda/w3c-xmlserializer/package.json +0 -33
  1044. package/node_modules_lambda/webidl-conversions/LICENSE.md +0 -12
  1045. package/node_modules_lambda/webidl-conversions/README.md +0 -99
  1046. package/node_modules_lambda/webidl-conversions/lib/index.js +0 -450
  1047. package/node_modules_lambda/webidl-conversions/package.json +0 -35
  1048. package/node_modules_lambda/whatwg-encoding/LICENSE.txt +0 -7
  1049. package/node_modules_lambda/whatwg-encoding/README.md +0 -50
  1050. package/node_modules_lambda/whatwg-encoding/lib/labels-to-names.json +0 -216
  1051. package/node_modules_lambda/whatwg-encoding/lib/supported-names.json +0 -37
  1052. package/node_modules_lambda/whatwg-encoding/lib/whatwg-encoding.js +0 -47
  1053. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  1054. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/Changelog.md +0 -212
  1055. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/LICENSE +0 -21
  1056. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/README.md +0 -130
  1057. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1058. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1059. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +0 -23
  1060. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +0 -198
  1061. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1062. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1063. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1064. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1065. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1066. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1067. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1068. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1069. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1070. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1071. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1072. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1073. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1074. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1075. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1076. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.d.ts +0 -41
  1077. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/index.js +0 -180
  1078. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +0 -109
  1079. package/node_modules_lambda/whatwg-encoding/node_modules/iconv-lite/package.json +0 -44
  1080. package/node_modules_lambda/whatwg-encoding/package.json +0 -33
  1081. package/node_modules_lambda/whatwg-mimetype/LICENSE.txt +0 -7
  1082. package/node_modules_lambda/whatwg-mimetype/README.md +0 -101
  1083. package/node_modules_lambda/whatwg-mimetype/lib/mime-type-parameters.js +0 -70
  1084. package/node_modules_lambda/whatwg-mimetype/lib/mime-type.js +0 -127
  1085. package/node_modules_lambda/whatwg-mimetype/lib/parser.js +0 -105
  1086. package/node_modules_lambda/whatwg-mimetype/lib/serializer.js +0 -25
  1087. package/node_modules_lambda/whatwg-mimetype/lib/utils.js +0 -60
  1088. package/node_modules_lambda/whatwg-mimetype/package.json +0 -47
  1089. package/node_modules_lambda/whatwg-url/LICENSE.txt +0 -21
  1090. package/node_modules_lambda/whatwg-url/README.md +0 -105
  1091. package/node_modules_lambda/whatwg-url/index.js +0 -25
  1092. package/node_modules_lambda/whatwg-url/lib/Function.js +0 -42
  1093. package/node_modules_lambda/whatwg-url/lib/URL-impl.js +0 -217
  1094. package/node_modules_lambda/whatwg-url/lib/URL.js +0 -442
  1095. package/node_modules_lambda/whatwg-url/lib/URLSearchParams-impl.js +0 -130
  1096. package/node_modules_lambda/whatwg-url/lib/URLSearchParams.js +0 -472
  1097. package/node_modules_lambda/whatwg-url/lib/VoidFunction.js +0 -26
  1098. package/node_modules_lambda/whatwg-url/lib/encoding.js +0 -16
  1099. package/node_modules_lambda/whatwg-url/lib/infra.js +0 -26
  1100. package/node_modules_lambda/whatwg-url/lib/percent-encoding.js +0 -142
  1101. package/node_modules_lambda/whatwg-url/lib/url-state-machine.js +0 -1234
  1102. package/node_modules_lambda/whatwg-url/lib/urlencoded.js +0 -106
  1103. package/node_modules_lambda/whatwg-url/lib/utils.js +0 -190
  1104. package/node_modules_lambda/whatwg-url/package.json +0 -58
  1105. package/node_modules_lambda/whatwg-url/webidl2js-wrapper.js +0 -7
  1106. package/node_modules_lambda/word-wrap/LICENSE +0 -21
  1107. package/node_modules_lambda/word-wrap/README.md +0 -182
  1108. package/node_modules_lambda/word-wrap/index.d.ts +0 -50
  1109. package/node_modules_lambda/word-wrap/index.js +0 -46
  1110. package/node_modules_lambda/word-wrap/package.json +0 -77
  1111. package/node_modules_lambda/ws/LICENSE +0 -19
  1112. package/node_modules_lambda/ws/README.md +0 -495
  1113. package/node_modules_lambda/ws/browser.js +0 -8
  1114. package/node_modules_lambda/ws/index.js +0 -13
  1115. package/node_modules_lambda/ws/lib/buffer-util.js +0 -127
  1116. package/node_modules_lambda/ws/lib/constants.js +0 -12
  1117. package/node_modules_lambda/ws/lib/event-target.js +0 -266
  1118. package/node_modules_lambda/ws/lib/extension.js +0 -203
  1119. package/node_modules_lambda/ws/lib/limiter.js +0 -55
  1120. package/node_modules_lambda/ws/lib/permessage-deflate.js +0 -511
  1121. package/node_modules_lambda/ws/lib/receiver.js +0 -618
  1122. package/node_modules_lambda/ws/lib/sender.js +0 -478
  1123. package/node_modules_lambda/ws/lib/stream.js +0 -159
  1124. package/node_modules_lambda/ws/lib/subprotocol.js +0 -62
  1125. package/node_modules_lambda/ws/lib/validation.js +0 -125
  1126. package/node_modules_lambda/ws/lib/websocket-server.js +0 -535
  1127. package/node_modules_lambda/ws/lib/websocket.js +0 -1296
  1128. package/node_modules_lambda/ws/package.json +0 -61
  1129. package/node_modules_lambda/ws/wrapper.mjs +0 -8
  1130. package/node_modules_lambda/xml-name-validator/LICENSE.txt +0 -176
  1131. package/node_modules_lambda/xml-name-validator/README.md +0 -35
  1132. package/node_modules_lambda/xml-name-validator/lib/xml-name-validator.js +0 -9
  1133. package/node_modules_lambda/xml-name-validator/package.json +0 -30
  1134. package/node_modules_lambda/xmlchars/LICENSE +0 -18
  1135. package/node_modules_lambda/xmlchars/README.md +0 -33
  1136. package/node_modules_lambda/xmlchars/package.json +0 -51
  1137. package/node_modules_lambda/xmlchars/xml/1.0/ed4.d.ts +0 -31
  1138. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js +0 -44
  1139. package/node_modules_lambda/xmlchars/xml/1.0/ed4.js.map +0 -1
  1140. package/node_modules_lambda/xmlchars/xml/1.0/ed5.d.ts +0 -51
  1141. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js +0 -105
  1142. package/node_modules_lambda/xmlchars/xml/1.0/ed5.js.map +0 -1
  1143. package/node_modules_lambda/xmlchars/xml/1.1/ed2.d.ts +0 -73
  1144. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js +0 -145
  1145. package/node_modules_lambda/xmlchars/xml/1.1/ed2.js.map +0 -1
  1146. package/node_modules_lambda/xmlchars/xmlchars.d.ts +0 -170
  1147. package/node_modules_lambda/xmlchars/xmlchars.js +0 -191
  1148. package/node_modules_lambda/xmlchars/xmlchars.js.map +0 -1
  1149. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.d.ts +0 -28
  1150. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js +0 -65
  1151. package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js.map +0 -1
@@ -1,1129 +0,0 @@
1
- "use strict";
2
- const DOMException = require("domexception/webidl2js-wrapper");
3
- const FileList = require("../generated/FileList");
4
- const Decimal = require("decimal.js");
5
- const HTMLElementImpl = require("./HTMLElement-impl").implementation;
6
- const idlUtils = require("../generated/utils");
7
- const DefaultConstraintValidationImpl =
8
- require("../constraint-validation/DefaultConstraintValidation-impl").implementation;
9
- const ValidityState = require("../generated/ValidityState");
10
- const { mixin } = require("../../utils");
11
- const { domSymbolTree, cloningSteps } = require("../helpers/internal-constants");
12
- const { getLabelsForLabelable, formOwner } = require("../helpers/form-controls");
13
- const { fireAnEvent } = require("../helpers/events");
14
- const {
15
- isDisabled,
16
- isValidEmailAddress,
17
- isValidAbsoluteURL,
18
- sanitizeValueByType
19
- } = require("../helpers/form-controls");
20
- const {
21
- asciiCaseInsensitiveMatch,
22
- asciiLowercase,
23
- parseFloatingPointNumber,
24
- splitOnCommas
25
- } = require("../helpers/strings");
26
- const { isDate } = require("../helpers/dates-and-times");
27
- const {
28
- convertStringToNumberByType,
29
- convertStringToDateByType,
30
- serializeDateByType,
31
- convertNumberToStringByType
32
- } = require("../helpers/number-and-date-inputs");
33
-
34
- const filesSymbol = Symbol("files");
35
-
36
- // https://html.spec.whatwg.org/multipage/input.html#attr-input-type
37
- const inputAllowedTypes = new Set([
38
- "hidden", "text", "search", "tel", "url", "email", "password", "date",
39
- "month", "week", "time", "datetime-local", "number", "range", "color", "checkbox", "radio",
40
- "file", "submit", "image", "reset", "button"
41
- ]);
42
-
43
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-apply
44
-
45
- const variableLengthSelectionAllowedTypes = new Set(["text", "search", "url", "tel", "password"]);
46
- const numericTypes = new Set(["date", "month", "week", "time", "datetime-local", "number", "range"]);
47
-
48
- const applicableTypesForIDLMember = {
49
- valueAsDate: new Set(["date", "month", "week", "time"]),
50
- valueAsNumber: numericTypes,
51
-
52
- select: new Set([
53
- "text", "search", "url", "tel", "email", "password", "date", "month", "week",
54
- "time", "datetime-local", "number", "color", "file"
55
- ]),
56
- selectionStart: variableLengthSelectionAllowedTypes,
57
- selectionEnd: variableLengthSelectionAllowedTypes,
58
- selectionDirection: variableLengthSelectionAllowedTypes,
59
- setRangeText: variableLengthSelectionAllowedTypes,
60
- setSelectionRange: variableLengthSelectionAllowedTypes,
61
- stepDown: numericTypes,
62
- stepUp: numericTypes
63
- };
64
-
65
- const lengthPatternSizeTypes = new Set(["text", "search", "url", "tel", "email", "password"]);
66
- const readonlyTypes =
67
- new Set([...lengthPatternSizeTypes, "date", "month", "week", "time", "datetime-local", "number"]);
68
-
69
- const applicableTypesForContentAttribute = {
70
- list: new Set(["text", "search", "url", "tel", "email", ...numericTypes, "color"]),
71
- max: numericTypes,
72
- maxlength: lengthPatternSizeTypes,
73
- min: numericTypes,
74
- minlength: lengthPatternSizeTypes,
75
- multiple: new Set(["email", "file"]),
76
- pattern: lengthPatternSizeTypes,
77
- readonly: readonlyTypes,
78
- required: new Set([...readonlyTypes, "checkbox", "radio", "file"]),
79
- step: numericTypes
80
- };
81
-
82
- const valueAttributeDefaultMode = new Set(["hidden", "submit", "image", "reset", "button"]);
83
- const valueAttributeDefaultOnMode = new Set(["checkbox", "radio"]);
84
-
85
- function valueAttributeMode(type) {
86
- if (valueAttributeDefaultMode.has(type)) {
87
- return "default";
88
- }
89
- if (valueAttributeDefaultOnMode.has(type)) {
90
- return "default/on";
91
- }
92
- if (type === "file") {
93
- return "filename";
94
- }
95
- return "value";
96
- }
97
-
98
- function getTypeFromAttribute(typeAttribute) {
99
- if (typeof typeAttribute !== "string") {
100
- return "text";
101
- }
102
- const type = asciiLowercase(typeAttribute);
103
- return inputAllowedTypes.has(type) ? type : "text";
104
- }
105
-
106
- class HTMLInputElementImpl extends HTMLElementImpl {
107
- constructor(globalObject, args, privateData) {
108
- super(globalObject, args, privateData);
109
-
110
- this._selectionStart = this._selectionEnd = 0;
111
- this._selectionDirection = "none";
112
- this._value = "";
113
- this._dirtyValue = false;
114
- this._checkedness = false;
115
- this._dirtyCheckedness = false;
116
-
117
- this._preCheckedRadioState = null;
118
- this._legacyActivationBehaviorPreviousIndeterminateState = false;
119
-
120
- this.indeterminate = false;
121
-
122
- this._customValidityErrorMessage = "";
123
-
124
- this._labels = null;
125
-
126
- this._hasActivationBehavior = true;
127
- }
128
-
129
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-value-string-number
130
- get _convertStringToNumber() {
131
- return convertStringToNumberByType[this.type];
132
- }
133
-
134
- get _convertNumberToString() {
135
- return convertNumberToStringByType[this.type];
136
- }
137
-
138
- get _convertDateToString() {
139
- return serializeDateByType[this.type];
140
- }
141
-
142
- get _convertStringToDate() {
143
- return convertStringToDateByType[this.type];
144
- }
145
-
146
- _isStepAligned(v) {
147
- return new Decimal(v).minus(this._stepBase)
148
- .modulo(this._allowedValueStep)
149
- .isZero();
150
- }
151
-
152
- // Returns a Decimal.
153
- _stepAlign(v, roundUp) {
154
- const allowedValueStep = this._allowedValueStep;
155
- const stepBase = this._stepBase;
156
-
157
- return new Decimal(v).minus(stepBase)
158
- .toNearest(allowedValueStep, roundUp ? Decimal.ROUND_UP : Decimal.ROUND_DOWN)
159
- .add(stepBase);
160
- }
161
-
162
- // For <input>, https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-fe-value
163
- // is a simple value that is gotten and set, not computed.
164
- _getValue() {
165
- return this._value;
166
- }
167
-
168
- _legacyPreActivationBehavior() {
169
- if (this.type === "checkbox") {
170
- this.checked = !this.checked;
171
- this._legacyActivationBehaviorPreviousIndeterminateState = this.indeterminate;
172
- this.indeterminate = false;
173
- } else if (this.type === "radio") {
174
- this._preCheckedRadioState = this.checked;
175
- this.checked = true;
176
- }
177
- }
178
-
179
- _legacyCanceledActivationBehavior() {
180
- if (this.type === "checkbox") {
181
- this.checked = !this.checked;
182
- this.indeterminate = this._legacyActivationBehaviorPreviousIndeterminateState;
183
- } else if (this.type === "radio") {
184
- if (this._preCheckedRadioState !== null) {
185
- this.checked = this._preCheckedRadioState;
186
- this._preCheckedRadioState = null;
187
- }
188
- }
189
- }
190
-
191
- _activationBehavior() {
192
- if (!this._mutable && this.type !== "checkbox" && this.type !== "radio") {
193
- return;
194
- }
195
-
196
- const { form } = this;
197
-
198
- if (this.type === "checkbox" || (this.type === "radio" && !this._preCheckedRadioState)) {
199
- if (this.isConnected) {
200
- fireAnEvent("input", this, undefined, { bubbles: true });
201
- fireAnEvent("change", this, undefined, { bubbles: true });
202
- }
203
- } else if (form && this.type === "submit") {
204
- form._doRequestSubmit(this);
205
- } else if (form && this.type === "reset") {
206
- form._doReset();
207
- }
208
- }
209
-
210
- _attrModified(name, value, oldVal) {
211
- const wrapper = idlUtils.wrapperForImpl(this);
212
- if (!this._dirtyValue && name === "value") {
213
- this._value = sanitizeValueByType(this, wrapper.defaultValue);
214
- }
215
- if (!this._dirtyCheckedness && name === "checked") {
216
- this._checkedness = wrapper.defaultChecked;
217
- if (this._checkedness) {
218
- this._removeOtherRadioCheckedness();
219
- }
220
- }
221
-
222
- if (name === "name" || name === "type") {
223
- if (this._checkedness) {
224
- this._removeOtherRadioCheckedness();
225
- }
226
- }
227
-
228
- if (name === "type") {
229
- const prevType = getTypeFromAttribute(oldVal);
230
- const curType = getTypeFromAttribute(value);
231
- // When an input element's type attribute changes state…
232
- if (prevType !== curType) {
233
- const prevValueMode = valueAttributeMode(prevType);
234
- const curValueMode = valueAttributeMode(curType);
235
- if (prevValueMode === "value" && this._value !== "" &&
236
- (curValueMode === "default" || curValueMode === "default/on")) {
237
- this.setAttributeNS(null, "value", this._value);
238
- } else if (prevValueMode !== "value" && curValueMode === "value") {
239
- this._value = this.getAttributeNS(null, "value") || "";
240
- this._dirtyValue = false;
241
- } else if (prevValueMode !== "filename" && curValueMode === "filename") {
242
- this._value = "";
243
- }
244
-
245
- this._signalATypeChange();
246
-
247
- this._value = sanitizeValueByType(this, this._value);
248
-
249
- const previouslySelectable = this._idlMemberApplies("setRangeText", prevType);
250
- const nowSelectable = this._idlMemberApplies("setRangeText", curType);
251
- if (!previouslySelectable && nowSelectable) {
252
- this._selectionStart = 0;
253
- this._selectionEnd = 0;
254
- this._selectionDirection = "none";
255
- }
256
- }
257
- }
258
-
259
- super._attrModified(name, value, oldVal);
260
- }
261
-
262
- // https://html.spec.whatwg.org/multipage/input.html#signal-a-type-change
263
- _signalATypeChange() {
264
- if (this._checkedness) {
265
- this._removeOtherRadioCheckedness();
266
- }
267
- }
268
-
269
- _formReset() {
270
- const wrapper = idlUtils.wrapperForImpl(this);
271
- this._value = sanitizeValueByType(this, wrapper.defaultValue);
272
- this._dirtyValue = false;
273
- this._checkedness = wrapper.defaultChecked;
274
- this._dirtyCheckedness = false;
275
- if (this._checkedness) {
276
- this._removeOtherRadioCheckedness();
277
- }
278
- }
279
-
280
- _changedFormOwner() {
281
- if (this._checkedness) {
282
- this._removeOtherRadioCheckedness();
283
- }
284
- }
285
-
286
- get _otherRadioGroupElements() {
287
- const wrapper = idlUtils.wrapperForImpl(this);
288
- const root = this._radioButtonGroupRoot;
289
- if (!root) {
290
- return [];
291
- }
292
-
293
- const result = [];
294
-
295
- const descendants = domSymbolTree.treeIterator(root);
296
- for (const candidate of descendants) {
297
- if (candidate._radioButtonGroupRoot !== root) {
298
- continue;
299
- }
300
-
301
- const candidateWrapper = idlUtils.wrapperForImpl(candidate);
302
- if (!candidateWrapper.name || candidateWrapper.name !== wrapper.name) {
303
- continue;
304
- }
305
-
306
- if (candidate !== this) {
307
- result.push(candidate);
308
- }
309
- }
310
- return result;
311
- }
312
-
313
- _removeOtherRadioCheckedness() {
314
- for (const radioGroupElement of this._otherRadioGroupElements) {
315
- radioGroupElement._checkedness = false;
316
- }
317
- }
318
-
319
- get _radioButtonGroupRoot() {
320
- const wrapper = idlUtils.wrapperForImpl(this);
321
- if (this.type !== "radio" || !wrapper.name) {
322
- return null;
323
- }
324
-
325
- let e = domSymbolTree.parent(this);
326
- while (e) {
327
- // root node of this home sub tree
328
- // or the form element we belong to
329
- if (!domSymbolTree.parent(e) || e.nodeName.toUpperCase() === "FORM") {
330
- return e;
331
- }
332
- e = domSymbolTree.parent(e);
333
- }
334
- return null;
335
- }
336
-
337
- _someInRadioGroup(name) {
338
- if (this[name]) {
339
- return true;
340
- }
341
- return this._otherRadioGroupElements.some(radioGroupElement => radioGroupElement[name]);
342
- }
343
-
344
- get _mutable() {
345
- return !isDisabled(this) && !this._hasAttributeAndApplies("readonly");
346
- }
347
-
348
- get labels() {
349
- return getLabelsForLabelable(this);
350
- }
351
-
352
- get form() {
353
- return formOwner(this);
354
- }
355
-
356
- get checked() {
357
- return this._checkedness;
358
- }
359
-
360
- set checked(checked) {
361
- this._checkedness = Boolean(checked);
362
- this._dirtyCheckedness = true;
363
- if (this._checkedness) {
364
- this._removeOtherRadioCheckedness();
365
- }
366
- }
367
-
368
- get value() {
369
- switch (valueAttributeMode(this.type)) {
370
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-value
371
- case "value":
372
- return this._getValue();
373
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default
374
- case "default": {
375
- const attr = this.getAttributeNS(null, "value");
376
- return attr !== null ? attr : "";
377
- }
378
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on
379
- case "default/on": {
380
- const attr = this.getAttributeNS(null, "value");
381
- return attr !== null ? attr : "on";
382
- }
383
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-filename
384
- case "filename":
385
- return this.files.length ? "C:\\fakepath\\" + this.files[0].name : "";
386
- default:
387
- throw new Error("jsdom internal error: unknown value attribute mode");
388
- }
389
- }
390
-
391
- set value(val) {
392
- switch (valueAttributeMode(this.type)) {
393
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-value
394
- case "value": {
395
- const oldValue = this._value;
396
- this._value = sanitizeValueByType(this, val);
397
- this._dirtyValue = true;
398
-
399
- if (oldValue !== this._value) {
400
- this._selectionStart = this._selectionEnd = this._getValueLength();
401
- this._selectionDirection = "none";
402
- }
403
- break;
404
- }
405
-
406
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default
407
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on
408
- case "default":
409
- case "default/on":
410
- this.setAttributeNS(null, "value", val);
411
- break;
412
-
413
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-value-filename
414
- case "filename":
415
- if (val === "") {
416
- this.files.length = 0;
417
- } else {
418
- throw DOMException.create(this._globalObject, [
419
- "This input element accepts a filename, which may only be programmatically set to the empty string.",
420
- "InvalidStateError"
421
- ]);
422
- }
423
- break;
424
-
425
- default:
426
- throw new Error("jsdom internal error: unknown value attribute mode");
427
- }
428
- }
429
-
430
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-valueasdate
431
- get valueAsDate() {
432
- if (!this._idlMemberApplies("valueAsDate")) {
433
- return null;
434
- }
435
-
436
- const window = this._ownerDocument._defaultView;
437
- const convertedValue = this._convertStringToDate(this._value);
438
-
439
- if (convertedValue instanceof Date) {
440
- return new window.Date(convertedValue.getTime());
441
- }
442
-
443
- return null;
444
- }
445
-
446
- set valueAsDate(v) {
447
- if (!this._idlMemberApplies("valueAsDate")) {
448
- throw DOMException.create(this._globalObject, [
449
- "Failed to set the 'valueAsDate' property on 'HTMLInputElement': This input element does not support Date " +
450
- "values.",
451
- "InvalidStateError"
452
- ]);
453
- }
454
-
455
- if (v !== null && !isDate(v)) {
456
- throw new TypeError("Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is " +
457
- "not a Date.");
458
- }
459
-
460
- if (v === null || isNaN(v)) {
461
- this._value = "";
462
- return;
463
- }
464
-
465
- this._value = this._convertDateToString(v);
466
- }
467
-
468
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-valueasnumber
469
- get valueAsNumber() {
470
- if (!this._idlMemberApplies("valueAsNumber")) {
471
- return NaN;
472
- }
473
-
474
- const parsedValue = this._convertStringToNumber(this._value);
475
- return parsedValue !== null ? parsedValue : NaN;
476
- }
477
-
478
- set valueAsNumber(v) {
479
- if (!isFinite(v)) {
480
- throw new TypeError("Failed to set infinite value as Number");
481
- }
482
-
483
- if (!this._idlMemberApplies("valueAsNumber")) {
484
- throw DOMException.create(this._globalObject, [
485
- "Failed to set the 'valueAsNumber' property on 'HTMLInputElement': This input element does not support " +
486
- "Number values.",
487
- "InvalidStateError"
488
- ]);
489
- }
490
-
491
- this._value = this._convertNumberToString(v);
492
- }
493
-
494
- // https://html.spec.whatwg.org/multipage/input.html#dom-input-stepup
495
- _stepUpdate(n, isUp) {
496
- const methodName = isUp ? "stepUp" : "stepDown";
497
- if (!this._idlMemberApplies(methodName)) {
498
- throw DOMException.create(this._globalObject, [
499
- `Failed to invoke '${methodName}' method on 'HTMLInputElement': ` +
500
- "This input element does not support Number values.",
501
- "InvalidStateError"
502
- ]);
503
- }
504
-
505
- const allowedValueStep = this._allowedValueStep;
506
- if (allowedValueStep === null) {
507
- throw DOMException.create(this._globalObject, [
508
- `Failed to invoke '${methodName}' method on 'HTMLInputElement': ` +
509
- "This input element does not support value step.",
510
- "InvalidStateError"
511
- ]);
512
- }
513
-
514
- const min = this._minimum;
515
- const max = this._maximum;
516
-
517
- if (min !== null && max !== null) {
518
- if (min > max) {
519
- return;
520
- }
521
-
522
- const candidateStepValue = this._stepAlign(Decimal.add(min, allowedValueStep), /* roundUp = */ false);
523
- if (candidateStepValue.lt(min) || candidateStepValue.gt(max)) {
524
- return;
525
- }
526
- }
527
-
528
- let value = 0;
529
- try {
530
- value = this.valueAsNumber;
531
- if (isNaN(value)) { // Empty value is parsed as NaN.
532
- value = 0;
533
- }
534
- } catch (error) {
535
- // Step 5. Default value is 0.
536
- }
537
- value = new Decimal(value);
538
-
539
- const valueBeforeStepping = value;
540
-
541
- if (!this._isStepAligned(value)) {
542
- value = this._stepAlign(value, /* roundUp = */ isUp);
543
- } else {
544
- let delta = Decimal.mul(n, allowedValueStep);
545
- if (!isUp) {
546
- delta = delta.neg();
547
- }
548
- value = value.add(delta);
549
- }
550
-
551
- if (min !== null && value.lt(min)) {
552
- value = this._stepAlign(min, /* roundUp = */ true);
553
- }
554
-
555
- if (max !== null && value.gt(max)) {
556
- value = this._stepAlign(max, /* roundUp = */ false);
557
- }
558
-
559
- if (isUp ? value.lt(valueBeforeStepping) : value.gt(valueBeforeStepping)) {
560
- return;
561
- }
562
-
563
- this._value = this._convertNumberToString(value.toNumber());
564
- }
565
-
566
- stepDown(n = 1) {
567
- return this._stepUpdate(n, false);
568
- }
569
-
570
- stepUp(n = 1) {
571
- return this._stepUpdate(n, true);
572
- }
573
-
574
- get files() {
575
- if (this.type === "file") {
576
- this[filesSymbol] = this[filesSymbol] || FileList.createImpl(this._globalObject);
577
- } else {
578
- this[filesSymbol] = null;
579
- }
580
- return this[filesSymbol];
581
- }
582
-
583
- set files(value) {
584
- if (this.type === "file" && value !== null) {
585
- this[filesSymbol] = value;
586
- }
587
- }
588
-
589
- get type() {
590
- const typeAttribute = this.getAttributeNS(null, "type");
591
- return getTypeFromAttribute(typeAttribute);
592
- }
593
-
594
- set type(type) {
595
- this.setAttributeNS(null, "type", type);
596
- }
597
-
598
- _dispatchSelectEvent() {
599
- fireAnEvent("select", this, undefined, { bubbles: true, cancelable: true });
600
- }
601
-
602
- _getValueLength() {
603
- return typeof this.value === "string" ? this.value.length : 0;
604
- }
605
-
606
- select() {
607
- if (!this._idlMemberApplies("select")) {
608
- return;
609
- }
610
-
611
- this._selectionStart = 0;
612
- this._selectionEnd = this._getValueLength();
613
- this._selectionDirection = "none";
614
- this._dispatchSelectEvent();
615
- }
616
-
617
- get selectionStart() {
618
- if (!this._idlMemberApplies("selectionStart")) {
619
- return null;
620
- }
621
-
622
- return this._selectionStart;
623
- }
624
-
625
- set selectionStart(start) {
626
- if (!this._idlMemberApplies("selectionStart")) {
627
- throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
628
- }
629
-
630
- this.setSelectionRange(start, Math.max(start, this._selectionEnd), this._selectionDirection);
631
- }
632
-
633
- get selectionEnd() {
634
- if (!this._idlMemberApplies("selectionEnd")) {
635
- return null;
636
- }
637
-
638
- return this._selectionEnd;
639
- }
640
-
641
- set selectionEnd(end) {
642
- if (!this._idlMemberApplies("selectionEnd")) {
643
- throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
644
- }
645
-
646
- this.setSelectionRange(this._selectionStart, end, this._selectionDirection);
647
- }
648
-
649
- get selectionDirection() {
650
- if (!this._idlMemberApplies("selectionDirection")) {
651
- return null;
652
- }
653
-
654
- return this._selectionDirection;
655
- }
656
-
657
- set selectionDirection(dir) {
658
- if (!this._idlMemberApplies("selectionDirection")) {
659
- throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
660
- }
661
-
662
- this.setSelectionRange(this._selectionStart, this._selectionEnd, dir);
663
- }
664
-
665
- setSelectionRange(start, end, dir) {
666
- if (!this._idlMemberApplies("setSelectionRange")) {
667
- throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
668
- }
669
-
670
- this._selectionEnd = Math.min(end, this._getValueLength());
671
- this._selectionStart = Math.min(start, this._selectionEnd);
672
- this._selectionDirection = dir === "forward" || dir === "backward" ? dir : "none";
673
- this._dispatchSelectEvent();
674
- }
675
-
676
- setRangeText(repl, start, end, selectionMode = "preserve") {
677
- if (!this._idlMemberApplies("setRangeText")) {
678
- throw DOMException.create(this._globalObject, ["The object is in an invalid state.", "InvalidStateError"]);
679
- }
680
-
681
- if (arguments.length < 2) {
682
- start = this._selectionStart;
683
- end = this._selectionEnd;
684
- } else if (start > end) {
685
- throw DOMException.create(this._globalObject, ["The index is not in the allowed range.", "IndexSizeError"]);
686
- }
687
-
688
- start = Math.min(start, this._getValueLength());
689
- end = Math.min(end, this._getValueLength());
690
-
691
- const val = this.value;
692
- let selStart = this._selectionStart;
693
- let selEnd = this._selectionEnd;
694
-
695
- this.value = val.slice(0, start) + repl + val.slice(end);
696
-
697
- const newEnd = start + this.value.length;
698
-
699
- if (selectionMode === "select") {
700
- this.setSelectionRange(start, newEnd);
701
- } else if (selectionMode === "start") {
702
- this.setSelectionRange(start, start);
703
- } else if (selectionMode === "end") {
704
- this.setSelectionRange(newEnd, newEnd);
705
- } else { // preserve
706
- const delta = repl.length - (end - start);
707
-
708
- if (selStart > end) {
709
- selStart += delta;
710
- } else if (selStart > start) {
711
- selStart = start;
712
- }
713
-
714
- if (selEnd > end) {
715
- selEnd += delta;
716
- } else if (selEnd > start) {
717
- selEnd = newEnd;
718
- }
719
-
720
- this.setSelectionRange(selStart, selEnd);
721
- }
722
- }
723
-
724
- // https://html.spec.whatwg.org/multipage/input.html#the-list-attribute
725
- get list() {
726
- const id = this._getAttributeIfApplies("list");
727
- if (!id) {
728
- return null;
729
- }
730
-
731
- const el = this.getRootNode({}).getElementById(id);
732
-
733
- if (el && el.localName === "datalist") {
734
- return el;
735
- }
736
-
737
- return null;
738
- }
739
-
740
- // Reflected IDL attribute does not care about whether the content attribute applies.
741
- get maxLength() {
742
- if (!this.hasAttributeNS(null, "maxlength")) {
743
- return 524288; // stole this from chrome
744
- }
745
- return parseInt(this.getAttributeNS(null, "maxlength"));
746
- }
747
-
748
- set maxLength(value) {
749
- if (value < 0) {
750
- throw DOMException.create(this._globalObject, ["The index is not in the allowed range.", "IndexSizeError"]);
751
- }
752
- this.setAttributeNS(null, "maxlength", String(value));
753
- }
754
-
755
- get minLength() {
756
- if (!this.hasAttributeNS(null, "minlength")) {
757
- return 0;
758
- }
759
- return parseInt(this.getAttributeNS(null, "minlength"));
760
- }
761
-
762
- set minLength(value) {
763
- if (value < 0) {
764
- throw DOMException.create(this._globalObject, ["The index is not in the allowed range.", "IndexSizeError"]);
765
- }
766
- this.setAttributeNS(null, "minlength", String(value));
767
- }
768
-
769
- get size() {
770
- if (!this.hasAttributeNS(null, "size")) {
771
- return 20;
772
- }
773
- return parseInt(this.getAttributeNS(null, "size"));
774
- }
775
-
776
- set size(value) {
777
- if (value <= 0) {
778
- throw DOMException.create(this._globalObject, ["The index is not in the allowed range.", "IndexSizeError"]);
779
- }
780
- this.setAttributeNS(null, "size", String(value));
781
- }
782
-
783
- // https://html.spec.whatwg.org/multipage/input.html#the-min-and-max-attributes
784
- get _minimum() {
785
- let min = this._defaultMinimum;
786
- const attr = this._getAttributeIfApplies("min");
787
- if (attr !== null && this._convertStringToNumber !== undefined) {
788
- const parsed = this._convertStringToNumber(attr);
789
- if (parsed !== null) {
790
- min = parsed;
791
- }
792
- }
793
- return min;
794
- }
795
-
796
- get _maximum() {
797
- let max = this._defaultMaximum;
798
- const attr = this._getAttributeIfApplies("max");
799
- if (attr !== null && this._convertStringToNumber !== undefined) {
800
- const parsed = this._convertStringToNumber(attr);
801
- if (parsed !== null) {
802
- max = parsed;
803
- }
804
- }
805
- return max;
806
- }
807
-
808
- get _defaultMinimum() {
809
- if (this.type === "range") {
810
- return 0;
811
- }
812
- return null;
813
- }
814
-
815
- get _defaultMaximum() {
816
- if (this.type === "range") {
817
- return 100;
818
- }
819
- return null;
820
- }
821
-
822
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-step
823
- get _allowedValueStep() {
824
- if (!this._contentAttributeApplies("step")) {
825
- return null;
826
- }
827
- const attr = this.getAttributeNS(null, "step");
828
- if (attr === null) {
829
- return this._defaultStep * this._stepScaleFactor;
830
- }
831
- if (asciiCaseInsensitiveMatch(attr, "any")) {
832
- return null;
833
- }
834
- const parsedStep = parseFloatingPointNumber(attr);
835
- if (parsedStep === null || parsedStep <= 0) {
836
- return this._defaultStep * this._stepScaleFactor;
837
- }
838
- return parsedStep * this._stepScaleFactor;
839
- }
840
-
841
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-step-scale
842
- get _stepScaleFactor() {
843
- const dayInMilliseconds = 24 * 60 * 60 * 1000;
844
- switch (this.type) {
845
- case "week":
846
- return 7 * dayInMilliseconds;
847
- case "date":
848
- return dayInMilliseconds;
849
- case "datetime-local":
850
- case "datetime":
851
- case "time":
852
- return 1000;
853
- }
854
- return 1;
855
- }
856
-
857
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-step-default
858
- get _defaultStep() {
859
- if (this.type === "datetime-local" || this.type === "datetime" || this.type === "time") {
860
- return 60;
861
- }
862
- return 1;
863
- }
864
-
865
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-min-zero
866
- get _stepBase() {
867
- if (this._hasAttributeAndApplies("min")) {
868
- const min = this._convertStringToNumber(this.getAttributeNS(null, "min"));
869
- if (min !== null) {
870
- return min;
871
- }
872
- }
873
- if (this.hasAttributeNS(null, "value")) {
874
- const value = this._convertStringToNumber(this.getAttributeNS(null, "value"));
875
- if (value !== null) {
876
- return value;
877
- }
878
- }
879
- if (this._defaultStepBase !== null) {
880
- return this._defaultStepBase;
881
- }
882
- return 0;
883
- }
884
-
885
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-step-default-base
886
- get _defaultStepBase() {
887
- if (this.type === "week") {
888
- // The start of week 1970-W01
889
- return -259200000;
890
- }
891
- return null;
892
- }
893
-
894
- // https://html.spec.whatwg.org/multipage/input.html#common-input-element-attributes
895
- // When an attribute doesn't apply to an input element, user agents must ignore the attribute.
896
- _contentAttributeApplies(attribute) {
897
- return applicableTypesForContentAttribute[attribute].has(this.type);
898
- }
899
-
900
- _hasAttributeAndApplies(attribute) {
901
- return this._contentAttributeApplies(attribute) && this.hasAttributeNS(null, attribute);
902
- }
903
-
904
- _getAttributeIfApplies(attribute) {
905
- if (this._contentAttributeApplies(attribute)) {
906
- return this.getAttributeNS(null, attribute);
907
- }
908
- return null;
909
- }
910
-
911
- _idlMemberApplies(member, type = this.type) {
912
- return applicableTypesForIDLMember[member].has(type);
913
- }
914
-
915
- _barredFromConstraintValidationSpecialization() {
916
- // https://html.spec.whatwg.org/multipage/input.html#hidden-state-(type=hidden)
917
- // https://html.spec.whatwg.org/multipage/input.html#reset-button-state-(type=reset)
918
- // https://html.spec.whatwg.org/multipage/input.html#button-state-(type=button)
919
- const willNotValidateTypes = new Set(["hidden", "reset", "button"]);
920
- // https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
921
- const readOnly = this._hasAttributeAndApplies("readonly");
922
-
923
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
924
- return willNotValidateTypes.has(this.type) || readOnly;
925
- }
926
-
927
- // https://html.spec.whatwg.org/multipage/input.html#concept-input-required
928
- get _required() {
929
- return this._hasAttributeAndApplies("required");
930
- }
931
-
932
- // https://html.spec.whatwg.org/multipage/input.html#has-a-periodic-domain
933
- get _hasAPeriodicDomain() {
934
- return this.type === "time";
935
- }
936
-
937
- // https://html.spec.whatwg.org/multipage/input.html#has-a-reversed-range
938
- get _hasAReversedRange() {
939
- return this._hasAPeriodicDomain && this._maximum < this._minimum;
940
- }
941
-
942
- get validity() {
943
- if (!this._validity) {
944
- // Constraint validation: When an element has a reversed range, and the result of applying
945
- // the algorithm to convert a string to a number to the string given by the element's value
946
- // is a number, and the number obtained from that algorithm is more than the maximum and less
947
- // than the minimum, the element is simultaneously suffering from an underflow and suffering
948
- // from an overflow.
949
- const reversedRangeSufferingOverUnderflow = () => {
950
- const parsedValue = this._convertStringToNumber(this._value);
951
- return parsedValue !== null && parsedValue > this._maximum && parsedValue < this._minimum;
952
- };
953
-
954
- const state = {
955
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-being-missing
956
- valueMissing: () => {
957
- // https://html.spec.whatwg.org/multipage/input.html#the-required-attribute
958
- // Constraint validation: If the element is required, and its value IDL attribute applies
959
- // and is in the mode value, and the element is mutable, and the element's value is the
960
- // empty string, then the element is suffering from being missing.
961
- //
962
- // Note: As of today, the value IDL attribute always applies.
963
- if (this._required && valueAttributeMode(this.type) === "value" && this._mutable && this._value === "") {
964
- return true;
965
- }
966
-
967
- switch (this.type) {
968
- // https://html.spec.whatwg.org/multipage/input.html#checkbox-state-(type=checkbox)
969
- // Constraint validation: If the element is required and its checkedness is
970
- // false, then the element is suffering from being missing.
971
- case "checkbox":
972
- if (this._required && !this._checkedness) {
973
- return true;
974
- }
975
- break;
976
-
977
- // https://html.spec.whatwg.org/multipage/input.html#radio-button-state-(type=radio)
978
- // Constraint validation: If an element in the radio button group is required,
979
- // and all of the input elements in the radio button group have a checkedness
980
- // that is false, then the element is suffering from being missing.
981
- case "radio":
982
- if (this._someInRadioGroup("_required") && !this._someInRadioGroup("checked")) {
983
- return true;
984
- }
985
- break;
986
-
987
- // https://html.spec.whatwg.org/multipage/input.html#file-upload-state-(type=file)
988
- // Constraint validation: If the element is required and the list of selected files is
989
- // empty, then the element is suffering from being missing.
990
- case "file":
991
- if (this._required && this.files.length === 0) {
992
- return true;
993
- }
994
- break;
995
- }
996
-
997
- return false;
998
- },
999
-
1000
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-being-too-long
1001
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-maxlength
1002
- // jsdom has no way at the moment to emulate a user interaction, so tooLong/tooShort have
1003
- // to be set to false.
1004
- tooLong: () => false,
1005
-
1006
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-being-too-short
1007
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-minlength
1008
- tooShort: () => false,
1009
-
1010
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-an-overflow
1011
- rangeOverflow: () => {
1012
- // https://html.spec.whatwg.org/multipage/input.html#the-min-and-max-attributes
1013
- if (this._hasAReversedRange) {
1014
- return reversedRangeSufferingOverUnderflow();
1015
- }
1016
- // Constraint validation: When the element has a maximum and does not have a reversed
1017
- // range, and the result of applying the algorithm to convert a string to a number to the
1018
- // string given by the element's value is a number, and the number obtained from that
1019
- // algorithm is more than the maximum, the element is suffering from an overflow.
1020
- if (this._maximum !== null) {
1021
- const parsedValue = this._convertStringToNumber(this._value);
1022
- if (parsedValue !== null && parsedValue > this._maximum) {
1023
- return true;
1024
- }
1025
- }
1026
- return false;
1027
- },
1028
-
1029
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-an-underflow
1030
- rangeUnderflow: () => {
1031
- // https://html.spec.whatwg.org/multipage/input.html#the-min-and-max-attributes
1032
- if (this._hasAReversedRange) {
1033
- return reversedRangeSufferingOverUnderflow();
1034
- }
1035
- // Constraint validation: When the element has a minimum and does not have a reversed
1036
- // range, and the result of applying the algorithm to convert a string to a number to the
1037
- // string given by the element's value is a number, and the number obtained from that
1038
- // algorithm is less than the minimum, the element is suffering from an underflow.
1039
- if (this._minimum !== null) {
1040
- const parsedValue = this._convertStringToNumber(this._value);
1041
- if (parsedValue !== null && parsedValue < this._minimum) {
1042
- return true;
1043
- }
1044
- }
1045
- return false;
1046
- },
1047
-
1048
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-a-pattern-mismatch
1049
- patternMismatch: () => {
1050
- // https://html.spec.whatwg.org/multipage/input.html#the-pattern-attribute
1051
- if (this._value === "" || !this._hasAttributeAndApplies("pattern")) {
1052
- return false;
1053
- }
1054
- let regExp;
1055
- try {
1056
- const pattern = this.getAttributeNS(null, "pattern");
1057
- // The pattern attribute should be matched against the entire value, not just any
1058
- // subset, so add ^ and $ anchors. But also check the validity of the regex itself
1059
- // first.
1060
- new RegExp(pattern, "u"); // eslint-disable-line no-new
1061
- regExp = new RegExp("^(?:" + pattern + ")$", "u");
1062
- } catch (e) {
1063
- return false;
1064
- }
1065
- if (this._hasAttributeAndApplies("multiple")) {
1066
- return !splitOnCommas(this._value).every(value => regExp.test(value));
1067
- }
1068
- return !regExp.test(this._value);
1069
- },
1070
-
1071
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-a-step-mismatch
1072
- // https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1073
- stepMismatch: () => {
1074
- const allowedValueStep = this._allowedValueStep;
1075
- if (allowedValueStep === null) {
1076
- return false;
1077
- }
1078
- const number = this._convertStringToNumber(this._value);
1079
- return number !== null && !this._isStepAligned(number);
1080
- },
1081
-
1082
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#suffering-from-a-type-mismatch
1083
- typeMismatch: () => {
1084
- switch (this.type) {
1085
- // https://html.spec.whatwg.org/multipage/input.html#url-state-(type=url)
1086
- // Constraint validation: While the value of the element is neither the empty string
1087
- // nor a valid absolute URL, the element is suffering from a type mismatch.
1088
- case "url":
1089
- if (this._value !== "" && !isValidAbsoluteURL(this._value)) {
1090
- return true;
1091
- }
1092
- break;
1093
-
1094
- // https://html.spec.whatwg.org/multipage/input.html#e-mail-state-(type=email)
1095
- // Constraint validation [multiple=false]: While the value of the element is neither the empty
1096
- // string nor a single valid e - mail address, the element is suffering from a type mismatch.
1097
- // Constraint validation [multiple=true]: While the value of the element is not a valid e-mail address list,
1098
- // the element is suffering from a type mismatch.
1099
- case "email":
1100
- if (this._value !== "" && !isValidEmailAddress(this._getValue(), this.hasAttributeNS(null, "multiple"))) {
1101
- return true;
1102
- }
1103
- break;
1104
- }
1105
- return false;
1106
- }
1107
- };
1108
-
1109
- this._validity = ValidityState.createImpl(this._globalObject, [], {
1110
- element: this,
1111
- state
1112
- });
1113
- }
1114
- return this._validity;
1115
- }
1116
-
1117
- [cloningSteps](copy, node) {
1118
- copy._value = node._value;
1119
- copy._checkedness = node._checkedness;
1120
- copy._dirtyValue = node._dirtyValue;
1121
- copy._dirtyCheckedness = node._dirtyCheckedness;
1122
- }
1123
- }
1124
-
1125
- mixin(HTMLInputElementImpl.prototype, DefaultConstraintValidationImpl.prototype);
1126
-
1127
- module.exports = {
1128
- implementation: HTMLInputElementImpl
1129
- };